A code for this imageshack swf.

Discussion in 'HTML & Website Design' started by Tehgiggles, Feb 24, 2007.

  1. #1
    I looked around and couldnt find a better place for this so Im sorry if its in the wrong section..

    I want this game i created on my myspace, and have tried a code, but it doesnt seem to load..

    This is the imageshack link...
    http://img150.imageshack.us/my.php?image=elfgamefla2ix0.swf

    This is the code i used -

    <object type="application/x-shockwave-flash" data="http://img150.imageshack.us/my.php?image=elfgamefla2ix0.swf" height="300" width="450">
    <param name="movie" value="http://img150.imageshack.us/my.php?image=elfgamefla2ix0.swf"

    Whats wrong with it? Or will it work in the morning?
     
    Tehgiggles, Feb 24, 2007 IP
  2. Tehgiggles

    Tehgiggles Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Anyone? This is really bugging me.
     
    Tehgiggles, Feb 25, 2007 IP
  3. homunculus

    homunculus Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    it seems that you've placed the wrong URL for embedding flash.
    actually the URL is just a link to watch a page containing your flash game, not the swf itself.
    i dont know why imageshack didnt show a direct URL to the swf file, but by opening the previous link and viewing the source, i managed to obtain the direct link towards the swf.

    here's the URL:
    http://img150.imageshack.us/img150/336/elfgamefla2ix0.swf

    and this is the fixed code:
    <embed src="http://img150.imageshack.us/img150/336/elfgamefla2ix0.swf"
    width="400″
    height="300″
    menu="false"
    quality="high"
    type="application/x-shockwave-flash"
    pluginspace="http://www.macromedia.com/go/getflashplayer/">
    </embed>
    Code (markup):
    and i forgot one thing, your previous html code is incomplete, so i placed a complete html code that should work nicely on your myspace...
     
    homunculus, Mar 2, 2007 IP