Re: AlivePDF

2014-11-14 Thread Sascha Ahrend
Ok, thank you, Paul, for sharing your experience here. I never used ActionScript workers, but from what i understand, maybe it would be a way to create pages parallely instead in series to speed up the process. I hope that works because i need to deal with 300 dpi images in various sizes. There

Re: Singleton question

2014-11-14 Thread Harbs
No. That’s wrong. It should be: private static var _instance:ModelLocator; public static function getInstance():ModelLocator { if(! _instance) _instance = new ModelLocator(); return _instance; } (No else, and you need to assign _instance.) On Nov 14, 2014, at 7:23 AM, pkumar.flex wrote:

AW: Binding and singleton

2014-11-14 Thread Krüger , Olaf
>When I am debugging I see that _instance is always different object when I get >an instance of my singleton. Is that right? I don't know if this is helpful: I've tested your singleton implementation by creating some instances of 'ModelLocator'. As expected it always returns the same instance of

Re: Binding and singleton

2014-11-14 Thread mark goldin
Yes, I understand what you are saying. I have several models. They all behave correctly and this one only creates a new instance every time. I have changed my code to look like other models: package { import com.adobe.cairngorm.model.IModelLocator; import flash.events.EventDispatcher; [Bindable] p

Re: Binding and singleton

2014-11-14 Thread mark goldin
I just ran in the way you did. In the same mxml it does show same object id, but once I leave the screen and load it again I am getting a new object id. On Fri, Nov 14, 2014 at 4:07 AM, mark goldin wrote: > Yes, I understand what you are saying. I have several models. They all > behave correctly

Re: AW: AW: Flexmojos 7.0.1 NullPointerException while generating sources

2014-11-14 Thread 4xy
NullPointerException is sovled, but I got another that I described above. Should I start new topic for them? -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Flexmojos-7-0-1-NullPointerException-while-generating-sources-tp8699p8776.html Sent from the Apache Flex U

RE: Singleton question

2014-11-14 Thread Kessler CTR Mark J
+1 private static var _instance:ModelLocator; public static function getInstance():ModelLocator { if(! _instance) _instance = new ModelLocator(); return _instance; } Only creating new instance when one isn't present. Since it's static, it should only be done once. -Mark -Origi

ObjectProxy

2014-11-14 Thread mark goldin
I am getting data from .net middle tier. We are using FluorineFX for remoting.The MT sends data as dictionary, but what I am getting is a ProxyObject which looks like this: resultmx.utils.ObjectProxy [4] Date [15] Date [

Flex SDK 4.13 & Air 15.0 - 'Invalid namespace' issue

2014-11-14 Thread 4xy
Hi, Eventually I'm ending up with migrating from Flex SDK 4.10 (Air 3.8) & Flexmojos 6.0.1 to Flex SDK 4.13 Air 15 & Flexmojos 7.0.1 I downloaded the Flex SDK 4.13 in couple with Air 15 (against default 14) due to requirements of iOS deployment. I successully compiled my projects, but now if I c

Re: Flex SDK 4.13 & Air 15.0 - 'Invalid namespace' issue

2014-11-14 Thread Alex Harui
Sounds like you are still launching the ADL from an older AIR SDK. On 11/14/14, 5:44 AM, "4xy" wrote: >Hi, > >Eventually I'm ending up with migrating from Flex SDK 4.10 (Air 3.8) & >Flexmojos 6.0.1 to Flex SDK 4.13 Air 15 & Flexmojos 7.0.1 > >I downloaded the Flex SDK 4.13 in couple with Air 15

Re: ObjectProxy

2014-11-14 Thread Alex Harui
Did you try result[4] On 11/14/14, 7:14 AM, "mark goldin" wrote: >I am getting data from .net middle tier. We are using FluorineFX for >remoting.The MT sends data as dictionary, but what I am getting is a >ProxyObject which looks like this: > >resultmx.utils.ObjectProxy >

Re: ObjectProxy

2014-11-14 Thread mark goldin
Yes, thank you, I did. I extracted keys and values into ArrayCollection. On Fri, Nov 14, 2014 at 11:30 AM, Alex Harui wrote: > Did you try result[4] > > On 11/14/14, 7:14 AM, "mark goldin" wrote: > > >I am getting data from .net middle tier. We are using FluorineFX for > >remoting.The MT sends

Re: Binding and singleton

2014-11-14 Thread Alex Harui
OK, so as we all expect, it works as expected in most cases. So, what is different about this particular model? I noticed you used the work “load it again”. “Load" to me means bringing in external content. If this Singleton is in a module or sub-app that gets unloaded and reloaded, then yes, it

Re: Binding and singleton

2014-11-14 Thread mark goldin
Yes, it does bring external content and it is a module. But how come then other modules are getting same models after they are unloaded and loaded again? On Fri, Nov 14, 2014 at 11:42 AM, Alex Harui wrote: > OK, so as we all expect, it works as expected in most cases. So, what is > different ab

Re: Flex SDK 4.13 & Air 15.0 - 'Invalid namespace' issue

2014-11-14 Thread Subscriptions
a shot in the dark... look for "swf.version" value and ensure it is set to "26" Lee Burrows ActionScripter On 14/11/2014 13:44, 4xy wrote: Hi, Eventually I'm ending up with migrating from Flex SDK 4.10 (Air 3.8) & Flexmojos 6.0.1 to Flex SDK 4.13 Air 15 & Flexmojos 7.0.1 I downloaded the Fle

Re: Binding and singleton

2014-11-14 Thread Alex Harui
On 11/14/14, 9:46 AM, "mark goldin" wrote: >Yes, it does bring external content and it is a module. But how come then >other modules are getting same models after they are unloaded and loaded >again? Probably because they are not fully unloading because something is keeping a reference to clas

Re: Binding and singleton

2014-11-14 Thread mark goldin
wrote: > > > On 11/14/14, 9:46 AM, "mark goldin" wrote: > > >Yes, it does bring external content and it is a module. But how come then > >other modules are getting same models after they are unloaded and loaded > >again? > > Probably because they are not fully unloading because something is keep

Re: SVG/SWF to FXG Converter (Win, Mac, Eclipse)

2014-11-14 Thread Sascha Ahrend
Hello Om, with Harbs’ help I was able to dig into the case. What I found is that the AI svg export (4.3 MB) is actually being converted, although it takes while to see the fxg result (3.3 MB). I tested it on a Mac Mini 2.5 GHz Intel Core i5 and the conversion inside the standalone app took appr

Re: Binding and singleton

2014-11-14 Thread Alex Harui
On 11/14/14, 10:21 AM, "mark goldin" wrote: > >Is that the one that gets a new model every time or old one? Those are reasons your other Singletons-in-modules are persisting. Unfortunately, by doing it right (having a module that unloads) you now have a problem with Singletons in the module.

Re: Binding and singleton

2014-11-14 Thread mark goldin
I just referenced the bad model in the main app and it is persisting now too. Now, I am going to think how to do it right :) Many thanks for all the help provided. On Fri, Nov 14, 2014 at 12:50 PM, Alex Harui wrote: > > > On 11/14/14, 10:21 AM, "mark goldin" wrote: > > > > > > >Is that the one

Re: SVG/SWF to FXG Converter (Win, Mac, Eclipse)

2014-11-14 Thread OmPrakash Muppirala
Hey, thats good to know. I should have probably waited for some more time before killing the app :-) It's really impressive that this big file got converted with this much fidelity. Awesome job! I think I asked you this before, what do you think of creating a plugin panel for Adobe Illustrator

Re: SVG/SWF to FXG Converter (Win, Mac, Eclipse)

2014-11-14 Thread Sascha Ahrend
Well, I can’t promise any quick result, only that I will give it a try. Conservatively estimated it shouldn’t be too complex. There’s Adobe examples on exporting SVG, so adding a line to call the converter when finished sounds feasible. I’ll let you know. Have a nice weekend, Sascha > Am 14

Flash Builder crashes

2014-11-14 Thread mark goldin
My FB 4.7 SDK 3.6 constantly goes out memory and crashes. Here is the log: !ENTRY org.eclipse.core.jobs 4 2 2014-11-14 14:10:45.009 !MESSAGE An internal error occurred during: "Building workspace". !ENTRY org.eclipse.ui.workbench 4 0 2014-11-14 14:10:54.242 !MESSAGE Widget disposed too early for

Mobile - Problems with List and HorizontalLayout and pageScrollingEnabled

2014-11-14 Thread chris_d_k
Here is my list: Strange things: - when setting the gap to 0 the scrolling don't work anymore... a bug? - I set the itemrenderers width to "width of the list - 1". The first item I see is the second item and just scrolling 1 pixel

Re: Mobile - Problems with List and HorizontalLayout and pageScrollingEnabled

2014-11-14 Thread chris_d_k
Setting the size of the itemRenderer this way is working ... and I can still scroll with a gap setted to 0... private function setItemRenderer(event:FlexEvent):void { var renderer:ClassFactory = new ClassFactory(MyItemRenderer); renderer.properties = { width: myList

RE: Flash Builder crashes

2014-11-14 Thread Saul Diaz
Mark I think we are kinda are out of luck here Check this page http://www.mikecann.co.uk/programming/improve-flash-builder-performance-and-compile-times-by-30/ it works but still gets back to be slow after a few :) regards -Original Message- From: mark goldin [mailto:markzolo...@gmail