Skip navigation
Currently Being Moderated

createjs adding mc to stage

Apr 29, 2013 7:02 AM

Hi I used to do quite a bit of as3 word but not for quite some time (guess why???).  I am now having a play with flash pro6 and the toolkit for create js. I have to say I worked through the platypus example and it kinda left out all the things I wanted to know like the real easy stuff! So for example I want to add a mc to the stage with js --- how? The as bit works ... but I tried various combinations of

stop(); var fredd = new fred(); stage.addChild(fredd); fredd.x=100; fredd.y=100; /* js this.stop(); var fredd = new fred(); this.stage.addChild(fredd); */

 

but I just kept getting an comment about empty symbols and a helpful reminder about the timeline starting at 1. I feel sure this is very easy,  but I can't figure it out! Perhaps there is a real beginners resource somewhere that I am missing? Thanks

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points