your code should be: [Embed (source="RootInCenterCircleLayoutDemo.swf")] public var CircleLayoutDemo:Class
and use CircleLayoutDemo as a source for SWF loader or Image. -Ravi On Feb 25, 10:03 am, Asha <[email protected]> wrote: > Hi All, > I tried embeding swf file in flex project as below: > function init(){ > [Embed ("RootInCenterCircleLayoutDemo.swf")]} > > But I get an error: "Metadata requires an associated definition" > Swf file is the exported actionscript project file which I found in > bin-release folder. > Is there other way to embed swf? plz help me out. Its critical. > > THanks in advance, > Asha --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

