Page 1 of 1
help with flash
Posted: Fri Nov 28, 2008 1:12 pm
i'm a newbie here. pls help me.....i have a movie clip. i want to open a new window when i click it. is that possible? how??
pls help. im trying to make a project in school.
i'm Eunika, by the way.
Posted: Fri Nov 28, 2008 4:31 pm
Welcome to the forums.
You mean like a link?
1) Make a button
2) Use getURL
Posted: Fri Nov 28, 2008 10:42 pm
i actually want to open a new window(not a browser window) when i click the button.
Posted: Sat Nov 29, 2008 12:29 pm
window as in directory on your computer or as in some sort of panel inside flash?
Posted: Sat Nov 29, 2008 12:31 pm
some sort of panel inside flash.
Posted: Sat Nov 29, 2008 12:50 pm
There are two possible ways that come to my mind:
1) Make a MovieClip that will be your pop-up window. Drag it onto the timeline. Give it an instance name. In the first frame of your main timeline add the code "instancename._visible = false". And then use the buttons or the button to switch between _visible = false and _visible = true.
2) Make a MovieClip that will be your pop-up window. Make a right-click on it inside your library, check "Export for ActionScript", and add a name as id. Then make buttons of which one uses this.attachMovieClip("idyouentered", "instancenameyouchoose", 1); and another one which says this.removeMovieClip("idyouentered");
For a more detailed description look up the ActionScript reference for "_visible" and/or "attachMovieClip"
Posted: Sun Nov 30, 2008 2:50 am
thanks a lot HeRetiK!!
more power to your site^^,