Can't center SWF file

Hello-
For some reason I can't get my swf file to be centered when I preview in my browsers. When I open the SWF file by istelf, it fills the screen (which is what I would like). However, when I insert it in Dreamweaver and open a browser, it remains a constant size and is on the left of the screen. In the properties panel I've changed the align to middle and absolute middle and it seems to have no affect.  Any thoughts?

You'll need to give your division a width, too.  And possibly text-align: center for older browser.
CSS:
#SWF {
     width: 700px;
     margin: 0 auto; /**centers div**/
     text-align: center;
HTML:
<div id="SWF">
<!--begin Flash code-->
<!--end Flash code-->
</div>
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists
www.alt-web.com/
www.twitter.com/altweb

Similar Messages

  • I can't open swf files for schoolwork. Installed VCL, Flip4Mac and Adobe flash and shockwave players. Can get white screen with connection erro message with adobe flash player. Help me!

    i can't open swf files for schoolwork. Installed VCL, Flip4Mac and Adobe flash and shockwave players. Can get white screen with connection erro message with adobe flash player. Help me!

    Apple dropped playback support for .swf formats in QuickTime almost ten years ago.
    Adobe Flash Player is the only way to view them.

  • How can I associat ".swf" files with flashlite 2.1

    How can I associate ".swf" files with flashlite 2.1? When I
    install flash lite 2.0,it can do ---- click .swf files system can
    autoly use flashlite to play.But now I install flashlite 2.1,it
    lost this ability return as "unknow files formate".
    Now,how can I reassociate ".swf" with flashlite 2.1?
    first: I must use flashlite 2.1.
    second:I must click .swf file directly.
    I know another way to open :open the player and then find the
    .swf,and open it. But ,unfortunately,I can not use this way to
    open.Now I will be looking for another way.

    unfortunately, the 2.1 developer edition you have installed
    has not overwritten the original version integrated into the
    symbian OS by the manufacturer. This means that the only way to
    open the 2.1 files is to open the 2.1 player from your apps menuu,
    and click on the swf file. You will only get direct access if the
    updated player is in a firmware update for you handset.
    Matt
    http://www.outside-media.co.uk/blog

  • Can't see SWF file in a DW page

    Hello All,
    I have placed a SWF file on the following page as per the
    Dreamweaver instructions, , ,
    This
    Problem Page
    I have uploaded the Scripts folder, which, strangly
    dreamweaver placed at the root level of the site, , ,
    I can ee the file by it self, so it is online,
    This
    is the file on line
    What do I need to do, or change in the first page so that I
    can see the SWF file in a plain Html page?
    Thanks for your help
    Patrick

    What it's also estrange is: AC_SW_RunContent(
    'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=10,1,1,0'...
    As far as I know there aren't flash version 10. So IMHO your
    code it's
    not correct. I've seen this problem before in another thread.
    It's like
    when you embed your swf file there where something wrong in
    the proses
    and the code it's corrupted. Your code should be something
    like:
    <script type="text/javascript">
    AC_FL_RunContent(
    'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','769','height','163','title','1','src','/tomsweeney/i/header','quality','high','plugin spage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlas h','movie','swf_help/topheader'
    ); //end AC code
    </script>
    <noscript>
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
    width="769" height="163" title="Help">
    <param name="movie" value="/tomsweeney/i/header" />
    <param name="quality" value="high" />
    <embed src="/tomsweeney/i/header" quality="high"
    pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="769"
    height="163"></embed>
    </object>
    </noscript>
    Publish your swf file from Flash using the fla file.
    If that doesn´t work either try with swfobject
    method
    http://code.google.com/p/swfobject/
    Let see what happen.
    thedoouge escribió:
    > Well, sadly that makes two of us, , , ,

  • How can I convert .swf  file to exe file?

    thanks

    Hi
    Thank for your choise.
    If showing only white screen, please download the lastest version, v2.03.
    http://www.bullrushsoft.com/download.html
    This problem occurs in Win7 sp1, especially IE has been upgraded to v10.
    Our SWF to EXE Converter must need the FlashPlayer plugin for IE, it 's not a atandalone program.
    So it only 880KB.
    Our online converter is the adobe flash player exe, it can be embed the swf  into, and standalone, so its size > 4MB.
    More details, please visit http://www.bullrushsoft.com/online.html
    Best Regards.
    2013-08-11
    Bullrushsoft Support Team
    From:  mmshahid73
    Date:  2013-08-11  02:52:01
    To:  Sandro_brs
    Cc: 
    Subject:  _How_can_I_convert_.swf fileto_exe_file?
    Re: How can I convert .swf file to exe file?
    created by mmshahid73 in Flash Ad Development - View the full discussion
    Hi, I used bullrushsoft SWF to EXE converter, but the created EXE file showing only white screen, i think i need to add flash player also but i don't know how to add flash player duriing swf to exe conversion.
    Because when i converted swf into exe from my pc, it showing size 880 KB where swf file size is 413 KB, onthe other hand, I convert the same online which is playing correctly but the converted file size is 4.57 MB.
    Am i right?
    Kindly help
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5583680#5583680
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5583680#5583680
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5583680#5583680. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Flash Ad Development by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Can i access swf files with your product?

    can i access swf files with dreamweaver?

    You will need Flash as well as Dreamweaver.
    Follow these instructions http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-7ad0a .html

  • Can't Center SWF image in Browser

    I've designed a website in flash and have inserted the SWF file into Dreamweaver, I can edit everything else I need, but for some reason - no matter what I do or try, I can't center this SWF image in Dreamweaver so the SWF file will rests in the center of a browser.
    I've tried editing the CSS in the Body, but it doesn't change anything, no matter what. The site always sits flush left.
    See results of current set up: http://www.louise-gd.com.
    Please advise as soon as possible.

    The whole page is in Flash?  Do you know what you give up when you do that (hint: lots!)?
    Try changing this -
    body {
         background-color: #999;
         right: 0px;
         margin: 0px;
         padding: 0px;
         background-position: center;
         position: relative;
         visibility: inherit;
         height: auto;
         width: auto;
    to this -
    body {
         background-color: #999;
         margin: 0 auto;
         padding: 0;
            width:650px;
    and see what happens.

  • Can we integrate .swf file in java script ?

    Hello Friends,
    We implemented one concept in Flex and now would like to integrate with JavaScript. Earlier we integrated an Applet code but now, we developed the concept in Flex, however, I am unable to integrate the concept in java script.
    Can anyone help me out with the procedure to integrate flex swf file in java script ?
    Here is my earlier java script code :
    var file=gup('query');
    //document.write(file);
    var prevFile=gup('prevFileName');
    //document.write(prevFile);
    document.write("<table align=\"center\"><tr><td><applet code=\"MyApplet.class\" archive=\"Visual.jar\" width=1000 height=500>");
    document.write("</applet></td></tr></table>");
    function gup( name )
      name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
      var regexS = "[\\?&]"+name+"=([^&#]*)";
      var regex = new RegExp( regexS );
      var results = regex.exec( window.location.href );
      if( results == null )
        return "";
      else
        return results[1];
    Thanks in advance.

    What version of FlashPro are you using? If you want a self contained app that doesn't load external resources, publish an AIR app, which will work on Windows or OSX. I'm using OSX so I can't really help with .exe projector files, but it looks like the latest version of FlashPro no longer outputs projector files—I think everything is AIR now.
    If you really want to go the projector route, I'm guessing Jeffrey Smith's suggestion of finding an older version of Flash Player would be simpler.
    So for AIR, set your Publishing target to AIR for Desktop. Then under File>AIR settings:
    Output as: Application with runtime embedded
    Include files: Add all of your resources—the swf ID generated and it's resource folder
    In the Signature tab click New to create a self-signing Certificate (if you were developing commercial software you would need a third party certificate). You can save the certificate anywhere.
    When you publish you should find an AIR application file (.app) file in the directory with your .fla

  • Can't view .swf files in Dreamweaver

    I'm using CS3 versions of both Dreamweaver and Flash and when
    I import a .swf file into dreamweaver it works perfect locally but
    doesn't show at all when I've uploaded the file into my webspace.
    What am I doing wrong? I never had this problem when I used the CS2
    versions of both software and it's driving me absolutely nuts!!!
    Any advice would be most gratefully received.

    On the other hand, if it's not working in CS3, then there is
    an error
    somewhere, since I know that CS3 does it properly....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Baxter" <baxter(RemoveThe :-)@gtlakes.com> wrote in
    message
    news:fpid4r$jic$[email protected]..
    >I would just use Dreamweaver 8 to do my flash stuff.
    > I have not upgraded to CS3 so I can't give you a answer
    for that, I'm
    > waiting for the next version before upgrading,Sorry.
    > Dave
    > "CJR 2007" <[email protected]> wrote in
    message
    > news:fpddif$1is$[email protected]..
    >> Hi, thanks for the reply. Yes, I have uploaded the
    scripts in the scripts
    >> folder. I also just tried inserting the .swf file
    into a document created
    > in
    >> Dreamweaver 8 and that works fine after uploading to
    my server so
    > something's
    >> going on with CS3.
    >>
    >> What do you suggest now?
    >>
    >> Thanks.
    >> Chris.
    >>
    >>
    >
    >

  • Can't view swf files in browser

    We recently reloaded our web server. Since the reload we can
    no longer view swf files on our homepage. I'm not sure if it's ain
    issue with IIS or with our files.
    I've searched the forums and have verified the Scripts folder
    is uploaded to our server. I've also tried removing the files and
    reinserting them, nothing seems to be working. Any ideas?
    url is
    http://www.bardhvac.com/
    I've also attached the code.

    Hmmm....
    I see what has happened. There are two different scripts
    folder. One in c:\inetpub\scripts and one at
    c:\inetpub\wwwroot\scripts. I was copying to the wwwroot one.
    It appears that c:\inetpub\scripts is defined as a virtual
    directory in IIS, therefore the code would have been targeting that
    location instead of the one in wwwroot folder. Not quite sure why
    it's a virutal directory, but looks like it has something to do
    with our new version of SLmail (webmail application).
    I copied the AC_RunActiveContent.js file to
    c:\inetpub\scripts and gave read authority, the swf files now show
    on our website.
    I'll need to look into this more. Thanks for your
    help!

  • Can't open *.swf files in pc.

    It dint cross my mind, when i installed win 7 ultimate x86 2 weeks ago and installed adobe cs4 master suite, to check whether i can open swf files or not. I just like always, downloaded ADM, and installed Flash player 10.1. The web videos were all working fine, except on facebook, where the videos and uploader keeps prompting me to get latest flash player EVEN AFTER I INSTALLED 10.1 version thrice. But i dint care abt it since i dont watch videos on facebook anyways.
    The issue is about swf files. Everything regarding to flash, even flash animations, work perfectly well on the internet, whether it be firefox or any other, but today i was designing a photo gallery for my portfolio, and pressed test movie to see if it was looking good. Everything worked in the test movie.
    But when i open, some tutorial included swf's or my own created swf's, the famous error comes which states"WINDOWS CANT OPEN THIS FILE. TO OPEN THIS KIND OF FILE WINDOWS NEED TO KNOW WHAT PROGRAM TO USE TO OPEN IT". When i click "select program from installed programs", i cant find Flash Player anywhere on my pc. Now wtf am i supposed to do if my swf's cant open (not on the internet) but on my pc. Please tell me. don't suggest uninstalling cs4 or flash player and reinstalling, because i already did that countless times. Should i get olders flash player versions?
    Please don't tell me i will have to reinstall windows for i then i will have to reinstall so much.

    guys! Big news, somehow, i just uninstalled flash cs4 and all the flash components along with plugin and activex. Then restarted pc. Then reinstalled flash cs4, then downloaded flash player and installed it. and VOILA! It works now. i can easily open all the swf files now. No more need for the solution. although you can look for solution if in future someone else acquires the problem

  • I can't run swf files in dreamweaver cs6, they place in the page fine, but can't be viewed.

    I've created an animation .swf file in Flash and inserted it on a new webpage. When I go to view it in live mode, it's blank. When I view it in the IE browser I keep getting a message that I need a newer version of Adobe Flash player, which is not the case, and even going through the install process doesn't help. When uploaded, it doesn't appear on the webpage. This is Dreamweaver in the CS6 release on a Windows 7 64 bit system. The animation file runs fine when viewed from the original folder, but does not funciton (blank screen) when opened from the copied file Dreamweaver puts in the site folder. Can anyone offer any suggestions? Also, is there a way to loop a .flv file? This could be a work-around if I can't resolve the .swf issue.
    Thank you in advance for any help you can offer.
    Mark

    Hi Jon,
    Unfortunately not. The website is actually an HTML module logded in a third party program. Even in the development stage though I can't see the .swf file in either the live mode or by viewing with IE. Flash video files play fine as have the other graphics I've incorporated. It seems like a file is missing to make the .swf animation work properly. When I copied the file over from the original folder, Dreamweaver also placed "expressInstall.swf " and "swfobject_modified.js" in a scripts folder. I'm wondering if there should be another or different file to make this work.
    Mark

  • Can we publish swf file made with InDesign in .exe?

    I made a SWF file with InDesign. I would like to publish it in .exe? Is it possible?

    What version of FlashPro are you using? If you want a self contained app that doesn't load external resources, publish an AIR app, which will work on Windows or OSX. I'm using OSX so I can't really help with .exe projector files, but it looks like the latest version of FlashPro no longer outputs projector files—I think everything is AIR now.
    If you really want to go the projector route, I'm guessing Jeffrey Smith's suggestion of finding an older version of Flash Player would be simpler.
    So for AIR, set your Publishing target to AIR for Desktop. Then under File>AIR settings:
    Output as: Application with runtime embedded
    Include files: Add all of your resources—the swf ID generated and it's resource folder
    In the Signature tab click New to create a self-signing Certificate (if you were developing commercial software you would need a third party certificate). You can save the certificate anywhere.
    When you publish you should find an AIR application file (.app) file in the directory with your .fla

  • Can't get swf. file to play in dreamweaver

    Hello,
    Trying to put video into dreamweaver. I created swf file in flash. Can't seem to get it play when i import the file to html page.
    What files need to be in the Dreamweaver folder? HTML, Skin, swf?  thanks for any help. Owen

    When you create the file in Flash, it is usually best to also have it publish an html page.  Copy the embedding code that Flash creates in the html file and paste it into your intended html file.  The Flash code may also be reliant on including a .js file, which it will also create, so that needs to be placed in the site folder.  The header of the Flash html may include a script link to this js file, so you need to copy/paste that in the intended html page as well.

  • Why can't open .swf file in my SE browser?

    I have a K610i with me. I just exported a simple browser
    flash lite 1.1 file from my flash 8, uploaded to server. Then I
    enter the URL in the K610i browser :
    http://www.xxxxxxx.xxxxxx/test.swf
    , but it respone to me "file type not supported".
    (I am sure i can open see the swf file by enter URL in
    browser in a Sharp handset.)
    Is it true that SE K610i really support browser flash lite?
    THANKS!

    All of the Sony Ericsson White Papers are available here :
    White
    Papers
    Unfortunately it says the K610 does not have FL. :(

Maybe you are looking for