Groups | Blog | Home
all groups > flash actionscript > april 2005 >

flash actionscript : button needs getURL to work



SisAndi
4/4/2005 11:12:20 PM
Created my button. Set the up, over, down and hit states. When user clicks I
want the button to take them to a url. SO -
I click on the frame with the button, go to action panel and see below (get
this error message)

Scene=Scene 1, Layer=arbor, Frame=15: Line 1: Statement must appear within on
handler
getURL("http://www.seasonslandscape.com/arbor.html"),("blank");

What am I doing wrong?

Thanks - I'm an idiot at this.
Jester_boy
4/4/2005 11:41:16 PM
Try this one

on (press)
{
getURL('http://www.seasonslandscape.com/arbor.html' , '_blank');
SisAndi
4/5/2005 12:21:46 AM
SisAndi
4/5/2005 12:21:54 AM
AddThis Social Bookmark Button