AS3: targetting nested movie clips

Out of context: Reply #4

  • Started
  • Last post
  • 8 Responses
  • thatblokemike0

    trace(movieclip_mc.nested_mc.x) would definitely work so there was no need to take it out. must have been something wrong in the scope or your understanding of the setup.

    movieClip_mc.addChild(idName).x

    You say you placed the clip in the library with the linkage "idName" then you have called your instance the same name. This is incorrect. The library object should have the class name (blueprint) for your instance. you saying you have the actual words "ClassName" in your code? because that needs to be what you called it in the library. and your instance can be called whatever you like.

View thread