Hello,

I have a small problem here.

i need to load the movie clips from flash(swf file)in to flex at runtime.
Here i have a class LoadMovieClipObject. which extends MovieClip.

i have 4 movie clips in swf file. Basically we do it by writing this code.

package com.golive.characters
{
    [Embed(source="assets/body.swf",symbol="archer")]
        public class LoadMovieClipObject extends MovieClip
         {

          }
}

By doin so that particular character embeds with this class. But what i want
is i have 4 buttons and based on the button i clicked, an instance of the
class  LoadMovieClipObject is created and my desired movieclip from swf file
should be attached to it. if i click scnd button again the same instance of
this class is created but this time with different mc from swf file.

Thank You,

Sri Tej.

--

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.


Reply via email to