A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: _width and _height, how it works?

  1. #1
    Member
    Join Date
    Jan 2003
    Location
    Trois-Rivières, Quebec!
    Posts
    48

    _width and _height, how it works?

    Why when i execute this script :

    if (_root.mcPict._width<400){
    _root.mcPict._width=_root.mcPict._width+5;
    }

    When i execute this, the height of my movie clip is changing too, is somebody can explain me what is appening.


    ---
    thanks
    merci
    L'important c'est que ça VARGE!

  2. #2
    Senior Member
    Join Date
    Jan 2003
    Location
    @Home
    Posts
    104
    Well....basically I can tell you it´s keeping its aspect ratio.
    ====================
    I love this forum!!!
    Pilot_22
    ====================

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