Hasty Briefsbeta

Bilingual

Beej's Bit Bucket

a day ago
  • Flash programming is fun and offers cross-platform distribution via web pages or AIR apps.
  • Adobe's Flex SDK is free and provides the mxmlc compiler for ActionScript development.
  • You can write Flash applications using only ActionScript, without the overhead of Flex's XML-based GUI.
  • Use mxmlc to compile .as files into .swf files; fcsh provides a resident compiler shell for faster rebuilds.
  • Example Hello.as: create a TextField, set text, and add it to the display list (Sprite subclass).
  • Metadata tags like [SWF] allow setting output properties (width, height, background color).
  • Ensure DisplayObjects are added to a DisplayObjectContainer (like Sprite) to appear on screen.