Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-19466

SwcCache seems to get mixed up; SkinParts of SkinnableComponent base class sometimes not resolving.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      [New steps after conversation with Corey]
      0. Be sure com.adobe.flexbuilder.project/useGlobalSwcCache=true
      1. Restart Builder.
      2. Import the attached project into Builder and run it. Note that the slider is blue (or should be).
      3. Right click > Properties > Flex Build Path > Library Path tab.
      4. Move the libs folder to the top or bottom...whichever it is not now.
      5. Clean and run. Now the slider is white.
      6. Restart Builder.
      7. Clean and then run. Now the slider is blue.

      Or something along those lines...The steps are squirrely. These exact steps reproduce on my machine, but may not be the minimal amount necessary to reproduce the bug.

      [Original steps]
      Steps to reproduce:
      1. Import the attached project into Flex Builder.
      2. Make sure the project is set to build against the Flex 4 SDK, the SDK should correspond to a recent build (trunk).
      3. Run the applet.

      Actual/Expected Results:

      When you run it you should see a blue slider, with two thumbs at opposite ends. If it's not working there is no blue track and the thumbs are super-imposed.

      Expected Results:

      Workaround (if any):

      Build from command line!! Works just fine.

      This test application contains a new component derived from HSlider, (TwoThumbSlider.as). This class adds a new SkinPart (thumb2). For some reason at compile time (and only when building with FB), the skin parts of the base class (HSlider, TrackBase) are lost. So at runtime the component does not function correctly.

      When you build from the command line against the very same SDK, all is well.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: