RE: [flexcoders] Flex Menu.createMenu on mouseDown issue

2012-03-08 Thread Philip Smith
, "Philip Smith" wrote: Substitute this button code to see the menu create fail: To: flexcoders@yahoogroups.com From: loudj...@hotmail.com Date: Thu, 8 Mar 2012 17:27:45 + Subject: RE: [flexcoders] Flex Menu.createMenu on mouseDown issue

RE: [flexcoders] Flex Menu.createMenu on mouseDown issue

2012-03-08 Thread Philip Smith
Substitute this button code to see the menu create fail: To: flexcoders@yahoogroups.com From: loudj...@hotmail.com Date: Thu, 8 Mar 2012 17:27:45 + Subject: RE: [flexcoders] Flex Menu.createMenu on mouseDown issue The menu doe

RE: [flexcoders] Flex Menu.createMenu on mouseDown issue

2012-03-08 Thread Philip Smith
The menu doesn't open. And 'mouseDown' is required in the context of the app. Any ideas, Alex? Here's the test code: http://ns.adobe.com/mxml/2009"; xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300">

RE: [flexcoders] Flex Menu.hide listener...which component was clicked to close menu?

2012-03-07 Thread Philip Smith
I figured this one out...added a stage mouse down listener, and found the value in MouseEvent target. To: flexcoders@yahoogroups.com From: loudj...@hotmail.com Date: Thu, 8 Mar 2012 00:20:21 + Subject: [flexcoders] Flex Menu.hide listener...which component was clicked to close menu?

RE: [flexcoders] Displaying spark scrollbars for mx components wrapped in a scroller

2012-02-09 Thread Philip Smith
Thanks Haykel, I was able to get the spark scrollbars to display based on your example. But the width and height of the container component () needs to percentage based in my real world application, so it looks like I'm going to have to skin the mx scroll bars separately for now. To: flexco

RE: [flexcoders] Flex Tree selectedItem is null issue

2011-12-30 Thread Philip Smith
Setting the 'selectedItem' twice works around this flex tree bug. To: flexcoders@yahoogroups.com From: loudj...@hotmail.com Date: Fri, 30 Dec 2011 19:14:19 + Subject: [flexcoders] Flex Tree selectedItem is null issue This works, and tree.se

RE: [flexcoders] ArgumentError: Error #2004: One of the parameters is invalid@Graphics/drawRect

2011-12-06 Thread Philip Smith
e visuals have changed, and if so, calls the redraw, and thats where it goes back to your code.. On Tue, Dec 6, 2011 at 6:30 PM, Philip Smith wrote: >> it depends on your code. The error is happening in the Spark code... To: flexcoders@yahoogroups.com From: cs

RE: [flexcoders] ArgumentError: Error #2004: One of the parameters is invalid@Graphics/drawRect

2011-12-06 Thread Philip Smith
>> it depends on your code. The error is happening in the Spark code... To: flexcoders@yahoogroups.com From: csom...@gmail.com Date: Tue, 6 Dec 2011 09:24:20 +0100 Subject: Re: [flexcoders] ArgumentError: Error #2004: One of the parameters is invalid@Graphics/drawRect

RE: [flexcoders] Draggable Spark Panel with scrollable text area?

2011-11-07 Thread Philip Smith
http://code.google.com/p/force-explorer/source/browse/trunk/Flex/Explorer/src/components/DraggablePanel.as?r=8 To: flexcoders@yahoogroups.com From: loudj...@hotmail.com Date: Mon, 7 Nov 2011 22:14:15 + Subject: [flexcoders] Draggable Spark Panel with scrollable text area?

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

2011-11-04 Thread Philip Smith
>>> var test:ITest ITest(this._moduleLoader.child); // null The module implements ITest. Regardless, before the module is cast to an interface, this._moduleLoader.child is null. I read on another thread that the module 'ready' event may be dispatched before it's re

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 type..

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

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 exp

RE: [flexcoders] Error comparing bitmapData

2011-11-02 Thread Philip Smith
So apparently this error is as a result of comparing bitmap from images of different sizes. To: flexcoders@yahoogroups.com From: loudj...@hotmail.com Date: Tue, 1 Nov 2011 22:54:27 + Subject: [flexcoders] Error comparing bitmapData I'm get

RE: [flexcoders] Flash Builder not tracing, breakpoint functionality lost, no compiler errors

2011-10-19 Thread Philip Smith
>>There is some setting that gets overridden, you need to Google for it though I forgot since it happen. I found the answer on a blog. Once you find it is pretty easy to fix. >>Only time I have had something similar happen is when the Flash Player Debugger was either uninstalled or replaced by

RE: [flexcoders] broadway danny rose

2011-10-17 Thread Philip Smith
oops, sorry incorrect recipient. To: flexcoders@yahoogroups.com From: loudj...@hotmail.com Date: Tue, 18 Oct 2011 05:58:58 + Subject: [flexcoders] broadway danny rose funny movie apparantly

[flexcoders] broadway danny rose

2011-10-17 Thread Philip Smith
funny movie apparantly

RE: [flexcoders] Hiding Flex tree XML CDATA

2011-09-28 Thread Philip Smith
I think I found the answer to this...override DefaultDataDescriptor isBranch. To: flexcoders@yahoogroups.com From: loudj...@hotmail.com Date: Wed, 28 Sep 2011 22:34:57 + Subject: [flexcoders] Hiding Flex tree XML CDATA Is there a way to pre

RE: [flexcoders] 3D Tree and flex 4.5

2011-09-23 Thread Philip Smith
And is there a way to workaround this error? To: flexcoders@yahoogroups.com From: loudj...@hotmail.com Date: Fri, 23 Sep 2011 18:41:18 + Subject: [flexcoders] 3D Tree and flex 4.5 I'm getting this error when I click on an item from the 3D f

RE: [flexcoders] BitmapData Argument: Error #1063: Arg count mismatch on object util.copy

2011-08-18 Thread Philip Smith
How would I go about implementing that? eg: public class PageVO implements IExternalizable { public function get bitmapData():BitmapData { return _bitmapData; } public function set bitmapData(value:BitmapData):void { _bitmapData = v

RE: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Philip Smith
f you really want to. On 8/9/11 11:00 AM, "Philip Smith" wrote: But in essence, going back to your example, there is no capacity to inject 'MyInjectClass' with a public setter? Public class MyDownloadProgressBar extends SparkDownloadProgre

RE: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Philip Smith
before the application. The app’s preloader property isn’t used at runtime, the compiler generates special code for it. A preloader can certainly examine its environment and do different things. There are a few custom preloaders on my blogs. On 8/9/11 10:21 AM, "Phili

RE: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Philip Smith
dProgressBar extends SparkDownloadProgressBar { private var injectedClass:MyInjectClass; } On 8/9/11 9:35 AM, "Philip Smith" wrote: > You can inject certain kinds of dependencies as long as they don’t drag in > UIComponent. Can you provide an exam

RE: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Philip Smith
> You can inject certain kinds of dependencies as long as they don’t drag in > UIComponent. Can you provide an example of this, Alex? To: flexcoders@yahoogroups.com From: aha...@adobe.com Date: Mon, 8 Aug 2011 22:13:34 -0700 Subject: Re: [flexcoders] Inject dependency into Flex application prel

RE: [flexcoders] Drop Target indicator visibility issue

2010-09-03 Thread Philip Smith
Still experiencing the drop indicator visibility issue. This method handles the 'dragOver event (and is executing): private function onDragOver(de:DragEvent):void { de.preventDefault(); var owner:List = this.owner as List;

RE: [flexcoders] Image component not resizing correctly

2010-09-02 Thread Philip Smith
That worked. Thank you so much. To: flexcoders@yahoogroups.com From: hayke...@gmail.com Date: Thu, 2 Sep 2010 09:05:03 +0100 Subject: Re: [flexcoders] Image component not resizing correctly You have to set 'maintainAspectRatio' to false if you

RE: [flexcoders] Form not responding to 'enter keyDown' event

2010-06-01 Thread Philip Smith
I found the answer in 'setFocus()'. To: flexcoders@yahoogroups.com From: loudj...@hotmail.com Date: Tue, 1 Jun 2010 23:20:47 + Subject: [flexcoders] Form not responding to 'enter keyDown' event I have a delete confirmation Form object, with a 'keyDown' listener that is not respond

RE: [flexcoders] Upload subfolder images component

2010-05-27 Thread Philip Smith
This is currently for a flex browser app, but may also be implemented in an air app. To: flexcoders@yahoogroups.com From: happy...@gmail.com Date: Thu, 27 May 2010 12:39:21 -0700 Subject: Re: [flexcoders] Upload subfolder images component Are you talking about an AIR app, or a browser

RE: [flexcoders] Disappearing item renderer

2010-04-09 Thread Philip Smith
, "Philip Smith" wrote: I tried that, the problem is still occurring. Any other possible solutions? Thanks. To: flexcoders@yahoogroups.com From: aha...@adobe.com Date: Thu, 8 Apr 2010 22:00:12 -0700 Subject: Re: [flexcoders] Disappearing item renderer

RE: [flexcoders] Disappearing item renderer

2010-04-09 Thread Philip Smith
I tried that, the problem is still occurring. Any other possible solutions? Thanks. To: flexcoders@yahoogroups.com From: aha...@adobe.com Date: Thu, 8 Apr 2010 22:00:12 -0700 Subject: Re: [flexcoders] Disappearing item renderer Set a minWidt

RE: [flexcoders] TileList performance

2010-02-11 Thread Philip Smith
. On 2/10/10 4:03 PM, "Philip Smith" wrote: Thanks. We realized we were using massive images (and resizing), performance has increased substantially with the correct image size. To: flexcoders@yahoogroups.com From: aha...@adobe.com Date: Wed, 10 Feb 2010 14:5

RE: [flexcoders] TileList performance

2010-02-11 Thread Philip Smith
caching image component like SuperImage can help smooth things out. On 2/10/10 4:03 PM, "Philip Smith" wrote: Thanks. We realized we were using massive images (and resizing), performance has increased substantially with the correct image size. To:

RE: [flexcoders] TileList performance

2010-02-10 Thread Philip Smith
Thanks. We realized we were using massive images (and resizing), performance has increased substantially with the correct image size. To: flexcoders@yahoogroups.com From: aha...@adobe.com Date: Wed, 10 Feb 2010 14:50:25 -0800 Subject: Re: [flexcoders] TileList performance