Reply LinkBack Thread Tools Search this Thread
Old 21-10-2003, 14:24   #1 (permalink)
eyemistisorange
Registered User
 
Join Date: Oct 2003
Posts: 5
centering flash site in window?

How do i make my flash site stay centered no matter if the user adjust the window or not? I opened the html file in dreamweaver and tried to find a setting in page properties but didnt see anything that would look like it would do the job?
  Reply With Quote
Old 21-10-2003, 14:45   #2 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,236
Quote:
Originally Posted by eyemistisorange
How do i make my flash site stay centered no matter if the user adjust the window or not? I opened the html file in dreamweaver and tried to find a setting in page properties but didnt see anything that would look like it would do the job?

There's a template/plugin type thing you can install isn't there? Then you just choose it from the drop down menu when publishing. I think you get it from the Macromedia site.

Helpful aint I! You can tell I use flash often, in fact what am I doing in this forum!

Someone will be along soon to give you a proper answer, sorry.
__________________
That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
  Reply With Quote
Old 21-10-2003, 14:50   #3 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,236
Extension! That's the word I'm looking for.

You can download an extension from macromedia.com.
__________________
That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
  Reply With Quote
Old 21-10-2003, 15:08   #4 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,214
monsieur le petit biere? mange tout, mange tout...
  Reply With Quote
Old 21-10-2003, 15:10   #5 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,214
chuck it in a div:

<div align="centre(or however the yanks spell it)">gratuitious_flash_intro.swf</div>
  Reply With Quote
Old 21-10-2003, 15:13   #6 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,214
in fact, in dreamweaver, select it and there's a property toolbar, click the button that looks like a three-hole toaster from above.

or do you mean centre it width and height?
  Reply With Quote
Old 21-10-2003, 15:13   #7 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,236
Quote:
Originally Posted by Brown
chuck it in a div:

<div align="centre(or however the yanks spell it)">gratuitious_flash_intro.swf</div>

Yeah but if you want to vertically centre too and you do this kinda thing alot you might as well get the extension.

Works finished, I'm off home!
__________________
That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
  Reply With Quote
Old 21-10-2003, 16:14   #8 (permalink)
Stickman
Dr. Lucien Sanchez
 
Stickman's Avatar
 
Join Date: Mar 2003
Location: UK
Posts: 5,628
You two are being weird tonight.

Centred content with css: http://www.wpdfd.com/editorial/thebox/deadcentre1.html
  Reply With Quote
Old 21-10-2003, 16:22   #9 (permalink)
eyemistisorange
Registered User
 
Join Date: Oct 2003
Posts: 5
Hey thanks for the quick responses, but yeah right now i am looking to center vertically and horizontally so I guess I should get the extension, I looked on macromedia.com but couldnt really find anything; you are talking about an extension for flash right? or are you talking about one for dreamweaver? Im not to familiar with dreamweaver.

The other method for centering horizonally I could probably use in the future too. Where would I put that code (<div align="centre(or however the yanks spell it)">gratuitious_flash_intro.swf</div>) somewhere in flash or in dreamweaver?

Please excuse me for my ignorance with the web programs or really any kind of scripting, I am graphic designer (mostly print) and only took a web class that mainly used imageready and I also took a intro flash class. I mainly use flash only because I am most familiar with it as far as web programs go. And imageready I don't even know if people actually use that or not? I'm trying to learn more web stuff so thanks for all the help!
  Reply With Quote
Old 21-10-2003, 16:28   #10 (permalink)
b-berg
its nice to b
 
b-berg's Avatar
 
Join Date: Oct 2003
Location: Lublin, Poland
Posts: 3
Answer to your problem is ... one simple table. Works on everything. No CSS necessary.
Code:
<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0"> <tr> <td valign="middle" align="center"> *your flash goes here* </td> </tr> </table>
Simplest way is the best ;]
  Reply With Quote
Old 21-10-2003, 16:52   #11 (permalink)
dorian
i do lines
 
dorian's Avatar
 
Join Date: Mar 2003
Location: Poland/Denmark
Posts: 3,233
that's what i've been thinking - but i'm not a coder so i'll shut up
__________________
...
  Reply With Quote
Old 21-10-2003, 18:15   #12 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,236
Quote:
Originally Posted by dorian
that's what i've been thinking - but i'm not a coder so i'll shut up

Clickety here and find out what the fuck I've been talking about!

Phew.
__________________
That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
  Reply With Quote
Old 21-10-2003, 18:47   #13 (permalink)
dorian
i do lines
 
dorian's Avatar
 
Join Date: Mar 2003
Location: Poland/Denmark
Posts: 3,233
did i not say my opinion not valid?
__________________
...
  Reply With Quote
Old 21-10-2003, 18:52   #14 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,236
Quote:
Originally Posted by dorian
did i not say my opinion not valid?

I've been sat here trying to figure that sentence out but it's got me! It's been a long day!
__________________
That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
  Reply With Quote
Old 21-10-2003, 18:55   #15 (permalink)
dorian
i do lines
 
dorian's Avatar
 
Join Date: Mar 2003
Location: Poland/Denmark
Posts: 3,233
btw - it looks useful
__________________
...
  Reply With Quote
Old 21-10-2003, 18:57   #16 (permalink)
dorian
i do lines
 
dorian's Avatar
 
Join Date: Mar 2003
Location: Poland/Denmark
Posts: 3,233

confusing people - i should put that on my CV
__________________
...
  Reply With Quote
Old 22-10-2003, 04:36   #17 (permalink)
sleepingfish
css is for divs
 
sleepingfish's Avatar
 
Join Date: Feb 2003
Location: Norwich
Posts: 4,524
Ok then people, in the past I've used a table - simple, easy, works. But next time I want to centre a flash movie, which is the best way? - table, css or extension?

Discuss.

(In a non-confusing manner )
  Reply With Quote
Old 22-10-2003, 06:51   #18 (permalink)
Stickman
Dr. Lucien Sanchez
 
Stickman's Avatar
 
Join Date: Mar 2003
Location: UK
Posts: 5,628
I don't think it really matters. Your flash file won't be accessible, so why worry about the code?
Whatever is easiest for you.
  Reply With Quote
Old 22-10-2003, 06:53   #19 (permalink)
sleepingfish
css is for divs
 
sleepingfish's Avatar
 
Join Date: Feb 2003
Location: Norwich
Posts: 4,524
:-p
  Reply With Quote
Old 22-10-2003, 14:24   #20 (permalink)
eyemistisorange
Registered User
 
Join Date: Oct 2003
Posts: 5
hey thanks, the extension worked for me, even though the extension (flash only[centerd] setting under the html publish settings in flash) looks familiar haha...i think that extension was for versions 4 and 5 and i have mx so maybe it was already there...anyways atleast i got it to work
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8