Sorry - wrong one ;)  One of the tween classes has a "pan" feature... will
post if I find it.

On 6/27/06, Mick G <[EMAIL PROTECTED]> wrote:

MC Tween has a panTo command which does what you need (along with all the
other standard tweens)...
http://hosted.zeh.com.br/mctween/doc_panto.html




On 6/27/06, Weyert de Boer <[EMAIL PROTECTED]> wrote:
>
> Yes, I have looked a bit at the Tween-classes, but I have some bad days
> in Flash at the moment. Looks like nothing want to work, and the IDE
> ain't helping either. Going nuts here. Things like when you press
> <space> the IDE give focus to the Output palette, or windows who
> disappear, weird responding document tabbar etc.
>
> Anyway I have worked on some old code which will do something like I
> want:
>
> function LORB( target ) {
>         target._x = slideWidth - target._width;
>         target._y = 0;
>         unitX = ( slideWidth - target._width ) / totalFrames;
>         unitY = ( slideHeight - target._height ) / totalFrames;
>
>         target.onEnterFrame = function() {
>                 if ( currentFrame < totalFrames ) {
>                         target._x = target._x - unitX;
>                         target._y = target._y + unitY;
>                 } else {
>                         delete target.onEnterFrame;
>                 }
>         }
> }
>
> I am only clueless how you wrap something like into a equation for use
> with the Tween classes?
>
> Yours,
> Weyert de Boer
> > I must admit I haven't looked at the Macromedia Tween classes, but
> > surely this is very simple, just tween the _x and _y attribute of your
> > clip.
> >
> > If not, look at any of the number of tween classes and managers out
> > there (I recommend Fuse http://www.mosessupposes.com/Fuse or Zigo's
> > Tween Manager http://laco.wz.cz/tween/ ), as they all have this
> > functionality.
> >
> > Regards,
> > Grant Cox
> >
> >
> > Weyert de Boer wrote:
> >> I am curious if it's possible to use the Tween or TweenExtended class
> >> to make pan/slide animation. I mean something like you move a picture
> >> from the left bottom corner to the right top corner within the
> >> dimensions of the container movieclip.
> >>
> >> Yours,
> >> Weyert de Boer
> >> _______________________________________________
> >> Flashcoders@chattyfig.figleaf.com
> >> To change your subscription options or search the archive:
> >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>
> >> Brought to you by Fig Leaf Software
> >> Premier Authorized Adobe Consulting and Training
> >> http://www.figleaf.com
> >> http://training.figleaf.com
> >>
> >>
> > _______________________________________________
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> >
>
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to