A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Another newbie question...

  1. #1
    Junior Member
    Join Date
    Mar 2001
    Posts
    23

    Another newbie question...

    I am trying to put a link around the flash file thats is on my website.
    Can I just add <a href="www.google.com"> infront of the <object> tag and then </a> at the end of the flash code like you would link an image?

    I am linking to someone elses flash file so I cant just edit it and put an on click behavior in the swf file so I am trying to do it this way.

    It seems to be working somewhat...when I load the page and put my mouse over the swf file it gives me the link hand cursor and shows the url in the status bar below...but when I click nothing happens.

  2. #2
    Junior Member
    Join Date
    Mar 2001
    Posts
    23
    Or can you not do that?

  3. #3
    Junior Member
    Join Date
    Mar 2001
    Posts
    23
    ehhh...I dont think that this is possible.

    Thanks anyway...

  4. #4
    Moderator whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    I have never seen it work like that...I tried..same results.

  5. #5
    FK's Official Mac Hater jasonsplace's Avatar
    Join Date
    Mar 2002
    Location
    Provo, Utah
    Posts
    2,245
    One thing that you could do is to create another SWF that is the same size as the orginal and have an invisible button that covers the entire thing with a getURL function and then load the original SWF into this new SWF under the button.
    Jason L. Wright
    I'm not that hard to imitate. Just make some random negative claim at Apple or anything else for that matter and then have nothing to back it up.

  6. #6
    Avoiding the real world. NeedleInMySpine's Avatar
    Join Date
    May 2005
    Location
    Canada
    Posts
    188
    I was thinking the same thing but mabye just an image would be smaller.
    Knowledge is power, power corrupts, study hard, be evil.

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