-
Embedded assets
Hi,
I am using Flash 9 IDE to create assets for Actionscript projects that I build in Flex Builder 2. I am not creating Flex applications - just plain Actionscript projects. I am able to embed assets easily like this:
Code:
[Embed(source="embedded_assets/Library.swf", symbol="Plotter")]
private var Plotter:Class;
And I can add the "Plotter" symbol from the library to the display list.
What is not working is stop(); actions in the Plotter symbol. Plotter is an animated symbol that has a stop(); action on the last frame. That actions is simply ignored.
I read somewhere that Flex Builder stripped out timeline code from embedded assets. Is that correct?
Sammi
-
-
Thanks,
however, that did not help :(
-
What does it give when you put trace(this); in one of the frames?
-
Hi,
it doesn't trace. That is because the compiler strippes out all code as I read about in an article on this page:
http://www.jessewarden.com/
Check the Flash 9 button in Flex article.
Thanks anyway.
Sammi