[Flashcoders] Resize External .Swf File Based on Stage?

2006-06-26 Thread Brandon Krakowsky/MTC
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


Re: [Flashcoders] Resize External .Swf File Based on Stage?

2006-06-26 Thread Éric Thibault

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


Re: [Flashcoders] Resize External .Swf File Based on Stage?

2006-06-26 Thread Brandon Krakowsky/MTC
Thanks.  Yeah, I figured that's what I'd have to do.

Thanks,
Brandon




Éric Thibault [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
06/26/2006 03:51 PM
Please respond to
Flashcoders mailing list flashcoders@chattyfig.figleaf.com


To
Flashcoders mailing list flashcoders@chattyfig.figleaf.com
cc

Subject
Re: [Flashcoders] Resize External .Swf File Based on Stage?






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

___
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