Hi,
I have a question regarding adding items to Container.
I have the following code:
var scheduled_item = new createjs.Bitmap(preloader.getResult("scheduled_item_img"));
var item_timer_text = new createjs.Text("Hello World", "20px Arial", "#ff7700");
item_timer_text.x = scheduled_item.width / 2;
item_timer_text.y = scheduled_item.height+50;
var scheduled_item_container = new createjs.Container();
scheduled_item_container.addChild(scheduled_item, item_timer_text);
stage.addChild(scheduled_item_container);
stage.update();
When I run this code I do see the image and the text, BUT - I can't seem to move the text under the image.
it's like totally ignores my x,y settings of the text item.
Any idea how to set it right?