![]() var bmpTemp: Bitmap īmpTemp = fConvertToBMP(mcCircle. The code converts mcCircleVector to bitmap, removes it, and adds the bitmap to mcCircle so you end up with a movieclip. The original movieclip - mcCircleVector - is inside a holder movieclip - mcCircle. Here's example code to convert a movieclip to a bitmap. Because you're doing Android and Android has so many different screen dimensions and dpi, you should draw things in vector, resize the vectors to fit the device, convert the vectors to bitmaps. Bitmap optimization is definitely necessary for smooth animation on mobile. Bitmaps use the GPU, vectors and PNG use the CPU. You should be putting everything in bitmaps. The father movie clip is linked to a AS class, in which i tried to insert the suggested code, but what happened is, the movie clips stopped appearing from the stage at all. I tried to :Ĭonvert the image inside that movie clip to a movie clip, and took care of all the needed names just to confirm with the answer suggested. I have the movie clip created and in the library, inside of it i have loaded one PNG image. Therefor, how can i achieve the best quality/performance ratio in Flash CS6, AS3 adobe air targeting mobile devices ? But i'm not sure whether the mobile device could achieve the best quality/performance ratio. I thought maybe importing several illustrator file and spreading them on each frame could do so. I need to have a nice quality for each image in the movie clip, but i guess doing so with high quality PNGs is not the best approach to use. It seems that if i did a frame by frame animation, with high resolution PNGs, the app will be too slow to use. The animation works correctly, but the problem is whenever i run the app on any device, the response time would be enormous, causing the app to crash sometimes. I have tried to create 25 PNG images, 300 dpi, 40x40 size. I want to make them animated, as in go to the library, go into the movie clip, and create a frame by frame animation. Exactly, i have 6 different movie clips, and i am calling them each time 6/5/4 times. ![]() To start viewing messages, select the forum that you want to visit from the selection below. You may have to register before you can post: click the register link above to proceed. ![]() In the app, i am calling several movie clips to stage, so there will always be several movie clips coming to stage. Action script on movie clip If this is your first visit, be sure to check out the FAQ by clicking the link above. I have an adobe air application running on both Android and iOS platforms. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |