开发者

Do multiple flash movies on a web page download and run in parallel or in sequence

开发者 https://www.devze.com 2022-12-11 04:04 出处:网络
We have a flash website built using flex and CS3. Majority of the site has been done using flex. We have multiple flash movies on a page and开发者_开发百科 we obviously have the page loading very slow

We have a flash website built using flex and CS3. Majority of the site has been done using flex. We have multiple flash movies on a page and开发者_开发百科 we obviously have the page loading very slow. Now that we are looking into options for making the page fast, we are trying to understand whether we can run these flash movies in parallel ? Is there some provision in CS3 to make the flash understand that this object will be loaded and ran first and then the second object.

Any help would be much appreciated. Thanks.


You could try bulk-loader library. http://code.google.com/p/bulk-loader/


I guess the swfs are run as they are loaded, but I think you can have something to say about that.

As far as I understand you have multiple swfs displayed in one HTML file.

If that is the case, you can use LocalConnection to establish communication between swfs and control the way each and every one initializes.

Another option would be setting a variable (be it js variable, js cookie, local SharedObject, etc. ) to keep track of the currently loaded swf's ID (e.g. 1 of 13 ). Working with js and flash is done using ExternalInterface.

If I didn't understand, and you only want to load multiple swfs into one swf and manage that, BulkLoader is the way forward as mentioned before.

Goodluck!

0

精彩评论

暂无评论...
验证码 换一张
取 消