Monday, April 9, 2012

Flex CollapsiblePanel Component

Yea, I know. Everyone and their mother have created a collapsible panel component in Flex. However, this particular component is actually just one part of a larger component I've been working on. Figured it wouldn't hurt to release it as a standalone component. Other than that, there's nothing special about it.


Either scripts and active content are not permitted to run or Adobe Flash Player version 11.1.0 or greater is not installed.

Get Adobe Flash Player


Source  code located at: https://www.assembla.com/code/shinynet/subversion/nodes

8 comments:

  1. I'm trying to use this component in a mobile flex project.
    It doesn't give any errors in the code but when i try to start the program i get the following error:

    Error: Required skin part collapseArea cannot be found.

    In the project i just implemented the following files:
    CollapsiblePanel.as
    CollapsiblePanelSkin.mxml

    Any idea how to fix this?

    ReplyDelete
  2. Are you having this problem only when used in a mobile project? It's based off the spark Panel, which Adobe doesn't recommend using in mobile, and therefore, I haven't even tried using it in a mobile project.

    In any case, if you can verify that you're only having this problem in mobile projects and not regular projects, that would give me a better place to start looking.

    ReplyDelete
    Replies
    1. Required skin part collapseArea cannot be found. I am getting this error in my flex web project also

      Delete
    2. I am facing this error in web project also
      "Error: Required skin part collapseArea cannot be found."

      Delete
    3. I'll take a look today and update you. Thanks

      Delete
    4. I can't seem to duplicate this issue. Are you using the pre-compiled swc? Or are you building the project itself. If you're only getting this error when building the project yourself, then I have an idea what it might be.

      Delete
  3. The swc file is missing in the source code.Can u help ?

    ReplyDelete
  4. If you check out the trunk, you get the entire FlashBuilder project, from where you could just link to any other project or let the project compile and you'll find the swc in its bin folder.

    ReplyDelete