Welcome, Guest
  • Author Topic: Spark Panel stackorder  (Read 1759 times)

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Spark Panel stackorder
    « 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

    adiba414

    • Server what's that
    • *
    • Posts: 1
      • MSN Messenger - adiba414@gmail.com
      • AOL Instant Messenger - adiba414
      • Yahoo Instant Messenger - adiba414
      • View Profile
      • Email
    Re: Spark Panel stackorder
    « 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.
    Feel free to visit my website Phoenix exterminator