link in actioscript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • raquel
    New Member
    • Sep 2007
    • 1

    link in actioscript

    i don't know much about flash, but i recently started to learn. i've been trying for some time now to activate a link. the thing is i'm building a website in which there are several link. when i publish my document do html i can't seem to get my links to work (unlike what happens when i publish them to swf), not even after i've converted them into buttons and applied them an actions script. is there a special action that i must take into consideration for my actionscript or am i forgetting a certain publishing requirement? please please please tell me if you now how to do this.
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, Raquel. Welcome to TSDN!

    I'm going to go ahead and move this thread to the Flash forum, where our resident Experts will be better able to help you out.

    Comment

    • xNephilimx
      Recognized Expert New Member
      • Jun 2007
      • 213

      #3
      Hi Raquel, welcome to TSDN!
      What do you mean with "activate a link"? If you are refering to make a link, like to open an URL, the method is getURL(url[,window,method]);
      I can't imagine why that won't be working, it would be really usefull if you publish your code so I can have a look at what you're coding and spot the flaw. Put the code in between the CODE tags like this (you can find a button with a # that will put them for you, just add =actionscript in the opening tag to get the right color)

      [CODE=actionscri pt]
      btn.onRelease = function() {
      getURL("http://www.thenephilim .com.ar","_blan k");
      }
      [/CODE]

      Kind regards,
      The_Nephilim

      Originally posted by raquel
      i don't know much about flash, but i recently started to learn. i've been trying for some time now to activate a link. the thing is i'm building a website in which there are several link. when i publish my document do html i can't seem to get my links to work (unlike what happens when i publish them to swf), not even after i've converted them into buttons and applied them an actions script. is there a special action that i must take into consideration for my actionscript or am i forgetting a certain publishing requirement? please please please tell me if you now how to do this.

      Comment

      Working...