Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

Loading SWF from Compressed File

This is a discussion on Loading SWF from Compressed File within the Flash CS3 eng forums, part of the English Forums category; it is possible for me to load a movieclip (or SWF) in compressed folder (zip, rar, etc)? illustration: mainprog.exe (...


Go Back   Forum Flash CS3 Flash CS4 > English Forums > Flash CS3 eng

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 28-01-08, 06:12
Junior Member
 
Join Date: Jan 2008
Posts: 3
Rep Power: 0
ajayghe is on a distinguished road
Loading SWF from Compressed File

it is possible for me to load a movieclip (or SWF) in compressed folder (zip, rar, etc)?
illustration:

mainprog.exe (flash projector) load a swf file called video.swf in compressed file called vid.zip.

structure:
- mainprog.exe
- vid.zip
--- video.swf

thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)  
Old 28-01-08, 08:02
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,446
Rep Power: 6
Flep is on a distinguished road
Re: Loading SWF from Compressed File

Hi and welcome

No, I think you can't !
__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 28-01-08, 08:29
Junior Member
 
Join Date: Jan 2008
Posts: 3
Rep Power: 0
ajayghe is on a distinguished road
Re: Loading SWF from Compressed File

mmm, if using some class/component?? it is still not possible?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 30-01-08, 07:53
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,446
Rep Power: 6
Flep is on a distinguished road
Re: Loading SWF from Compressed File

I think no... what Google says ? Did you find something ?
__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 31-01-08, 01:36
Junior Member
 
Join Date: Jan 2008
Posts: 3
Rep Power: 0
ajayghe is on a distinguished road
Re: Loading SWF from Compressed File

well, after googling for several hours, i found this.
w3blog » Blog Archive » ZIP it up!
this class using AS3.0.

Now, the problem is... i've to learn AS3.0..
hehehehe.. what should i learn first in AS3.0. My basic is AS2.0 (procedural, not OOP).
Will you suggest me? (Soory, out of topic)

thanks for all
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Flash Multi Gallery
  #6 (permalink)  
Old 31-01-08, 05:07
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,446
Rep Power: 6
Flep is on a distinguished road
Re: Loading SWF from Compressed File

You should use a Document Class and instance the FZip class and use its methods:
Code:
public function YourApp() {
   var request:URLRequest = new URLRequest("your.zip");
   var zip:FZip = new FZip();
   zip.addEventListener(FZipEvent.FILE_LOADED, fileCompleteHandler);
   zip.load(request);
}

private function fileCompleteHandler(evt:FZipEvent):void {
   var file:FZipFile = evt.file;
   trace("File loaded: " + file.filename)
   trace("  " + file.sizeCompressed);
   trace("  " + file.sizeUncompressed);
}

Tell us where you get troubles !
__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Actionscript 3 Problems loading swf-file into a movieclip... Class-related?? AceOfFlash Actionscript 3.0 newbies 0 23-09-08 09:55
loading external text file in nested flash file angel3m HELP free utilities 0 16-07-08 22:18
Actionscript 3 Applicare un file .as esterno ad un file .fla jseeker Actionscript 3.0 base 1 09-07-08 13:06
collegare un bottone a un file esterno o a un file ad un altro fotogramma.. haryia Flash CS3 generale 3 24-03-08 07:58
SWF Not Loading into HTML File Vudrok Actionscript 3.0 newbies 2 28-09-07 17:25


All times are GMT. The time now is 17:39.


Powered by vBulletin versione 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap


FlepStudio
by Filippo Lughi
P.IVA 03605860406