Mailing List
Home
Forum Home
Flash Pro
Subjects
Subject: RE: Firework Effect
Web Service Results
Flash Interface with 10mb xml file
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash MX 2004 Sucks
Reading and displaying RSS feeds in Flash MX
Flash and QuickTime VR
Textfield prototype question
XML to Object help
Order of events per frame
MX2004 Dataset itemClassName
memory management removeMovieClip /
Event Dispatcher between classes
Help: MX 2004 How to script a print button to print the entire sli
ScrollPane component doesn 't auto update
setInterval bug identified and fixed
setInterval bug identified and fixed
Listener Object 's best practice
 
Flash6: Shared library preloading

Flash6: Shared library preloading

2004-03-16       - By Tomas Lehuta

 Back
Hello!

I have a problem with preloading a shared library in a Flash MX 2004 project
that is published for Flash 6 player using Optimize for Flash 6 export
setting..

Main movie has a preloader  using a custom progress bar for preloading
itself after which a shared library is preloaded to _root.library MovieClip
in a same way. Progress bar is working correctly so the main movie is loaded
followed by the shared library.

The problem occurs first when I load next movie that imports some
assets/fonts from a shared library. The shared library is loading again
though it was successfuly preloaded!

Is it sufficient to preload a shared library in a dummy movieclip to avoid
loading a library before any other movieclip using shared assets is loaded?
What's wrong with my concept? Why the shared library is loaded again when it
should be retrieved from the cache? Could somebody give me some hints how to
successfuly preload a shared library that won't be loaded again?

Thanks..

best regards

Tomas Lehuta


=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107154
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)