The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

HOW TO CENTER FLASH??

5 posters

Go down

Solved HOW TO CENTER FLASH??

Post by owner08 November 26th 2009, 1:35 am

I created a flash animation and put it on a html page on my forum but i can't figure out how to center the flash object, link to html page

CAN ANYONE HELP ME HOW TO CENTER THE FLASH OBJECT??
PLEASE

THANKS IN ADVANCE Smile


Last edited by owner08 on November 26th 2009, 7:48 pm; edited 1 time in total
avatar
owner08
Forumember

Posts : 145
Reputation : 0
Language : english

Back to top Go down

Solved Re: HOW TO CENTER FLASH??

Post by kirk November 26th 2009, 2:33 am

whats not centerd? it looks cool to me.
dod you add center tags?

Code:
<code>

place everthing in here and see if that helps.

</code>
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: HOW TO CENTER FLASH??

Post by Rok November 26th 2009, 4:51 am

Try simple div centering...
Code:
<div align="center">sfdasd</div>
Rok
Rok
Energetic

Male Posts : 6823
Reputation : 234
Language : idk

Back to top Go down

Solved Re: HOW TO CENTER FLASH??

Post by owner08 November 26th 2009, 5:07 am

where do i put that code??
My current code:
Code:

<head>
   <title>Main Site Intro</title>
</head>
<div align="center">
<a href="http://www.rkclan.com/">
<img src="http://i495.photobucket.com/albums/rr315/owner08/images.jpg">
</a>
</div>
<div style="border: 2px solid rgb(103, 102, 102); width: 1024px; height: 768px;">
<body bgcolor="#000000">
<center>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,29,0" width="1024" height="768">
        <param name="movie" value="http://www.swfupload.com/files/29978site_intro.swf">
        <param name="quality" value="high">
        <param name="allowScriptAccess" value="always">

        <embed src="http://www.swfupload.com/files/29978site_intro.swf" quality="high"
allowScriptAccess="always"></embed>
pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1024" height="768">
</object>
</center>
</div>


THANKS IN ADVANCE!! Smile
avatar
owner08
Forumember

Posts : 145
Reputation : 0
Language : english

Back to top Go down

Solved Re: HOW TO CENTER FLASH??

Post by Data2link November 26th 2009, 5:51 am

Try puting the center tag before your header tag- and at the end of your page. That should center everything.
Like this:
<center>
<head>
<title>Main Site Intro</title>
</head>
<div align="center">
<a href="http://www.rkclan.com/">
<img src="https://2img.net/h/i495.photobucket.com/albums/rr315/owner08/images.jpg">
</a>
</div>
<div style="border: 2px solid rgb(103, 102, 102); width: 1024px; height: 768px;">
<body bgcolor="#000000">
<center>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,29,0" width="1024" height="768">
<param name="movie" value="http://www.swfupload.com/files/29978site_intro.swf">
<param name="quality" value="high">
<param name="allowScriptAccess" value="always">

<embed src="http://www.swfupload.com/files/29978site_intro.swf" quality="high"
allowScriptAccess="always"></embed>
pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1024" height="768">
</object>
</center>
</div>
</center>

That centered it for me Wink
avatar
Data2link
Forumember

Female Posts : 272
Reputation : 0
Language : English

Back to top Go down

Solved Re: HOW TO CENTER FLASH??

Post by kirk November 26th 2009, 10:14 am

kirk wrote:whats not centerd? it looks cool to me.
dod you add center tags?

Code:
<code>

place everthing in here and see if that helps.

</code>

it's marked in the code above (place everything in here and see if that helps.) meaning you code there Smile it appears thats all it was.

thanx Data2link Very good
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: HOW TO CENTER FLASH??

Post by RoNo November 26th 2009, 11:34 am

I looked at your page source and noticed the swf code needed work
as well as proper centering. Here is your fixed intro page... *Demo.
Code:
<html>
<head>
<title>Main Site Intro</title>
<meta name="description" content="Realest Killers Intro Page">
</head>
<body bgcolor="#000000">
<center>
<a href="http://www.rkclan.com/">
<img src="http://i495.photobucket.com/albums/rr315/owner08/images.jpg"></a></center>

<center><div style="border: 2px solid rgb(103, 102, 102); width: 1024px; height: 768px;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,29,0" width="1024" height="768"> <param name="movie" value="http://www.swfupload.com/files/29978site_intro.swf"> <param name="quality" value="high"><param name="allowScriptAccess" value="always"> <embed src="http://www.swfupload.com/files/29978site_intro.swf" quality="high"
allowScriptAccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1024" height="768"></embed></object></div></center>
</body>
</html>
Make note of "center" tag placement
(as well as div, embed & object tags) for future Html pages

original page code
Spoiler:
RoNo
RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

Solved Re: HOW TO CENTER FLASH??

Post by owner08 November 26th 2009, 6:03 pm

OMG THANK YOU!!!!! I've been looking for a solution for HOURS!!!
But is there any way i can make the flash object fill the WHOLE web browser page, i heard it was like to put 100% height and width but i'm not sure.. Can anyone help me please...???

Thanks in advance Smile
avatar
owner08
Forumember

Posts : 145
Reputation : 0
Language : english

Back to top Go down

Solved Re: HOW TO CENTER FLASH??

Post by RoNo November 26th 2009, 7:57 pm

Stretching to 100% will show the swf's large white bands on both sides.
[click & resize browser to test]
HOW TO CENTER FLASH?? Th_RKintro100
There isn't room for the skip intro button this way.
Create a version without borders & add a skip option to your buttons.


Just a reminder for any future problems...
Please don't create multiple (same issue) threads. Very good

HOW TO CENTER FLASH?? Locked1HOW TO CENTER FLASH?? Lock2
RoNo
RoNo
RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum