Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-20-2004, 01:59 PM
Junior Member
 
Join Date: Apr 2004
Posts: 8
Default Preloading movies....

I thought that if I had a seperate movie and then embedded ("packing movies") it into my navigation one it would slow down load up time but improve performance and get away from having to devise a preloading element. This ahsn't prove to be true.. any ideas?

Thx

yoonka
Reply With Quote
  #2 (permalink)  
Old 04-21-2004, 01:19 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Preloading movies....

Yes, the packed movies will slow down the load up time for the app needs to extract them to a temporary folder before the movies can be loaded into the Flash Player. The packed movies are extracted to a temporary foder before the window appears.

For the movies are on disk and don't need to be downloaded from internet, it almost takes no time to load them into the Flash Player.

The packed attachments are processed in another way: SWFKit only extracts them in method "getAdditionalFile". That is to say, you can get them on demand.
Reply With Quote
  #3 (permalink)  
Old 04-21-2004, 02:13 PM
Junior Member
 
Join Date: Apr 2004
Posts: 8
Default Re:Preloading movies....

do I need to put the script in the "initialize" section?
Reply With Quote
  #4 (permalink)  
Old 04-22-2004, 03:12 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Preloading movies....

Do you mean 'getAdditionalFile'? You can call it before you need the attached file.

Providing you have attached a mp3 file "my.mp3" and you want to load it by clicking a button.

on (release)
{
fscommand("FFish_Run", "loadmp3");
}

in "loadmp3"
Code:
getAdditonalFile("my.mp3");
...
Of course you can call it without parameters in "initialize" script, it will extract all additional files at once.
Reply With Quote
Reply

Was this information helpful?    Yes No



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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:02 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.