A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: Event.RESIZE

Threaded View

  1. #1
    self-portrait Kianis's Avatar
    Join Date
    Feb 2004
    Location
    Stockholm, Sweden
    Posts
    425

    Event.RESIZE

    Why won't Event.RESIZE trigger through the standalone flashplayer (v 9.0.115.0)?
    This snippet works fine in the IDE.

    Code:
    stage.addEventListener ( Event.RESIZE, resize );
    resize ( null );
    
    function resize ( event:Event ) :void
    {
    	graphics.beginFill ( Math.random () *0xffffff );
    	graphics.drawRect ( 0, 0, 100, 100 );
    	graphics.endFill ();
    }
    Last edited by Kianis; 08-24-2008 at 07:54 PM.
    // Mazapán, my portfolio

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