Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-12-2005, 04:07 AM   #1
Dragon's Pearl
Mike_Reynolds's Avatar
Join Date: Jul 2005
Location: Los Angeles
Posts: 2
Default Embed %: height resizing to % of screen, not relative to width

I want my movie to embed with html to exactly the same proportions as it's predefined size in Flash. With width="100%" height="60%" it looks good maximized, but as the screen width is reduced the Flash movie shrinks in proportion, while the height of the place-holder space holds steady, leaving ugly space above and below the movie. The html place-holder starts as a rectangle and ends up as a square, with no regards to the predefined proportions of the movie. As the window width is shrunk the movie pushes away from the top of the window and shrinks away from the text beneath it so that the text is no longer flush with the bottom of the movie, which looks hideous.

Is there any way to get rid of this space? I suppose that most screens will be relatively close to the same proportions so that the 100% 60% settings will work most of the time, but I would like to find something more robust that will always work no matter what the screen proportions are.

Here is an example: http://mike1reynolds.5u.com/dream.htm.

The dream helmet banner is just text that I will replace with an animation. Also note the buttons, is this hot eye candy I made, or a CPU hog? All comments or criticism are welcome. This is my first website, I’m doing it for free just learn how. [email protected].
Mike_Reynolds is offline   Reply With Quote

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

All times are GMT. The time now is 05:22 AM.

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.