-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why MovieClip is not visible? #7
Comments
Looks like CreateJS MovieClip class cannot be used as container (despite the fact that it extends Container class). You can still use common container for both mv and rect2. For instance: rect2 = new Bitmap(_preloader.getResult("rect").result); |
Thanks, I have tested the container, it worked, notice that any line after Also, I tried this code from http://www.atari.com, but I got that cp is not var logo = new createjs.Graphics() On Thu, Feb 14, 2013 at 1:07 PM, nickalie [email protected] wrote:
Kind Regards,Samir Sabri |
|
Here is what they say for MovieClip property: SINGLE_FRAME Stringhttps://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String Defined in SINGLE_FRAME:66http://www.createjs.com/Docs/EaselJS/files/.._src_easeljs_display_MovieClip.js.html#l66 Read-only. The MovieClip will only display a single frame (as determined by Default: "single" I think I typed it "simple" in my unconscious mind :-) How would I add the cp shortcut to the CreateJS-Haxe?
Kind Regards,Samir Sabri |
I tried to create a movieClip and add an image inside it like this:
rect2 = new Bitmap(_preloader.getResult("rect").result);
mv = new MovieClip("single", 0, false, []);
mv.addChild(rect2);
_stage.addChild(mv);
I expect to see rect2 on stage, but it dose not show up, if I added rect2 to stage it will show up, so what's I am missing here?
I need to be able to add multiple images as layers inside movieClip to be able to move them as a group, is this the recommended way to do it?
The text was updated successfully, but these errors were encountered: