dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Creating a Hyperlink in a Flash Website

  1. #1
    Junior Member
    Join Date
    Apr 2006
    Posts
    1

    Creating a Hyperlink in a Flash Website

    Hi,

    I am trying to create a hyperlink using a button object with the following action script:

    on(release)
    {
    getURL("http://www.ninemsn.com.au","_blank")
    }

    This works fine when I run the .swf move file and opens the requested page in a new window. However when I embed the movie in html and click the link, I get no response at all. I don't get an error message or anything, but nothing happens when I click the button area.

    I am wondering if this is related to a browser setting that I may have to change? Or is there a line of code in my html that I need to include to get this working?

    Any ideas would be highly appreciated!

    Thanks,

    Kate
    Last edited by mermaid*; 04-01-2006 at 02:22 AM.

  2. #2
    Senior Member da_hammer's Avatar
    Join Date
    Jul 2003
    Location
    Ritchie Street.
    Posts
    294
    remove " " for the _blank and try.

  3. #3
    Wait- what now? tidenburg's Avatar
    Join Date
    Dec 2005
    Posts
    1,472
    also check if you have a pop-up blocker on
    "I'd only told them the truth. Was that so selfish? Our integrity sells for so little, but it is all we really have. It is the very last inch of us, but within that inch, we are free."

  4. #4
    Junior Member
    Join Date
    Oct 2001
    Posts
    26
    Hi,

    I'm getting the same problem. My links don't work when I've my movie embedded in html but if I just run the swf file it works fine.

    I've turned off my pop-up stopper but still no good.

    I'm guessing its something to do with IE, but I'm not sure what.

    Can anyone help please ?

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center