[Golist] Hydrotik SeqeunceCA trigger/advance
Donovan Adams
donovan at hydrotik.com
Thu Jul 31 11:03:01 PDT 2008
Moses might need to chime in on this, but you have an advance on the last item in your sequence. In addition to that it, has a shorter duration then the advance duration. I would assume the error is happening because it does not have an item to advance to and/or the advance duration is less then the item duration.
Try:
sq1 = new HydroSequence(
{target:sq_mc, x:1000, duration:1, easing:Elastic.easeOut},
{target:sq_mc, advance:new OnDurationComplete(0.5), y:0, duration:1},
{target:sq_mc, rotation:180, duration:0.4}
);
sq1.start();
<hr />
Hello all, I'm not only a beginning Go and Hydro user but also just
getting into AS3. I'm having a small problem with trying to get Hydro
to do an advance "trigger" or skip ahead. When I do a simple sequence
like this:
import org.goasap.*;
import com.hydrotik.go.*;
import flash.display.*;
import fl.motion.easing.*;
sq1 = new HydroSequence(
{target:sq_mc, x:1000, duration:1, easing:Elastic.easeOut},
{target:sq_mc, advance:new OnDurationComplete(0.5), y:0, duration:0.4}
);
sq1.start();
I get the error:
1180: Call to a possibly undefined method OnDurationComplete.
I'm assuming that I haven't imported something properly? Thanks for
bearing with my as3 growing pains.
Patrick
_______________________________________________
GoList mailing list
GoList at goasap.org
http://goasap.org/mailman/listinfo/golist_goasap.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://goasap.org/pipermail/golist_goasap.org/attachments/20080731/997abc46/attachment.html
More information about the GoList
mailing list