Flash Link Question

Discussion in 'Graphics & Multimedia' started by betatype, May 22, 2010.

  1. #1
    I have a flash template that a customer requested I work with. You can see the template posted here:

    http://207.126.161.76:81/

    And here is the .fla file:

    http://207.126.161.76:81/main.fla


    When a customer clicks the cursor/red circle area to enter the rest of the site, I would rather have this link to an external website instead of going to the rest of the flash site's pages.

    I have looked all through the .fla file and can't seem to create the link like I need to. On all of the layers of that red area I have been trying this in the "Actions" section:

    this.onRelease=function(){
    getURL('http://www.myothersite.com/');
    }

    Yet I still can't seem to get it. What am I doing wrong here? Thanks for the help, very new to Flash / Actionscript.
     
    betatype, May 22, 2010 IP
  2. AuroraDesign

    AuroraDesign Peon

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try the codes here and see what can you do

    Type into actions
    on(press){
    getURL("/WEB ADD OR PAGE",_self);
    }

    Or you could do it on the main timeline
    buttonInstanceName.onPress = function(){
    getURL("/WEB ADD OR PAGE",self);
    }
     
    AuroraDesign, May 22, 2010 IP
  3. betatype

    betatype Member

    Messages:
    75
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    48
    #3
    Thanks for the suggestion Aurora but I still can't get it to work. Very illiterate with Flash but thought I could do better than this.

    The entrance button is all contained in a layer called enter_button but when I write any Actionscript into the "Actions" section it doesn't seem to do anything. Even onload functions don't seem to work.

    The layer is composed of movie clips and uses Actionscript 2. Right now clicking the enter button takes you into the rest of the flash site, but I can't even tell what controls this behavior within the .fla file. I don't see any Actionscript associated with ANY of the layers or symbols in this project. Been searching for hours, what could I be doing wrong?
     
    betatype, May 22, 2010 IP
  4. AuroraDesign

    AuroraDesign Peon

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    most common mistake i think all flash designers make is the instance name revise your work again for the instance name and check the actionscript which is on their now. and check if you have assigned all buttons currectly, could you paste your button actionscripts here so i can take a look.
     
    AuroraDesign, May 22, 2010 IP