You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Alex Harui <ah...@adobe.com> on 2014/07/01 06:06:45 UTC
RE: 4.12.1 Compile issue with mobile
Are you using an IDE or Ant? Does the SWF size seem similar to the 4.10 version? I'm wondering if any spark classes are getting linked in.
-Alex
________________________________________
From: David Welch [davidbwelch@hotmail.com]
Sent: Monday, June 30, 2014 10:54 AM
To: users@flex.apache.org
Subject: 4.12.1 Compile issue with mobile
I have a mobile app (on all the major app stores) that was compiled with
4.10.0 FP 11.8 Air 3.8, but, I just installed 4.12.1, took all the options
using the Apache Flex SDK Installer, but, whenever I use this SDK, I now get
error about ActionScriptSKinBase not defined. I can run just a simple
mobile projects (New...,Mobile Project) using this SDK, but, can't get my
previously working mobile app to compile using the new SDK.
Anyone else run into this issue? Full stack trace below.
ReferenceError: Error #1065: Variable spark.skins::ActionScriptSkinBase is
not defined.
at
global$init()[/Users/aharui/flex-sdk-4.12.1/frameworks/projects/mobiletheme/src/spark/skins/mobile/SkinnableContainerSkin.as:34]
at Function/<anonymous>()
at
mx.styles::CSSStyleDeclaration/http://www.adobe.com/2006/flex/mx/internal::addDefaultStyleToProtoChain()[/Users/aharui/flex-sdk-4.12.1/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as:974]
at
mx.styles::CSSStyleDeclaration/http://www.adobe.com/2006/flex/mx/internal::addStyleToProtoChain()[/Users/aharui/flex-sdk-4.12.1/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as:904]
at
mx.styles::StyleProtoChain$/initProtoChain()[/Users/aharui/flex-sdk-4.12.1/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as:258]
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::initProtoChain()[/Users/aharui/flex-sdk-4.12.1/frameworks/projects/framework/src/mx/core/UIComponent.as:11458]
at
mx.core::UIComponent/regenerateStyleCache()[/Users/aharui/flex-sdk-4.12.1/frameworks/projects/framework/src/mx/core/UIComponent.as:11521]
at
mx.managers.systemClasses::ChildManager/addingChild()[/Users/aharui/flex-sdk-4.12.1/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as:168]
at
mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[/Users/aharui/flex-sdk-4.12.1/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as:360]
at
mx.managers::SystemManager/initializeTopLevelWindow()[/Users/aharui/flex-sdk-4.12.1/frameworks/projects/framework/src/mx/managers/SystemManager.as:3065]
at
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[/Users/aharui/flex-sdk-4.12.1/frameworks/projects/framework/src/mx/managers/SystemManager.as:2851]
at
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[/Users/aharui/flex-sdk-4.12.1/frameworks/projects/framework/src/mx/managers/SystemManager.as:2731]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.preloaders::Preloader/timerHandler()[/Users/aharui/flex-sdk-4.12.1/frameworks/projects/framework/src/mx/preloaders/Preloader.as:572]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/4-12-1-Compile-issue-with-mobile-tp7087.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
RE: 4.12.1 Compile issue with mobile
Posted by David Welch <da...@hotmail.com>.
Maurice/Alex:
Trying to focus on the LinkedInMobileLib project, since you mentioned this
in the posts.
Not sure if this is relevant, but, in the main project "Referenced
Libraries" list, the LinkedInMobileLib.swc (which is an included mobile
library project), it displays compiled (*.abc) classes for
spark.skins.mobile.* classes, but, I don't see anything referencing these in
the actual library project LinkedInMobileLib.
That seems strange to me, why would it include these compiled libs that
aren't referenced in the Library path, or source path of the
LinkedInMobileLib library project.
Have included screens of this, let me know if you need any more detail.
And, thanks for the assistance in trying to resolve this.
<http://apache-flex-users.2333346.n4.nabble.com/file/n7153/MainProjectLibs.png>
<http://apache-flex-users.2333346.n4.nabble.com/file/n7153/LinkedInProject.png>
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/4-12-1-Compile-issue-with-mobile-tp7087p7153.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: TileGroup grows unnecessary
Posted by Frank Dahmen <fr...@dahmenia.de>.
setting height to 100% and validateNow() does not help
yes, i could compute the height each time the user adds an icon
but i thought its a misconfiguration of the tilegroup or even a bug
i just found out that when i set the width of the tilegroup to a real value
(the measured width of the screen in the mobile view) and not to 100%
then it works
Am 03.07.2014 18:13, schrieb mark goldin:
> If nothing else you can try using this function called after you have done
> adding controls:
>
> ...
> validateNow();
> resizeTileGroup();
>
> private function resizeTileGroup():void
> {
> var maxH:int = 0;
> for (var i:int=1;i<=rowCount;i++)
> {
> var elt:DisplayObject = getChildAt(i * columnCount - columnCount);
> maxH += elt.height;
> }
> height = maxH + verticalGap * rowCount;
> }
>
>
> On Thu, Jul 3, 2014 at 11:05 AM, mark goldin <ma...@gmail.com> wrote:
>
>> Try setting up height as well. Also see if validateNow() after you finish
>> adding images at the run time has any effect.
>>
>>
>> On Thu, Jul 3, 2014 at 11:03 AM, Frank Dahmen <fr...@dahmenia.de> wrote:
>>
>>> width is 100%, height has no value, it shall grow in height but only
>>> when needed (5 icons, 9 icons etc.)
>>>
>>>
>>> Am 03.07.2014 16:55, schrieb mark goldin:
>>>
>>> Have you set width and height of the control to percentage values?
>>>>
>>>> On Thu, Jul 3, 2014 at 2:47 AM, Frank Dahmen <fr...@dahmenia.de> wrote:
>>>>
>>>> Hi,
>>>>> I have a tilegroup where i add icons (spark images) at runtime.
>>>>> There is enough room for 4 icons in one row of the tilegroup,
>>>>> but when adding the third icon the group grows as for making room for
>>>>> the
>>>>> next row,
>>>>> although the third icon is placed in the first row (the 4th also)
>>>>> the same is for the 2nd row and the 7th icon and so on
>>>>> here some high tech graphics to show what i mean ;)
>>>>>
>>>>> 2 icons (right):
>>>>> -----------------------------
>>>>> icon icon
>>>>> -----------------------------
>>>>>
>>>>>
>>>>> 3 icons (wrong):
>>>>> ----------------------------
>>>>> icon icon icon
>>>>>
>>>>>
>>>>> ----------------------------
>>>>>
>>>>>
>>>>> should be:
>>>>> ---------------------------
>>>>> icon icon icon
>>>>> ---------------------------
>>>>>
>>>>>
>>>>> what I'm doing wrong?
>>>>> thanks
>>>>> Frank
>>>>>
>>>>>
Re: TileGroup grows unnecessary
Posted by mark goldin <ma...@gmail.com>.
If nothing else you can try using this function called after you have done
adding controls:
...
validateNow();
resizeTileGroup();
private function resizeTileGroup():void
{
var maxH:int = 0;
for (var i:int=1;i<=rowCount;i++)
{
var elt:DisplayObject = getChildAt(i * columnCount - columnCount);
maxH += elt.height;
}
height = maxH + verticalGap * rowCount;
}
On Thu, Jul 3, 2014 at 11:05 AM, mark goldin <ma...@gmail.com> wrote:
> Try setting up height as well. Also see if validateNow() after you finish
> adding images at the run time has any effect.
>
>
> On Thu, Jul 3, 2014 at 11:03 AM, Frank Dahmen <fr...@dahmenia.de> wrote:
>
>> width is 100%, height has no value, it shall grow in height but only
>> when needed (5 icons, 9 icons etc.)
>>
>>
>> Am 03.07.2014 16:55, schrieb mark goldin:
>>
>> Have you set width and height of the control to percentage values?
>>>
>>>
>>> On Thu, Jul 3, 2014 at 2:47 AM, Frank Dahmen <fr...@dahmenia.de> wrote:
>>>
>>> Hi,
>>>>
>>>> I have a tilegroup where i add icons (spark images) at runtime.
>>>> There is enough room for 4 icons in one row of the tilegroup,
>>>> but when adding the third icon the group grows as for making room for
>>>> the
>>>> next row,
>>>> although the third icon is placed in the first row (the 4th also)
>>>> the same is for the 2nd row and the 7th icon and so on
>>>> here some high tech graphics to show what i mean ;)
>>>>
>>>> 2 icons (right):
>>>> -----------------------------
>>>> icon icon
>>>> -----------------------------
>>>>
>>>>
>>>> 3 icons (wrong):
>>>> ----------------------------
>>>> icon icon icon
>>>>
>>>>
>>>> ----------------------------
>>>>
>>>>
>>>> should be:
>>>> ---------------------------
>>>> icon icon icon
>>>> ---------------------------
>>>>
>>>>
>>>> what I'm doing wrong?
>>>> thanks
>>>> Frank
>>>>
>>>>
>>
>
Re: TileGroup grows unnecessary
Posted by mark goldin <ma...@gmail.com>.
Try setting up height as well. Also see if validateNow() after you finish
adding images at the run time has any effect.
On Thu, Jul 3, 2014 at 11:03 AM, Frank Dahmen <fr...@dahmenia.de> wrote:
> width is 100%, height has no value, it shall grow in height but only when
> needed (5 icons, 9 icons etc.)
>
>
> Am 03.07.2014 16:55, schrieb mark goldin:
>
> Have you set width and height of the control to percentage values?
>>
>>
>> On Thu, Jul 3, 2014 at 2:47 AM, Frank Dahmen <fr...@dahmenia.de> wrote:
>>
>> Hi,
>>>
>>> I have a tilegroup where i add icons (spark images) at runtime.
>>> There is enough room for 4 icons in one row of the tilegroup,
>>> but when adding the third icon the group grows as for making room for the
>>> next row,
>>> although the third icon is placed in the first row (the 4th also)
>>> the same is for the 2nd row and the 7th icon and so on
>>> here some high tech graphics to show what i mean ;)
>>>
>>> 2 icons (right):
>>> -----------------------------
>>> icon icon
>>> -----------------------------
>>>
>>>
>>> 3 icons (wrong):
>>> ----------------------------
>>> icon icon icon
>>>
>>>
>>> ----------------------------
>>>
>>>
>>> should be:
>>> ---------------------------
>>> icon icon icon
>>> ---------------------------
>>>
>>>
>>> what I'm doing wrong?
>>> thanks
>>> Frank
>>>
>>>
>
Re: TileGroup grows unnecessary
Posted by Frank Dahmen <fr...@dahmenia.de>.
width is 100%, height has no value, it shall grow in height but only
when needed (5 icons, 9 icons etc.)
Am 03.07.2014 16:55, schrieb mark goldin:
> Have you set width and height of the control to percentage values?
>
>
> On Thu, Jul 3, 2014 at 2:47 AM, Frank Dahmen <fr...@dahmenia.de> wrote:
>
>> Hi,
>>
>> I have a tilegroup where i add icons (spark images) at runtime.
>> There is enough room for 4 icons in one row of the tilegroup,
>> but when adding the third icon the group grows as for making room for the
>> next row,
>> although the third icon is placed in the first row (the 4th also)
>> the same is for the 2nd row and the 7th icon and so on
>> here some high tech graphics to show what i mean ;)
>>
>> 2 icons (right):
>> -----------------------------
>> icon icon
>> -----------------------------
>>
>>
>> 3 icons (wrong):
>> ----------------------------
>> icon icon icon
>>
>>
>> ----------------------------
>>
>>
>> should be:
>> ---------------------------
>> icon icon icon
>> ---------------------------
>>
>>
>> what I'm doing wrong?
>> thanks
>> Frank
>>
Re: TileGroup grows unnecessary
Posted by mark goldin <ma...@gmail.com>.
Have you set width and height of the control to percentage values?
On Thu, Jul 3, 2014 at 2:47 AM, Frank Dahmen <fr...@dahmenia.de> wrote:
> Hi,
>
> I have a tilegroup where i add icons (spark images) at runtime.
> There is enough room for 4 icons in one row of the tilegroup,
> but when adding the third icon the group grows as for making room for the
> next row,
> although the third icon is placed in the first row (the 4th also)
> the same is for the 2nd row and the 7th icon and so on
> here some high tech graphics to show what i mean ;)
>
> 2 icons (right):
> -----------------------------
> icon icon
> -----------------------------
>
>
> 3 icons (wrong):
> ----------------------------
> icon icon icon
>
>
> ----------------------------
>
>
> should be:
> ---------------------------
> icon icon icon
> ---------------------------
>
>
> what I'm doing wrong?
> thanks
> Frank
>
TileGroup grows unnecessary
Posted by Frank Dahmen <fr...@dahmenia.de>.
Hi,
I have a tilegroup where i add icons (spark images) at runtime.
There is enough room for 4 icons in one row of the tilegroup,
but when adding the third icon the group grows as for making room for
the next row,
although the third icon is placed in the first row (the 4th also)
the same is for the 2nd row and the 7th icon and so on
here some high tech graphics to show what i mean ;)
2 icons (right):
-----------------------------
icon icon
-----------------------------
3 icons (wrong):
----------------------------
icon icon icon
----------------------------
should be:
---------------------------
icon icon icon
---------------------------
what I'm doing wrong?
thanks
Frank
Re: 4.12.1 Compile issue with mobile
Posted by David Welch <da...@hotmail.com>.
Hi OmPrakash:
Thanks for the suggestion, I just posted the app to the showcase. It's been
in production since early last year and has done very well for IBM and my
company, Omnience (formerly Meeting Consultants).
I posted here https://issues.apache.org/jira/browse/FLEX-34396
Let me know if I need to do anything else to the post.
Thanks,
David
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/4-12-1-Compile-issue-with-mobile-tp7087p7156.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: 4.12.1 Compile issue with mobile
Posted by OmPrakash Muppirala <bi...@gmail.com>.
On Wed, Jul 2, 2014 at 2:56 PM, David Welch <da...@hotmail.com> wrote:
> Sorry, should't have edited my previous post, so, I'll post this again...
>
> Maurice/Alex:
>
> I found the issue!
>
> The main project had the class spark.skins.mobile.supportClasses.MobileSkin
> in it (not sure from which SDK), for some reason. I don't see any comments
> in the code, so, I took it out and, no more errors!
>
> I'm assuming this was an intent to test something or a bad attempt at
> overriding some behavior, and, since it wasn't causing issues with any of
> the previous builds, it's never been an issue until now.
>
> Much thanks for helping out with this, and, in reviewing the build
> configuration, I'm sure if I would have sent you the main project you would
> have seen it immediately! Full speed ahead with putting out another
> mobile
> app on Flex/Air!
>
All the best! Do consider adding your app to our showcase[1] once it hits
production
Thanks,
Om
[1] http://flex.apache.org/community-showcase.html
>
> Regards,
> David
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/4-12-1-Compile-issue-with-mobile-tp7087p7154.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
RE: 4.12.1 Compile issue with mobile
Posted by Maurice Amsellem <ma...@systar.com>.
Good you found out.
BTW, it's the same error I was describing: monkey-patching an SDK class to override some behavior, and forgetting about it. :-)
Thanks for the showcase submission.
Maurice
-----Message d'origine-----
De : David Welch [mailto:davidbwelch@hotmail.com]
Envoyé : mercredi 2 juillet 2014 23:56
À : users@flex.apache.org
Objet : RE: 4.12.1 Compile issue with mobile
Sorry, should't have edited my previous post, so, I'll post this again...
Maurice/Alex:
I found the issue!
The main project had the class spark.skins.mobile.supportClasses.MobileSkin
in it (not sure from which SDK), for some reason. I don't see any comments
in the code, so, I took it out and, no more errors!
I'm assuming this was an intent to test something or a bad attempt at overriding some behavior, and, since it wasn't causing issues with any of the previous builds, it's never been an issue until now.
Much thanks for helping out with this, and, in reviewing the build configuration, I'm sure if I would have sent you the main project you would
have seen it immediately! Full speed ahead with putting out another mobile
app on Flex/Air!
Regards,
David
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/4-12-1-Compile-issue-with-mobile-tp7087p7154.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
RE: 4.12.1 Compile issue with mobile
Posted by David Welch <da...@hotmail.com>.
Sorry, should't have edited my previous post, so, I'll post this again...
Maurice/Alex:
I found the issue!
The main project had the class spark.skins.mobile.supportClasses.MobileSkin
in it (not sure from which SDK), for some reason. I don't see any comments
in the code, so, I took it out and, no more errors!
I'm assuming this was an intent to test something or a bad attempt at
overriding some behavior, and, since it wasn't causing issues with any of
the previous builds, it's never been an issue until now.
Much thanks for helping out with this, and, in reviewing the build
configuration, I'm sure if I would have sent you the main project you would
have seen it immediately! Full speed ahead with putting out another mobile
app on Flex/Air!
Regards,
David
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/4-12-1-Compile-issue-with-mobile-tp7087p7154.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
RE: 4.12.1 Compile issue with mobile
Posted by Maurice Amsellem <ma...@systar.com>.
>Yes, I was trying to avoid putting the name of the swc in the archives in case it was sensitive.
Sorry, I didn't think about this concern.
I remember already run into similar issue before: monkey-patched SDK class with the same name and package that was lingering in the code.
I can't remember exactly, but I think I also had this "class cannot be found" error.
Maurice
-----Message d'origine-----
De : Alex Harui [mailto:aharui@adobe.com]
Envoyé : mercredi 2 juillet 2014 18:44
À : users@flex.apache.org
Objet : Re: 4.12.1 Compile issue with mobile
On 7/2/14 9:36 AM, "Maurice Amsellem" <ma...@systar.com> wrote:
>
>Alex, is this the custom swc you were referring to ?
Yes, I was trying to avoid putting the name of the swc in the archives in case it was sensitive.
But it still doesn't fully explain the situation. The ActionScriptSkinBase definition appears to be in the SWF, and even if he had a custom out-of-date definition, it is hard for me to believe that it would result in this kind of error. But you never know...
-Alex
Re: 4.12.1 Compile issue with mobile
Posted by Alex Harui <ah...@adobe.com>.
On 7/2/14 9:36 AM, "Maurice Amsellem" <ma...@systar.com> wrote:
>
>Alex, is this the custom swc you were referring to ?
Yes, I was trying to avoid putting the name of the swc in the archives in
case it was sensitive.
But it still doesn't fully explain the situation. The
ActionScriptSkinBase definition appears to be in the SWF, and even if he
had a custom out-of-date definition, it is hard for me to believe that it
would result in this kind of error. But you never know...
-Alex
RE: 4.12.1 Compile issue with mobile
Posted by Maurice Amsellem <ma...@systar.com>.
Thanks Alex for you analysis, looks like you hit the nail on the head.
Looking at the different entries, I found the following:
<script name="/Volumes/disk2s1/Omnience/workspace/LinkedInMobileLib/bin/LinkedInMobileLib.swc(spark.skins.mobile.supportClasses:MobileSkin)" mod="1398662828000" size="1417" optimizedsize="850">
<def id="spark.skins.mobile.supportClasses:MobileSkin" />
Which means that LinkedInMobileLib.swc is including its own copy of MobileSkin instead of depending on it , and likely with a different definition.
Alex, is this the custom swc you were referring to ?
Maurice
-----Message d'origine-----
De : Alex Harui [mailto:aharui@adobe.com]
Envoyé : mercredi 2 juillet 2014 17:06
À : users@flex.apache.org
Objet : Re: 4.12.1 Compile issue with mobile
InterestingŠ
The link-report shows that ActionScriptSkinBase is in the SWF. The error you get happens when the SkinnableContainerSkin is initializing its base classes (which is MobileSkin which extends ActionScriptSkinBase. I don't know if this is the root issue, but the link-report shows that MobileSkin is coming from a custom swc instead of one of the Flex SWCs. Cleaning that up could resolve the problem, no guarantees though.
Next step would be to use 'swfdump -abc' and look at the order of the classes in the SWF.
-Alex
On 7/2/14 6:51 AM, "David Welch" <da...@hotmail.com> wrote:
>Alex:
>Sorry, never used the -linkreport option, attached the output.
>
>linkreport.txt
><http://apache-flex-users.2333346.n4.nabble.com/file/n7135/linkreport.t
>xt>
>
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/4-12-1-Compile-issue-wit
>h-m
>obile-tp7087p7135.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: 4.12.1 Compile issue with mobile
Posted by Alex Harui <ah...@adobe.com>.
InterestingŠ
The link-report shows that ActionScriptSkinBase is in the SWF. The error
you get happens when the SkinnableContainerSkin is initializing its base
classes (which is MobileSkin which extends ActionScriptSkinBase. I don't
know if this is the root issue, but the link-report shows that MobileSkin
is coming from a custom swc instead of one of the Flex SWCs. Cleaning
that up could resolve the problem, no guarantees though.
Next step would be to use 'swfdump -abc' and look at the order of the
classes in the SWF.
-Alex
On 7/2/14 6:51 AM, "David Welch" <da...@hotmail.com> wrote:
>Alex:
>Sorry, never used the -linkreport option, attached the output.
>
>linkreport.txt
><http://apache-flex-users.2333346.n4.nabble.com/file/n7135/linkreport.txt>
>
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/4-12-1-Compile-issue-with-m
>obile-tp7087p7135.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.
RE: 4.12.1 Compile issue with mobile
Posted by David Welch <da...@hotmail.com>.
Alex:
Sorry, never used the -linkreport option, attached the output.
linkreport.txt
<http://apache-flex-users.2333346.n4.nabble.com/file/n7135/linkreport.txt>
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/4-12-1-Compile-issue-with-mobile-tp7087p7135.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
RE: 4.12.1 Compile issue with mobile
Posted by Alex Harui <ah...@adobe.com>.
-link-report is a compiler option. It will output the set of classes linked into the SWF. It is different from the config dump, which looks ok to me.
-Alex
________________________________________
From: David Welch [davidbwelch@hotmail.com]
Sent: Tuesday, July 1, 2014 12:33 PM
To: users@flex.apache.org
Subject: RE: 4.12.1 Compile issue with mobile
Yes, the swf is 15mb. That doesn't seem to be that large to me, especially
when building a functional mobile app. This is a production mobile app for
over a year.
What is a "link" report? Do you mean the output from the -dump-config?
It's posted on another reply, but, I'll post here also.
flex-config.xml
<http://apache-flex-users.2333346.n4.nabble.com/file/n7126/flex-config.xml>
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/4-12-1-Compile-issue-with-mobile-tp7087p7126.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
RE: 4.12.1 Compile issue with mobile
Posted by David Welch <da...@hotmail.com>.
Yes, the swf is 15mb. That doesn't seem to be that large to me, especially
when building a functional mobile app. This is a production mobile app for
over a year.
What is a "link" report? Do you mean the output from the -dump-config?
It's posted on another reply, but, I'll post here also.
flex-config.xml
<http://apache-flex-users.2333346.n4.nabble.com/file/n7126/flex-config.xml>
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/4-12-1-Compile-issue-with-mobile-tp7087p7126.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
RE: 4.12.1 Compile issue with mobile
Posted by Alex Harui <ah...@adobe.com>.
The SWF is that big, or the final package?
The config looks ok, I don't see anything obvious. Next step is to examine a link-report. Can you post a link to a link-report?
Thanks,
-Alex
________________________________________
From: David Welch [davidbwelch@hotmail.com]
Sent: Tuesday, July 1, 2014 8:08 AM
To: users@flex.apache.org
Subject: RE: 4.12.1 Compile issue with mobile
I'm using Flashbuilder 4.7. The swf compiled using 4.10 is about 15mb, the
one using 4.12.1 is 18mb. I've attached the output from the dump-config on
another post.
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/4-12-1-Compile-issue-with-mobile-tp7087p7117.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
RE: 4.12.1 Compile issue with mobile
Posted by David Welch <da...@hotmail.com>.
I'm using Flashbuilder 4.7. The swf compiled using 4.10 is about 15mb, the
one using 4.12.1 is 18mb. I've attached the output from the dump-config on
another post.
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/4-12-1-Compile-issue-with-mobile-tp7087p7117.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
RE: 4.12.1 Compile issue with mobile
Posted by David Welch <da...@hotmail.com>.
Hi Maurice:
The Flashbuilder build path references the build path at the top. I've
tried using "use a specific sdk" on the compiler settings, or, to use the
default sdk (which is 4.12.1).
Attached is a print screen from Flashbuilder 4.7.
Screen_Shot_2014-07-01_at_1.png
<http://apache-flex-users.2333346.n4.nabble.com/file/n7123/Screen_Shot_2014-07-01_at_1.png>
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/4-12-1-Compile-issue-with-mobile-tp7087p7123.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
RE: 4.12.1 Compile issue with mobile
Posted by Maurice Amsellem <ma...@systar.com>.
Hi David,
The dump-config.xml is correct.
the attached .actionScriptProperties has no explicit reference to the SDK.
However, the source paths are still referencing SDK 4.6.0.
Could it be that the project is using an older SDK?
Can you please check that, or force the SDK
Maurice
-----Message d'origine-----
De : David Welch [mailto:davidbwelch@hotmail.com]
Envoyé : mardi 1 juillet 2014 17:32
À : users@flex.apache.org
Objet : RE: 4.12.1 Compile issue with mobile
I've also attached the .actionScriptProperties to show the build paths.
Again, this hasn't changed (that I know of) except for swapping out the SDK.
actionScriptProperties.xml
<http://apache-flex-users.2333346.n4.nabble.com/file/n7119/actionScriptProperties.xml>
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/4-12-1-Compile-issue-with-mobile-tp7087p7119.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
RE: 4.12.1 Compile issue with mobile
Posted by David Welch <da...@hotmail.com>.
I've also attached the .actionScriptProperties to show the build paths.
Again, this hasn't changed (that I know of) except for swapping out the SDK.
actionScriptProperties.xml
<http://apache-flex-users.2333346.n4.nabble.com/file/n7119/actionScriptProperties.xml>
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/4-12-1-Compile-issue-with-mobile-tp7087p7119.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.