flash question
flash question
- Started
- Last post
- 2 Responses
- Beech
does anyone know howto detect the pixel dimensions of a external jpeg or swf being placed in a flash movie. Or maybe an online tutorial that could help me out.
thanks in advance
- urban100
you can't get those values until the external asset is fully loaded within flash, which you can use _width and _height on it container MC to get the dimensions.
if you are familiar with flash remoting, you can use a service call to a PHP script that returns the dimensions of the file... passes it back to flash before you actually load it.
- Beech0
cool thanks for your help :)