A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Embedding A Flash Help

  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    1

    Question Embedding A Flash Help

    Okay, so I would like to put up a video on my site. I opened up Macromedia Flash 8 Professional, and went to "File>Import>Import Video" and selected my WMV file and also selected "Stream from Flash video service." I also selected my skin, "ArcticExternalAll". So I waited for about a minute while my video was being converted and when It was done I tested (Ctrl + Enter) and it worked perfectly. I then exited Flash and tested the file without flash. It worked fine.

    So, I uploaded all the files to my web server, "ArcticExternalAll.swf", "weeggeetrailer1.swf", and "Weegee's Revenge trailer.flv"

    I visited weeggetrailer1.swf in my web browser at http://www.ddgames.netii.net/games/v...eetrailer1.swf at it works great, a little big, but still works great.

    So then I wanted to put that video in a webpage, so I used the code:
    Code:
    <embed 
      src="videos/weeggeetrailer1.swf" 
      width="300"
      height="300"
      allowscriptaccess="always"
      allowfullscreen="true"
    />
    But when I navigate to the page with the code (http://ddgames.netii.net/games/weegeesrevenge.php#) all I see is a blank page. I have checked the path many times, and seem to be doing everything correctly. Does anyone know what to do?

    The host I am using is www.**********.com if that has anything to do with it.

  2. #2
    You have to use <object> tags for right embeding. Something like this:

    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="YOUR SWF WIDTH" height="YOUR SWF HEIGHT" id="YOUR SWF NAME" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="YOUR SWF NAME + .swf"/><param name="quality" value="high" /><param name="bgcolor" value="#333333" /> <embed src="YOUR SWF NAME + .swf" quality="high" bgcolor="#333333" width="YOUR SWF WIDTH" height="YOUR SWD HEIGHT" name="YOUR SWF NAME" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
    </object>



    Scotty does know how to Fla-make cool ads.

    http://flamake.net - this Ads will Fla-make you crazy. Find your cheap flash banners and see the best commercials around the world.

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