Learn Flex 4 from Scratch - Learn Flex 4 from Scratch
Welcome to Learn Fx4 from Scratch, this wiki will attempt to cover Flex 4 from beginning to end from a developer perspective.
I assume you...(Edit)
- ... know nothing about Flex.
- ... have programming experience.
- ... know XML, we will be seeing lots of it.
- ... have downloaded and installed Flash Builder 4 Beta 2.
Hello World:(Edit)
MXML (plain)<?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"> <s:Button label="Click Me!" height="100" width="200" fontSize="20" horizontalCenter="0" top="50" click="showLabel.visible=!showLabel.visible"/> <s:Label id="showLabel" text="Learning Flex 4 from Scratch!" visible="false" fontSize="40" horizontalCenter="0" verticalCenter="0"/> </s:Application>Outline:(Edit)
- What is Flex?
- Languages of Flex
- The Foundation of Flex - spark.components.Application
- MXML Namespaces
- spark.components.Application Events
- Element Creation
- addElement, addElementAt, removeElement, removeElementAt
- Element Properties
- States
- stateGroups, includeIn, excludeFrom
- ID Attribute
- MXML is AS3!
- <fx:Script/>
- Using Components
- Containers and Layout
- Graphics & FXG
- Spark Skinning
- Custom Components
- Data, Data, Data
- ???
Why?(Edit)
Somehow after a year working as Community Manager at Adobe, I found myself needing to learn Flex all over again from Scratch. To help me learn Flex 4, I decided to create this wiki in parallel as I learn. As I publish new pages in the wiki, I am learning too. Hopefully many will find the end result valuable.
I hope you enjoy Learn Flex 4 from Scratch!
Cheers,
ted ;)