Join David Gassner for an in-depth discussion in this video Using ‹fx:Reparent› to change containership, part of Flash Builder 4 and Flex 4 New Features.
Along with the new View State syntax in Flex 4, you can now use View States to…move objects from one container to another.…You do this using a Compiler tag called <fx:Reparent>.…It works like this.…I will demonstrate this in an application named ReparentDemo.mxml.…In this application, there are two declared states, named Default and State 2,…and two buttons that, when clicked, set the current state of the application to…one of the two states.…In the application, there is an Hgroup, or a horizontal group, and a panel…containing a custom component named Login.…
The Login component generates and displays a Login form.…There's also a second empty panel.…Here is how the Reparent tag works.…When you want to move an object from one container to another in a New View…State, you start by placing the <fx:Reparent> tag in the target container.…So, I will go to panel 2, and I will put in a tag of <fx:Reparent>.…I will set the following properties.…The target will be the ID of the object that I want to move,…
- Understanding MXML namespaces
- Moving classes and components between packages
- Managing templates for new MXML and ActionScript files
- Exploring MXML language changes
- Working with the Spark component framework
- Adding visual controls with CSS, MXML graphics, and custom Spark skins
- Displaying images and dynamic data
Skill Level Beginner
ActionScript 3.0 in Flex Builder 2.0 Essential Trainingwith Joey Lott12h 46m Intermediate
1. Getting Started
2. Using the New Flash Builder Features
3. Using the New MXML Language Features
4. Using Spark Components
5. Managing View States and Navigation
6. Controlling Visual Presentation
7. Working with Dynamic Data
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.