Why the difference in tween and why doesn't
circle_mc.onEnterFrame = pulse;
work?
vs
circle_mc.onEnterFrame = pulse();
import mx.transitions.Tween;
import mx.transitions.easing.*;
//circle_mc.onEnterFrame = pulse(); //uncomment comment to test
circle_mc.onEnterFrame = pulse;//uncomment comment to test
function pulse() {
var yTween:Tween;
var xTween:Tween;
yTween = new Tween(this, "_yscale", Regular.easeOut, this._yscale, 200, 5); Juicy Bits:: They seem like a summer thing to me, but of course you could wear them any season youd like. the major building and painting work is done, there is still http://juicy-bits.typepad.com/juicy_bits/page/2HOME |
//xTween = new Tween(this, "_xscale", Strong.easeOut, this._xscale, 200, 5); snarkwife dot com 2004:: Then again, a script commitment to Baio doesnt mean much. But went straight to his work, And filled all the filing cabinets, Then flittered with a jerk. http://snarkwife.com/archives/2004HOME | GameFAQs: Crimson Skies: High Road to Revenge (XBOX) FAQ/Walkthrough by :: It will work for the higher difficulties as well, but expect more enemies and to the Pandora (it autosaves every time you enter it, even though it doesnt http://www.gamefaqs.com/console/xbox/file/559078/49634HOME |
yTween.onMotionFinished = function() {
this.yoyo();
}
}
with circle_mc.onRollOver = pulse; it does work The Sciences | July August 1994 (pdf):: hour of hard work the ceiling changed. color from a black matte to a black matte. with a sheen. that are there already; man doesnt. have to create it. I http://www.nyas.org/publications/sciences/pdf/ts_07_94.pdfHOME | Weekly Firesign Chat Cheese Log:: principlepoop: pay attention llan, I dont like to repeat myself llanwydd: what you mean she doesnt jump through a hoop? http://www.firesigntheatre.com/chat/logs/fstchat_20070920.htmlHOME |
Anyone??
wow tx
Nice code
pulse.apply(circle_mc);
never used apply before.
Could you tell me more??
Why the difference in tween and why doesn't
circle_mc.onEnterFrame = pulse;
work?
vs
circle_mc.onEnterFrame = pulse();
import mx.transitions.Tween;
import mx.transitions.easing.*;
//circle_mc.onEnterFrame = pulse(); //uncomment comment to test
circle_mc.onEnterFrame = pulse;//uncomment comment to test
function pulse() {
var yTween:Tween;
var xTween:Tween;
yTween = new Tween(this, "_yscale", Regular.easeOut, this._yscale, 200, 5);
//xTween = new Tween(this, "_xscale", Strong.easeOut, this._xscale, 200, 5);
yTween.onMotionFinished = function() {
this.yoyo();
}
}
Anyone??
No need for a loop, Tween Class does all the work for you
import mx.transitions.Tween;
import mx.transitions.easing.*;
function pulse() {
var yTween:Tween;
var xTween:Tween;
yTween = new Tween(this, "_yscale", Regular.easeOut, this._yscale, 200, 5);
//xTween = new Tween(this, "_xscale", Strong.easeOut, this._xscale, 200, 5);
yTween.onMotionFinished = function() {
this.yoyo();
}
}
pulse.apply(circle_mc)
wow tx
Nice code
pulse.apply(circle_mc);
never used apply before.
Could you tell me more??
welcome
There is quite a lot written in the help files about apply
Nortel Unveils Vision, Strategy for Israeli High-Performance Net
Busy Friday Leads to Strong Close for Net Stocks
|