Groups | Blog | Home
all groups > flash actionscript > march 2005 >

flash actionscript : Component Loading Problem


BigPhatSkier
3/7/2005 9:57:25 PM
I am using a few components in an application that I am building, and I noticed
that Flash exports the all of the components in the first frame making it
around 80k. (Even when, in the linkage for each component I have unchecked
'Export in First Frame') The problem with this is that Flash does not even get
to the actionscript frame untill all of these components are loaded. So this
means I can't even preload until the 80k of the components is loaded. (why are
the components that big anyways!!) Is there a work around or a fix for this?
Thanks for any input! Adam
BigPhatSkier
3/9/2005 11:58:54 PM
Any Ideas?

rlc5611
3/10/2005 12:23:25 AM
The simplest solution is to make your preloader a separate movie that is
nothing but a preloader and it loads (and monitors the load) of your 'main'
movie which you load to another level using loadMovieNum. That solves the
problem completely. Did I say simplest solution? Actually the simplest solution
is not use components at all and create your own. They would be much smaller
and free of bugs. All your observations are correct. If you want to use
components, you have to find workarounds for all the problems they create. That
is all readily available by searching the forum.
BigPhatSkier
3/10/2005 1:01:12 AM
Thanks for the input. This is my first time using components, usually I do
build my own. This project needed to be cranked out fast, but unfortunately I
found out the hard way that components are not worth using and are more trouble
than just building your own! (80k for a few components!) Thanks again! Adam
AddThis Social Bookmark Button