Centering a Flash movie in Browser??
If all I have embedded in an html page is a small Flash
movie, how do get it to center in a browser so it's not flushed
left??
Any help on this would be great. Thanks!
> If all I have embedded in an html page is a small Flash
movie, how do get
> it to center in a browser so it's not flushed left??
I create a Div (or a table) and center that.
Similar Messages
-
How to center flash movie in browser window
Can anyone explain how to horizontally center my Flash movie in the web browser window after publishing?
A bit of background:
I was able to achieve this using <center></center> tags a few years ago. But I have since upgraded to CS5 and I understand that this old method is now obsolete.
I have found a few threads/forums that address this, but I know nothing about HTML and these threads don't help me because they assume you have more knowledge than I possess. When opening up the index.html file in Dreamweaver I can't find anything that looks vaguely familiar to what is being discussed. I have found some code samples using <div></div> tags but have no idea where to place it.
So I will need it explained to me in a step by step fashion, including which file I need to fix and what program I should use. Code samples will be very welcome if you can tell me exactly where it goes.
Thanks in advance...Just realized that there is no scrolling functionality with the .swf generated from the new CS5. Can anyone help out by providing revised code for centering and scrolling?
I found something elsewhere in the forums that worked for both centering and scrolling that worked fine yesterday, but upon visiting my site today for testing, it did not allow the scrolling, and centering did not work in Firefox. Tested both Safari and Firefox on 2 Macs running Snow Leopard.
Again, much appreciated - nice to visit forums where people are interested in helping instead of screaming at each other. Will visit the Illustrator or Indesign forum to see if I can help out someone there... -
Centering a flash movie within Dreamweaver cs3 on Y axis
I have published a movie in Flash cs3 which has generated an html document however the Flash movie is not automatically centered I have attempted to centrally align the movie within Dreamweaver cs3 by adding:
<center> after the opening body tag and </center> befor the closing body tag
This method has centered on the X axis but not the Y axis
I would have put in a table or a div tag, but when I open the html doc in Dreamweaver I have no visible repressentation of the Flash movie in the design view as I would have if I had created an html document from scratch and draged the movie onto the page, all I can see is the "get flash" hypertext and some other text. I did actually experiment by creating a div tag and dragged my movie into it but ended up with two movies one sitting on top of the other when I ran it in a browser lol. I'm quite intimdated by code and much prefer to work in the design view (wysiwyg and all that) which is quite restricting.
Any advice for centering on the Y axis would be much apreciated, Thanks in advance, DaveI don't believe there is code to prevent this from happening
on a client computer. The default is enabled my Microsoft, what
should happen is a yellow bar should appear at the top of the
browser which will allow you view the content.
What might work is to use a program called Zinc by a company
call Multidmedia Limited www.multidmedia.com. Search the site for
samples, one of the samples is a Flash Browser this will run Flash
a browser that you can use. You will need to change the URL a bit
in the Flash code but it's very clear on how to do this.
What this will do is run your web site in a Flash browser I
did a quick test and I did not get any errors. The program will
create an EXE file. I also believe they have a MAC version if you
need one. With a simple "Autorun" call on the CD-ROM you could have
this up and running in not time.
Just be careful of how you call the pages. Since the web site
is not running from a Web server you need to make sure that your
links are local and not Site Root. The best way to test is to
disconnect your computer from your internet and see how it runs.
You want the CD to be self-contained and not have to get content
from the web (your end user may be on a laptop and not connected).
Good Luck -
Here's my problem:
I've created a Flash movie I've saved on a CD as a .exe
projector file. The .exe file will automatically open once the CD
is placed in the computer's CD drive. When the movie is opened, I
want it to play in the center of the computer monitor. Thus far
I've not been able to figure out how to configure Flash so the
centering on the monitor will occur. I know in Director, you have
an option you can choose to make the centering occur. Is there a
way in Flash to have the centering take place. Even if it means
performing some Actionscripting.
An additional Note: I know I could use an FS Command to make
it so the movie will place full scrren no matter the scrren monitor
size. But since my Flash movie contains Bitmapped images whose
resolution quality depends on having a stable monitor size, I can't
use the FS Command because my bitmapped images get distorted.
Any help in this matter will be appreciated.you can use the stage.allowscale method to stop scaling and
also make
the entire window cover the screen. It also has align to you
can center
or otherwise position it in the window
a more comprehensive solution is available if you convert
your swf to
an exe with mProjector it includes a full set of window
manipulation
commmands include center
here are the docs for that commands
http://www.screentime.com/software/mprojector/docs/mWin_center.htm
all apis by class
http://www.screentime.com/software/mprojector/docs/
and a demo download...
http://www.screentime.com/software/mprojector/demo.html
John Pattenden
Screentime Media - Flash Tools since 1997
http://www.screentime.com -
Urgent! HTML table cell - Flash movie display browser dependent
Hi all,
I wonder if anyone has experienced the same problem i have
(note, Windows XP, Dreamweaver 4).
Consider the (rough) HTML code attached: A simple HTML table
of one column and two rows is constructed to hold an image banner
link and a Flash movie banner link in each cell consecutively.
The Flash movie works normally when the HTML page is viewed
in IE and Opera, until that is, it is placed inside a table cell.
Inside the cell the flash movie seems to disappear, though i
suspect it collapses to an image 1 pixel in height, as this can
just about be seen using Opera.
Is there something that I am missing? The code of course
seems correct to me - perhaps there is a browser setting i am
missing?
Any help apprceiated - as i need to implement this code ..
DazHi Alan,
Dont think that was the problem (percentages used to scale to
users browser?) ... though you did set me thinking!
Was tired before, so only just remembered that when i was
experimenting with setting the Table Properties the image was
actually occasionally visible!!
Short version: When formatting a cell containing a Flash
animation dont leave the H field blank or use % (even though you're
suppose to be able to!), use pixels instead - otherwise the Flash
image collapses/disappears. Blank and % are fine everywhere else
(I did type a long answer before, but it got eaten by the
forum monster
Someone/i will probably figure out
why this is so or maybe i've just rediscovered the wheel
here - but thats not really important now - because my Flash
animation now renders similarly across IE, Opera and FireFox !!
So thanks for your help!
Daren -
Flash movie height & browser scrollbar
I have an image gallery with a bunch of thumbnails displayed
on the page in a grid-like layout. Currently, the swf sits in a
HTML page set at 100% width and height. There's a resize listener
that adjusts the layout so that the thumbnails all fit on the page
at once. So, as the browser window gets narrower, the columns
decrease and rows increase as the thumbnails get pushed down the
page.
The problem is, once the thumbnails get pushed far down far
enough to go past the bottom of the browser, the overflow is hidden
and the thumbs "below the fold" are not accessible.
Is there a way to pass the dynamic height of the SWF, so that
the browser detects whether or not it should display the side
scroll bar?I think what you did must work (about setting the SWF width
and height to 100% HTML). -
Aligning Flash movie in center of browser and flush to top
I'm having trouble positioning my Flash movie where I want it in the browser window. I want it:
* To be centered horizontally (easy enough), but also:
* Flush to the top of the browser window, with 0 px between the movie and the top of the browser window
I've been trying various combinations of single-cell tables, divs and CSS absolute & relative positioning, and can't find the right combination to achieve this positioning. The closest I can get is centered horizontally, and about a 5 px gap between the top of the browser window and the top of the movie -- it needs to be flush.
My movie is 1000 px wide and 680 high. This is a simple diagram of what I'm trying to achieve:
I'm not a coder by any means, so specific code examples would be helpful!
Thanks,
RFor your body tag in the html file try including these four parameters, they should reduce you to having no margin separating you from the very top of the page...
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
If you have a CSS file for the page you could include it in there instead in the form...
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px; -
Scaling My Flash Movie Proportionally To Fit Any Browser
Hi,
Thanks for any help.
I am trying to make my flash site scale to the browser size, just like this site: http://www.flashcomponents.net/upload/samples/1213/index.html?full=true
The reason is because I want to design for bigger screens (that most of us have) yet still be able to view my website on small monitors i.e. 800 x 600.
I don't think I want a 'liquid/fluid' layout (as mentioned in many tutorials) because they can compromise the design aesthetic if browser window is too big or small.
I just want the movie to shrink or grow proportionally with the browser. I would also like it to stop growing beyond the dimensions that I build the flash movie- to avoid losing bitmap quality.
I currently have my flash centered in the browser with fixed dimensions. What settings do I need to change in Flash or Dreamweaver to make this happen? Also, if you have any comments or criticisms about this type of layout please do mention it. I have found only one issue with this layout - it does not zoom in when you press "command & +", but other flash sites do.
Thank you!Hi animated_cloud.
In all honesty, I dont think you should create a scalable template if you will be using bitmap images in your movie. On the other hand, if you will be using vector images, or dinamically drawn content within your movie, then making it scale is fine. But this is up to you! =)
ok. first off, you should go check in your File ---> Publish Settings. In the SWF Tab you should see scaling options. You should play around with some of these to understand what each do.
Have a look through those settings, and if you cant find what you want come back and we'll go from there.
good luck. -
Controlling where flash movie loads on a web browser
I want to have the index page for my site open with a flash
movie on top of the rest of the content of the page at a set pixel
distance from the top of the page and centered horizontally in
relation to the browser. I have been able to make this work with an
absolute location using CSS elements in Dreamweaver and the
equivalent of what used to be layers. It all works as long as the
position of the layer is absolute, and your monitor settings are
pretty standard. Otherwise the flash plays on the left:
http://www.iconoclastic.net/metaphordogs/index.html
When I try to make it a relative location, it moves to the
top of the browser. When I try to make it relative to a table, it
displaces the table content rather than playing over it.
Any assistance would be appreciated
Alec1. System Preferences > Flash Player > Advanced > Delete All
Press the "Delete All" button.
Install Adobe Flash Player.
http://get.adobe.com/flashplayer/
Download it first.
The next step is important.
Click Safari in the menubar and select “Quit Safari”.
Follow the prompts and install it.
Restart computer. Relaunch Safari.
2. Allow Plug-ins
Safari > Preferences > Security
Internet Plug-ins > "Allow plug-ins"
Enable it.
3. Safari > Preferences > Privacy
Press the button “ Remove All Website Data”. -
How can I remove the thin black border of Flash movie when viewed in a browser?
There is a thin border at the top and left margins of my Flash movie when the .html is viewed in a browser. How can it be removed?
Here's the movie.
One solution suggests replacing some code, but the code they suggest replacing doesn't even exist in my html file.
I have found questions similar to mine being asked all over different forums, but their solutions either don't work, or like the above, don't really apply. For such a common problem, finding the solution is getting a little frustrating.
I'm using Flash CS3 on a Windows PC rrunning XP professional.Okay, I found the answer. It turns out that when I made the buttons in Flash (so the movie would have clickable links), the default stroke color was set to black. Change it to white and the outline is gone.
As for appearing only on the top and left of the movie - for some reason the bottom and right is being cropped a bit when it's placed in to the html page. But that's a topic for a different discussion. -
I can't watch flash movies on nokia e7 browser
Hallo!
I've tried to watch some flash movies on nokia browser and opera 11 but it said to get flash player. On the link to adobe they don't have symbian os listed there. I've tried to install some versions of adobe flash player, but it said that doesn't support the sis. or on flash lite that it is already there
What can I do? Maybe another browser with flash player support?E7 does support some flash content but not all, Opera doesn't !! The only browser I had that worked was Skyfire, but it no longer supports Symbian. Hopefully the new browser may have better support ? This video works on E7
http://www.tracyandmatt.co.uk/blogs/index.php/nokia-e7-unboxing-video
If I have helped at all, a click on the White Star is always appreciated :
you can also help others by marking 'accept as solution' -
Browser scrollbar for Flash movie?
The webpage for my Flash movie does not have scrollbars. On
most of the frames (I did each site page as a named frame in a
single timeline) it doesn't matter, but there is one frame where
the content stretches the full 900 px tall and you can not scroll
down.
I'm afraid I also have complicated things because the client
said he wanted everything, the whole site, 10% bigger... so I set
the movie width and height as 110% in the HTML. (Suggestions on
this are appreciated, too!)
I'm worried that if I somehow add scrollbars, it will want to
add a horizontal scrollbar to the bottom too.
I was wondering if I could add a Flash scrollbar (if it
worked with scrolling mice, that would be bonus) just on that page,
and have it appear exactly at the right edge of the browser window
and smartly sense how tall to be. Would I have to load it as a
separate movie? Any suggestions are ever so much appreciated!Nevermind... I found out his Flash Player was WIN 9,0,47,0
while everyone else is WIN 9,0,124,0 . He upgraded & it is
working. -
Unloading a flash movie using Safari browser
I have MAC 10.4 and safari 2.0 browser.I run a flash movie(Instruction.swf) and after that the actual test for the student run.So while running The first movie i.e Instruction.swf I am not able to unload that movie using javascript in Safari 2.0 browser so that the actual test can run.It just hang up after finishing the movie.While in the other Mac and windows it is working fine.
Please Help me.
Thanks In Advance.Welcome to Apple Discussions!
Do you mean to say, in other Mac and Windows web browsers it is working fine? If that's the case, it sounds like the version of Flash plugin used by the Safari plugin is probably older than the one used by the other web browsers.
With Safari Enhancer's enabling of the Debug menu you can force certain webpages to open in other web browsers. That would help streamline your viewing of those pages.
http://www.lordofthecows.com/safari_enhancer.php
You can also enable the Debug menu with:
defaults write com.apple.Safari IncludeDebugMenu 1
from the Terminal. -
Flash movie is repeating in safari browser
Have inserted a flash movie into a web page using dreamweaver. Have exported the flash movie out as window mode = transparent.
have made the <param name="wmode" value="transparent" /> tags. Works ok on most browsers except Safari. It seems to repeat the movie vertically (well just a few pixels of it. Is there any way to constrict the Flash object tag so it does not repeat vertically in Safari?<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="258" height="370">
<param name="movie" value="../media/TAAENV501B_menu_performance.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="8.0.35.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="../scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="../media/TAAENV501B_menu_performance.swf" width="258" height="370">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="8.0.35.0" />
<param name="expressinstall" value="../scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object> -
I just taught myself basic coding in HTML yesterday and it
took a loooong time. So now I am having the issue of centering a
flash video in the center of the page. I do not know how to do
anything in dreamweaver so if you could explain if I need to create
a frame or table or something I would greatly appreciate it. What I
specifically want is a black background with a thin video that
stretches across the entire page in the middle that loops as my
"enter the site" page.Except with using tables:
http://www.apptools.com/examples/tableheight.php
Shane H
[email protected]
http://www.avenuedesigners.com
=============================================
Proud GAWDS Member
http://www.gawds.org/showmember.php?memberid=1495
Delivering accessible websites to all ...
=============================================
"Murray *ACE*" <[email protected]> wrote
in message
news:e6k0jl$73j$[email protected]..
>> tell me what I have wrong with this.
>
> Nothing. Vertical centering is virtually impossible with
CSS.
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
>
http://www.dreamweavermx-templates.com
- Template Triage!
>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
> ==================
>
>
> "Photoplay Prosecutor"
<[email protected]> wrote in message
> news:e6jvpv$601$[email protected]..
>> It centers it horizontally but not vertically.
>> tell me what I have wrong with this.
>>
>> <div style="width: 400px; margin: 0 auto;
text-align: left;">
>> <object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>> codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
>> rsion=7,0,19,0" width="1024" height="300"
title="Intro">
>> <param name="movie" value="Intro.swf" />
>> <param name="quality" value="high" />
>> <embed src="Intro.swf" quality="high"
>> pluginspage="
http://www.macromedia.com/go/getflashplayer"
>> type="application/x-shockwave-flash" width="1024"
height="300"></embed>
>> </object>
>> </div>
>>
>
>
Maybe you are looking for
-
MacBookPro 15 OS - Yosemite Problem area - "Contacts" Problem - when sending an e-mail in "Mail" I used to open contacts to get an address. A small window opened, I clicked on addressee and moved the addressee name to the e-mail. Can no longer do t
-
ORA-22275 Invalid lob locator when using CLOB from a view
Hi, I am having problems when passing a CLOB from a "Union all" view to a function. I get an ORA-22275 error when trying to construct an XmlType from the CLOB and the CLOB originates from a view. If the CLOB originates from a table, eveyting works fi
-
Hi, I have created an action in PS which saves a files as a LZW Tiff and then created a droplet. I want to save and close the file in the same location that it is in (i.e. replace a it) but it keeps on saving it in the folder that I first saved as in
-
Is there a way to format a Jukebox Zen Xtra from the device itself?
Forgot to subscribe to the post
-
Parametrized relation connections - don't work when source and target are different
Hi All,I have next problem:I am using parametrized relation connection firstConnection (user and (encripted)password are taken from parameter file). Here are values from param file: $DBConnection_source=firstConnection$DBConnection_source=firstConnec