A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: [RESOLVED] is there a method to get the Flash user defined document width?

  1. #1
    Senior Member
    Join Date
    Nov 2004
    Posts
    100

    resolved [RESOLVED] is there a method to get the Flash user defined document width?

    I tried stage.width, but it doesn't work because in my flash I have graphics that goes out of document bounds and stage.width calculate it with them.

    I need a method that only restrict the user defined document width/height.

    Is there such thing?

    thanks.


    Edit. Nevermind. Found it, subtle solution:
    http://board.flashkit.com/board/showthread.php?t=731755

    instead of using stage.width, using stage.stageWidth give the accurate width.
    Last edited by Jonzy; 07-08-2009 at 04:28 AM.
    HELP!

Tags for this Thread

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