help with flash

Talk / ask questions about Macromedia Flash and related software.

Moderators: HeRetiK, The inner Core

eunikaeden
latency
latency
Posts: 4
Joined: Sat Nov 22, 2008 1:04 am
Location: Philippines

help with flash

Postby eunikaeden » 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. :cry: :?:

i'm Eunika, by the way. :)

User avatar
HeRetiK
Site Admin
Site Admin
Posts: 7931
Joined: Mon Mar 31, 2003 7:50 pm
Location: yurop
Contact:

Postby HeRetiK » Fri Nov 28, 2008 4:31 pm

Welcome to the forums.

You mean like a link?

1) Make a button

2) Use getURL

Done.

eunikaeden
latency
latency
Posts: 4
Joined: Sat Nov 22, 2008 1:04 am
Location: Philippines

Postby eunikaeden » Fri Nov 28, 2008 10:42 pm

thanks.

i actually want to open a new window(not a browser window) when i click the button.

User avatar
HeRetiK
Site Admin
Site Admin
Posts: 7931
Joined: Mon Mar 31, 2003 7:50 pm
Location: yurop
Contact:

Postby HeRetiK » Sat Nov 29, 2008 12:29 pm

window as in directory on your computer or as in some sort of panel inside flash?

eunikaeden
latency
latency
Posts: 4
Joined: Sat Nov 22, 2008 1:04 am
Location: Philippines

Postby eunikaeden » Sat Nov 29, 2008 12:31 pm

some sort of panel inside flash.
ty

User avatar
HeRetiK
Site Admin
Site Admin
Posts: 7931
Joined: Mon Mar 31, 2003 7:50 pm
Location: yurop
Contact:

Postby HeRetiK » 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"

eunikaeden
latency
latency
Posts: 4
Joined: Sat Nov 22, 2008 1:04 am
Location: Philippines

Postby eunikaeden » Sun Nov 30, 2008 2:50 am

yey!! ^^,

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

more power to your site^^,


Return to “Flash”

Who is online

Users browsing this forum: No registered users and 1 guest