<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16674" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#fbfbfb>
<DIV><FONT face=Arial size=2>greate, thanx!.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=donovan@hydrotik.com href="mailto:donovan@hydrotik.com">Donovan
Adams</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=golist@goasap.org
href="mailto:golist@goasap.org">golist@goasap.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, July 31, 2008 5:54
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Golist] HydroTween- custom
numeric parameter's tweens</DIV>
<DIV><BR></DIV>var1 isn't a supported property unless you add it to
HydroTween. Which is perfectly fine and easy to do. Add this to line 311
in HydroTween (After the Making Things prop declarations in the init()
method):<BR><BR>code<BR><BR>// GENERIC VAR<BR>_propertyList["val"] =
{prop:"val", read:genericRead, write:genericWrite};<BR><BR>/code<BR><BR>Now
that "val" is a supported property, HydroTween will tween it using the
genericRead and genericWrite methods. Now you can do:<BR><BR>private var _mc :
MovieClip;<BR><BR>...<BR><BR>_mc = new MovieClip();<BR>_mc.val =
100;<BR>HydroTween.go(_mc, {val:300}, 3, 0, Quadratic.easeOut, null,
check);<BR><BR>...<BR><BR>private function
check():void{<BR> trace(_mc["val"]);<BR>}<BR><BR><BR><BR><BR><hr
/><BR><BR>
<DIV><FONT face=Arial size=2>hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>i tried to tween a variable like this
:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>mc= new MovieClip();<BR>mc.var1 =
0;<BR></FONT><FONT face=Arial size=2>HydroTween.go(mc, {var1:100}, .3, 0,
Elastic.easeOut, null, up);<BR> </FONT></DIV>
<DIV><FONT face=Arial size=2>public function up() : void
{<BR> trace(mc["var1"]);<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>or </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>private var var1:Number;</FONT></DIV>
<DIV><FONT face=Arial size=2>....</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>var1 = 0;<BR></FONT><FONT face=Arial
size=2>HydroTween.go(this, {var1:100}, .3, 0, Elastic.easeOut, null,
up);<BR> </FONT></DIV>
<DIV><FONT face=Arial size=2>public function up() : void
{<BR> trace("var1");<BR>}</FONT></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>but, value is not increased. always 0. how can I
do that? </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>regards</FONT></DIV>
<DIV><FONT face=Arial size=2><BR></FONT></DIV><FONT face=Arial size=2></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -x-system-font: none">-----
Original Message ----- </DIV>
<DIV
style="BACKGROUND: rgb(228,228,228); FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -x-system-font: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><STRONG>From:</STRONG>
<A title=gil@allflashwebsite.com href="mailto:gil@allflashwebsite.com">Gil
Birman</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -x-system-font: none"><STRONG>To:</STRONG>
<A title=golist@goasap.org href="mailto:golist@goasap.org">Mailing list for
the Go ActionScript Animation Platform</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -x-system-font: none"><STRONG>Sent:</STRONG>
Wednesday, July 30, 2008 10:35 PM</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -x-system-font: none"><STRONG>Subject:</STRONG>
Re: [Golist] HydroTween init3D</DIV>
<DIV><BR></DIV>
<DIV dir=ltr>From what Moses said, it would be nice if there were a "3D"
property or something to indicate that a tween wants render(..) to be called
on update. Also, is it unreasonable to assume that you'll want to use
multiple 3d viewports? If so, maybe 3D should be more than merely an on/off
flag, and allow you to specify a renderer...<BR><BR>HydroSequence( {
target:planeA...., 3D: renderer1 } );<BR>HydroSequence( { target:planeB,
...., 3D: renderer2 } );<BR><BR>Gil<BR></DIV>
<P></P>
<HR>
<P></P>_______________________________________________<BR>GoList mailing
list<BR>GoList@goasap.org<BR>http://goasap.org/mailman/listinfo/golist_goasap.org<BR><BR><BR><BR>__________
Informazione NOD32 3302 (20080728) __________<BR><BR>Questo messaggio
h stato controllato dal Sistema Antivirus
NOD32<BR>http://www.nod32.it<BR></BLOCKQUOTE><BR>
<P>
<HR>
<P></P>_______________________________________________<BR>GoList mailing
list<BR>GoList@goasap.org<BR>http://goasap.org/mailman/listinfo/golist_goasap.org<BR><BR><BR><BR>__________
Informazione NOD32 3302 (20080728) __________<BR><BR>Questo messaggio h
stato controllato dal Sistema Antivirus
NOD32<BR>http://www.nod32.it<BR></BLOCKQUOTE></BODY></HTML>