Swf files that scale with the browser

I uploaded a swf file with dreamweaver as a stand alone window and it works fine.  How do I get the swf file to scale larger or smaller as the user adjusts their browser window larger and smaller?  I would like to get the swf file to scale along with the browser window.  I posted this in dreamweaver but was told this is an action script issue.

I found a simple solution, and I believe it is what you are looking for.
1. In Flash, go to File>Publish Settings
2. Click on the HTML Tab
3. Where is says Dimensions, select Percent
4. Though it is probably default, make sure the width and height are both set to 100.
5. Click ok then go to File>Publish
Now your movie should scale with the browser window.
If you do not have Flash, then you can simple work with this sample code below:
<object width="100%" height="100%" id="xyz" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="xyz.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#ffffff" />
    <embed src="xyz.swf" quality="high" bgcolor="#ffffff" width="100%" height="100%" name="xyz"
    align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
Notice how width and height are set to "100%"? That's all you need.

Similar Messages

  • How to get my text and graphics to scale with the browser dynamically?

    Hi there!
    I've run into an issue where, with my design - I'm trying to get text and graphics to scale and move with the browser as someone adjusts it. (As opposed to it moving and falling apart as the browser window gets too small.)
    http://www.richardsuchit.com is where it's posted at the moment.
    I'd it to maintain it's position in the center of the browser window no matter how small or large, just to adjust in size, rather in position. I wonder if this is possible?
    Looking forward to your answers! Thanks.
    -Richard

    Hi
    Here is a sample file of text that re-sizes according to your window size.
    https://www.dropbox.com/s/z7hqxejysuxs597/Sample.zip
    Regards
    Susanta Kumar Muduli

  • How do I get Windows 8 to read the .7z file that downloads with the Photoshop Elements 12 installer?

    I just downloaded Photoshop Elements 12 and it downloaded just fine, but when I tried to install it, I keep getting a message that says "The file archive part of adobe is missing" but they're both on the same folder and it seems that Windows won't recognize it or won't read it

    you need to download the matching exe file, too.  put both in the same directory and click (or double click) the exe.
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 |12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.
    window using the Lightroom 3 link to see those 'Important Instructions'.

  • What are the *.mnu files that download with the Hewlett Packer instrument drivers?

    I have a  rather odd problem.  I ran a program on another machine and all works fine, but ported it to a vendor site and have only one issue that I can't seem to resolve.  I'm talking to several HP6632A DC Power Supplies, an HP 34401A and an HP8720C.  Everything is smooth until the HP6xxxA Read Output Voltage Current.vi is called.  It shows 0 volts and 0 amps, on the Front Panel of this VI, even though there is a voltage and current value.  The supplies are setting up fine, but for some reason this VI pulls back zeroes - and I've tried it on both of the supplies in the stand.  There are no errors showing on the supply.
    Now there is one difference, short of the obvious difference of the physical supplies.  The vendor site has a USB to GPIB NI adapter.  At the development site, a NI GPIB card was installed.  Again, I'm puzzled due to the lack of any error.
    Thanks in advance!

    Dennis - thanks.  I fired up MAX and I do get the values back when I do either an IOUT? or VOUT$.  Now I'm using Agilent (HP) drivers downloaded from NI, but again, I'm not setting the value.
    I've attached the VI
    Attachments:
    Reading Power Supply Voltage and Current.vi ‏115 KB

  • Data that ships with the game

    I'm comfortable with "shared objects" for saving hi scores and progress in a game, but what if I need to create a series of preset data files that ship with the game?
    I'm working on a large project that will involve a lot of data entry and I need to save lots of values to a file that the game will still have access to once it's installed on a mobile device.
    Hopefully it's not that much more complicated???

    I resolved this by writing to a text file which is "included" in the package and then parsed based on commas using the helpful "Split()" function.

  • I am having a problem with the FireFox browser. I have attached two files that best describe the problem. I have labeled them A & B. A is the way it should lo

    I am having a problem with the FireFox browser. I have attached two files that best describe the problem. I have labeled them A & B. A is the way it should look and B is what happens after I have I opened several tabs. I can get it back to normal if I click on VIEW than click on customize. When the customize window appears FireFox returns to its normal state. I than click on the done box and go back to what I have been doing. I tried resetting FireFox back to default settings, but that did not correct the problem.
    This began happening about a month ago. Is there a way I can fix this problem? Thanks for your help.I don't know how to attach my 2 attachments that shows the problem I am having.
    [email address removed to protect your privacy and security]
    <! [email protected] -->

    I found the images here: https://support.mozilla.org/en-US/questions/977542#answer-501598

  • I have Firefox 10.0.2. and OSX 10.6.8. and the latest PDF adobe reader, and still can not open with the browser PDF files.Can someone help,pls?Thanx

    Dear Ones,
    I have Firefox 10.0.2. and OSX 10.6.8. and the latest PDF adobe reader, and still can not open with the browser PDF files.Can someone help,pls?Thanx

    see if this is helpful : [http://support.mozilla.org/en-US/kb/Opening%20PDF%20files%20within%20Firefox Opening PDF files within Firefox]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • I recently thought I was updating my Safari browser. When completed, I put all those little files that were on the desktop into the trash. Now my trash is saying it can't be emptied because there are locked files and I don't know how to unlock them

    I recently thought I was updating my Safari browser. When completed, I put all those little files that were on the desktop into the trash. Now my trash is saying it can't be emptied because there are locked files and I don't know how to unlock them or get them out of my trash and they keep multiplying. And to make matters worse, I tried renaming them as pdf files thinking that might do the trick.

    oh boy ! I'd ask you if you knew what kind of files they were or where they came from, but I don't think you could help me a bunch. Try going to the Utilities folder and running Disk Utilities.  If you want to empty the Trash and it won't empty, go to the finder and choose "secure Empty trash". Worse case scenario-you may have to reinstall Snow Leopard, but I don't know what else to suggest. If you have a DVD of Snow Leopard, boot up from that,  and reinstall the OS. This will not touch the stuff you have on your Hard Drive, then you can update from 10.6 to 10.6.8, otherwise Onyx? Maybe those files are part of the OS which needs them to keep running.  if you hold down the Shift key on reboot, you can reboot in Safe mode and maybe you can take the files out of the trash that way
    good luck
    John B

  • Is there any option to recover a file we saved with the same name that other by mistake in a MAC PC

    is there any option to recover a file we saved with the same name that other by mistake in a MAC PC

    There's a slim chance. +*Stop using the drive IMMEDIATELY.+*
    Then see: [Data Recovery|http://web.me.com/pondini/AppleTips/Recover.html].

  • After mixing a project i select bounce and burn the disc that is burned plays on any cd player but when i try to burn the wav or mp3 file that was created the resulting disc will only play in a computer this also happens with video projects help please

    after mixing a project i select bounce and burn the disc that is burned plays on any cd player but when i try to burn the wav or mp3 file that was created the resulting disc will only play in a computer this also happens with video projects help please are there any settings i need to alter as it seems the wav or mp3 file i ceated is being converted to a data file somewhere between the folder and disc drive

    Same thing for a movie file.. If you want to play back the movie via a DVD and a DVD player you must create a Movie DVD  and not just burn files to a data DVD... as Data DVDs are just storage devices for files and therefore will only work with computers...
    Movie DVDs are special formats that include things like menus and special file formats.. so they can playback via a DVD Player...
    You will need a 3rd party DVD Burning app like Toast which is what i actually use.... or the more popular DVD Creator app...to create and then burn a Movie DVD that will playback on a DVD Player....
    https://answers.yahoo.com/question/index?qid=20101220205435AA70beb

  • What are the weird files that start with ._ that pc users get when I send zips?

    When I send files that I zip using Stuiffit to pc users they get the files plus an equal number of files that start with ._ Does anybody know what these are and how to get rid of them?
    Thanks!
    Karen

    Dot files are invisible files that OS X uses to display positions of files and folders icon for instance when you open a folder.
    That is indeed what a .DS_Store file does, but that's not the ones Bogies is referring to.
    There are various other items that start with a period, such as .Trashes. Every drive gets a trash folder, just as Windows does to each of its drives. While it hides its own trash folders from view, Windows doesn't recognize OS X's version of the trash folder, so you see it.
    But you're likely talking about these. Every file you copy from OS X to a DOS/Windows formatted drive gets a ._ file. The Mac OS has a twin file system; the data fork, and the resource fork. Windows has only a data fork.
    In order for OS X to maintain the resource fork data on a Windows drive, it has to write the resource data as a separate data fork file. So a file named foo.tif will also get a ._foo.tif file on the drive. Mac users don't see them since UNIX automatically hides anything that starts with a period. When you copy the file back to OS X, the data and resource fork info is combined again into a normal Mac file.
    Most of the time, removing these are no big deal. They hold simple data like Type and Creator codes, modification dates, icons, etc. Others, like Mac Type 1 PostScript or Mac legacy TrueType fonts have all of the font data in the resource fork. Delete the ._ files for those types of fonts, and you're left with nothing.

  • Im facing problem while trying to update my iphone 4 from version 4.3.1 to iOS 5. While processing the downloaded 774mb file, it comes with the statement that the network connection timed out. why???

    im facing problem while trying to update my iphone 4 from version 4.3.1 to iOS 5. While processing the downloaded 774mb file, it comes with the statement that the network connection timed out. why???

    i have been dealing with this same issue, tried to  turn off firewall and even turn of antivirud but still it gave me the same error.

  • Hi. My macbook pro will not open the video files taken on a panasonic hd-sd10. is there a mac version of hd writer software that comes with the panasonic camcorder?

    Hi. My macbook pro will not open the video files taken on a panasonic hd-sd10. is there a mac version of hd writer software that comes with the panasonic camcorder?
    Could do with some ideas.
    Thanks

    Ask Panasonic whether or not they provide OSX versions of the software.
    Google the issue

  • Send a file that resides above the virtual directory to the browser using ASP.

    How do you send a file that resides above the virtual
    directory to the browser using ASP.
    this doesn't work:
    <% Response.Redirect(Server.Mappath("..\..\..\files\"
    & rsgetefile("filename"))) %>

    Basically you can't send a person to the location as that
    would totally
    defeat the purpose of placing files above the virtual root.
    You can stream a
    file from a page on the site if you use the physical location
    on the server
    to call it.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "lovewebdev" <[email protected]> wrote in
    message
    news:ec2paf$9ht$[email protected]..
    > How do you send a file that resides above the virtual
    directory to the
    > browser using ASP.
    >
    > this doesn't work:
    > <% Response.Redirect(Server.Mappath("..\..\..\files\"
    > rsgetefile("filename"))) %>
    >

  • What file type is the video that comes with the ipad? Is there a way to transcdibe the audio from a 90 minute interview I just recorded?

    What file type is the video that comes with the ipad? Is there a way to transcdibe the audio from a 90 minute interview I just recorded?

    Thank you Menneisyys.
    By transcription I mean being able to take what was said in the interview and have those words converted into written text. So I think your second option's a bit closer to what I was looking for.
    The inelegant solution would be to buy Dragon Naturally Speaking software, load it up on another computer, stand my i-pad next to it, and have the words transcribed that way - an analog approach, as it were.
    O course, I could just spend the next several hours tying up the interview, which is something I kinda hope to avoid.
    Thanks again - Jim

Maybe you are looking for