PDA

View Full Version : button in MC


krie999
07-03-2006, 10:11 PM
Hi

im having a hard time. i have 3 buttons in a grafic in a moviclip.
now my question is how can i let these 3 buttons all give an other getURL?
ihave tried alot. i cant figure it out.
thx alot

Xeef
07-03-2006, 10:31 PM
what did you try till know ?

how are the paths to your buttons ?

in general

_mc.btn0.onPress=function(){getURL("Bla.com")}
_mc.btn1.onPress=function(){getURL("BlaBla.com")}
_mc.btn2.onPress=function(){getURL("BlaBlaBla.com")}

oldnewbie
07-04-2006, 02:18 AM
Edited.

krie999
07-05-2006, 11:51 AM
thnx alot Xeef and oldnewbie

in the script

"_mc.btn0.onPress=function(){getURL("Bla.com")}"
is that underscore necesairy? or is it just part of the mcname?

thx

mooska
07-05-2006, 11:59 AM
its just name.

krie999
07-05-2006, 10:20 PM
hi

I cant figure it out my self.

i attach the file would you please post the file back if somebody can make it work?

its flash 8

thx alot

oldnewbie
07-06-2006, 01:34 AM
Edited.

oldnewbie
07-06-2006, 02:30 AM
Here...

krie999
07-07-2006, 09:24 AM
thx alot
didnt knew it could be done this way.