View Full Version : _root._width and _root._height
11-12-2003, 07:25 PM
If I use these commands, they seem to be returning incorrect values...my movie is 550 by 400, and it returns 523 X 261. Bug?
11-12-2003, 07:29 PM
dunno why it is wrong
but Stage.height and Stage.width are what you should be using...
11-12-2003, 10:39 PM
dont do that _root dont support all methods and properties of MovieClip accurately~
11-13-2003, 02:46 AM
This is a long shot, but does anyone know how to get the stage.width and stage.height properties from Visual Basic using the activeX control. Im building an application that loads swfs and adds functionality, but I can't figure out how to size the projector window to the flash swf size.
11-13-2003, 04:29 AM
it gives you the real width and height of the stage that u see on the screen
so, if you are on the (100% view), it will give you a bigger value than the main stage
make it (View>> show all), then it will reflect the right values
also use the Stage.width, not the _root
vBulletin® v3.8.5, Copyright ©2000-2014, Jelsoft Enterprises Ltd.