Jump to content

Adding children to groups


Recommended Posts

Sorry, I promise these newbie questions will stop soon.


So I'm using Groups as Playfields / Layers / Movieclips ( How ever you want to think of them ) and I'm looking for an addChild like call.


At present I've got a simple sprite, e.g.



this.logo= attractPlayField.create(100, 50, 'logo');
That's all good. But how would I add a child that was part of a spritesheet ? Also, how would I add a button ?
Again, thanks for sticking with me as I go through the teething stage, it will stop I and I'll be able to give something back to the forum I promise :)
Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...