3 Replies Latest reply on Dec 8, 2009 2:44 PM by Darrell Loverin

    Nested RSLs - Verify Error "Class not Found" Help

    viatropos Level 1

      Hi there,

       

      I have 2 library projects and one Application:

       

      TweenMax

      MyLibrary

      MyApplication

       

      If I make TweenMax into an RSL with these compiler arguments:

       

      -compute-digest=true -directory=true -output=rsl

       

      And I make MyLibrary into an RSL with these compiler arguments

       

      -compute-digest=true -allow-source-path-overlap=true -directory=true -output=rsl

       

      (I need that -allow-source-path-overlap=true so I can use the classes in MyApplication it seems)

       

      ...  And then I load the 2 libraries into MyApplication from "Flex Build Path" -> "Library Path" -> "Add Project", and I specify LinkType is RSL, and then I run MyApplication, I get the VerifyError:

       

      VerifyError: Error #1014: Class ..a class.. could not be found.

       

      I've tried adding a "crossdomain.xml" file to the root of MyLibrary and of MyApplication (at MyLibrary/crossdomain.xml or MyApplication/crossdomain.xml), with content:

       

      <cross-domain-policy>

          <allow-access-from domain="*" to-ports="*"/>

      </cross-domain-policy>

       

      But that doesn't change anything.  I am running this locally on a Mac (/Users/Lance/Documents/Flex Builder 3/MyApplication).  What am I doing wrong here?  Is it even possible to do nested RSLs like this?

       

      Thanks,

      Lance