Hi Abhi, Your requirement if contradicting with the concept of embedding. You embed files when you know at compile time what to embed. So when you write your code, you say that I want xyz font to be a part of the application's swf. So the compiler will make that font a part of your application. In your case, as you dont know the name of the font, you wont be able to embed it. You will have to load the font in run time.
Regards, Venkat On Jan 25, 3:29 pm, Jitendra Jain <[email protected]> wrote: > Embed will include the fonts at the compile time and is available in run > time. > > > > On Mon, Jan 25, 2010 at 2:44 PM, Abhi <[email protected]> wrote: > > Hi All > > > Please Help I want to set dynamic variable in Embed Source. > > How to possible please Help > > > var myPath:String = "fonts/"+myfont; > > Embed(source=''+myPath+)] > > public var Texture: Class; > > > -- > > 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]<flex_india%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/flex_india?hl=en. > > -- > Thanks and Regards, > JJain, > > If you have knowledge, let others light their candles in it --Margaret > Fuller: -- 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.

