A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: "Get url" won't work for my buttons

  1. #1
    Senior Member
    Join Date
    Dec 2000
    Posts
    101

    "Get url" won't work for my buttons

    I have just created a map with regions, that I now want to be clickable.

    I have right-clicked to bring up the actions, and on the "up" state of the buttons (as that is what I've used for the rollover which works fine), I have inserted the code

    on (release) {
    getURL ("http://www.dreamwalks.co.uk/london.htm");
    }

    Anybody any ideas why it isn't working?

    Any help appreciated. Thanks

  2. #2
    Senior Member
    Join Date
    Mar 2000
    Location
    London
    Posts
    961
    You should not apply this action to the button's up state. Instead.

    In your scene where you have the map and the various buttons, highlight a button by clicking (once) on it.

    In the "Instance" palette, click on the arrow icon to bring up the script editor.

    Put your code here.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center