Is the symbol "exported for actionscript" in it's properties? And if so is the 
name "amp_ok"? or is it something like "someclass.amp_ok"? 

I could not ever figure out how to link a symbol to an external as class and 
use it's extended functionality in Flex. I ended up just creating a component 
with all the external as within teh script tags.

Hopefully it's an easy fix like this for you :)


--- In [email protected], grimmwerks <gr...@...> wrote:
>
> Frustrated.
> 
> I've got tried this with an AS3 version and currently with a Flash  
> player 8 version... but am trying to embed a class within a component  
> like so:
> 
> [Bindable]
> [Embed(source="buttonStates/multistate8.swf", symbol="amp_ok")];
> private var tmp:Class;
> 
> I get "Metadata requires an associated definition"
> 
> The component is on the same level of buttonStates, so it's not a path  
> issue; when I've attempted to test the flash file with a Button and  
> using symbol as skins, it works no problem...\
> 
> Thoughts?
>


Reply via email to