Ah, in that case, the assets are compiled into the swc.
The problem is that at the time you're attaching one of the assets, they're not
yet available.
You'd need to have an instance of the component on stage somewhere, and that
frame needs to be (pre)loaded.
What they describe (poorly) in the docs is when you deselect the "Export.."
option, is mainly for preloading purposes.
When "Export in first frame.." is selected, it is actually loaded before the first frame, breaking any preloader (in case you have
one).
Using a seperate (external) preloader swf (my preference) fixes that and you can keep
using the "Export in first frame.." option.
With the option unselected you have to jump through a few hoops to make things work properly, including preloading (not worth it
IMO).
regards,
Muzak
----- Original Message -----
From: "Alexander Farber" <[EMAIL PROTECTED]>
To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
Sent: Monday, January 07, 2008 6:23 PM
Subject: Re: [Flashcoders] Graphical resources in a v2 component - not visible
Hello Muzak,
On Jan 7, 2008 3:56 PM, Muzak <[EMAIL PROTECTED]> wrote:
Do you have a sample fla (with just the component) we can have a look at?
thank you! It is Flash 9.
Sorry, don't have a simple sample case yet.
I have now reverted back to a backup copy of my
movie which works and reinserted my code changes.
It seems to me that Adobe doc is wrong in saying:
"In most cases, you should deselect Export in
First Frame (it is selected by default)."
- because if you don't select the checkbox, the
assets won't be included in the .swc file at all....
Regards
Alex
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders