A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: [MX] Stage.height problem

Hybrid View

  1. #1
    Junior Member
    Join Date
    Dec 2004
    Location
    Yukon, Canada
    Posts
    23

    [MX] Stage.height problem

    so im writing a dynamic code to move a movieclip to a set position on the stage, but ive noticed that when i try to set the movieclip to 10 px above the bottom of the stage, the stage is 100 px cut off.

    ex: sw = Stage.height;

    the variable sw returns the value 300px when the stage value is 400px

    is this some kind of bug or is this normal?
    and if this isn't normal what can i do to fix it?

  2. #2
    coldMiner
    Join Date
    Feb 2007
    Location
    Norway
    Posts
    62
    It's a minor bug in the flash environment.
    Don't know if this is true for all installations.
    It will be ok when you use the swf-file in html or exe.
    When you test the application with CTRL+ENTER,
    hit CTRL+ENTER once more - and all is as expected.

  3. #3
    Flashmatics silentweed's Avatar
    Join Date
    Mar 2005
    Location
    London, UK
    Posts
    4,875
    test it with your bandwidth profiler off and it should be ok... its a wierd bug
    Flashmatics | Flashmatics Library (free downloads)
    -----------------------------------------------------
    Latest Projects:
    The Dead Room | Are You Smarter | Prison Break (Frame A Friend) | Beck's Fusions | The 24 Experience

    -----------------------------------------------------
    Flash Certified Developer

  4. #4
    Junior Member
    Join Date
    Dec 2004
    Location
    Yukon, Canada
    Posts
    23
    ok thanks

  5. #5
    Flashmatics silentweed's Avatar
    Join Date
    Mar 2005
    Location
    London, UK
    Posts
    4,875
    yw
    Flashmatics | Flashmatics Library (free downloads)
    -----------------------------------------------------
    Latest Projects:
    The Dead Room | Are You Smarter | Prison Break (Frame A Friend) | Beck's Fusions | The 24 Experience

    -----------------------------------------------------
    Flash Certified Developer

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