This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer injpix
“but this will open in the same movieclip, it doesn't
pop up unless i missed something.”
I gave you info on attachMovie() because the lack of info you
provided. I assumed you didn’t know the technical name of the
effect you wanted.
For a VERY simple start do the following;
-Put the code from the bottom of this post in frame 1.
-drag a Window component into your library.
-create a MovieClip on stage with an instance name of
“showWindow_btn”
-compile!
So your able have a trace statement in the function that
displays in the Output panel? If this is true then I would have to
say you are failing on part 2 of my little tutorial;
-drag a Window component into your library.
Let’s try it this way;
Step 1: in Flash hit CRTL+F7 to open the Components panel.
Step 2: In this panel under “User Interface” drag
a “Window” component onto the stage.
Step 3: Click on this Window component that is on the stage
and delete it. This will store an instance in the library of your
FLA.
i copy ur code but it still doesn't work. (Flash hates me
today)
wat i was asking for a way to create a pop up with a movie
inside the pop up fom the libary
If you want to embed a MovieClip from your library into that
Pop-up just change the contentPath’s string value. For an
example, if your MC symbol has a linkage name “Box”
change the following line of code;
“but this will open in the same movieclip, it doesn't
pop up unless i missed something.”
I gave you info on attachMovie() because the lack of info you
provided. I assumed you didn’t know the technical name of the
effect you wanted.
For a VERY simple start do the following;
-Put the code from the bottom of this post in frame 1.
-drag a Window component into your library.
-create a MovieClip on stage with an instance name of
“showWindow_btn”
-compile!