PDA

View Full Version : Embedding assets in a AS3 class with Flash CS3



benmorrison
May 25th, 2007, 03:02 PM
I'm using AS3 in Flash CS3 and trying to create classes that would have assets embedded in them.

For example, I have a CursorManager class that I would like to use to alter the user's mouse cursor, but I don't want to have to include the 5 or so cursor symbols that I want to use in every .fla's library that uses that class.

So, I've read about the [Embed] metadata tag, and that sounds like what I need, but I've also read that this doesn't work with Flash CS3. (And I haven't been able to get it to work myself.) Is this true? And if so, is there anyway to accomplish the same thing in CS3?

Thanks in advance.

Ben Morrison

Rezmason
May 25th, 2007, 03:35 PM
I've been told on this forum that Embedding probably isn't supported by Flash, but really I haven't tried it yet. And trying is how you know for sure. :) I'm a little busy right now, but I could try embedding something tonight.

EDIT: No success. There're other metadata tags for Flash CS3, but Embed is Flex-specific.

For now. Who wants to start a petition? ;)