HTML to embed SWF

Well got my portfolio site finished in Flash but neither of
the size of the layout (600x800p) and therefore sharpness of the
text publishes properly - I was trying to get around embedding the
swf in html but I guess I'm gonna have to.. anyone got any inspired
solutions/code for these problems?? thanks

try this code
replace red type with your own info
<HTML>
<HEAD>
<TITLE>your page name</TITLE>
</HEAD>
<BODY bgcolor="#000000">
<CENTER>
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<!--your page name-->
<OBJECT
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=715 HEIGHT=445>
<PARAM NAME=movie VALUE="Your swf.file.swf">
<PARAM NAME=loop VALUE=true>
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#000000>
<EMBED src="Your swf.file.swf" loop=true quality=medium
bgcolor=#000000
WIDTH=715 HEIGHT=445 TYPE="application/x-shockwave-flash"
PLUGINSPAGE="
http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>
</CENTER>
</BODY>
</HTML>

Similar Messages

  • HTML for EMBEDDING SWF

    Can I publish the HTML to embed a SWF file created from
    freehand so that I can post it to the web? Or another way of asking
    the same question is how do you put the SWF files created from
    FreeHand on to your websites?

    > Can I publish the HTML to embed a SWF file created from
    freehand so th=
    at I can
    > post it to the web? Or another way of asking the same
    question is how=
    do you
    > put the SWF files created from FreeHand on to your
    websites?
    Like adding a html code like this for example
    <object width=3D"550" height=3D"400">
    <param name=3D"movie" value=3D"somefilename.swf">
    <embed src=3D"somefilename.swf" width=3D"550"
    height=3D"400">
    </embed>
    </object>
    There is a myriad of websites with instructions. The code
    above is from =
    http://www.w3schools.com/flash/flash_inhtml.asp
    Jukka

  • How to get the content in embed swf file in Swf Loader on run time

    How to get the content in embed swf file in Swf Loader on run time
    [Bindable]
    [Embed(source="assets/index.swf")]
       private var SWFSRC:Class;
    <mx:SWFLoader id="_swfloader" source="{SWFSRC}" />

    Hi Flex harUI,
    Throw the error.
    Access of undefined property content

  • How to embed swf in fla?

    can anyone help me how to embed swf to an fla?
    thnx!

    If the swf has actionscript in it, then you cannot embed it and still have it work (it will lose its code), so you need to load the file dynamically instead.

  • How may load an external (html) file in swf? Anyone!!!!!

    hi all,
        How may load an external html file in swf? such as google.com in a movieclip.
    anyone may help me.........????????

    With Flash, you can't do this.
    Just with FlashBuilder and Air (something like HTMLLoader  , not sure now)
    I mean loading in a movieclip..
    Of course you can open a page to display in a browser.

  • Problem with embed swf in fla

    hallo,
    I am trying to embed an SWF into an FLA (My website)
    I want to embed an SWF movie on page 4 of my website along with other content.
    There are a lot of tutorials on the web, but to be honest, I get so confused, a lof of them have errors so I figured i'd ask here if anyone knows of a good, simple tutorial on how to embed SWF in FLA.
    thanks so much.

    The mask would be a separate layer that sits above the layer your animation is in.  So if you right clicked the layer the animation is in and selected mask, then that's not masking it, it turning it into a mask.  What you want to do is create another layer above it and draw a rectangle that would be the same size as the stage of the swf.  Then if you right click that layer it and select mask, the rectangle will be the mask for the anoimation--allowing only what is beneath it to be viewed.

  • Llamar un html con un swf en cierto frame

    Hola a todos!!
    Tengo un html con su swf y quiero irme a otro html con otro
    swf pero a
    cierto frame, es esto posible??
    Muchas gracias por su ayuda!!!
    alfge

    sip...pasandole una variable a trav�s de php...y luego
    con un if en
    actionscript lo llevas a el fotograma qie quieras...
    ejemplo le pasas la variable "fotograma"...y en el primer
    fotograma del swf
    le pones if...variable=fotograma gotoandplay el fotograma que
    que quieras
    ir...else qu�date donde est�s...
    "Alfredo Gonzalez" <[email protected]> escribi�
    en el mensaje
    news:ecl906$doj$[email protected]..
    > Hola a todos!!
    >
    > Tengo un html con su swf y quiero irme a otro html con
    otro swf pero a
    > cierto frame, es esto posible??
    >
    > Muchas gracias por su ayuda!!!
    >
    > alfge
    >
    >
    >

  • Embed swf or html within a swf?

    Is it possible to embed an swf or html file within another swf ...without using ActionScript?
    AND

    You cannot embed an html page in an swf page in any case.  If you import an swf with the intent to embed it into another swf, you can embed it, but if it has any actionscript it will be lost.  The only way to incorporate an swf into another swf without actionscript and still have its actionscript work is to copy the main tineline of the swf (ala its fla file) into a movieclip and copy that movieclip into the other swf.
    It appears you had more to say but it was cut off if so.

  • Embed swf to open in new page

    Hey guys,
    I got this code to upload a few swf files. It worked just great, except I have the swf plays within the same page. I'd like to add something like a "_blank" code to have the swf plays in a new browers window. But I don't think that's the code for it, and I don't know where to put it.
    PLEASE help..
    THANKS
    existing code I"m using:
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0, 40,0"
    WIDTH="320" HEIGHT="240" id="XXX">
    <PARAM NAME=movie VALUE="XXX.swf">
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME=base VALUE=".">
    <EMBED src="XXX.swf" quality=high WIDTH="320" HEIGHT="240"
    NAME="Nextel1" ALIGN="" TYPE="application/x-shockwave-flash"
    PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" base=".">
    </EMBED>
    </OBJECT>

    There's nothing wrong with the code.
    If you want the flash file to open in a new browser window, put the swf file on the server and make a hyperlink to it that opens in a new browser window.
    Or create a webpage as you have now and make a hyperlink to it so the page opens in a new window.
    You add a hyperlink on the page where you want the hyperlink.
    It's the way a website works and it's not iWeb specific.
    You may want to learn html etc.

  • Embed SWF into blog

    Hope this is the right place to ask.  I am having trouble embedding a SWF file that I created into my blog page. I tried to upload it to sites.google.com but the direct link to the SWF file is hidden behind an https:// that I can't get rid of and other people can't see it. How can I embed a SWF into blogger?  Are there other free sites where you can simply upload files and link directly to them?

    I have also had this issue since www.megaswf.com started charging for hosting services.  The solution I found was to host the file on Google Sites as you mentioned, however I created a FileCabinet page, using a blank google template (you can google how to do this) and this enabled me to host the file.
    Once the file was hosted, I simple looked up an appropriate html code to embed into Blogger, such as the one here: http://www.free-video-hosting.net/embed-flash.php
    When you paste in the url from the google site, it creates a ton of numbers at the end of the URL.  You need to delete everything after the .swf of your filename.  You need to replace the words "video-filename.swf"  with your url both times that it appears.
    I hope you have solved the problem by now and hope this is able to help some others...

  • Embed swf change Stage.scaleMode

    Is it possable To change the scale mode of a swf in the html embed code?
    my problem: I have the popular free flash game 'metal slug' as a swf, Its too large and wont resize as it was exported by who ever made it to preserve aspect ratio....
    Ive been trying all day to get it to resize but it wont:
    <div id="Nested" style="position:absolute; left:22px; top:32px; width:400px; height:300px; z-index:1;">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="400" height="300">
        <param name="movie" value="metal_slug.swf">
    <param name="scale" value="exactFit">
        <param name="quality" value="high">
    <param name="flashvars" value="Stage.scaleMode=exactFit">
        <embed src="metal_slug.swf" scale="exactFit" flashvars="Stage.scaleMode=exactFit" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="300"></embed>
      </object>
    I have tryed lots of different things including trying to tell the swf through flashvars to be 400 by 300, Ive tryed to decompile it and re-export it with sothink but that didnt work as its no longer reconised any of the game sounds, text, and didnt load any more (tryed and tryed)
    I have searched and searched all through google but this swf still refuses every thing i try!
    please can some one show me how to resize this swf?

    Try publishing swf as width 100% and height 100% (File -> Publish Settings -> HTML -> Dimensions: Percent). Then you can bound it with div and set dimensions of div.
    Hope it solves your problem.

  • Embed SWF in Firefox & Safari is Tiny

    I am using some swf files as buttons in flex as follows, and
    they look fine in Firefox when testing from Flex Builder, and in
    IE(6&7) when run, but in Firefox & Safari the embedded swf
    are tiny, 1px high and a few wide when I view them from a web
    server. I can click them and they work, but I have no idea what is
    causing them to be so miniscule just in Firefox.
    [Embed(source="../assets/MostRecent.swf")]
    [Bindable]
    public var btnMostRecentSWF:Class;
    <mx:Image id="most_recent_btn"
    source="{btnMostRecentSWF}" width="95" y="20" x="0"
    useHandCursor="true" buttonMode="true"
    click="onNavClick('mostrecent')"/>
    Any ideas would be appreciated. I've tried loading with and
    without SWFObject, getting rid of various attributes, etc. I almost
    want to say that Flex thinks the buttons are sitting in a stage
    800x630 (the app size) or something and is then scaling them down
    to fit in the space provided.
    Using Flex Builder 3 M2 (tried with 2.01 hotfix as well).
    Thanks.

    I'm having a similar problem with a Flex app in Firefox when
    running from a remote server. The page opens, but the swf file is
    just a strip across the top of the page. I know there's a problem
    with Firefox when the app is sized to width=100% and height=100%,
    but I want the app to be able to re-size. I also discovered there
    is a DOCTYPE issue with Firefox and Flex. If you add a doctype to
    your html wrapper, things will look fine in IE, but not work in
    Firefox. I haven't found (yet) a good solution, other than to have
    the page without a DOCTYPE (works fine then) and I want to be
    standards compliant.
    If I find an answer, I'll let you know.

  • Resize embed swf

    I have a swf that is 400 x 400.
    If I want to embed this so that is infact only 200 x 200, and
    want the movie to fit to this size but not get cropped is there a
    way to do this?
    If i try and set the dimensions of the embed in html to 200 *
    200 it crops the swf.
    Please also note that I have the swf set so that if a user
    clicks a certain button it will max the swf to fit to the size of
    the browser window.
    thanks to any responders.

    Hi,
    Mike Almond (http://twitter.com/#!/mikedotalmond) has a blog post on this: http://blog.madebypi.co.uk/2010/12/22/strobe-media-playback/
    There were also some posts in this forum related to this previously.
    -Andrian

  • Embed SWF

    im adding an SWF file from my computer to my ID file, adding a few animated text elements, and exporting as SWF. however when i email the file to my agent, the SWF i included in the file is missing. is there any way to fully embed the SWF in the file? or do i have to link it to an online location?

    There's nothing wrong with the code.
    If you want the flash file to open in a new browser window, put the swf file on the server and make a hyperlink to it that opens in a new browser window.
    Or create a webpage as you have now and make a hyperlink to it so the page opens in a new window.
    You add a hyperlink on the page where you want the hyperlink.
    It's the way a website works and it's not iWeb specific.
    You may want to learn html etc.

  • How to embed swf in flash player with skin

    Hi,
    I tried to embed a swf in asp.net page. The code is
    OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" WIDTH="498" HEIGHT="288" >
                    <PARAM NAME=movie VALUE="../Flash/PersonalGreetingMovie_002a_B.swf">
                    <PARAM NAME=quality VALUE=high>
                    <param name="wmode" value="transparent">
                    <param name="FlashVars" value="&streamName=FLV_Video_URL&skinName=Flash%2FSkinOverAllNoCaption%2Eswf&autoPlay=fal se&autoRewind=false">
                    <EMBED src="../Flash/PersonalGreetingMovie_002a_B.swf" quality=high wmode="transparent" FlashVars="&streamName=FLV_Video_URL&skinName=Flash%2FSkinOverAllNoCaption%2Eswf&autoPlay =false&autoRewind=false" WIDTH="498" HEIGHT="288" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
                </OBJECT>
    But it got error:
    Error #2044: Unhandled skinError:. text=[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="
    Error #2035: URL Not Found. URL: SkinOverAllNoCaption.swf"]
    It seem that skin swf of SkinOverAllNoCaption.swf can not be found or loaded. Please help.Thanks.
    York

    If the swf has actionscript in it, then you cannot embed it and still have it work (it will lose its code), so you need to load the file dynamically instead.

Maybe you are looking for

  • RSARFCEX - Scheduling Error

    Due communication failure tRFC are failed . To reprocess failed tRFC I am using RSARFCEX and scheduling the program as job with the frequency of every 5 min. It does delete the entry from SM58 and shows like it has been processed . But I i checked wi

  • Problem installing Acrobat Pro 8

    Installed CS3 design premium on my MacBook Pro from CD. Got all applications (InDesign, Dreamweaver, etc, but got message that Acrobat Pro 8 failed to install. What do you recommend?

  • How to launch the Create Incident page as the Home Page

    Hi All, My issue is to launch the Create Incident page as the Home Page in the Service Pro Role. To launch the Create Incident page as the Home Page is there any SPRO Configuration or we have to do through the code? Thanks & Regards, Venkat

  • Compiling with Flex 4.0 gives flash.desktop.NativeProcess could not be found

    Hello! I have an ActionScript only Flex project that was written by someone else. I know it was compiled successfully for Air 2.0 I can compile this project using Flex Hero and with <application xmlns="http://ns.adobe.com/air/application/2.6"> - howe

  • ADF EA16 Tree & Icons

    Hello, I have a Problem with <af:tree> since I updated from EA12 to EA16: The Icons I've set to the TreeNodes are replaced by a default Icon and I don't know why... Thanks for any hint! Christian