Flash Align
- Started
- Last post
- 5 Responses
- TResudek
Yes, it has probably been answered before...
I have a flash file and I want to do the following:
Align one MC left center, Align one MC right center and Align one MC center center, all with no scaling.
So far I can manage to make the file 100% and I can get one MC to center center on the screen but it still doesn't work in Firefox. It shows up really small up in the very top of the browser (maybe 200 pixels tall).
Any help out there for a disabled, orphaned, learning disabled designer?
TR
- Anarchitect0
use the following css [it's FF and IE friendly]
html, body {
height: 100%;
width: 100%;
margin: 0px;
padding: 0px;
overflow: hidden;
}
- TResudek0
But how do I set up the elements in the flash file so that they stick to the left and right side?
TR
- Anarchitect0
you should use setinterval to trigger an "align function" after 100 milliseconds.
Flash does not recognize immediately the Stage size.
don't forget to clearInterval(itervalname) within the function.
and that css does take care of the 200px Firefox flash limit.
- fate_redux0
Is this what you want?
- imakedesign0
look up the stage object.. all in the help files.