Predefined variables

 

Syntax is always the same _xxxxxxx
Call (except if mentioned) : NomObjetdansOutline._xxxxxxx

Move mouse over variable to know its purpose

_aalphaAcceleration : in %/s² evolution of Alpha transparency. ( acceleration = speed / time ) opacity (alpha=100) transparency (alpha=0)._ageAge in seconds of the object since he was built. _alphacontrol object transparency. 0 = invisible 100 = opaque ( An invisible object can always handle events)_arotationAcceleration : in degrees/s² evolution of the object rotation. ( acceleration = speed / time )
_aXAcceleration : in pixels/s² evolution of displacement X of object. ( acceleration = speed / time )_axscaleAcceleration : in %/s² evolution scale X of object. ( acceleration = speed / time )_aYAcceleration : in %/s² evolution scale Y of object. ( acceleration = speed / time )_ayscaleAcceleration : in %/s² evolution scale Y of object. ( acceleration = speed / time )
_currentframereturn current frame number._deltaelapsed time in seconds since last frame was displayed._droptargetreturn name of target which we drop the object on. _falphaReduce the % evolution of transparency. different from _aalpha.
_focusrectglobal boolean variable : define (true) or not (false) a yellow rectangle around the active button. (default is true)_framesloadedreturn number of frames of Sprite or Movie, loaded at present time. _frotationReduce in % the evolution of rotation of object. Different from _arotation._fXReduce in % the evolution of displacement in X of object. Different from _aX.
_fxscaleReduce in % evolution scale X of object. Different from _axscale._fYReduce in % evolution of displacement in Y of object. Different from _aY._fyscaleReduce in % evolution scale Y of object. Different from _ayscale._heightReturns height of object.
_highqualityGlobal Variable : Define the anti-aliasing level of objects. 0 = no anti-aliasing. 1 = apply anti-aliasing and smooth bitmaps if no animation. 2 = apply always anti-aliasing and smoothness._levelSyntax : _levelN _level0 = root of the movie ( use _root instead ) N positive integer._nameto give a new name for object in 'Outline'._parentname of parent which owns the object.
_rootThis is the father of all scenes. (highest level)_rotationRotation angle in degrees. if minus sign = CCW._soundbuftimeGlobal Variable specifying the number of seconds before the Movie starts to stream._targetReturns Target path of the Sprite / Movie Clip or Object.
_timeTime in seconds since the start of the whole Movie._totalframesreturn number of Frames contained within the Sprite / Movie Clip. ._urlURL of the .swf file that the Movie Clip was downloaded from. Returns pipe if internal loading._valphaspeed of evolution of transparency in %/s.
_visibleReturns the current visibility status of the Sprite / Movie Clip or Object. ._vrotationspeed of rotation of object in degrees/s._vXspeed of displacement in X of object in pixels/s._vxscalespeed of scale X evolution in %/s.
_vYspeed of displacement in Y of object in pixels/s._vyscalespeed of scale Y evolution in %/s._widthReturns width of object._XReturns X coordinate of object. distance from the left edge of the stage in pixels to the specified anchor point of the Object / Sprite.
_xscaleReturns X scale of object. 100 = scale 1 200 = scale 2 ..._YReturns Y coordinate of object. distance from the top edge of the stage in pixels to the specified anchor point of the Object / Sprite. _yscaleReturns Y scale of object. 100 = scale 1 200 = scale 2 ...

 


Page chargée en 0.001 sec.

Dernière Modification : Sam 14 Octobre 2023 9:48
Copyright © 1999-2024 Jean-Paul Molina Tous droits réservés.

 

to Google