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

SWFLoader fires CREATION_COMPLETE before application is instantiated, when sub-application uses rsls

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.5 (Release)
    • None
    • mx: SWFLoader
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows 7
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. create loading parent and loaded sub-application
      2. use some classes from some libraries in the sub application
      3. declare the libraries as rsls in the build path
      4. add event listeners to the swfloader in the main app listening for Creation_Complete

      Actual Results:
      loader.content.application is null

      Expected Results:
      loader.content.application is an instance of the sub-application

      Workaround (if any):
      declare all applications with "merged into code" library dependencies -> leads to huge application size with a couple of sub-applications
      EDIT: even with "merged into code" libraries the issue persists when I use library classes during the construction of the sub-application.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: