[flexcoders] Binding behaviour

2011-11-03 Thread geckko
Hi all, I'm trying to duplicate one object but when i modify the master object the child object is modified too. My code is something similar to this private function cloneLeaf():CallMonitoringLeaf{ var obj:CallMonitoringLeaf = new CallMonitoringLeaf();

[flexcoders] Creating an unconvential Air app like kuler

2011-11-03 Thread Nick Middleweek
Hi, How does one create an Air app that has a non-rectangle window like Kuler? And is it possible to create an Air app that has multi windows? Thanks, Nick

Re: [flexcoders] HTTPService post to return an image?

2011-11-03 Thread Rogerio Gonzalez
You can use base64 to encode your image on the server side, and then decode in flex to display it. Regards, Rogério Gonzalez On Tue, Nov 1, 2011 at 5:20 PM, claudiu ursica the_bran...@yahoo.comwrote: ** HTTPService cannot handle binary data and images fall under this category. U have

[flexcoders] Re: Binding behaviour

2011-11-03 Thread turbo_vb
If nodeName is a class, you'll need to create a clone method in that class as well, and do this: obj.nodeName = nodeName.clone(); If it's just a string, you can try: obj.nodeName = nodeName.toString(); -TH --- In flexcoders@yahoogroups.com, geckko geckko80@... wrote: Hi all, I'm trying

[flexcoders] Re: HttpService error handling

2011-11-03 Thread valdhor
Have you tried using an AsyncToken? --- In flexcoders@yahoogroups.com, Sells, Fred fred.sells@... wrote: I'm using Flex 4.1 with a django backend. Django provides a really useful HTML error traceback when it fails. Currently I then have to manually insert the offending url into the browser

[flexcoders] ModuleLoader.child is null

2011-11-03 Thread method_air
Can anyone explain why ModuleLoader.child is null in the module event 'ready' event listener: this._moduleLoader = new ModuleLoader(); this._moduleLoader.url = ImageComparisonModule.swf; // this._moduleLoader.addEventListener(ModuleEvent.READY, onReady);

RE: [flexcoders] ModuleLoader.child is null

2011-11-03 Thread Philip Smith
Can Flex modules be loaded into objects other than Application, eg sub view classes? To: flexcoders@yahoogroups.com From: loudj...@hotmail.com Date: Thu, 3 Nov 2011 17:08:09 + Subject: [flexcoders] ModuleLoader.child is null Can anyone

[flexcoders] Module's creationComplete() called locally but not remotely

2011-11-03 Thread sdl1326
I have a module that is being loaded using the mxml ModuleLoader. When I run the course locally on xampp, everything works, including the Module's creationComplete function. However, upon loading it and testing on a web server, creationComplete() never gets called. The module loads correctly

[flexcoders] Re: ModuleLoader.child is null

2011-11-03 Thread turbo_vb
Perhaps you're getting an error on load; probably due to the path. Try adding an event listener for ModuleEvent.ERROR. Also, this line is missing an equal sign: var test:ITest ITest(this._moduleLoader.child); Should be: var test:ITest = ITest(this._moduleLoader.child); -TH --- In

RE: [flexcoders] Re: ModuleLoader.child is null

2011-11-03 Thread Philip Smith
Perhaps you're getting an error on load; probably due to the path. Try adding an event listener for ModuleEvent.ERROR. The ModuleEvent.READY listener is executing, the path is correct. var test:ITest ITest(this._moduleLoader.child); This was a typo. this._moduleLoader.child is still null

RE: [flexcoders] Re: ModuleLoader.child is null

2011-11-03 Thread Philip Smith
The module loads fine in a simple testbed, but in this particular larger application context, fails (and it's time consuming/costly debugging, when by all extents and purposes, it should work). In the end, I can achieve a similar result with SWFLoader, and cast the result as an interface

RE: [flexcoders] Re: ModuleLoader.child is null

2011-11-03 Thread Merrill, Jason
In the end, I can achieve a similar result with SWFLoader, and cast the result as an interface type... Same. I gave up on all the quirks and pains and limitations of Flex Modules and went with loading in separate .swfs calling them an interface. Worked just as well, and I felt more in

Re: [flexcoders] Re: ModuleLoader.child is null

2011-11-03 Thread Alex Harui
Can you post link-reports for the main app and the module? The implication is that the factory.create() didn’t work because the module’s class definition is not in the module swf. On 11/3/11 12:52 PM, Philip Smith loudj...@hotmail.com wrote: The module loads fine in a simple testbed,

[flexcoders] ALEX HAURI please help

2011-11-03 Thread deepa_pathuri
i want to implement undo and redo operations. i am dragging image from one container to other and i want to facilitate a undo and redo for it. can some body please tell me how to acheive it?

[flexcoders] code out of sync with flash builder

2011-11-03 Thread Wouter Schreuders
Hi All I'm continually running into this problem. When I debug my code flash builder intermittently show's me the previous build. It's super frustrating because you make a complex logic change to your code and then it doesn't work and you never know if it's that the code is wrong or flash builder

Re: [flexcoders] HTTPService post to return an image?

2011-11-03 Thread Tunde Majolagbe
Hello You cant send raw binaries via a http api two things i suggest you may do 1) convert your binary data  to hexadecimal (hex) Xters at the server site  and send it across the web as hex data then reconvert your  hex data to binaries on the browser. 2) Save the image on a path on the

Re: [flexcoders] Binding behaviour

2011-11-03 Thread The Real Napster
Use this. import mx.utils.ObjectUtil; ObjectUtil.copy(myObj); ObjectUtil.copy(arrColl) as ArrayCollection; On Tue, Oct 18, 2011 at 1:53 PM, geckko geckk...@gmail.com wrote: ** Hi all, I'm trying to duplicate one object but when i modify the master object the child object is

[flexcoders] (s:List useVirtualLayout==true) + (HorizontalLayout==false) problem

2011-11-03 Thread naztafarian
Hi guys. I have a Spark List that has useVirtualLayout set to true with a HorizontalLayout with variableColumnWidth set to false. (all itemRenderers inside have the same width) The problem is, when I change the width of the custom itemRenderer and/or its contents, the itemRenderers don't