[osflash] change position when resizing browser

tyler larson talltyler at mac.com
Wed May 14 12:44:09 PDT 2008


Your html object has to be set to 100% width and height and then in  
your flash document you have to listen for the stage's Event.RESIZE  
event. When this is called you draw things relative to the  
stage.stageWidth and height. I know this was very simplified but this  
is the concept.


On May 14, 2008, at 3:11 PM, Chi Kin lam wrote:

> Hi, everyone out there,
>
> I am trying to create an effect which allow objects move to certain
> point when the user drag to resize their browser. I have seen it alot
> in the web, and really can't get my head round it.
>
> here is an example of what I am talking about:
>
> http://www.starsailor.com/
>
> Thankz in advance.
>
> Keni
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org




More information about the osflash mailing list