RE: [flexcoders] Modifiying The Flex Store Application, How To Get Data From Database

2007-03-29 Thread Peter Watson
Try this: var products:XMLListCollection = new XMLListCollection(event.result.catalog.product); From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Faisal Abid Sent: Thursday, March 29, 2007 4:07 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Combobox Display issues

2007-01-15 Thread Peter Watson
Rick, Try calling the setStyle() in the updateDisplayList() function rather than creationComplete. creationComplete will only get called once - but the cell is rendered multiple times when you scroll so you'll end up with intermittent results like you are seeing.

RE: [flexcoders] Drag and Drop within TileList - why does my code copy instead of move?

2007-01-09 Thread Peter Watson
Try setting dragMoveEnabled='true for the tileList http://livedocs.macromedia.com/flex/2/langref/mx/controls/listClasses/Li stBase.html dragMoveEnabled property dragMoveEnabled:Boolean http://livedocs.macromedia.com/flex/2/langref/Boolean.html [read-write] A flag that indicates

RE: [flexcoders] FDS Locally Compiled Remote Object does not work

2006-09-20 Thread Peter Watson
Hi Vu, When you compile on the server, it automatically knows how to resolve the context root for the FDS application When you compile locally, you need to provide the context root in the Flex Builder project compiler options compiler.context-root /flex (or /foo or whatever

RE: [flexcoders] Re: Pre-compiled applications unable to access FDS based message queues

2006-09-08 Thread Peter Watson
You need to provide mxmlc with the context root for the FDS application -compiler.context-root context-path Ie. compiler.context-root /flex Then you should see the correct path for the message broker endpoint in the console output. regards, peter From:

RE: [flexcoders] Re: Pre-compiled applications unable to access FDS based message queues

2006-09-08 Thread Peter Watson
Jim, Did you see my reply before Metes? Ill repost You need to provide mxmlc with the context root for the FDS application -compiler.context-root context-path Ie. compiler.context-root /flex Then you should see the correct path for the message broker endpoint in the console

RE: [flexcoders] Datagrid: Setting verticalscrollposition to where selectedIndex is

2006-09-07 Thread Peter Watson
Hi Jacob, Try this: grid2.verticalScrollPosition = grid1.verticalScrollPosition; regards, peter From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of j_sevlie Sent: Thursday, September 07, 2006 11:24 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: FocusOut ??

2006-09-05 Thread Peter Watson
Hi Rich, When closed - a popup will return focus to whatever element had it before the popup was opened. So, even though the focus cursor is showing in the second field - the focus isnt getting completely updated in the focus manager to the second textField before the Alert popup

RE: [flexcoders] How to cast a WebService lastResult when CFC returnType=xml

2006-08-23 Thread Peter Watson
Darren, If your XML nodes have attributes (ie. node label=foo/node) you can use the labelField attribute to control the labels. mx:Tree id=myTree labelField=@label/ If they dont (ie. foobar/foo) or if you want to do any sort of custom label logic, you need to use the

RE: [flexcoders] How to cast a WebService lastResult when CFC returnType=xml

2006-08-23 Thread Peter Watson
Darren, If your XML nodes have attributes (ie. node label=foo/node) you can use the labelField attribute to control the labels. mx:Tree id=myTree labelField=@label/ If they dont (ie. foobar/foo) or if you want to do any sort of custom label logic, you need to use the

RE: [flexcoders] Newbie Help - simple login via CFC

2006-08-03 Thread Peter Watson
Property resut Typo here: event.resut.UserInfo.BrokerID resut result From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flycl65 Sent: Thursday, August 03, 2006 1:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Newbie Help - simple

RE: [flexcoders] ComboBox default label.

2006-06-06 Thread Peter Watson
Hi Will, There is also a prompt attribute for the mx:ComboBox component that may be what you are looking for. That way you dont have to modify the dataProvider and once a selection is made the prompt doesnt show again. mx:ComboBox dataProvider={cards} prompt=Please Select a Card

RE: [flexcoders] Flex 1.5 Production Mode

2006-05-23 Thread Peter Watson
There is a known issue with the production-mode setting in flex-config.xml for 1.5 Basically it set's all the values correctly except for 'show-all-warnings' There are 2 workaround options. 1. set production-modefalse/production-mode set all debugging settings to false.

RE: [flexcoders] Re: Modal popup problem - Flex 1.5

2006-03-31 Thread Peter Watson
This is a known focus issue, I think theres a knowledge base article somewhere but I cant seem to locate it right now. Basically the alert popup doesnt get activated with the System Manager and cant receive tab focus. The workaround is to launch the alert in a function, use a

RE: [flexcoders] IE Update disables Flash

2006-03-06 Thread Peter Watson
Hi Carson, We are working on getting instructions published for how to manually create an html wrapper to workaround this issue, details on the way. The generated external file looks exactly like what you posted, good sniffing that .js code works in my environment. Applying the

RE: [flexcoders] IE Update disables Flash

2006-03-06 Thread Peter Watson
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Watson Sent: Monday, March 06, 2006 7:08 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] IE Update disables Flash Hi Carson, We are working on getting instructions published for how

RE: [flexcoders] TreeGridCellRenderer

2006-02-24 Thread Peter Watson
Title: TreeGridCellRenderer Agha, Use a handler function for the mouseUp event of the tree In the function: check if the selectedNode is a branch if it is - check if its open|closed if its closed open it if its open close it - peter From:

RE: [flexcoders] Validatior's binding problem?

2006-02-22 Thread Peter Watson
Hi Kazuya, As Matt said in Flex 1.5, validators dont support binding. Below is a workaround for your issue. I got most of the code from here: http://blog.daemon.com.au/archives/000317.html Main.mxml * ?xml version=1.0 encoding=utf-8? mx:Application

RE: [flexcoders] Re: Cairngorm Question

2006-01-24 Thread Peter Watson
Hi Leon, This mxmlc option will enable setting the amfgateway url @ runtime: -remoteallowurloverride It will allow you to externally control the amfgateway via the html wrapper via either of the following usages: param name='flashVars'

RE: [flexcoders] Changing a modal popup to non-modal

2005-08-11 Thread Peter Watson
Try using something like this in the script block of the popup.mxml import mx.managers.SystemManager; var myPop; function createPop(){ myPop = mx.managers.PopUpManager.createPopUp(this, Pop1, true); doLater(this, fixfocus); }

RE: [flexcoders] Re: Flex as a Windows Service?

2005-05-20 Thread Peter Watson
The version of JRun included in the Flex integrated install option does not provide this functionality. It is for development only and as such has been stripped down to the bare essentials. The console provides easy access to server output without having to look through logs while