Skip navigation

Error #2046: The loaded file did not have a valid signature in flex 4

Apr 20, 2011 8:07 AM

  Latest reply: Darrell Loverin, May 4, 2011 12:36 PM
Replies
  • Currently Being Moderated
    May 4, 2011 8:02 AM   in reply to bucpatr1

    hello,

     

    I've done some further tests, always clearing player cache before.

     

    So, having empty cache, using default flex-config.xml it always look and load swz from Adobe site, ignoring local.

    I think it's the default behaviour.

     

    Trace has no meaningful infos since it loads with no error.

     

    Anyways, further loadings come from cache, only one request to Adobe fpdownload crossdomain.xml

     

     

     

    Jaco

     
    |
    Mark as:
  • Currently Being Moderated
    May 4, 2011 8:39 AM   in reply to jaco@pixeldump

    It sounds like you are you able to successfully run your application using cached RSLs. Is that correct?

     

     

    -Darrell

     
    |
    Mark as:
  • Currently Being Moderated
    May 4, 2011 9:25 AM   in reply to Darrell Loverin

    yes it seems so.

     

    works on my ubuntu box 10.10 and 11.04 notebook.

     

    I'll try to understand the way of using local swz, getting rid of Adobe site availability.

     

    If you find some helpful/practical infos, please post references, those on help.adobe are quite weak, thanx.

     

    Jaco

     
    |
    Mark as:
  • Currently Being Moderated
    May 4, 2011 9:55 AM   in reply to jaco@pixeldump

    Why don't you want to use the Adobe site? The RSLs there should be the correct RSLs for the SDK you are compiling with.

     

     

    -Darrell

     
    |
    Mark as:
  • Currently Being Moderated
    May 4, 2011 10:40 AM   in reply to Darrell Loverin

    hi,

     

    I have nothing against that way, but til yesterday they weren't available, so I spent many hours for nothing.

    Ohter issues are relevant to online/offline development, using SDK nightly builds and so on.

     

    I know I can "resolve" with


    -static-link-runtime-shared-libraries=true

    but it spit out cumbersome swf, specially on -debug=true and modules.

     

     

    Jaco

     
    |
    Mark as:
  • Currently Being Moderated
    May 4, 2011 12:36 PM   in reply to jaco@pixeldump

    Yes, RSLs are not posted for nightly builds. If SWZ files are not available for a build you can always deploy unsigned RSLs (swfs) with your application and it will still work (the default RSL configuration is to failover to RSLs in the same directory as the application). To see the default RSL configuration take a look at the "runtime-shared-library-path" elements in flex-config.xml.

     

     

    -Darrell

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points