load various image size?
load various image size?
- Started
- Last post
- 3 Responses
- Buckyball2
Any way in Flash or otherwise to auto detect how big someone's browser window is and load an image size based on that?
For instance. If my browser window is maxed out, it would load from the server the biggest version available. If the window was smaller it would call in a downsized version.
thanks
- Luckypp0
You can do that from within the HTML page it is on, via Javascript, and then just set your flash file to go 100% and it will fill the space given.
I don't know about a detect though.
- davi-t0
You can use a listener , measure the stage's size, and load an image based on that.
Do a lookup on Listeners and the AsBroadcaster.
- Luckypp0
Yeah, what he said.