fieldsye / actuate

Automatically exported from code.google.com/p/actuate
0 stars 0 forks source link

Actuate.apply doesn't set visibility to true after tween to 0 #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Tween an element to alpha 0 (autoVisible is not changed from default)
2. Use "apply" to set the alpha back to 1.

What is the expected output? What do you see instead?
I expect to see the element at 100% alpha and visible.  Instead the element 
remains invisible.

What version of the product are you using? On what operating system?
actuate: [1.43]
hxcpp: [2.10]
neash: [1.0.3]
nme: [3.4.0]
OSX 10.8

Please provide any additional information below.
This is exactly how you would recreate the problem.
Actuate.tween(mc, 5, {alpha: 0}).onComplete(Actuate.apply, [mc, {alpha: 1}]);  
// doesn't show mc
Actuate.tween(mc, 5, {alpha: 0}).onComplete(Actuate.tween, [mc, 0.00001, 
{alpha: 1}]);  // does show mc

Original issue reported on code.google.com by j...@relishinteractive.com on 9 Aug 2012 at 2:54