Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 07-06-2004, 14:51   #1 (permalink)
der Verteidiger
 
Benutzerbild von Alexis
 
Registriert seit: Jun 2004
Beiträge: 10
Tween in Actionscript

Hy Meine Frage:
Gibt es eine möglichkeit einem objekt einen tween durchführen zu lassen indem man ihm zB einen startpunkt zuweist und einen endpunkt und ihm dann sagt er soll von start bis ende "gehen"
Alexis ist offline   Mit Zitat antworten
Alt 07-06-2004, 18:22   #2 (permalink)
...
 
Registriert seit: Jun 2004
Beiträge: 115
ja schau dir mal die tweening klasse im anhang genauer an

so mist...zu groß, gut schau mal hier:

http://gfx2u.de/download/down/MovieClipTween.mxp

Zitat:
This extension adds tweening methods to MovieClip
After
#include "lmc_tween.as" for ActionScript 2.0 (runs fine on Flash Player 6) or
#include "lmc_tween_as1.as" for ActionScript 1.0
you can use following methods for MovieClip:
MovieClip.tween()
MovieClip.stopTween()
MovieClip.isTweening()
MovieClip.getTweens()
MovieClip.lockTween()
MovieClip.unlockTween()
MovieClip.isTweenLocked()
MovieClip.alphaTo()
MovieClip.brightnessTo()
MovieClip.colorTo()
MovieClip.colorTransformTo()
MovieClip.scaleTo()
MovieClip.slideTo()
MovieClip.rotateTo()

Detailed documentation is in Help panel > Movieclip Tweening Prototypes

Additional Notes:
To create your own custom easing use custom easing tool from window->Other Panels->custom Easing Tool
If you plan to use this prototypes in your own class, to extend MovieClip class and prevent from compile time errors, you must manully replace the file "MovieClip.as" in your Flash MX 2004\[language]\First Run\Classes directory with file in this location:
WinXP: C:\Documents and Settings\[username]\Local Settings\Application Data\Macromedia\Flash MX 2004\[language]\Configuration\Shared\Zigo
Win9X: C:\Windows\Application Data\Macromedia\Flash MX 2004\[language]\Configuration\Shared\Zigo
Mac: HD:Users:[username]:Library:Application Support:Macromedia Flash MX 2004:[language]:Configuration:Shared:Zigo
Homepage and main discussion thread of this extension http://proto.layer51.com/d.aspx?f=1142
Original idea by Zeh Fernando http://proto.layer51.com/d.aspx?f=804
Easing Equations
(c) 2003 Robert Penner, all rights reserved.
This work is subject to the terms in http://www.robertpenner.com/easing_terms_of_use.html.

Documentation (F1) -> Movieclip Tweening Prototypes
syntax helper
actions Panel->Movieclip Tweening
Window->Other Panels->custom Easing Tool

Geändert von Tobi81 (07-06-2004 um 18:24 Uhr)
Tobi81 ist offline   Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind an
Pingbacks sind an
Refbacks sind an



Alle Zeitangaben in WEZ +1. Es ist jetzt 07:33 Uhr.

Domains, Webhosting & Vserver von Host Europe
Unterstützt das Flashforum!
Adobe User Group


Copyright ©1999 – 2012 Marc Thiele