<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, &quot;Burak Delice&quot; &lt;burak@delizade.com&gt; 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>
&nbsp;<BR>
&nbsp;<BR>
</FONT></SPAN><BLOCKQUOTE><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana, Helvetica, Arial"> <BR>
----- Original Message ----- <BR>
&nbsp;<BR>
<B>From:</B> &nbsp;donovan@hydrotik.com <BR>
&nbsp;<BR>
<B>To:</B> Mailing list for the Go ActionScript Animation &nbsp;Platform <a href="mailto:golist@goasap.org">&lt;mailto:golist@goasap.org&gt;</a> &nbsp;<BR>
&nbsp;<BR>
<B>Sent:</B> Sunday, August 03, 2008 11:05 &nbsp;PM<BR>
&nbsp;<BR>
<B>Subject:</B> [Golist] HydroTween Updates<BR>
&nbsp;<BR>
<BR>
Hi all.<BR>
<BR>
I was hoping to hold off in order to &nbsp;figure out why Sequencing is not working with the 0.5.1b update and do some &nbsp;more extensive testing, although I wanted to keep you guys informed on the &nbsp;progress in light of the emails. Consider this a soft update as some of these &nbsp;features haven&#8217;t been thoroughly tested yet. Because of this I have only &nbsp;updated the SVN. See below the updates for more info.<BR>
<BR>
So there are some &nbsp;new files associated with HydroTween &nbsp;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>
&nbsp;<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"> <BR>
Arguments have been added to HydroTween.go() &nbsp;calls:<BR>
<BR>
HydroTween.go(target, {x:200}, 2, 0, Linear.easeNone, &nbsp;completeFunction, updateFunction, [&quot;Hello Complete Arguments&quot;], [&#8220;Hello Update &nbsp;Arguements&#8221;]);<BR>
<BR>
This may conflict with previous syntax if you are using &nbsp;additional arguments extra easing params, etc.<BR>
<BR>
&nbsp;<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"> A PV3DRenderManager class has been added to perform a global update to a &nbsp;veiwport/camera/renderer.<BR>
Works the same way with HydroTween.init3D(); &nbsp;However this is only called once per pulse.<BR>
I have not had a chance to test &nbsp;this in a PV3D scene yet, but the Manager is working. If someone could give &nbsp;this a test drive that would be great.<BR>
<BR>
&nbsp;It has been suggested that &nbsp;you have the ability to render more then one viewport. If this is the case I &nbsp;would suggest simply using another update method and update your renderer that &nbsp;way. I may change the way PV3DRenderManager works, and/or add more &nbsp;functionality for PV3D render control, but use the individual update in the &nbsp;meantime.<BR>
<BR>
&nbsp;<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"> I fixed a but with complete and update methods being called multiple times &nbsp;when tweening an array of DisplayObjects<BR>
<BR>
I made the IDENTITY a public &nbsp;constant. To reset the value of any ColorMatrix tween you can pass &nbsp;HydroTween.IDENTITY to tween back to the original visual state of a target. &nbsp;This works for color, brightness, hue, saturation, matrix, contrast, and &nbsp;tint.<BR>
<BR>
HydroTween.go(target, {color: HydroTween.IDENTITY}, 2, 0, &nbsp;Linear.easeNone);<BR>
<BR>
&nbsp;<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"> I have added update and complete props to HydroSequence. FYI I&#8217;m using updater &nbsp;instead of update to avoid a naming conflict.<BR>
goItem.addItem({func:trace, &nbsp;args:[&quot;HELLO WORLD&quot;]});<BR>
goItem.addItem({target:target, color:0xFF00FF, &nbsp;duration:.5, updater:trace, updaterArgs:[&quot;Updating!&quot;], scope:this});<BR>
<BR>
&nbsp;<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"> <BR>
I have also added per Gils request:<BR>
<BR>
/**<BR>
&nbsp;<BR>
</FONT></SPAN><BLOCKQUOTE><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana, Helvetica, Arial"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* &nbsp;Added by Pickle: Add a &nbsp;property using genericRead and &nbsp;genericWrite<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* &nbsp;&nbsp;@param &nbsp;&nbsp;&nbsp;&nbsp;newProp &nbsp;&nbsp;&nbsp;New Property &nbsp;name<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**/<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public &nbsp;&nbsp;static function addProperty(newProp:String) &nbsp;{<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &nbsp;(! &nbsp;&nbsp;_propertyList.hasOwnProperty(newProp))<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_propertyList[newProp] &nbsp;= {prop:newProp, read:genericRead, &nbsp;&nbsp;write:genericWrite};<BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana, Helvetica, Arial"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>
<BR>
HydroTween.addProperty(&quot;zoom&quot;); &nbsp;&nbsp;// add zooming for &nbsp;Papervision3D<BR>
Haven&#8217;t tested this &nbsp;yet.<BR>
<BR>
&nbsp;<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 &nbsp;moment. I&#8217;m quite swamped and will figure out what&#8217;s going on soon. I just &nbsp;wanted to put these updates out there and ask that they be tested and to give &nbsp;you all some idea as to the inclusion of requests and how they have been &nbsp;implemented. Then I will make a formal post and update the SVN if everything &nbsp;looks good.<BR>
<BR>
If you can&#8217;t update via SVN contact me offlist and I will &nbsp;email you the files.<BR>
<BR>
I&#8217;m also going to post info on an ANT script and &nbsp;installing svnant for automating these &nbsp;updates.<BR>
<BR>
<BR>
Cheers,<BR>
Donovan<BR>
<BR>
<BR>
__________ &nbsp;Informazione NOD32 3302 (20080728) __________<BR>
<BR>
Questo messaggio &egrave; stato &nbsp;controllato dal Sistema Antivirus NOD32<BR>
<a href="http://www.nod32.it">http://www.nod32.it</a><BR>
&nbsp;<BR>
<BR>
&nbsp;<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="100%"> <BR>
<BR>
_______________________________________________<BR>
GoList mailing &nbsp;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>
__________ &nbsp;Informazione NOD32 3302 (20080728) __________<BR>
<BR>
Questo messaggio &nbsp;h &nbsp;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>