Spark Component Architecture

This section describes the Spark component architecture introduced in Flex 4 to replace the MX component architecture in previous Flex versions.

The biggest change to Flex 4 is the introduction of a new skinning and component architecture called Spark. According to Adobe document, Spark is introduced to meet these goals:

The Spark component architecture is represented as:

Flex 4 offers a default component container called "Application" in the Spark component architecture. The "Application" container has a default size of 375x500 pixels and a default frameRate of 24 fps.

To use "Application" container in ActionScript API, you can extend a sub class from spark.components.Application class.

To use "Application" container in MXML API, you can use the Spark Application element:


Last update: 2010.

Table of Contents

 About This Book

 Introduction of Adobe Flash

 Adobe Flash Player Plugin for Firefox

 Adobe Flash Player Plugin for Chrome

 Adobe Flash Player Plugin for Safari

 Adobe Flash Player ActiveX for IE

 Using "object" Elements for Flash Files

 Using "embed" Elements for Flash Files

 "mp3player" - MP3 Music Player

 SWFObject - Hidding "object" behind JavaScript

 Flash Player Projector

 SWFTools - SWF File Manipulation Tools

 SWFC Script to Generate Flash SWF Files

 ActionScript Embedded in SWFC Script

 AS3Compile - ActionScript 3 Compiler

Adobe Flex SDK 4

 Downloading and Installing Flex SDK 4.1

 "mxmlc" - Adobe Flex Compiler

Spark Component Architecture

 MXML Example Using Spark Components

 Compiling ActionScript 3 Scripts with 'mxmlc'

 SWF Disassembler in Flex SDK

 Dumping Simple SWF Files

 Dumping SWF Files Containing ActionScript 3 Statements

 Dumping SWF Files Generated from ActionScript 3 Classes

 Dumping SWF Files Generated from MXML Applications

 SWF File Structure and Tags

 SWF File Processing Rules

 SWF Files for Video and Audio Streams

 Outdated Tutorials


 PDF Printing Version