action script dynamic type?

Posted by Bin Chen on Stack Overflow See other posts from Stack Overflow or by Bin Chen
Published on 2009-11-25T02:32:55Z Indexed on 2010/05/09 20:18 UTC
Read the original article Hit count: 207

Filed under:

I am curious about code in my action script project:

public var _p:Object ...

in a function:

public function WObject(pp:MovieClip) { _p = pp; _p.Play(); }

The Play() function is in MovieClip but not Object, can action script allow such syntax?

© Stack Overflow or respective owner

Related posts about actionscript