The document discusses Spark architecture and components in Flex 4. It covers the differences between MX/Halo and Spark, and describes the Spark architecture as having a Model-View-Controller structure. Several topics are discussed, including the component lifecycle in Flex 4, custom components, and the Elastic Racetrack demo. Links are provided to additional resources on Spark, the Flex 4 component lifecycle, and creating custom components in Flex 4.
1 of 32
Downloaded 29 times
More Related Content
精讲贵濒别虫4自定义组件开发
1. Flex4
JexChan @gmail.com
http://www.jexchen.com
2010.12.02
Thursday, December 2, 2010
19. 组 开发
Render
SWF Marshals
Thursday, December 2, 2010
20. 组 开发
LifeCycle
Birth Life Death
Thursday, December 2, 2010
21. 组 开发
LifeCycle
BRITH
preinitialize
initial
LIFE
createCompmlete
DEATH
Thursday, December 2, 2010
22. 组 开发
?
LifeCycle ?
?
?
LIFE
Thursday, December 2, 2010
23. 组 开发
LifeCycle // Create a Group container.
var groupContainer:Group = new Group();
// Configure the Group container.
groupContainer.x = 10;
groupContainer.y = 10;
// Create a Button control.
var b:Button = new Button()
// Configure the button control.
b.label = "Submit";
...
// Add the Button control to the Box
container.
groupContainer.addElement(b);
Thursday, December 2, 2010
24. 组 开发
LifeCycle
// Create a Button control.
var b:Button = new Button()
BRITH Constructor
Thursday, December 2, 2010
26. 组 开发
LifeCycle
// Add the Button control to the
Box container.
gropContainer.addElement(b);
BRITH
preinitialize
initial
http://help.adobe.com/en_US/?ex/using/WS460ee381960520ad-2811830c121e9107ecb-7fff.html
Thursday, December 2, 2010
29. 组 开发
Container Component
LifeCycle
Thursday, December 2, 2010
30. 组 开发
LifeCycle
SDK ~~
Thursday, December 2, 2010
31. Link
A brief overview of the Spark architecture and component set
http://www.adobe.com/devnet/?ex/articles/?ex4_sparkintro.html
Flex 4 Component Lifecycle
http://weblog.mrinalwadhwa.com/2009/06/21/?ex-4-component-lifecycle/
Elastic RaceTrack
http://www.craftymind.com/2008/04/18/updated-elastic-racetrack-for-?ash-9-and-avm2/
Using Flex4 - Custom components
http://help.adobe.com/en_US/?ex/using/WS4bebcd66a74275c35bf45738120d4f86190-8000.html
Thursday, December 2, 2010
32. ?~?~
http://www.riameeting.com/
Thursday, December 2, 2010