  | |  | loading forms | loading forms
2004-02-23 - By Stephane Legay
Back Hi all,
I have a flash form app containing about 25 forms. It 's running fine on my
machine, but gives up while initializing on my client 's computer (he 's got a
pretty old system). He gets the "Flash is running slow " error. So now I 'm
splitting my application in multiple form applications loaded in a main swf
by using the form class ' loading capabilities. That will give me more
control over when screens are loaded and initialized. I 've set all my
components in the main movie to be exported in a shared library, which saves
me about 500 K. Works great.
However, each of my 5 sub-movies is still between 35 and 40 K. I am guessing
this is because each contains all form-related classes (form, screen, loader
etc...). Do you guys have any idea how I could force all my swfs to use the
form classes loaded in my main movie while still using Flash 's form metaphor
for each sub-app? I hate loading redundant code. I think by doing that I
would save at least 100 K. Considering the app 's size is about 250 K (main
swf + sub-movies), that 'd be a considerable gain (my client 's network is
also extremely slow).
Any feedback is very much appreciated...
Steph
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
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:104985
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |