OK, this works outside the class:
myJP=new Object()
myJP.n=0;
t1 = new Tween(myJP, n, func, oldnum, numTo, duration, true);
myJP.n tweens just fine.
But if I put it inside a class a cannot tween n , I can tween any
property of an MC etc.
myJP is instantiated as an object and myJP.n is set to 0 in
Never mind, sorted it - had scoped a setinterval incorrectly. The mc's
props tweening correctly was a red herring.
M
ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ
Tel: 01964 672000
Fax: 01964 671102
Registered in England no. 01646471
The information contained within this
2 matches
Mail list logo