  | |  | dynamically loaded image 's width and height | dynamically loaded image 's width and height
2004-02-15 - By Dominico Savio
Back Is there a way for Flash to figure the dimension of a dynamically loaded
image or movie.
I try to do something like this:
_root.createEmptyMovieClip( "myMovie ", 100);
myBigMovie.myMovie.loadMovie(fileName);
trace (_root.myMovie._width)
trace (_root.myMovie._height)
Thank you for reading
Dominic
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104278
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |