PDA

View Full Version : hyperlink button in animation



umee
September 9th, 2001, 01:40 PM
I am new to Flash. I am using Flash 5. I would like to link my next page, when button is clicked. I have tried using action script, getURL method, it did not work.

Any help would be appreciated. I have my presentation within few days.

Please Help

suprabeener
September 9th, 2001, 03:30 PM
post your code

kirupa
September 9th, 2001, 03:48 PM
Hey umee,
Did you make your symbol a button. If it is a graphic or a movie clip, you won't get the hyperlink to work when clicked. Select your symbol and look in your Instance pane to see whether it is a graphic/button/movie clip.

umee
September 9th, 2001, 07:37 PM
In the instance palette, it shows as button. From this button, how do I link to another html page, which also contains a swf file. I try to use action script getURL to the button. It did not work.

Should I use image map or something. Please help me.

kirupa
September 9th, 2001, 07:49 PM
Hey umee,
Try this URL and tell me if you are able to see where you may have made a mistake: www.kirupa.com/developer/...onlink.asp (http://www.kirupa.com/developer/flash5/buttonlink.asp)

umee
September 10th, 2001, 11:16 AM
Thanx Kirupa.

I was giving the action script in timeline instead of selecting the button and right mouse => mouseevents=>getURL.

Now its working.

Thanx again.

upuaut8
September 11th, 2001, 06:27 AM
This accounts for 30% of error in most beginner projects. Now with Flash 5.0, we can add script to movie clips now too, which just leaves another place to loose script.

Good luck. :)