Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flash General Questions > Other Flash General Questions

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-18-2001, 05:12 PM   #1
eyedea
Registered User
 
Join Date: Apr 2001
Location: London
Posts: 34
Unhappy PANIC - HELP PLEASE!!! centering flash in browser window... STUCK :(

Anybody.... please!!!!!! I'm begging you, please help....

I've read about them, looked through tutorials ... but now I'm still stuck - got a deadline coming up and have a complete blank on how to center my flash site in the browser window, regardless of which size monitor it is being viewed on....

I've done a flash site (600x400px) and I'd like to put it on the html page in Dreamweaver, setting it up so when viewed - the flash content will always end up in the center of the monitor/browser window, on a small screen the same as on larger monitors.

I would REALLY REALLY REALLY appreciate any help on this!!!!!!!!!!!!!!!!!

Thanks for listening
Happy flashin' Prisca

PS: the temporary link to the site: http://www.graphiceyedea.fsnet.co.uk...utions/CS.html
eyedea is offline   Reply With Quote
Old 11-18-2001, 06:10 PM   #2
Josh
Registered User
 
Join Date: Aug 2001
Location: Dallas, Texas
Posts: 91
Send a message via ICQ to Josh Send a message via AIM to Josh Send a message via Yahoo to Josh
Default

Code:
<div align="center"></div>

Put your HTML code for Flash between that tag.

Or you could just put it in a table and center the table.

Josh Dura
Josh is offline   Reply With Quote
Old 11-18-2001, 06:54 PM   #3
defrex
Registered User
 
defrex's Avatar
 
Join Date: Jun 2001
Location: southern ontario, ca
Posts: 127
Default

<div align="center" valign="center"></div>

that should make it verticly center too
defrex is offline   Reply With Quote
Old 11-18-2001, 09:18 PM   #4
eyedea
Registered User
 
Join Date: Apr 2001
Location: London
Posts: 34
Default thanks :)

thanks so much for your quick reply

I tried to do as you said - but I don't know much about HTML (enough to understand the <..> and </...> principle but not much more ), so I'm probably putting it in the wrong place...
It refuses to budge... still stuck on top of browser window...

When I get some more time - I'll try it again!
THANKS
Prisca
eyedea is offline   Reply With Quote
Old 11-18-2001, 09:43 PM   #5
defrex
Registered User
 
defrex's Avatar
 
Join Date: Jun 2001
Location: southern ontario, ca
Posts: 127
Default

maby i'm wrong....try this
Code:
<table width="100%" height="100%">
<td valign="center" align="center">
your flash code here
</td>
</table>
i know that one will work....
defrex is offline   Reply With Quote
Old 11-18-2001, 10:15 PM   #6
eyedea
Registered User
 
Join Date: Apr 2001
Location: London
Posts: 34
Default YOU'RE A STAR !!!!!!

Thanks for getting back to me!!! I was just about to call it a night whe your reply came and I just had to try it out.... it didn't work first of all, but I just had a go and played around a bit, shifting a few bits around, adding bit in the DW HTML... and It worked!!!!!!!!!!!!!!!!

Thanks so much for that!!!

Take a look: http://www.graphiceyedea.fsnet.co.uk...utions/CS.html

THANKS AGAIN Prisca
eyedea is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make a flash movie fit a browser window? 303 maddec ActionScript 1.0 (and below) 3 05-10-2004 06:21 AM
streaming issue in Flash MX player (versions prior to 6,0,29,0) suhaskots ActionScript 1.0 (and below) 0 02-11-2003 04:23 AM
Streaming Flash Player 6 simail Other Flash General Questions 7 04-03-2002 11:14 AM
open browser window from Flash exe jkd77 ActionScript 1.0 (and below) 8 01-07-2002 12:48 AM


All times are GMT. The time now is 09:30 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.