Differences
This shows you the differences between two versions of the page.
— | devwiki:flash [2021/08/28 07:49] (current) – created ying | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Flash platform based application development====== | ||
+ | |||
+ | Advantage of Flash: | ||
+ | * swf output file is supported on web and desktop, even on mobile environment | ||
+ | * swf can be further converted into " | ||
+ | * swf can be further converted into AIR package, which supported on Win, Mac, Linux and web | ||
+ | * Flash has actionscript (coding) and rich-interface components, good for fast easy UI app creation | ||
+ | * swf can be created used open source app with xml files | ||
+ | * swf can be dynamically generated on web, like using PHP | ||
+ | * swf can read and write other media formats like video, sound, text, | ||
+ | * swf can handle database and xml data | ||
+ | |||
+ | Disadvantage: | ||
+ | * It is flash, like Java, not fast, small, native enough | ||
+ | * It is controlled and owned by Adobe | ||
+ | |||
+ | Dev tool: | ||
+ | * free tool but not for freedom: [[http:// | ||
+ | * free tool and for freedom: [[http:// | ||
+ | * best free option (mxml to swf compiler) (so-called Flex) [[http:// | ||
+ | |||
+ | |||
+ | ====== Object oriented Develop with AS 3.0 ====== | ||
+ | |||
+ | - create object in runtime from library <code actionscript> | ||
+ | addChild(c); | ||
+ | - get and set Object property <code actionscript> | ||
+ | c.x=graph_x; | ||
+ | c.y=graph_y; | ||
+ | </ | ||
+ | - function definition <code actionscript> | ||
+ | function drawNode(){ | ||
+ | | ||
+ | } | ||
+ | |||
+ | drawNode(); | ||
+ | </ | ||
+ | - array <code actionscript> | ||
+ | var newPos: | ||
+ | newPos=getPos(c); | ||
+ | </ | ||
+ | - global variable <code actionscript> | ||
+ | // as long as in the same page, all accessible | ||
+ | </ | ||
+ | |||
+ | ====== ActionScript IDE====== | ||
+ | |||
+ | * MiniBuilder online: http:// | ||
+ | * FlashDevelop: | ||
+ | |||
+ | ====== Flash Extended development by other developers====== | ||
+ | |||
+ | * Flash based 3D engine | ||
+ | * Alternative Platform: http:// | ||
+ | * demo http:// | ||