[Golist] Hydrotik SeqeunceCA trigger/advance
Patrick Figueroa
patrick.figueroa at gmail.com
Thu Jul 31 11:37:27 PDT 2008
Yeah I figured it was a class I didn't import... but what class is it?
Is it a flash class or a Hydro class? I imported the whole Hdyro and
Go directory...
Patrick.
On Jul 31, 2008, at 2:20 PM, Moses Gunesch wrote:
> I dunno, that shouldn't error actually –– maybe it's just because
> you didn't import that class?
>
> m
>
>
> On Jul 31, 2008, at 2:03 PM, Donovan Adams wrote:
>
>> 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
>>
>> _______________________________________________
>> GoList mailing list
>> GoList at goasap.org
>> http://goasap.org/mailman/listinfo/golist_goasap.org
>
> _______________________________________________
> 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/cf08c9c2/attachment.html
More information about the GoList
mailing list