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

CLONE -CLONE -"Compile CSS to SWF" does not work in subfolders

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 2.0.1 (Release)
    • None
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:

      1. Create assets folder.
      2. Create com/adobe/skins folder
      3. Create images folder
      4. Create style.css under assets
      5. Create MyRectangularBorder file under com/adobe/skins folder and just add line "class RoundedBorderSkin extends MyRectangularBorder {}"
      6. Copy some image to images folder
      7. Edit style.css add line ".text

      { borderSkin: ClassReference("com.adobe.skins.MyRectangularBorder "); }

      8. Right Click on file and pick "Compile CSS to SWF"
      9. I got two errors: "1120: Access of undefined property MyRectangularBorder" and "1172: Definition com.adobe.skins:MyRectangularBordercould not be found."
      10. Modify that line to: ".test

      { myImageIcon: Embed(source="/images/myImage.png"); }

      11. Error will be: "Invalid Embed directive in stylesheet - can't resolve source 'Embed(source = "/images/myImage.png")'. "

      Workaround (if any):

      Moving style.css to Project root level. Works fine, but I would like to create multiple folders, same css file name and use diffrent styles.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: