Hi everybody. I have the next problem trying to create a MovieClip.
In short. It doesn´t show. I get NO errors nor warnings nor traces.
I added the png as an image to test it and in works.
I have my xml file loaded.
I have my imports.
This is part of the code:
. /// The classes// [Embed(source='run.xml', mimeType='application/octet-stream')] private static const chipXML:Class; [Embed(source='run.png')] private static const chipTexture:Class; //////// var _bmp:Bitmap = new chipTexture(); var _txture:Texture = Texture.fromBitmap(_bmp); var _xml:XML = XML(new chipXML()); var atlas:TextureAtlas = new TextureAtlas(_txture,_xml); var frames:Vector.<Texture> = atlas.getTextures('run'); var c:MovieClip = new MovieClip(frames); addChild(c); Starling.juggler.add(c);
The result is no image nor animation on screen
No errors traced
I´m a newbee on starling and i´m sorry f i´m doing something stupid.