dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Flex AS3 and broswer resize trace

  1. #1
    Member
    Join Date
    May 2007
    Posts
    46

    Flex AS3 and broswer resize trace

    Hi there,

    can someone show me how to catch a browser resize event to trace a simple "hi" statement.

    I cannot for the life of me work out how to catch a resize event.

  2. #2
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    Check the example of the Flash helpfiles in the documentation for the Stage class.
    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

  3. #3
    Flash by name, Flash by nature
    Join Date
    May 2006
    Location
    Oslo, Norway
    Posts
    70
    PHP Code:
    stage.addEventListener(Event.RESIZEmyHandler);

    function 
    myHandler(event:Event):void {
        
    trace("hi");


  4. #4
    Member
    Join Date
    May 2007
    Posts
    46
    thanks it works

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center