SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist bradical1379's Avatar
    Join Date
    Feb 2007
    Posts
    442
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    attempting to make flash menu

    I have a small menu I am attempting to make with Flash that contains 5 icons for my web site.

    I have figured out how to get each of the icons to swap colors in the instance of a mouseover, by switching the image to a button and setting the various frames for each state, however, I can not figure out how to apply an external link to the button.

    I have attempted this actionscript:

    Code Actionscript:
    on (release) {
    	getURL("http://www.myurl.com");
    }

    and it returns this error:

    Syntax error: extra characters found after end of program.

    Where do I need to apply the Actionscript to?

    Thanks!

  2. #2
    SitePoint Enthusiast Xavier_3D's Avatar
    Join Date
    Sep 2007
    Location
    Karachi, Pakistan
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It is actually inserted in the Button's Actions. Right click on the Button and then go to Actions to apply this. And remove the other scripts from the timeline if you have any..
    Hamza Shams
    CEO Xyber 3D Studios


Bookmarks

Posting Permissions

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