Will this help?

   http://jessewarden.com/2006/08/flash-9-button-in-flex-2.html

I use flash movieclip symbols in flex by linking to an external AS class and
provide the symbol functionality in that class only.

Regards,
Rohit

On Tue, May 26, 2009 at 11:05 PM, a.scavarelli <[email protected]>wrote:

>
>
> 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] <flexcoders%40yahoogroups.com>,
> 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