link flash

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mariamik
    New Member
    • Jul 2007
    • 5

    link flash

    Hi.
    How can I link swf.
    Is it possible by html? if no,please tell how can I do it in Flash program by ActionScript.
  • kestrel
    Recognized Expert Top Contributor
    • Jul 2006
    • 1071

    #2
    You can use geturl
    [code=actionscri pt]
    getURL("http://www.macromedia. com", "_blank", "POST");
    [/code]

    Comment

    • Mariamik
      New Member
      • Jul 2007
      • 5

      #3
      I have wrote
      code getURL("http://www.macromedia. com", "_blank", "POST");
      but when I open the swf file it at once opens http://www.macromedia. com,but I want only by pressing with mouse on it.
      And when I bring mouse over I want to change my cursor to the hand,Is it possible?.
      Thanks.

      Comment

      • kestrel
        Recognized Expert Top Contributor
        • Jul 2006
        • 1071

        #4
        use
        on(release) for the link
        and use on(rollOver) and on(rollOut) for the changing color you want.
        heres a good reference http://www.actionscript.com/reference/on.php

        Comment

        Working...