[Xerte] Animate draw objects?

Paul Swanson Paul.Swanson at harlandfs.com
Thu Aug 30 23:25:57 BST 2007


Is there a way to animate an object created with the drawRect() method?
If I draw a box with:

rb2.createEmptyMovieClip("red_box", 0);
rb2.red_box.lineStyle(2, 0xFF0000, 80);
rb2.red_box.drawRect(190, 42, 170, 19, 0);

... I would expect that rb2.red_box.animate(190, 62, 10, 'linearTween');
would work, but it doesn't. The box is created, but doesn't animate.
animate() works fine moving the contents of a text icon around.

Not a big deal, just wondering if there is a way ...

_____________________________

 Paul Swanson
 Instructional Designer
 Harland Financial Solutions
_____________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20070830/b05e8424/attachment.html


More information about the Xerte mailing list