Saturday, June 2, 2012

[Action Script] calling instances from class May,2012

stage(a instance called player)
|
|
v
inside another movieclip named mc i have a movieclip named enemy
|
|
v
i placed a class in enemy and want to call the instance "player".

i've tried MovieClip(parent).player but it give me an error "A term is undefined and has no properties."

is there anyways that i can call the instance "player" from movieclip enemy?

sorry for the poor english
calling instances from class

Related Post



0 comments: