More flash 8 properties
_rotation
The _rotation property of the MovieClip class relates to the number of degrees that are to be rotated. But the crucial point with _rotation is where you put the center of the MovieClip. If the center is offset or at the top left corner of the MovieClip then it will rotate all wonky.. So make sure that you have your center point(0,0) of the MovieClip where you want it…
eg..
rotate_btn.onRelease = function(){
wheel_mc._rotation += 5;
}
_url
The _url property returns the url from which a Movie was run from.. or another way of putting it is that the _url property is the addres of the .swf file that it contains…
_visible
The _visible property of a MovieClip relates to whether it is visible or not. _visible is a boolean property in that it can only have a value of true or false.
If _visible is set to false , then the MovieClip is disabled or inoperative.
But if a MovieClip has its _alpha property set to 0, then it is still active and operative. You can click on it and any code set will activate any button type events..
eg.
if(car_mc._x >=0{
car_mc._visible = true;
}else{
car_mc._visible = false;
}
_x
The _x property of a MovieClip is its horizontal position on the screen in pixels. The screen or Stage of the Movie starts at 0 on the left side and increases as we go to the right. _x is both read and write. The _x property is always an integer value and you cannot have decimal or floating numbers..
eg.
this.onEnterFrame = function(){
car_mc._x += 1;
}
_y
The _y property is the corresponding vertical position of a MovieClip. But be careful, it is not like a graph. 0 starts at the top of the stage and increments in pixels as you go down the stage..
eg.
this.onLoad = function(){
alien_mc._y = 0;
}
this.onEnterFrame = function(){
alien_mc._y +=2;
}
_xmouse
_xmouse property is the horizontal or x position of the mouse in pixels. It is read only..
eg.
this.onEnterFrame = function(){
Mouse.hide(); // hide mouse
customPointer_mc._x = _xmouse;
}
_ymouse
The vertical position of the mouse or the y position. it is read only. similar to _xmouse..
_xscale
_xscale is the horizontal percentage of the width of a MovieClip. It makes the horizontal size of the MovieClip get bigger or smaller. The value is an integer and does not have a percentage sign associated with it.
eg.
car_mc._xscale = 200; // twice as big as it was normally
_yscale
_yscale is the vertical equivalent of _xscale and works the same way..
