iOS development in Flash CS5
- Started
- Last post
- 8 Responses
- nicolasdesle
Seems very hard to find info or tutorials on this subject...
- akrokdesign0
no wonder you site isn't ready.
- chrisRG0
actully, it's quite easy to be done. it's the same flash you do for websites. but performance is terrible.
- Boz0
^ performance can be great but it requires a lot of screwing around to code smart to get that said performance..
With this being said, it's A LOT easier writing for iPhone 4 and iPad because they have more powerful processors and you can get away without some optimization things but if you are writing it to support iPhone 3G, it's going to take a lot of fine tuning to make it work.
On Android, it's much much better but you still need to optimize.
This is all great though because Flash developers who do mobile will finally have to learn best practices in regards to memory allocation, adding and removing objects from memory, using bitmap matrix and cacheAsBitmap (these 2 commands in mobile developement in flash allow you to write the bitmaps and objects you move into GPU so it does animations via hardware and not CPU) etc etc..
- na, performance is terrible. wasted 3 weeks doing android/iphone flash/air/ios comparisons...kingsteven
- you are not doing it right.. you have to read carefully documentation and when to use cacheAsBitmap, cacheAsBitmapMatrix... it's not going to be magically fast when you pile up a shit ton of clips and you code like you do on a desktop.. those days are overBoz
- cacheAsBitmapMatrix... it's not going to be magically fast when you pile up a shit ton of clips and you code like you do on a desktop.. those days are overBoz
- desktop.. those days are overBoz
- na dude, we were scrolling bitmaps/ checking framerates on video/ audio performance.kingsteven
- real core stuff. went through the AIR mobile guidelines several times. same code - flash & android.kingsteven
- nah.. performance is pretty good.. you can see here a very heavy image scroller with a ton of images http://vimeo.com/119…Boz
- http://vimeo.com/119…
Performance is fantastic.Boz - yes, you compiled this for iOS? so did we. got it up to 16fps on a 3GS after some hacking - 10fps on 3Gkingsteven
- chrisRG0
^ Yeap, I agree.
Btw, this is a valuable reading if you want to start on it. (and if you're working with any Flash at all)
- nicolasdesle0
Thanks
- kingsteven0
Wasted a good few weeks compiling air apps for various iOS/ Android devices when i should have been learning objective-c. Working between Flash (timeline & prototyping) and xCode now. Currently outputting animation sequences as objective-c (text NSArray declarations) straight from Flash. Best of both worlds.
- You were doing it wrong.Boz
- Jeez Boz, I usually like you're Flash loyalty... You're not winning this one.kingsteven
- ha..I was just joking around.. yes it does run like shit on older iphones..Boz
- Boz0
LOL good luck developing in Objective-C.. I know it so so and it's a bitch.. it takes me 2 weeks to write something I write in AS3 in 2 days.
and btw, iOS version of AIR is way behind.. nobody else to thank for that but Steve Jobs.. AIR runs great on Android.. sooo far ahead of iOS packager.
- Adobe AIR and you blame Jobs, greaternexbcn
- It does take ages to code... as I said programmically creating the array declarations in flash speeds things up a bit...kingsteven
- I find it a much more purposeful language for mobile - it almost enforces memory management.kingsteven
- yep..because you have to take care of garbage collection yourself.. I'd rather have my balls cut off.Boz
- ernexbcn..it is Steve Jobs to blame 100%.. They banned iPhone packager so naturally, Adobe continued to improve AIR for Android while they abandoned IPhone Packager (there was no point in improving it when Steve Jobs killed it).Boz
- AIR for Android while they abandoned IPhone Packager (there was no point in improving it when Steve Jobs killed it).Boz