A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: Linking to external flash file? Help plz...

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

    Linking to external flash file? Help plz...

    Hello,

    I am having a problem linking to an external flash file (one that is not hosted on my server). It wont play when I load up the page in my browser. Is there any trick I should know about when doing this? This is my code:

    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="600" height="74">
    <param name="movie" value="http://www.urltofile/file.swf">
    <param name="quality" value="high">
    <embed src="http://www.urltofile/file.swf" width="600" height="74" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
    </object>

    I put http://www.urltofile/file.swf in place of the actual url to the file. I created this in dreamweaver and put the correct url in the URL box and its just not working. It works with flash files that are on my server though.

    Thanks for your help.

  2. #2
    Junior Member
    Join Date
    Mar 2001
    Posts
    23
    I just tried this with another flash file and it worked...

    Is there a possibility that the person who has the file on their server has an option on their server that doesnt allow people to link files from their pages?

  3. #3
    Moderator whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    what IS the real URL..cant test it without the real info/data

    what are the .swf dimensions?

  4. #4
    Moderator whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    Quote Originally Posted by CaSpiRE
    I just tried this with another flash file and it worked...

    Is there a possibility that the person who has the file on their server has an option on their server that doesnt allow people to link files from their pages?
    you just said it worked form another file...so how could they be blocking it? for a specific HTML file?

  5. #5
    Junior Member
    Join Date
    Mar 2001
    Posts
    23
    The other file was from another server (one of the ones on the flashkit.com page).
    Here is the real link...
    http://www.findatool.co.uk/mxlarge/mxlarge.swf
    600 x 74

  6. #6
    Junior Member
    Join Date
    Mar 2001
    Posts
    23
    So...this code doesnt work:

    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="600" height="74">
    <param name="movie" value="http://www.findatool.co.uk/mxlarge/mxlarge.swf">
    <param name="quality" value="high">
    <embed src="http://www.findatool.co.uk/mxlarge/mxlarge.swf" width="600" height="74" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
    </object>


    But this code does work...

    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="600" height="74">
    <param name="movie" value="http://www.flashkit.com/images/partner_icons/partner_erain20040714.swf">
    <param name="quality" value="high">
    <embed src="http://www.flashkit.com/images/partner_icons/partner_erain20040714.swf" width="600" height="74" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
    </object>

  7. #7
    Moderator whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    Code:
    <HTML>
    <HEAD>
    <meta http-equiv=Content-Type content="text/html;  charset=ISO-8859-1">
    <TITLE>barScale_externalValue</TITLE>
    </HEAD>
    <BODY bgcolor="#FFFFFF">
    <!-- URL's used in the movie-->
    <!-- text used in the movie-->
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
     codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
     WIDTH="775" HEIGHT="435" id="barScale_externalValue" ALIGN="">
     <PARAM NAME=movie VALUE="http://www.findatool.net/mxlarge/mxlarge.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="http://www.findatool.net/mxlarge/mxlarge.swf" quality=high bgcolor=#FFFFFF  WIDTH="775" HEIGHT="435" NAME="barScale_externalValue" ALIGN=""
     TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
    </OBJECT>
    </BODY>
    </HTML>
    worked for me..I didnt change the dimensions...so edit to what you see fit..

  8. #8
    Moderator whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    this one too:
    Code:
    <HTML>
    <HEAD>
    <meta http-equiv=Content-Type content="text/html;  charset=ISO-8859-1">
    <TITLE>remote link</TITLE>
    </HEAD>
    <BODY bgcolor="#FFFFFF">
    <!-- URL's used in the movie-->
    <!-- text used in the movie-->
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
     codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
     WIDTH="600" HEIGHT="74" id="remote link test" ALIGN="">
     <PARAM NAME=movie VALUE="http://www.findatool.net/mxlarge/mxlarge.swf"> <PARAM NAME=quality VALUE=high> <PARAM 
    
    NAME=bgcolor VALUE=#FFFFFF> <EMBED src="http://www.findatool.net/mxlarge/mxlarge.swf" quality=high bgcolor=#FFFFFF  
    
    WIDTH="600" HEIGHT="74" NAME="barScale_externalValue" ALIGN=""
     TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
    </OBJECT>
    </BODY>
    </HTML>
    with the dimensions you posted.

  9. #9
    Junior Member
    Join Date
    Mar 2001
    Posts
    23
    Hmmm...I will try that thanks

  10. #10
    Junior Member
    Join Date
    Mar 2001
    Posts
    23
    Worked...thanks

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