Re: [Flashcoders] Resize stage at runtime

2010-05-03 Thread confustic...@gmail.com
Hi Cor,

We have to do this quite often - we use the magnificent BrowserCanvas (which
was surprisingly hard to find):

http://www.dncompute.com/blog/2008/06/23/browsercanvas-the-worlds-easiest-way-to-dynamically-resize-flash.html

Hope that helps you as much as it helped us.

On Wed, Apr 28, 2010 at 3:54 AM, Cor c...@chello.nl wrote:

 Hi List,

 I would like to resize the stage after I load a video, through xml (url,
 width and height) and when loaded I would like to resize de swf to the
 dimensions from the xml.
 Is this possible??

 Regards
 Cor

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Resize stage at runtime

2010-05-03 Thread Karl DeSaulniers

Hi Cor,
If all your wanting is for it to resize the HTML to the extent of the  
users window and the swf to fill the HTML,
I have an index.html file I could send you off list for you to try,  
that does exactly this. It also uses SWFObject.
I've tested Mac and PC - IE, Safari, Firefox, Navigator, Opera,  
Sunrise, etc.

LMK,


Karl


On Apr 27, 2010, at 1:06 PM, Ruy Adorno wrote:


Take a look at this library: http://swffit.millermedeiros.com/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Resize stage at runtime

2010-04-27 Thread Cor
Hi List,

I would like to resize the stage after I load a video, through xml (url,
width and height) and when loaded I would like to resize de swf to the
dimensions from the xml.
Is this possible??

Regards
Cor

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Resize stage at runtime

2010-04-27 Thread Glen Pike

Hi,
  
   You could make a call to JavaScript via external interface to do 
this, then have a stage resize handler like normal.


   I have done this before now - to fixed sizes, but I am guessing you 
can pass parameters to JavaScript easily enough.
  
   HTH


   Glen

  


Cor wrote:

Hi List,

I would like to resize the stage after I load a video, through xml (url,
width and height) and when loaded I would like to resize de swf to the
dimensions from the xml.
Is this possible??

Regards
Cor

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Resize stage at runtime

2010-04-27 Thread Ruy Adorno

Take a look at this library: http://swffit.millermedeiros.com/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders