Page 1 of 1

help with flash

Posted: Fri Nov 28, 2008 1:12 pm
by eunikaeden
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. :cry: :?:

i'm Eunika, by the way. :)

Posted: Fri Nov 28, 2008 4:31 pm
by HeRetiK
Welcome to the forums.

You mean like a link?

1) Make a button

2) Use getURL

Done.

Posted: Fri Nov 28, 2008 10:42 pm
by eunikaeden
thanks.

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
by HeRetiK
window as in directory on your computer or as in some sort of panel inside flash?

Posted: Sat Nov 29, 2008 12:31 pm
by eunikaeden
some sort of panel inside flash.
ty

Posted: Sat Nov 29, 2008 12:50 pm
by HeRetiK
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
by eunikaeden
yey!! ^^,

thanks a lot HeRetiK!! :D :D :D

more power to your site^^,