Jignesh, hi

you can use <mx:Loader>
e.g.
<mx:Loader source="yourswif.swc" id="linkageName" ...

Hope it helps,

--- Dmitry


--- In flexcoders@yahoogroups.com, "Jignesh Dodiya" <[EMAIL PROTECTED]> wrote:
>
> the codes [Embed(source="your.swf#LinkageName")] just don't work
> its work if i remove LinkageName............can u give more detail
how to
> combile the linkage name.its clear the linkage name is the Linkage
> Identifier of the symbol in the Library of Flash..
> but it not work in above format....
> 
> any idea......
> 
> 
> 
> 
> 
> 
> On 1/8/06, Jignesh Dodiya <[EMAIL PROTECTED]> wrote:
> >
> > thanx JesterXL again,
> >
> > let me follow ur suggestions
> >
> >  jignesh
> >
> > On 1/8/06, JesterXL <[EMAIL PROTECTED]> wrote:
> > >
> > > SWC's are to Flex as JAR's are to Java.  You can place code, visual
> > > assets, and/or components, just like in Flash.  You can place
them in
> > > user_classes on the server, but Iike to put them next to my main
> > > application.mxml file, the main Flex file that starts with the
> > > <mx:Application tag, since that's your root.  You can import
your classes
> > > normally, and if it's in the SWC, Flex'll find it.
> > >
> > > To create them:
> > > http://www.jessewarden.com/archives/2005/12/automating_swc.html
> > >
> > > You use them just like you use Yahoo maps:
> > > - drop SWC next to app
> > > - use tag
> > > <mx:YahooMaps />
> > >
> > > or, import:
> > >
> > > import mx.controls.etc....
> > >
> > >
> > > ----- Original Message ----- *From:* Jignesh Dodiya <[EMAIL PROTECTED]>
> > > *To:* flexcoders@yahoogroups.com
> > >  *Sent:* Sunday, January 08, 2006 5:15 AM
> > > *Subject:* Re: [flexcoders] how to use MovieClip / swc in flex???
> > >
> > >
> > > thanx JesterXL,
> > >
> > > but still I am confusing regarding SWC.......where to place & how to
> > > link it in coding.....
> > >
> > > jignesh.
> > >
> > >
> > > On 1/8/06, JesterXL <[EMAIL PROTECTED] > wrote:
> > > >
> > > > To utilize MovieClips, embed in SWF's.  Give it a linkage name
and:
> > > >
> > > > Flex 1.5:
> > > > [Embed(source=" your.swf", symbol="LinkageName")]
> > > > var yourSymbol:String;
> > > >
> > > > attachMovie(yourSymbol, "mc", 0);
> > > >
> > > > Flex 2:
> > > > [Embed(source="your.swf#LinkageName")]
> > > > var yourSymbol:Class;
> > > > var a:Class = new yourSymbol();
> > > > addChild(a);
> > > >
> > > > To utilize SWC's, just place next to your Application.mxml file.
> > > >
> > > > To import a class, treat like any class; import it.
> > > >
> > > > ----- Original Message -----
> > > > From: "Jignesh M. Dodiya" <[EMAIL PROTECTED]>
> > > > To: < flexcoders@yahoogroups.com>
> > > > Sent: Saturday, January 07, 2006 6:50 PM
> > > > Subject: [flexcoders] how to use MovieClip / swc in flex???
> > > >
> > > >
> > > > Hi All,
> > > >
> > > > how to use a movie clip in flex as we use in flash(like,
keeping movie
> > > >
> > > > clip in library & doing attachMovie() function).i got to know that
> > > > this can be done by converting movieclip in to swc.. but i m
really
> > > > confused how should i use swc in my flex application
> > > >
> > > > Another thing is that how can i use the class in flex as we use in
> > > > flash.......i have my class to handle the movie clip , but not
sure
> > > > how to include or import the class in flex....as what do in flash
> > > >
> > > > hope for co-operation
> > > >
> > > > thanx
> > > >
> > > > jignesh
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Flexcoders Mailing List
> > > > FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > > Search Archives:
> > > > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > > > Yahoo! Groups Links
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Flexcoders Mailing List
> > > > FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > > Search Archives:
> > > > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > > >
> > > >
> > > >  ------------------------------
> > > > YAHOO! GROUPS LINKS
> > > >
> > > >
> > > >    -  Visit your group
"flexcoders<http://groups.yahoo.com/group/flexcoders>"
> > > >    on the web.
> > > >
> > > >    -  To unsubscribe from this group, send an email to:
> > > >     
[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> > > >
> > > >    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > > >    Service <http://docs.yahoo.com/info/terms/>.
> > > >
> > > >
> > > >  ------------------------------
> > > >
> > >
> > >
> > >
> > > --
> > > jignesh dodiya
> > >
> > > --
> > > Flexcoders Mailing List
> > > FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives:
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > >
> > >
> > >
> > > SPONSORED LINKS
> > >   Web site design
development<http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>
Computer
> > > software
development<http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>
Software
> > > design and
development<http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>
 Macromedia
> > >
flex<http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw>
Software
> > > development best
practice<http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>
> > >  ------------------------------
> > > YAHOO! GROUPS LINKS
> > >
> > >
> > >    -  Visit your group
"flexcoders<http://groups.yahoo.com/group/flexcoders>"
> > >    on the web.
> > >
> > >    -  To unsubscribe from this group, send an email to:
> > >     
[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> > >
> > >    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > >    Service <http://docs.yahoo.com/info/terms/>.
> > >
> > >
> > >  ------------------------------
> > >
> >
> >
> >
> > --
> > jignesh dodiya
> 
> 
> 
> 
> --
> jignesh dodiya
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to