actionscript 3 - Which is best, make a multiple file or single file? -


i start new project flash professional cs6 , as3. project huge 1 lot alot of mcs, coding, pictures ... etc. in previous project flash 8, tried use several files working each others faced lot of problems in loading , interacting them. hard control specially when came loading stuff.

i don't know if has been changed in cs6, want advice. should use old strategy using many files? or should dump thing in 1 huge fla file?

in either case, best way arrange assets, codes, ... etc organised , easy work in coding , yet give high performance.

thank in advance.

you should go several source files, if project huge. first of all, create dedicated .fla file ui components , small/handmade elements, — assets.fla , compile assets.swc.

if compile project of flash professional cs6 (but recommend ide...), have 1 more .fla file, main.fla, it's entry point document class, , connected libraries(mostly .swc files)

images, huge animated scenes, these stuff external: bitmaps, swf files load in runtime, , unload/dispose, freeing memory.

actually, it's art organise project, scaleable, , without problems work in team, , not interfere each other


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -