Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

instanceof custom movieclip

Status
Not open for further replies.

Dachyon

Programmer
Nov 4, 2002
32
NZ
Hi All,
I would like to be able to test an instance of a custom movieclip. I know its possible to test using instanceof for primitive data types like String and Number, but is it possible to test a custom movieclip symbol ?

if (this instanceof "mcMyMovieClip") {
trace('Found an instance of 'mcMovieClip'");
}

Many Tnx.
Dachyon.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top