Hey Sammi,

I had the same problem so I wrote a simple Tween API of my own. 

You can download the .swc from my blog at:
http://www.ericfeminella.com/blog/2006/09/04/as3-custom-tween-api/

Below is a very simple usage example:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";  
               layout="absolute" 
               width="927" 
               height="610" >

        <mx:Script>
                <![CDATA[

                    import mx.controls.Alert;
                    import com.ericfeminella.effects.Tween;
                    import com.ericfeminella.effects.TweenType;
            
                    private function createTween():void {
                                var tween:Tween = new Tween(this.panel, "alpha",
TweenType.BASIC_EASEIN, 1, 0, .5);
                        }
                ]]>
        </mx:Script>
        
        <mx:Panel x="338.5" y="104" width="343" height="306"
layout="absolute" id="panel">
        </mx:Panel>
        <mx:Button id="btn" click="this.createTween();" x="338.5" y="418"
label="tween alpha" />
        
</mx:Application>

If you have any questions feel free to send me an email at:
[EMAIL PROTECTED]

Hope this helps,
- Eric Feminella




--- In [email protected], Samúel Jónasson <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> Do you know of any AS3 libraries that I can use instead 
> mx.effects.tween?  Are there any available tweening engines for AS3.
> 
> I am using Flex Builder 2 to build my Actionscript 3 project and I 
> thought I could use the mx.effects.Tween class but it looks like I 
> can't. I get errors like this one when I try:
> 
> *Unable to resolve a class for ResourceBundle: core.*
> 
> Sammi
>






--
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