2 Replies Latest reply on May 28, 2012 8:48 PM by flourmilling

    ios app with Adobe Flash performances issue?

    Bychop2 Level 1


      I buy ios enroll program today. I tried to addchild few bitmap on stage and rotate them.

      Awful. My computer can hold about 300 rotating bitmaps without lag.


      IPod Touch 4: less than 10 bitmaps. 10 Bitmaps are moving = 1 fps?!


      Are you kidding me Adobe? What is that thousand and thousand movieclip on that Ipad http://www.youtube.com/watch?feature=player_embedded&v=ZPHATCbnHE0


      My Main class is basic:


      package com.ecrevous {
                import flash.display.MovieClip;
                import flash.display.Sprite;
                import flash.events.Event;
                import flash.display.Bitmap;
                public class Main extends MovieClip {
                          public var bg:Sprite;
                          public function Main() {
                                    bg=new Sprite();
                                    for(var i:uint=0;i<10;i++){
                                              var p:Bitmap = new Bitmap(new Cochon());
                                              p.x = stage.stageWidth*Math.random();
                                              p.y = stage.stageHeight*Math.random();
                                    addEventListener(Event.ENTER_FRAME, onEnter);
                          public function onEnter(e:Event):void{
                                              trace('number Cochons: '+bg.numChildren);
                                    for(var i:uint=0;i<bg.numChildren;i++){


      And there is my XML



      <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
      <application xmlns="http://ns.adobe.com/air/application/3.2">
        <filename>King Kidnap</filename>
        <!-- To localize the description, use the following format for the description element.<description><text xml:lang="en">English App description goes here</text><text xml:lang="fr">French App description goes here</text><text xml:lang="ja">Japanese App description goes here</text></description>-->
        <name>King Kidnap</name>
        <!-- To localize the name, use the following format for the name element.<name><text xml:lang="en">English App name goes here</text><text xml:lang="fr">French App name goes here</text><text xml:lang="ja">Japanese App name goes here</text></name>-->


      As you can see, I'm using direct renderMode.


      What I am wrong?