dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [RESOLVED] how to tell width/height of .swf?

  1. #1
    destructor
    Join Date
    Aug 2009
    Posts
    38

    resolved [RESOLVED] how to tell width/height of .swf?

    yo,

    my .swf goes full screen and changes proportion if it is accessed directly at it's url

    (for example, http://example.com/example.swf)

    is it possible to tell how big it currently is? i'd like to reposition some elements accordingly...

  2. #2
    rabid_Delineator AttackRabbit's Avatar
    Join Date
    Dec 2003
    Location
    Orlando, Florida
    Posts
    481
    you check the stage.stageWidth and stage.stageHeight during the onResize event.

  3. #3
    destructor
    Join Date
    Aug 2009
    Posts
    38
    you are the man. thanks ++

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