<HTML>
<HEAD>
<TITLE>Re: [Golist] HydroTween Updates</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Thanks Burak:)<BR>
<BR>
AddProperty and sequence update commands have already been added.<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
On 8/4/08 3:39 AM, "Burak Delice" <burak@delizade.com> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><SPAN STYLE='font-size:12.0px'><FONT FACE="Arial">2 days ago I started to use tortouse ( thanx Gil for SVN guide) and entered to SVN world with baby steps. download all my AS3 tools to my machine. after that my project began to behave strangly. I had forgotten uptade matter but after reilized versions of hydro and GO. downgraded Go version to 0.5 and nigtmare is gone ;) I mean, sometimes AS3 things make me very scare!<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">and hearing some efforst about hydro makes me feel good and relaxed.<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">and I hope some little additional things will be merged to package ( Gil wrote some about addProperty and OnUpdate)<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">thankyou very much all of you.<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">Burak.<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
<BR>
<BR>
</FONT></SPAN><BLOCKQUOTE><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana, Helvetica, Arial"> <BR>
----- Original Message ----- <BR>
<BR>
<B>From:</B> donovan@hydrotik.com <BR>
<BR>
<B>To:</B> Mailing list for the Go ActionScript Animation Platform <a href="mailto:golist@goasap.org"><mailto:golist@goasap.org></a> <BR>
<BR>
<B>Sent:</B> Sunday, August 03, 2008 11:05 PM<BR>
<BR>
<B>Subject:</B> [Golist] HydroTween Updates<BR>
<BR>
<BR>
Hi all.<BR>
<BR>
I was hoping to hold off in order to figure out why Sequencing is not working with the 0.5.1b update and do some more extensive testing, although I wanted to keep you guys informed on the progress in light of the emails. Consider this a soft update as some of these features haven’t been thoroughly tested yet. Because of this I have only updated the SVN. See below the updates for more info.<BR>
<BR>
So there are some new files associated with HydroTween now.<BR>
<BR>
HydroSequence.as<BR>
PV3DRenderManager.as<BR>
HydroTween.as<BR>
IPV3DRenderManager.as<BR>
IRenderable.as<BR>
<BR>
<a href="http://code.google.com/p/goplayground/source/browse/#svn/trunk/DonovanAdams/src/com/hydrotik/go">http://code.google.com/p/goplayground/source/browse/#svn/trunk/DonovanAdams/src/com/hydrotik/go</a><BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"> <BR>
Arguments have been added to HydroTween.go() calls:<BR>
<BR>
HydroTween.go(target, {x:200}, 2, 0, Linear.easeNone, completeFunction, updateFunction, ["Hello Complete Arguments"], [“Hello Update Arguements”]);<BR>
<BR>
This may conflict with previous syntax if you are using additional arguments extra easing params, etc.<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"> A PV3DRenderManager class has been added to perform a global update to a veiwport/camera/renderer.<BR>
Works the same way with HydroTween.init3D(); However this is only called once per pulse.<BR>
I have not had a chance to test this in a PV3D scene yet, but the Manager is working. If someone could give this a test drive that would be great.<BR>
<BR>
It has been suggested that you have the ability to render more then one viewport. If this is the case I would suggest simply using another update method and update your renderer that way. I may change the way PV3DRenderManager works, and/or add more functionality for PV3D render control, but use the individual update in the meantime.<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"> I fixed a but with complete and update methods being called multiple times when tweening an array of DisplayObjects<BR>
<BR>
I made the IDENTITY a public constant. To reset the value of any ColorMatrix tween you can pass HydroTween.IDENTITY to tween back to the original visual state of a target. This works for color, brightness, hue, saturation, matrix, contrast, and tint.<BR>
<BR>
HydroTween.go(target, {color: HydroTween.IDENTITY}, 2, 0, Linear.easeNone);<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"> I have added update and complete props to HydroSequence. FYI I’m using updater instead of update to avoid a naming conflict.<BR>
goItem.addItem({func:trace, args:["HELLO WORLD"]});<BR>
goItem.addItem({target:target, color:0xFF00FF, duration:.5, updater:trace, updaterArgs:["Updating!"], scope:this});<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"> <BR>
I have also added per Gils request:<BR>
<BR>
/**<BR>
<BR>
</FONT></SPAN><BLOCKQUOTE><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana, Helvetica, Arial"> * Added by Pickle: Add a property using genericRead and genericWrite<BR>
* @param newProp New Property name<BR>
**/<BR>
public static function addProperty(newProp:String) {<BR>
if (! _propertyList.hasOwnProperty(newProp))<BR>
_propertyList[newProp] = {prop:newProp, read:genericRead, write:genericWrite};<BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana, Helvetica, Arial"> }<BR>
<BR>
HydroTween.addProperty("zoom"); // add zooming for Papervision3D<BR>
Haven’t tested this yet.<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"> <BR>
Like I said this HydroTween 0.5.1 rev40 is not working with 0.5.1b at the moment. I’m quite swamped and will figure out what’s going on soon. I just wanted to put these updates out there and ask that they be tested and to give you all some idea as to the inclusion of requests and how they have been implemented. Then I will make a formal post and update the SVN if everything looks good.<BR>
<BR>
If you can’t update via SVN contact me offlist and I will email you the files.<BR>
<BR>
I’m also going to post info on an ANT script and installing svnant for automating these updates.<BR>
<BR>
<BR>
Cheers,<BR>
Donovan<BR>
<BR>
<BR>
__________ Informazione NOD32 3302 (20080728) __________<BR>
<BR>
Questo messaggio è stato controllato dal Sistema Antivirus NOD32<BR>
<a href="http://www.nod32.it">http://www.nod32.it</a><BR>
<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="100%"> <BR>
<BR>
_______________________________________________<BR>
GoList mailing list<BR>
GoList@goasap.org<BR>
<a href="http://goasap.org/mailman/listinfo/golist_goasap.org">http://goasap.org/mailman/listinfo/golist_goasap.org</a><BR>
<BR>
<BR>
<BR>
__________ Informazione NOD32 3302 (20080728) __________<BR>
<BR>
Questo messaggio h stato controllato dal Sistema Antivirus NOD32<BR>
<a href="http://www.nod32.it">http://www.nod32.it</a><BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana, Helvetica, Arial"><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></FONT></SPAN><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'>_______________________________________________<BR>
GoList mailing list<BR>
GoList@goasap.org<BR>
<a href="http://goasap.org/mailman/listinfo/golist_goasap.org">http://goasap.org/mailman/listinfo/golist_goasap.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>