flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Harui (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33133) SWC External Libraries included when FactoryClass is used.
Date Tue, 03 Jul 2012 06:21:20 GMT

    [ https://issues.apache.org/jira/browse/FLEX-33133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405652#comment-13405652

Alex Harui commented on FLEX-33133:

I didn't look in the test case, but in general, in a Flex app's frame 1 there can't be external
classes.  Frame 1 might load external classes needed by Frame 2, but for the most part, the
verifier will pretty much insist that classes are there before you hit them, so the linker
crams them all in.  It doesn't do any sort of flow analysis.
> SWC External Libraries included when FactoryClass is used.
> ----------------------------------------------------------
>                 Key: FLEX-33133
>                 URL: https://issues.apache.org/jira/browse/FLEX-33133
>             Project: Apache Flex
>          Issue Type: Bug
>    Affects Versions: Adobe Flex SDK 4.6 (Release)
>            Reporter: Andy Moore
>            Assignee: Bertrand Delacretaz
>              Labels: newbie
> I'm using FlashDevelop to create native .IPA-compiled projects from AS3 code. I noticed
when I include an .SWC library externally (and later compile in an .ANE for the final build),
it always errored and crashed on me.
> I eventually tracked this down to preloader behaviour. I use a factoryClass to build
a preloader to my application, and any references to .SWC classes within the preloader will
be included despite the compiler being instructed to leave them as external libraries. Moving
my references out of the preloader will result in an appropriate compile with no errors.
> I've posted a longer description and a test project w/examples here:
> http://www.andymoore.ca/2012/07/swc-files-included-in-swf/

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message