Welcome, Guest. Please login or register.
Did you miss your activation email?
05/22/12, 18:51
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  General
| |-+  Flex, Air, FlashBuilder, Catalyst (Moderators: ..:: Mazhar Hasan ::.., kofi addaquay)
| | |-+  Spark Panel stackorder
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Spark Panel stackorder  (Read 1400 times)
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« on: 07/23/11, 14:38 »

Lately I was working in an Application where I should change elements stackOrder inside a Spark panel. I try first to use getChildIndex, swapChildAt, etc, but was inmediatly confused by the compiler that says that the method should be called from a chiller of the caller. After some research, I discover that all element manipulation inside the spark panel should be done using element, so

addChild turns addElement
swapChildIndex turns swapChildElement

And so on.

Jorge
Logged

adiba414
Server what's that
*
Posts: 1

adiba414@gmail.com adiba414 adiba414
View Profile Email
« Reply #1 on: 01/12/12, 07:17 »

You'll need to access the skin parts  directly. Take a look at the PanelSkin class; as the source should be included in the SDK. It appears the only element that may allow interaction is the titleDisplay; the rest of the title bar consists of FXG or MXML graphics.
Logged

Feel free to visit my website Phoenix exterminator
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!