all groups > flash (macromedia) > november 2004 >
You're in the

flash (macromedia)

group:

ComboBox Weight and Preload Problem



ComboBox Weight and Preload Problem Jorge Luis M. de la Borbolla
11/22/2004 1:32:18 PM
flash (macromedia): Hi Everybody,

I just discovered that using ComboBox in Flash 2004 MX, creates a 67kb
weight in the first frame, no matter which frame the combobox is located,
but the biggest problem is that if a preloader is used, this won't work
until the combobox 67kb is loaded.

The preloader style has been tested in these ways:

- Using the classic preloader into the same file where the combo box is
- Trying to load the swf file where the combobox is using loadmovie and
getbytesloaded from a different swf file

The preloader displays just for an instant (less than a second) in both
methods, since the hole size of the file is 72kb and the combo adds 67kb of
weight.

Any ideas how to force flash to first read the preloader instead of the
combobox weight ?


Re: ComboBox Weight and Preload Problem steamboy
11/23/2004 9:20:20 AM
Hi, I'm not sure if this will solve the preloader problem, but it will take the
weight from the first frame. In the library, right click on the combo box and
select linkage. If you unselect the 'load in first frame' option the combo box
will load in the frame that it appears. You can also do this with the scrollbar
component if you want. Hope this helps, Owen
Re: ComboBox Weight and Preload Problem kmkbe
11/23/2004 6:18:50 PM
I suggest a simple idea.

Load the whole swf (main swf with components) into a another swf (temperary
base movie) using a Movieclip.loadClip() class in the base movie.

This base movie should not have any componets.

Hope this helps.

Regards
Karthick
AddThis Social Bookmark Button