Results 1 to 3 of 3

Thread: Myspace Flash Link

  1. #1
    Join Date
    Jan 2009
    Location
    Chattanooga, TN
    Posts
    41
    Thanks
    6
    Thanked 1 Time in 1 Post

    Default Myspace Flash Link

    Myspace disables "get_url" links in flash, so you have to work around it. I tried to wrap the object tag in an <a href=" tag which works in all browsers but IE and Opera. Does anyone know why, or another way to link a flash image? It's not illegal to do this on Myspace, they're just trying to monitor the links so that they can stop phishing - which they can't do with a get_url. So, any ideas on a workaround?

    Here's what I have on an example myspace:

    http://www.myspace.com/judahgraphicsmusictest

    Code:
    <a href="http://www.myspace.com/loudandclearishot">
    <object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" height="100" width="450" data="http://www.judahgraphics.com/loudandclear/flashbanner.swf">
      <param name="allowScriptAccess" value="never" />
      <param name="allowNetworking" value="internal" />
      <param name="movie" value="http://www.judahgraphics.com/loudandclear/flashbanner.swf" />
      <param name="wmode" value="transparent" />
      <param name="quality" value="high" />
    </object></a>

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Quote Originally Posted by dillankid View Post
    Myspace disables "get_url" links in flash, so you have to work around it. I tried to wrap the object tag in an <a href=" tag which works in all browsers but IE and Opera. Does anyone know why, or another way to link a flash image? It's not illegal to do this on Myspace, they're just trying to monitor the links so that they can stop phishing - which they can't do with a get_url. So, any ideas on a workaround?

    Here's what I have on an example myspace:

    http://www.myspace.com/judahgraphicsmusictest

    Code:
    <a href="http://www.myspace.com/loudandclearishot">
    <object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" height="100" width="450" data="http://www.judahgraphics.com/loudandclear/flashbanner.swf">
      <param name="allowScriptAccess" value="never" />
      <param name="allowNetworking" value="internal" />
      <param name="movie" value="http://www.judahgraphics.com/loudandclear/flashbanner.swf" />
      <param name="wmode" value="transparent" />
      <param name="quality" value="high" />
    </object></a>
    As you've found out, you can't just wrap an anchor tag around the object element. The only solution I can think of is to place an invisible target above the Flash.

    So, create a transparent gif. Next, add it to your markup and wrap it in an anchor tag. Something like this:

    Code:
    <a href="path/to/link" title="invisible link"><img src="transparent.gif" alt="invisible target"></a>
    Next, you could use CSS (absolute and/or relative positioning) to position the transparent anchor (resized to whatever size you need) above the Flash. So, when someone clicks on the Flash, they're actually clicking on the image.

  3. #3
    Join Date
    Sep 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hey! I was wondering if you could help me out. I'm pretty close to coding illiterate. Just kind of learning as I go...could you help me out with a more specific example?? Thanks for any help you can give me!!

Tags for this Thread

Bookmarks

Posting Permissions

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