Hey i started using Flash Mx 2 months ago, until now ive been ''playing'' with it for fun, now im doing a site mixed with html and flash menu, but i have 1 LITTLE ( ) problem, how do i do the links of the flash menu to the html part? ive tried many things but it keeps getting a scripting error...
If anyone can give me any tip
at the corner of flotsam & jetsam, just within the walls of reality
Posts
91
you mean link to a URL?
well, depending on how you did your "buttons" or whatever is going to be the hyperlink, you have a few options:
if you just did text (say, selected the text tool), there is a link option with the properties window. just highlight the text and then, in the link box within the properties window, type http://www.mylink.com...
if you created a movie clip, you're going to use the actions panel (f9) to do a getURL("http://www.mylink.com...");. typically, a getURL will be within a function, like
umm...i tried that and it doesnt work the buttons are incorporated in a drop down menu thats activated by a button, and the buttons are incorporated in a movie clip. Dont know if this information will help more, hope it does. Thanks for the help anyway get.MOS
Thanks for the tip Dave it kinda ''worked'', now there are no script errors! but the link doesnt open...
The .fla is there can you see if its just me or not plz?
tried it...no luck did you change anything? it still doesnt work at least in here! you guys think i have to change it or there's still a way make it work how it is?
try it now i think ive done it all you did wrong was u put the code in the 1st scene instead of scene 11 i think it was scene 1 had the buttons of the movie and 11 it had the tween end
by the way how do you tween ive never done that b4 the movement part
Indeed its working now! Thanks alot for the time you took and for the help Dave! i really aprecciate it!
What tween do you mean? the part that the menu goes up again? didnt get it sorry ... can you explain it better please so i can try to help you in what i can
It's really easy, in the tweens frame 1( you have to add the stop(); on frame 1 so the tween doesnt start when is not activated) and in the frame you what it to stop (lets say 11) and what you do to the button is simply tell
on (release) {
tellTarget (a) {
play ();
}
}
him when you click he goes play the tween in this case until frame 11(thats when the menu goes to the bottom and stops) and when you click again he plays the rest of the tween thats the menu going back.the a represents the instance name i gave it
Hope i explained it in a way you can understand it...