I thought the ECMA way was to say:
parent as MovieClip
But I can't really tell from http://wiki.ecmascript.org/doku.php?
id=proposals:is_as_to it looks like they changed it to be:
cast MovieClip(parent)
and AS must be half-way in between.
On 2007-09-11, at 22:27 EDT, Henry Minsky wrote:
I am seeing examples in various tutorials which seem to be
type-casting by using the
class name like this:
for (var i=0; i<MovieClip(parent).cells.length; i++) {
}
It sure looks like a function call...
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]