PDA

View Full Version : Components drawing as blank boxes


gaby
08-27-2007, 11:09 AM
My apologies for the cross-posting from the AS2 forum, I think this is a component problem so the component experts here may have a solution:

I'm having a weird problem with exporting component classes on frame 2. I've moved the bulk of the data on my swf off frame 1 so the preloader will kick in sooner. Having read the many, many tutorials about this they all seem to say:

1. Turn off 'Export on first frame' in *all* movie clips, and in the Linkage settings of all the components.
2. Drop a copy of each symbol/component I want exported somewhere on the stage, not on frame 1
3. Change the AS export settings to export classes on frame 2

This works fine for all my clips and code but the components seem to break, rendering just as blank boxes or with no stylings at all, like their classes just aren't there. They're all standard v2 components from Flash 8.

This is what it should look like, (http://vanhegan.net/pictures/ons2-notbroken.png) with all the classes exported on the first frame.

This is what it looks like (http://vanhegan.net/pictures/ons2-broken1.png) when the classes are exported on frame 2.

Strangely this is what it looks like (http://vanhegan.net/pictures/ons2-broken2.png) when I then re-export the SWF in MTASC (classes into frame 2), it sort of comes back to life a bit.

Clearly something is amiss here. Either I'm doing something wrong or some code somewhere is broken. Has anybody else beaten this problem? Google only turns up hundreds of tutorials about how to not export everything on the first frame, nothing that actually addresses this problem.

Gaby

graemebenzie
01-12-2008, 02:03 AM
Right click on each broken component's symbol in the library, select linkage then unselect the check box for Export In First Frame.