flash stage q
- Started
- Last post
- 13 Responses
- lnu
I want my flash stage to stretch to the full width of the browser window (no problem there) and I also want it to stretch to the full height of the window, but to be AT LEAST a certain pixel height, is there a way to do this? (right now I have the html set to show the movie at 200% height...)
Thanks in advance. / Linus
- cram0
you're gonna need javascript for this one... but from someone else, i am not that good at it... at least you can start looking that direction.
- lnu0
Ok thanks. Are anyone here a magician who can do it without javascript?
- stewart0
like this?
http://www.kulsdom.com/newstoday…if so i can send you this .fla to you when i'm back home.
- krust0
cant u just put something like this:
if (Stage.height
- krust0
sorry...
if (Stage.height
- krust0
whats going on, my messages arent coming out full???
if (Stage.height
- krust0
if (Stage.height-islessthan-600) {
}
Stage.height = 600;replace 'is less than' with the appropriate symbol. NT doesnt like it!
- stewart0
krust, you can post your actionscript here, and give us the link to it.
handy!
- krust0
done.
- PublikStar0
here's the .fla of full background stretch like the one on hi-res.net.
publikstar.com/newstoday/fbf.fla
- krust0
i think lnu has already figured out that part. i.e. a full screen stretch. he wants a minimum size integrated.
like the photography on http://www.subdisc.com/
no?
- PublikStar0
ah.. thats the one i dont know how to do it ;(
- lnu0
You're all so helpfull.
Krust, your suggestion don't work since you have to specify in the html how big the flash file should be, and you can only choose between % or px.So...anybody know a good line of javascript?