| Previous | Next | Frames | No Frames |
| Summary: Field | Property | Contructor | Method | Detail: Field | Property | Contructor | Method |
A
non-FuseFX example
Object | +--com.mosesSupposes.tweentargets.ScreenWrap
Property Summary | |
| _x: Number (read, write) | |
| _y: Number (read, write) | |
Constructor | |
| public | ScreenWrap ( target: Object) |
Method Summary | |
| public | destroy ( ): Void |
| Instances of this extension have to be deleted manually. Call this method first. | |
|
|
|
|
| Instances of this extension have to be deleted manually. Call this method first. |
This class shows a third approach: creating a surrogate target that wraps the actual target with tweenable _x and _y properties. ZigoEngine operates on the ScreenWrap instance instead of the real target MovieClip.
One disadvantage to creating extensions in this fashion is that property-conflicts are not automated and so they have to be handled manually, see onTweenAdd for more on this.