![]() | |
![]() | |
![]() | |
![]() |
Align Components are based upon the aligner
class. A dropped component creates a new aligner
object within the host
(host.Aligner
), if it doesn't already exist, and register the target movie clip. When the components is removed from stage, the target movie clip will be unregistred. You can use keyframes to change align parameters for the same movie clip.
gStage
is contained within Align Component (gStage). gStage
implements width
, height
, minWidth
, minHeight
, maxWidth
and maxHeight
properties, and resize
event. Apart from additional properties, it is similar to Stage
object. Even if you do not use components, keep Aligner Component (gStage) in your library to gain access to gStage
object.
Reattaching a movie containing Align Components may cause problems. Reattach each time using different instance name/depth (this is a Flash issue). Other than this, make sure you don't have any duplicate instance names within the same timeline.
![]() | |
![]() | |
![]() | |
![]() |