Flash Button Link?

Discussion in 'HTML & Website Design' started by pharcyded, May 21, 2008.

  1. #1
    Ok, so I bought a template and I am editing it. I am wondering how I make a button navigate to a webpage when it is clicked. I know its probably a noob questions...but please help? :)
     
    pharcyded, May 21, 2008 IP
  2. itcn

    itcn Well-Known Member

    Messages:
    795
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    118
    #2
    Do you mean a button in a Flash element? Do you have the source file for the Flash element so that you can edit it?
     
    itcn, May 21, 2008 IP
  3. pharcyded

    pharcyded Peon

    Messages:
    720
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The entire site is in flash and there is a blue rectangle over the text that is supposed to be a link. In its properties it says Button, Instance of: Symbol 1, Track as button. Is there something in the Actions that I can put like...onClick = navigate to www.mylink.com or anything that can get the job done?
     
    pharcyded, May 21, 2008 IP
  4. warfox

    warfox Member

    Messages:
    76
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #4
    Put this code on the Actions of the blue rectangle

    on(release){
    getURL ("http://blabla.com");
    }
     
    warfox, May 21, 2008 IP
  5. itcn

    itcn Well-Known Member

    Messages:
    795
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    118
    #5
    ^ Yes, that's the actionscript that you need.
     
    itcn, May 22, 2008 IP
  6. pharcyded

    pharcyded Peon

    Messages:
    720
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks guys I got it! :)
     
    pharcyded, May 22, 2008 IP