Acecool / tweener

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

Tweener does not compile with -strict (tweener_1_25_57_as2.zip) #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Q. What is the expected outcome? What happens instead?
MTASC reports several untyped variables in SpecialPropertiesDefault and
Equations

Q. What code will reproduce the problem?
Simply try compiling Tweener with -strict

Q. What version of the class are you using, and under which development 

environment (IDE version, compiler, etc)?
FD3, MTASC

Original issue reported on code.google.com by simen.br...@gmail.com on 31 Jul 2007 at 11:42

GoogleCodeExporter commented 9 years ago
Indeed. There were untyped parameters and variables and a few other small 
tidbits of
actionscript un-strictness.

Fixed on 1.29.59; it's on subversion now (or re-download the MTASC example, it's
updated to compile with -strict and the new classes are there).

I'll have to test this new version a bit as it changed some internal things but 
I'll
upload a new "stable", .zipped version soon.

Original comment by zisfor...@gmail.com on 31 Jul 2007 at 2:14

GoogleCodeExporter commented 9 years ago
Oops, I mean 1.25.59, not 1.29.59.

Original comment by zisfor...@gmail.com on 31 Jul 2007 at 2:19

GoogleCodeExporter commented 9 years ago
I'm not sure if it's related to this but I'm unable to resume even the simplest 
of
tweens:

class SomeButton {
  private function onRollOver() {
    Tweener.addTween(this, {_alpha: 50, time: 0.2});
  }

  private function onRollOver() {
    Tweener.addTween(this, {_alpha: 100, time: 0.2});
  }
}

If I have several of these in a line, dragging the mouse across all of them the
tweens don't seem to finish but rather stop at some random position

Original comment by simen.br...@gmail.com on 31 Jul 2007 at 2:26

GoogleCodeExporter commented 9 years ago
Hm, I've just tested resuming/pausing/staring with this new version and it 
seems to
be ok.

Your sample class just changes the _alpha and onRollOver() is repeated (I think 
it
was just a small copy&paste mistake), do you want to send me some test files so 
I can
find the error, whether it's on Tweener or on your code?

My email is zehfernando (at) zeh dot com dot br.

Original comment by zisfor...@gmail.com on 31 Jul 2007 at 3:06

GoogleCodeExporter commented 9 years ago
It was my bad, I was attaching the items in a loop and I forgot to make the name
parameter of attachMovie unique, one thing I don't understand however is where 
in
Tweener it uses _name as an identifier.

Works like a charm now, looking forward to giving it a go on this project.

Original comment by simen.br...@gmail.com on 1 Aug 2007 at 8:14