Flash Movie Streatch 100% In Div

Pages: 1, 2
free web hosting
Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

Flash Movie Streatch 100% In Div

kvarnerexpress
is there a way to place a flash movie in a div or some other container and make it so that it streatches over the whole screen?
Right now the flash movie displays the size I exported it, not matter what I set the width and height to in the html code.


PHP Code:
<div id="flashDiv" align="center"
style="width:100%; height:100%; z-index:1000000; position:absolute;
left:0; top:0;" >
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="100%" height="100%" id="transitionIn" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="wmode" value="transparent">
<param name="movie" value="sections/flash.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="sections/flash.swf" wmode="transparent" quality="high" bgcolor="#ffffff" width="400" height="300" name="transitionIn" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>

__________________
[The universe seems infinetly big to us, because we compare it to the physical aspect of ourselves. But we have to power to contain the universe within ourselves by means of understanding it.]

 

 

 


Reply

snlildude87
Hmm, what do you mean by "stretches over the whole screen"? Or you referring to the flash or the div?

Also, can I see the CSS for #flashDiv?

One last thing, please please please put all code in the code box, so you will not be getting unnecessary hosting credits.

Thanks. smile.gif

Reply

round
don't think there is a way, you could maybe try from flash but i've never seen it and it would just make the flash file look really really bad.
round.trap17.com

Reply

spacemonkey
You've got your flash embed height set to "100%" I'm not sure if that will work. Try a pixel number.

Reply

clagnol
When I want to stretch a SWF across the screen, I just link to the SWF file. It will stretch as far and as high as it can until it reaches a limit. If you want this to fit the entire screen exactly, with no margins on the side, this method will not always work, because the space at the top of a browser (toolbars, tabs, etc.) is unpredictable, even if you specially engineer it to fit.

As I see it, this is the closest to a solution you're going to get.

Reply

TruePlaya
Hey, I am trying to do a similar thing except I would like the swf to resize for the screen. However I would like the swf in the middle of my 3 column layout and if I resize the browser window smaller the swf would resize for that screen. I have tried many methods to no avail. Has anyone else done this?

Reply

Tyssen
QUOTE(spacemonkey @ Apr 30 2005, 07:32 AM)
You've got your flash embed height set to "100%"  I'm not sure if that will work.  Try a pixel number.

Yeah, that's right: if you want your flash movie to display at a size larger than what you created, you need to specify pixels otherwise 100% will just display it at its normal size.

Reply

TruePlaya
I am looking at more 100% width but I'm either pushing my right column down or the swf won't contain in the div it pushes the boxand is 100% to the browser. If I just slap the swf in the middle column wih no box and at a pixel value for the height and width; when the page is resized it pushes my other column boxes around. The swf is being a bully ohmy.gif).

Reply

Tyssen
QUOTE(TruePlaya @ Jun 1 2005, 08:00 AM)
Hey, I am trying to do a similar thing except I would like the swf to resize for the screen. However I would like the swf  in the middle of my 3 column layout and if I resize the browser window smaller the swf would resize for that screen. I have tried many methods to no avail. Has anyone else done this?

I think you'll need javascript to accomplish something like that.

Reply

TruePlaya
QUOTE(Tyssen @ May 31 2005, 10:53 PM)
I think you'll need javascript to accomplish something like that.
*



Anyone have a sample? biggrin.gif

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Similar Topics

Keywords : flash, movie, streatch, 100percent, div

  1. Flash Wmode(transparent) Pramater In Firefox3(on Linux) - Not Working
    issue with flash transparancy and firefox3( on linux op. sistem) (1)
  2. Website Problems Please Help
    Unwanted gap between the welcome bar and flash. (6)
    I just set up this website, none of the links are in working condition yet. This is mainly because
    im trying to get rid of this anoyying gab in between my flash object and my welcome bar (its the
    small dark grey/brownish gap). Does anyone know exactly how to fix this without messing anything
    else up vis changing the code or possibly even the size of the flash? Thanks. Here is the website:
    http://www.childrenofconan.trap17.com/ Moved to html section in anticipation of that being the
    correct Forum ....
  3. Shtml Page With Flash Loading Problems
    anyone have problems with shtml (1)
    Hey, I created this site http://www.markus252.com . Had to use .shtml extensions on the pages so I
    could have included, his server isn't php enabled and for some reason some people aren't
    seeing the two flash elements on the page. Not all computers are having this problem, just some. The
    page keeps saying that there 2 elements left to load(the two flash elements). I have no clue why? I
    had people download the lastest flash player and they all can see the files when i send them the
    direct link to them but the flash just won't load on the page. *Anyone else h....
  4. W3c Compliant Flash
    anyone know the html code to make flash w3c compliant? (0)
    Recently, I decided to make my entire site W3C compliant . That didn't work too well (or else
    this thread wouldn't be here) because I have flash games on my website. The main purpose of the
    validator is to ensure that your HTML code will run on any computer on any platform, which it does
    because I've tested it, but the validator still insists that my code will not work. So I teamed
    up with Google to help me find a solution. The first result led me to A List Apart who is known
    for their excellent HTML and CSS tutorials/articles. It turns out that there is ....

    1. Looking for flash, movie, streatch, 100percent, div

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for flash, movie, streatch, 100percent, div

*MORE FROM TRAP17.COM*
advertisement



Flash Movie Streatch 100% In Div



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE