The parent is a property of DisplayObject class, while the play() method
is belongs to MovieClip class which is a sub class of DisplayObject.
Therefore the reference of the property should be cast to MovieClip class.
MovieClip(parent).play();
_____
Omar Fouad wrote:
In AS3 I am tring to get the parent movieClip that contains some movieClip
timeline animation...
parent.play();
It gets me an Error???
Good luck,
--
Fumio Nonaka
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
My books<http://www.FumioNonaka.com/Books/index.html>
Flash community<http://F-site.org/>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders