Share Posted September 24, 2014 Hi, I am working on a project, in which I am trying to move 12 SWF files simontaneously with the help of (TweenMax.allTo). but when I try this in browser, many frames are skipping during movement. size of each SWF is 2500X2400 px and I'm using 4 MB jpg image in SWF as backfround. Code : TweenMax.allTo([CONTAINER_1, CONTAINER_2], groundFriction, { x:xPos, y:yPos} ); Both the containers are containing 6 SWF files. xPos and yPos is calculating dynamically on keyboard key down event, and I am using ENTER_FRAME to move the canvas. If someone knows how to deal with it, please help me. Thanks in advance. Link to post Share on other sites
Share Posted September 24, 2014 Hi and welcome to the GreenSock forums, I think you simply are asking to much from Flash and this has nothing to do with TweenMax. You are telling Flash Player to move and render 72 million pixels per update. (2500 x 2400 x 12) Please try the following test. Remove TweenMax and use a very basic ENTER_FRAME event to move the containers addEventListener(Event.ENTER_FRAME, move) function move(e:Event):void{ CONTAINER_1.x++; CONTAINER_1.y++; CONTAINER_2.x++; CONTAINER_2.y++; } Any better? Link to post Share on other sites