Flex mojos build error - style 'backgroundColor' is only supported by type 'spark.components.SkinnableContainer' with the theme(s) 'spark, mobile'

2014-03-28 Thread Poonam Anand
Hi, I get below build error : style 'backgroundColor' is only supported by type 'spark.components.SkinnableContainer' with the theme(s) 'spark, mobile' What is it that I am missing? //MXML snippet s:SkinnableContainer xmlns:fx=http://ns.adobe.com/mxml/2009;

Re: AS3 Zend Framework, and datagrid updates after add/update or delete operations on a Database table

2014-03-28 Thread SmileySnr
Success. I followed your lead with setting up listeners. The following issued before a database action (create/delete/update) will create a listener waiting for the task to compete. ulmsService.addEventListener(ResultEvent.RESULT, ulmsService.updateDataGrid); within the ulmsService a

Global Variables

2014-03-28 Thread SmileySnr
Due to the size of the script area in the my main project mxml file, I decided to break it up into several class files. One for each database table. I have adopted a crude mechanism to move data around from the mxml to the as scripts and between the as scripts. I have setup a class call Globals,

Re: Air 4 or 13beta for the AppStore? + strange error

2014-03-28 Thread Gabriele Campi [Media Logic]
The problem is not in the mobile.swc file I removed it but the error persists. In the error_log tab remains just one error: Uncaught exception in compiler java.lang.NoClassDefFoundError: com/adobe/agl/charset/CharsetICU at com.adobe.fontengine.CharsetUtil.forNameICU(Unknown Source) at

Re: Global Variables

2014-03-28 Thread Martin Miko
Or make the Globals a singleton(ish) class, for ref. see [1]. All approaches are valid and depend on what you want to build and how maintainable it should be. [1] http://www.swinburne.edu.au/design/tutorials/P-flash/T-How-to-build-a-Singleton-in-Actionscript-3/ID-143/ Martin On Fri, Mar 28,

Re: Global Variables

2014-03-28 Thread jfb
Hi, Look into use modules in Flex. http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-799a.html Best, -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Global-Variables-tp5815p5819.html Sent from the Apache Flex Users mailing list archive

Does Tree Have Property Like OpenItemAt

2014-03-28 Thread Patil, Virat
Does mx: Tree Component have property like openItemAt particular Depth. Is there any way to achieve it ? This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not

RE: Does Tree Have Property Like OpenItemAt

2014-03-28 Thread Maurice Amsellem
Do you want to open all items up to a given depth (auto-expand) or only one given item? -Message d'origine- De : Patil, Virat [mailto:virat.pa...@capgemini.com] Envoyé : vendredi 28 mars 2014 13:23 À : users@flex.apache.org Objet : Does Tree Have Property Like OpenItemAt Does mx: Tree

RE: Does Tree Have Property Like OpenItemAt

2014-03-28 Thread Patil, Virat
I want to expand a item at specific Depth -Original Message- From: Maurice Amsellem [mailto:maurice.amsel...@systar.com] Sent: Friday, March 28, 2014 6:10 PM To: users@flex.apache.org Subject: RE: Does Tree Have Property Like OpenItemAt Do you want to open all items up to a given depth

Re: Does Tree Have Property Like OpenItemAt

2014-03-28 Thread FlexJava Developer
mx.controls.Tree.expandChildrenOf(item:Object, open:Boolean):void Opens or closes all the tree items below the specified item. If you set dataProvider and then immediately call expandChildrenOf() you may not see the correct behavior. You should either wait for the component to validate or call

Re: Global Variables

2014-03-28 Thread Alex Harui
The other posts make good suggestions, but the simplest (and potentially filthiest) is to declare public variables on the main app and reference them from other classes via FlexGlobals.topLevelApplication. -Alex On 3/28/14 3:48 AM, jfb j.ballada...@verizon.net wrote: Hi, Look into use modules

Re: Air 4 or 13beta for the AppStore? + strange error

2014-03-28 Thread Alex Harui
How did you install 4.12? With the InstallApacheFlex app or by ant script? It sounds like the embedded font libraries did not get installed or are corrupted. -Alex On 3/28/14 2:47 AM, Gabriele Campi [Media Logic] gabriele.ca...@medialogic.eu wrote: The problem is not in the mobile.swc file I

Re: Air 4 or 13beta for the AppStore? + strange error

2014-03-28 Thread Gabriele Campi [Media Logic]
I used the Apache Flex Installer, and it's not the first time that the downloaded files result corrupted. I tried also this morning but the installation aborted on the osmf step. Gabriele // Il 28/03/14 14:17, Alex Harui ha scritto: How did you install 4.12? With the InstallApacheFlex app

Re: What map tools do you use for Flex?

2014-03-28 Thread Doug McCune
I highly recommend ModestMaps for the map component and MapBox for the basemaps. If you need superior aerial imagery and you're willing to pay then Bing is a great option (and can be used in ModestMaps or any map component, unlike most other imagery providers). On Fri, Mar 28, 2014 at 8:20 AM,

Re: Preparing ActionScript Bytecode

2014-03-28 Thread João Fernandes
Ok Alex, it seems I was profiling a debug version of the app and not the release one. The sabe build using a release version is around 1/4 of the debug one. So I still get around 200ms to 400ms per module (between 300k to 800k in size).Is this more acceptable as overhead? I still find it too much

Re: What map tools do you use for Flex?

2014-03-28 Thread Pedro Serralha
We are using MapQuest with a web project , and it looks fine. Some places aren't so detailed like on gmaps... Other solution is trying to use Html(javascript)/flash look at the answer of cfaigle on this http://stackoverflow.com/questions/14725861/embedding-google-maps-in-flash In my searches

Re: Preparing ActionScript Bytecode

2014-03-28 Thread João Fernandes
I think it's the self time (single frame) as you can see here [1][2][3]. The percent time is above 90% of the total frame time. [1] https://www.dropbox.com/s/x7suurimsxqhixk/Captura%20de%20tela%202014-03-28%2015.06.53.png [2]

Re: Preparing ActionScript Bytecode

2014-03-28 Thread Alex Harui
Yes, the images say self time is 1.6 seconds. How big is the module? It might be interesting to see what the FB profiler shows. -Alex From: João Fernandes joaopedromartinsfernan...@gmail.com Reply-To: users@flex.apache.org users@flex.apache.org Date: Friday, March 28, 2014 8:13 AM To:

Re: Preparing ActionScript Bytecode

2014-03-28 Thread João Fernandes
Alex, do you know what DefineBitsLossless2 id='xxx' encoding='base64' are? There are around 10k lines from this kind of definitions out of 11.5k lines. The traits you're talking about are placed before this definitions? On 28 March 2014 17:00, Alex Harui aha...@adobe.com wrote: Hmm. Those are

Re: What map tools do you use for Flex?

2014-03-28 Thread Paul Hastings
On 3/28/2014 9:55 PM, Cadu Alves wrote: What map tool are you using in Flex since Google Maps API will be deprecated after September? what's the use case? if you need spatial analysis tools or work with or in an ESRI-centric shop, can't beat ESRI. their flex API is pretty good for the most

Re: Preparing ActionScript Bytecode

2014-03-28 Thread Alex Harui
You need to use swfdump -abc You are only looking at SWF assets (bitmaps are DefineBitsLossLess) right now. -Alex On 3/28/14 10:41 AM, João Fernandes joaopedromartinsfernan...@gmail.com wrote: Alex, do you know what DefineBitsLossless2 id='xxx' encoding='base64' are? There are around 10k lines

Preparing ActionScript Bytecode

2014-03-28 Thread João Fernandes
I've noticed a lot of time is spent is this process when a module is loaded (movieClip.nextFrame preparing ActionScript Bytecode) and I wonder if there is any way to optimize and prevent so much overhead in this process. -- João Fernandes

Re: ADG sort with grouping collection

2014-03-28 Thread jfb
I fixed my issue: private function stringCompareFunction(a:Object, b:Object):int{ var s1:String = a.FY + a.KEY; var s2:String = b.FY + b.KEY; return ObjectUtil.stringCompare(s1, s2); } Thanks! -- View this message in context:

Re: Preparing ActionScript Bytecode

2014-03-28 Thread Alex Harui
On 3/28/14 11:10 AM, João Fernandes joaopedromartinsfernan...@gmail.com wrote: Ok, I got around 600k lines of DoABC2 content so I guess that's what's taking my ms away. Well some of that is traits and some is just method code, but yes, it helps you see how much traits info needs to be processed

Re: What map tools do you use for Flex?

2014-03-28 Thread Elena Geller
I used once MapQuest. 28 марта 2014 г. 15:56 пользователь Cadu Alves cadu.al...@8digital.com.br написал: Guys, What map tool are you using in Flex since Google Maps API will be deprecated after September? Best wishes, Cadu de Castro Alves Web Mobile Developer www.oitodigital.com.br

Re: What map tools do you use for Flex?

2014-03-28 Thread Paul Hastings
On 3/28/2014 10:35 PM, Doug McCune wrote: I highly recommend ModestMaps for the map component and MapBox for the still say mapbox's openstreets-based coverage isn't so hot. basemaps. If you need superior aerial imagery and you're willing to pay then Bing is a great option (and can be used in

Re: Preparing ActionScript Bytecode

2014-03-28 Thread João Fernandes
Ok, I got around 600k lines of DoABC2 content so I guess that's what's taking my ms away. On 28 March 2014 17:47, Alex Harui aha...@adobe.com wrote: You need to use swfdump -abc You are only looking at SWF assets (bitmaps are DefineBitsLossLess) right now. -Alex On 3/28/14 10:41 AM,

Re: Preparing ActionScript Bytecode

2014-03-28 Thread Alex Harui
Is that cumulative time or self time? What % of total time are you seeing? I thought that was simply the parsing of the module's ABC code. It shouldn't take long on its own and should be directly related to the amount of code in the module. -Alex On 3/28/14 7:42 AM, João Fernandes

ADG sort with grouping collection

2014-03-28 Thread jfb
Hi All, I lost my DB sort in advanced datagrid after apply the grouping collection. grids:dataProvider mx:GroupingCollection2 id=gc mx:grouping mx:Grouping label=YEAR mx:GroupingField name=FY

Re: What map tools do you use for Flex?

2014-03-28 Thread Chris Casavelha
I'm using Distriqt ANE ( http://distriqt.com/product/air-native-extensions/native-maps) It works fine, both on iOS and Android, but have some draw backs: 1. It does not include geolocation, only maps API, so no address search or auto-complete; 2. It render the map directly to stage,

Re: ADG label for Grouping

2014-03-28 Thread jfb
I was able to get the grouping source data with: private function summObjFuncTitle():SummaryObject { // Define the object containing the summary data. var obj:SummaryObject = new SummaryObject(); var tempGC:GroupingCollection2 = gc;

Re: What map tools do you use for Flex?

2014-03-28 Thread Javier Guerrero García
Have you tried paying for the API? :) Just joking :) Here's a workarround (maybe): instead of directly loading the response from the API in a stagewebview, load the HTML in a previous request, modify it as you wish (replace your banner div or whatever with null), and then use the loadString (or

Re: What map tools do you use for Flex?

2014-03-28 Thread Cadu Alves
Oh, sorry. I forgot to say that it's for a mobile projeto. Flex IFrame supports it? Att, Cadu de Castro Alves Web Mobile Developer www.oitodigital.com.br On Fri, Mar 28, 2014 at 12:15 PM, Pedro Serralha pedro.serra...@elegedata.com wrote: We are using MapQuest with a web project , and it