Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-23-2004, 12:06 PM
Junior Member
 
Join Date: Jul 2004
Posts: 3
Default Preloader

If I have big main move which i want to convert to exe file for CD, I need the preloader. How I can menage that. I mean I want autorun preloader, and this preloader must to redirect to mainmovie.exe.

Thanks,
Reply With Quote
  #2 (permalink)  
Old 07-23-2004, 03:31 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Preloader

You can use the 'Shell.run" method to execute the "mainmovie.exe" in the preload.exe.

You can also add the main movie as an additional file into the "preload" project and check the "pack attachments" option.

When you need to load the main movie, call the "getAdditionalFile" method to extract it and use the "FlashPlayer.loadMovie" method to load it.

The exe files created by SWFKit won't extract any additional files before calling the "getAdditionalFile" method. So packing a big file into the exe won't affect the loading speed.
Reply With Quote
  #3 (permalink)  
Old 07-25-2004, 11:00 AM
Junior Member
 
Join Date: Jul 2004
Posts: 3
Default Re:Preloader

So, You want to tell me how is better making internal preloader in main movie.

Thanks,
Reply With Quote
  #4 (permalink)  
Old 07-26-2004, 01:16 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Preloader

The second way is recommended.

1. Adding the preload movie into the movie list
2. adding the main movie into the attachment list
3. When you want to load the main movie, using the "getAdditionalFile" to extract the main movie and using the "FlashPlayer.loadMovie" method to load it.
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 03:17 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.