[Golist] Rollover Animations

Donovan Adams donovan at hydrotik.com
Thu May 15 11:07:38 PDT 2008


Hi John. I see what happened. OverlapMonitor was removed from the init. I'll have to ask Moses about that.

I made a change to HydroTween which I am attaching. I tested it with this code and it's good to go:

over.addEventListener(MouseEvent.MOUSE_OVER, onInteraction);
over.addEventListener(MouseEvent.MOUSE_OUT, onInteraction);

function onInteraction(event:MouseEvent):void {
    switch (event.type) {
        case MouseEvent.MOUSE_OVER :
            HydroTween.go(event.currentTarget,  {color:0xFF0000}, 1, 0, Quartic.easeOut);
            //
            break;
        case MouseEvent.MOUSE_OUT :
            HydroTween.go(event.currentTarget,  {color:HydroTween.RESET}, 1, 0, Quartic.easeOut);
            //
            break;
    }
}

I will upload the downloads and blog now.

Thanks for catching that!

----------------------------------------
Return-Path: <golist-bounces at goasap.org>
Received: from procyon.lunarpages.com [209.200.229.10] by mail29.safesecureweb.com with SMTP;
   Thu, 15 May 2008 13:23:07 -0400
Received: from localhost ([127.0.0.1] helo=procyon.lunarpages.com)
	by procyon.lunarpages.com with esmtp (Exim 4.68)
	(envelope-from <golist-bounces at goasap.org>)
	id 1Jwh8s-0000Mg-Jq; Thu, 15 May 2008 10:21:22 -0700
Received: from hs-out-0708.google.com ([64.233.178.240])
	by procyon.lunarpages.com with esmtp (Exim 4.68)
	(envelope-from <johnsarracco at gmail.com>) id 1Jwh8P-0000I0-1u
	for golist at goasap.org; Thu, 15 May 2008 10:21:18 -0700
Received: by hs-out-0708.google.com with SMTP id j58so385891hsj.6
	for <golist at goasap.org>; Thu, 15 May 2008 10:20:51 -0700 (PDT)
Received: by 10.90.35.9 with SMTP id i9mr3485972agi.114.1210872051210;
	Thu, 15 May 2008 10:20:51 -0700 (PDT)
Received: by 10.90.97.16 with HTTP; Thu, 15 May 2008 10:20:51 -0700 (PDT)
Message-ID: <afead580805151020i45b3b734u5a74311156cff59e at mail.gmail.com>
Date: Thu, 15 May 2008 12:20:51 -0500
From: "John Sarracco" <johnsarracco at gmail.com>
To: golist at goasap.org
MIME-Version: 1.0
X-Spam-Status: No, score=-2.6
X-Spam-Score: -25
X-Spam-Bar: --
X-Spam-Flag: NO
Subject: [Golist] Rollover Animations
X-BeenThere: golist at goasap.org
X-Mailman-Version: 2.1.9.cp2
Precedence: list
Reply-To: Mailing list for the Go ActionScript Animation Platform
	<golist at goasap.org>
List-Id: Mailing list for the Go ActionScript Animation Platform
	<golist_goasap.org.goasap.org>
List-Unsubscribe: <http://goasap.org/mailman/listinfo/golist_goasap.org>,
	<mailto:golist-request at goasap.org?subject=unsubscribe>
List-Archive: <http://goasap.org/pipermail/golist_goasap.org>
List-Post: <mailto:golist at goasap.org>
List-Help: <mailto:golist-request at goasap.org?subject=help>
List-Subscribe: <http://goasap.org/mailman/listinfo/golist_goasap.org>,
	<mailto:golist-request at goasap.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0640350883=="
Sender: golist-bounces at goasap.org
Errors-To: golist-bounces at goasap.org
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - procyon.lunarpages.com
X-AntiAbuse: Original Domain - hydrotik.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - goasap.org
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Rcpt-To: <donovan at hydrotik.com>
X-SmarterMail-Spam: Bayesian Filtering, SPF_None 

I am using the new Go and HydroTween updates and the HydroTween.go() syntax for a rollover/rollout effect. and it is not functioning as expected because the animation finishes the sequence first and then completes the other effect.

 
Could someone recommend a way to listen for the events and reverse the animations for a group of buttons using Go?
 
Thanks,
John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://goasap.org/pipermail/golist_goasap.org/attachments/20080515/09ca9cd2/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HydroTween.as
Type: application/octet-stream
Size: 30307 bytes
Desc: not available
Url : http://goasap.org/pipermail/golist_goasap.org/attachments/20080515/09ca9cd2/attachment-0001.obj 


More information about the GoList mailing list