Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

accessing movieclip functionality from the parent class
Started by ciwchen2 Jul 28 2010 09:22 AM

- - - - -
No replies to this topic
This topic has been archived. This means that you cannot reply to this topic.
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 3 posts
  • Corona SDK

a problem: main.lua contains multiple objects of a class named "target."

target.lua essentially handles a movieclip - when any target is hit, it is meant to display a certain frame.

however, during simulation, hitting any one of the targets results only in the first instantiated target reacting. this is specific to movieclip functionality, because i ran into no problems when i changed the code to tell the targets to print their own (unique) name when hit.

any help is appreciated! thank you very much
uid: 7895 topic_id: 1523 reply_id: 301523