Where is that package and class?
I was looking in Flex docs and i could not find....
Thanks

--- In flexcoders@yahoogroups.com, "Philippe Maegerman" <[EMAIL PROTECTED]> 
wrote:
> Sorry, I was looking at the wrong class, I found the onUpdate event
> ;))))
> AnimationPackage rocks !!
>  
> Philippe Maegerman
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Philippe Maegerman
> Sent: lundi 26 septembre 2005 11:57
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Tween classes
> 
> 
> 
> Thank you Alex, I was looking first for a standard (built-in) way.
> I looked into the Animation Class, I can see onStart and onEnd events
> but I don't see something similar to onTweenUpdate. 
> 
> Philippe Maegerman
> 
> -----Original Message-----
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Alex Uhlmann
> Sent: lundi 26 septembre 2005 11:51
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Tween classes
> 
> Hey Philippe,
> 
> if that's not sufficient for what you want to achieve, maybe the
> Animator class in AnimationPackage works for you? It uses
> mx.effects.Tween by default.
> 
> Best,
> Alex
> 
> --
> Alex Uhlmann
> Software Consultant
> iteration::two
> 
> 
> -----Original Message-----
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> Behalf Of Philippe Maegerman
> Sent: 26 September 2005 09:59
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Tween classes
> 
> 
> Ok I found by digging the FlexForFlash package.
> Flex doesn't seem to include the mx.transitions.Tween class but
> mx.effects.Tween.
> This class is more basic but allows to input several values in the same
> Tween ;))
> 
> It still would have been nice to have the basic Tween class + easing
> equations
> 
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";
> creationComplete="doTween()"> <mx:Script> <![CDATA[ import mx.effects.*
> function doTween(){  var a = {};  var anim = new Tween(a, [0,50],
> [100,100], 1000);  a.onTweenUpdate = function(vals:Array):Void{
>      mx.controls.Alert.show(vals[0].toString() + '/' +
> vals[1].toString());  };  a.onTweenEnd = function(endPos:Number):Void{
>      mx.controls.Alert.show("End animation: " + endPos);  }; } ]]>
> </mx:Script> </mx:Application>
> 
> 
> 
> Philippe Maegerman
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Philippe Maegerman
> Sent: vendredi 23 septembre 2005 16:05
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Tween classes
> 
> 
> No idea why Tween classes are not working?
> 
> Philippe Maegerman
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Philippe Maegerman
> Sent: mercredi 21 septembre 2005 14:26
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Tween classes
> 
> 
> Sorry for the delay, I have tried your suggestions and other things but
> can't make it happen.
> It seems ok to import the transitions package, no error pops up, I can't
> declare var new my_tween = new Tween() but it allows me to do var
> my_tween = new mx.transitions.Tween() which seems quite strange to me,
> because I import mx.transitions.* As it fails silently I have no clue on
> what's going on here :(((((
> 
> Here's my code with trace actions:
> 
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";
> creationComplete="myTween()"> <mx:Script> <![CDATA[
> 
> import mx.transitions.*;
> var dummy:Object = {val:''};
> function myTween(){
> //mx.core.Application.alert('starting');
> dummy = {val:''};
> var my_tween = new mx.transitions.Tween(dummy, 'val', null, 0, 100, 10,
> true);  my_tween.onMotionChanged = function(obj){
>   mx.core.Application.alert('onMotionChanged');
> }
> my_tween.onMotionFinished = function() {
>   mx.core.Application.alert('onMotionFinished');
> };
> }
> ]]>
> </mx:Script>
> </mx:Application>
> 
> Philippe Maegerman
> PS: I have tested this in flashMX2004 (except for the trace statements)
> and it works perfectly well
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Matt Chotin
> Sent: dimanche 11 septembre 2005 6:13
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Tween classes
> 
> 
> Try not using _level0, go through Application.application.  And see if
> you should be using Delegates too J
> 
> Matt
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Philippe Maegerman
> Sent: Friday, September 09, 2005 9:56 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Tween classes
> 
> I think the mx.transitions.Tween and mx.transitions.easing.* classes are
> not present in Flex, is there a way to use them?
> I tried the following that works in Flash but not Flex:
> 
> var dummy = {val:''};
> var my_tween:Object = new mx.transitions.Tween(dummy, 'val', null, 0,
> 100, 1, true);  my_tween.onMotionChanged = function(obj){
>   _level0.infos_txt.text += dummy.val ;
> }
> my_tween.onMotionFinished = function() {
>      _level0.infos_txt.text = 'finished';  };
> 
> Regards,
> 
> Philippe Maegerman
> 
> 
> 
> ------------------------------------------------------------------
> **STATEMENT OF CONFIDENTIALITY**
> This e-mail and any attached files are confidential and intended solely
> for the use of the individual to whom it is addressed. If you have
> received this email in error please send it back to the person that sent
> it to you. Any views or opinions presented are solely those of author
> and do not necessarily represent those the Emakina Company. Unauthorized
> publication, use, dissemination, forwarding, printing or copying of this
> email and its associated attachments is strictly prohibited.
> We also inform you that we have checked that this message does not
> contain any virus but we decline any responsability in case of any
> damage caused by an a non detected virus.
> ------------------------------------------------------------------
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> 
> 
> 
> SPONSORED LINKS Web site design development Computer software
> development Software design and development Macromedia flex Software
> development best practice
> 
> 
> 
> YAHOO! GROUPS LINKS
> 
> Visit your group "flexcoders" on the web.
> 
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> 
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> 
> 
> 
> ________________________________
> 
> YAHOO! GROUPS LINKS 
> 
> 
>       
> *      Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>         
> *      To unsubscribe from this group, send an email to:
>        [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
>         
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> . 
> 
> 
> ________________________________




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to