Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Button 1

Status
Not open for further replies.

arpan

Programmer
Oct 16, 2002
336
IN
I have created a button clicking which the browser should open the URL I have specified. Now when I test the movie by clicking Ctrl+Enter & then press the button, the given URL opens up in a browser. But when I load the entire movie in a browser by clicking F12, though the button gets loaded in the browser, clicking it does not open the URL I had specified? Why is this happening? How do I make the button open the URL when clicked when the movie is loaded in a browser?

Please note that I am a newbie in Flash & am using Flash 5.

Thanks,

Arpan
 
what code did you put on the button?

regards

tektips.gif
 
check your path... may be a problem as it seems to be a stand-alone v. HTML issue...
 
Sorry. mates, for getting back so late. The code I have put in 'Action' is the following:

on (release) {
getURL (" "_self");
}

Arpan
 
I'd kill the semicolon and add a http://
Code:
on(release){
getURL("[URL unfurl="true"]http://www.rediff.com","_self");[/URL]
}
always use the http:// when using getURL!

happy easter!

regards

tektips.gif
 
Thanks, pal, http:// has indeed worked out!!!

Regards,

Arpan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top