There is no way to know the stage size of an imported SWF.

The loading parent only knows the size of the loaded SWF from the elements present on frame 1. You could however place an invisible element the size of it's stage inside the loaded SWF... (I've used that trick before!) Or use variables with the height and width on the first frame of your loaded SWF

A+

Brandon Krakowsky/MTC a écrit :
I'm having an issue resizing externally loaded .swf files. It's no problem if the content of the external .swf is contained within the movie's stage, but if not, how can I resize it based on it's width or height? Especially if the content is animated and the height/width is constantly changing? It doesn't seem like you can get the "stage" size of an externally loaded .swf.

Thanks,
Brandon
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



--
===============================================================

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===============================================================

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to