RE: [flexcoders] Re: Convert ArrayCollection to XML

2009-03-10 Thread Tracy Spratt
So no problem? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of tiend...@ezweb.ne.jp Sent: Tuesday, March 10, 2009 4:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re

RE: [flexcoders] DropDown selectedIndex problem

2009-03-09 Thread Tracy Spratt
Often when you programmatically assign a dataProvider to a control, you need to wait for the control to render before operating on its visual elements. So save the desired index from the loop, then use callLater() to actually set the selectedIndex. Tracy Spratt, Lariat Services, development

RE: [flexcoders] Re: Convert ArrayCollection to XML

2009-03-09 Thread Tracy Spratt
I'd suggest using XML all the way through, instead of converting XML to ArrayCollection first, then trying to convert it back. What RPC protocol are you using for server communication? What is your resultFormat? Tracy Spratt, Lariat Services, development services available _

RE: [flexcoders] Flex 3 Tree - Moving Nodes

2009-03-09 Thread Tracy Spratt
ver it? The drag indicators are all lines, of different lengths, to show "in" a node or between nodes. Tree needs a block or bar highlight on the parent node itself, to indicate drop into here. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@y

RE: [flexcoders] Re: Hie

2009-03-09 Thread Tracy Spratt
Also, you may see binding warnings, like "Unable to bind to." XML is not an IEventDispatcher.' This is kind of a bogus warning, the description anyway. Fix it like this: text="{XML(upcomingRepeater.currentItem).empResults}" _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoog

RE: [flexcoders] Re: how to call dynamic servlet

2009-03-09 Thread Tracy Spratt
Why are you converting the e4x XML into the legacy XMLDocument? And if you really are satisfied working with dynamic Object instead of XML, then use resultFormat="object" and skip all that decdoing stuff. Flex will do that for you. But that is the worst of both worlds; you lose the power of e4x

RE: [flexcoders] importing and dynamically creating objects

2009-03-08 Thread Tracy Spratt
Do I understand that you have a different class for every question? That sounds like a bad idea. I am sure import is a compile time only action, and you can't do it at run-time, so you need to find a different approach. Tracy _ From: flexcoders@yahoogroups.com [mailto:flexcod...@

RE: [flexcoders] Debugging Event Bubbling

2009-03-08 Thread Tracy Spratt
Bubbling works generally. Simplify until it does, then re-add your complexity til it breaks. _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of valkyrie77 Sent: Sunday, March 08, 2009 1:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Debuggi

RE: [flexcoders] Re: drag&drop inside itemEditor in dataGrid...a tricky question

2009-03-07 Thread Tracy Spratt
derer? Thanks Afik --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com, "Tracy Spratt" wrote: > > For a renderer of that complexity, I would not use the DGs native editable > process, but would handle the dataProvider item updates within

RE: [flexcoders] dataGrid not receiving user input (intermitently) in bottom right

2009-03-07 Thread Tracy Spratt
If you are pretty sure there is not something invisible covering that area, try cleaning the project. Tracy _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of tom s Sent: Saturday, March 07, 2009 6:31 PM To: flexcoders@yahoogroups.com Subject: [flexc

RE: [flexcoders] drag&drop inside itemEditor in dataGrid...a tricky question

2009-03-07 Thread Tracy Spratt
For a renderer of that complexity, I would not use the DGs native editable process, but would handle the dataProvider item updates within the renderer itself. Tracy _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Gal Afik Sent: Saturday, March 07

RE: [flexcoders] how to call dynamic servlet

2009-03-07 Thread Tracy Spratt
That should work, I use dynamic urls with HTTPService regularly. One suggestion, don't use binding. Instead, in the function where you invoke service.send(), set the url there. Additionally, unless you have a very special use case, you do not want resultFormat="xml", you want resultFormat="e4x

RE: [flexcoders] Re: hiding an applicationcontrolbar button

2009-03-06 Thread Tracy Spratt
Yes, the content of the toggleButtonBar will be determined entirely by its dataProvider. If you want to change the content of the button Bar, you must change its dataprovider. One way to do this is to add/remove the viewstack children. But this process has always seemed unnecessarily diffi

RE: [flexcoders] non-editable datagrid cells

2009-03-06 Thread Tracy Spratt
Use the itemEditBeginning event. http://www.cflex.net/showFileDetails.cfm?ObjectID=723 Tracy _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dennis Falling Sent: Friday, March 06, 2009 12:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] n

RE: [flexcoders] Refresh DateField

2009-03-06 Thread Tracy Spratt
For a date, the timer interval could be long,, like a minute or more. That wouldn't be much overhead. If you have any other timers running, you could piggyback that functionality on one of those, instead of starting another. Tracy _ From: flexcoders@yahoogroups.com [mailto:fle

RE: [flexcoders] Re: Timers and local CPU

2009-03-06 Thread Tracy Spratt
That was going to be my suggestion. The main thing that makes an itemRendrer heavy or expensive is basing it on a container, like VBox, instead of on UIComponent.. Yours looks good. And I think maybe I would store the start time and calculate the elapsed time, rather than incrementing the

RE: [flexcoders] Re: Web service, parameters, errors... Help please

2009-03-05 Thread Tracy Spratt
First and foremost, we must know: what is the name of the operation/method of the web service, and what are the parameters names and datatypes. I am not good enough at reading wsdls to offer to analyze yours, but you can probably figure it out, or find some documentation. For instance, where d

RE: [flexcoders] Problem in sorting XMLList collection as a dataProvider for the list

2009-03-05 Thread Tracy Spratt
I would use a sort function, so I could debug any problems. I'd also suggest an e4x expression instead of the loop. Tracy _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of anuj181 Sent: Wednesday, March 04, 2009 6:51 PM To: flexcoders@yahoogrou

RE: [flexcoders] Web service, parameters, errors... Help please

2009-03-05 Thread Tracy Spratt
The value you want to pass needs to be in the text node, not in an attribute. Something like: X Also, this declarative syntax is hard to debug. I suggest invoking your call in an as function: var sValue:String = "X": var oRequest:Object ={ Find__CompIntfc__DL_TREE_IB_CI : sValue }; mySe

RE: [flexcoders] Modeless editing

2009-03-04 Thread Tracy Spratt
I do this by having all of my change or click or whatever events call a single function that updates the model, and also sets a modified flag. The flag variable, which is bindable controls the enabled property of my "Save" button. I also can check it if my navigation permits the possibility of na

RE: [flexcoders] Re: Passing params (flashvars) to sub-applications

2009-03-04 Thread Tracy Spratt
] Within the loaded application (which does derive from UIComponent), parentApplication is null. So flashvars may be ready by creationComplete, but Application.application and this.parentApplication are not. Thanks again for the explanations. On Wed, Mar 4, 2009 at 12:16 PM, Tracy Spratt mailto

RE: [flexcoders] Re: Passing params (flashvars) to sub-applications

2009-03-04 Thread Tracy Spratt
. Presumably you set the flashvars earlier than the example I linked to above did. On Tue, Mar 3, 2009 at 6:28 PM, Tracy Spratt mailto:tspr...@lariatinc.com> com> wrote: I am confused now, which method are you using? Are you attempting to pass values between the fully instantiated com

RE: [flexcoders] Restricting characters in User input controls

2009-03-03 Thread Tracy Spratt
The problem is the quote is causing the msml compile problems. Try using an entity string like " Tracy _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of kotha poornima Sent: Tuesday, March 03, 2009 11:59 PM To: flexcoders Subject: Fw: [flexcode

RE: [flexcoders] Re: Error #1034: Type Coercion failed: cannot convert JSON Data

2009-03-03 Thread Tracy Spratt
_ From: Tracy Spratt To: flexcoders@yahoogroups.com Sent: Tuesday, March 3, 2009 5:33:05 PM Subject: RE: [flexcoders] Re: Error #1034: Type Coercion failed: cannot convert JSON Data Is your data in event.result? Tracy _ From: flexcod...@yahoogro ups.com [mailto:flexcoders

RE: [flexcoders] Re: Passing params (flashvars) to sub-applications

2009-03-03 Thread Tracy Spratt
nterface to get the setter method signature. Bjorn --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com, "Tracy Spratt" wrote: > > Those traces tell me it should be working, that the embedded app is ready > when the host app attempts to communicate wi

RE: [flexcoders] Re: Passing params (flashvars) to sub-applications

2009-03-03 Thread Tracy Spratt
Those traces tell me it should be working, that the embedded app is ready when the host app attempts to communicate with it. Tracy _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Richard Rodseth Sent: Tuesday, March 03, 2009 6:42 PM To: flexcoder

RE: [flexcoders] Re: Error #1034: Type Coercion failed: cannot convert JSON Data

2009-03-03 Thread Tracy Spratt
Is your data in event.result? Tracy _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of keishalexie Sent: Tuesday, March 03, 2009 5:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Error #1034: Type Coercion failed: cannot convert JSON Data

RE: [flexcoders] adg as adg renderer - sizing the child renderers.

2009-03-03 Thread Tracy Spratt
Subject: Re: [flexcoders] adg as adg renderer - sizing the child renderers. i cannot determine this at the point where my factory gets created, also the rows get reused. On Tue, Mar 3, 2009 at 7:33 PM, Tracy Spratt mailto:tspr...@lariatinc.com> com> wrote: Set the rowCount = to the number of

RE: [flexcoders] list control multiple lines?

2009-03-03 Thread Tracy Spratt
Set variableRowHeight="true" Tracy _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Greg Morphis Sent: Tuesday, March 03, 2009 1:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] list control multiple lines? I'm working on an enhancem

RE: [flexcoders] Re: Modules Communication

2009-03-03 Thread Tracy Spratt
I'm not sure, maybe since modules are independent swf's, but that is way more complicated than necessary. Look into the singleton data model. In such a case, you would do: 1. in the source module, MyModel.getInstance().id = myTextInput.text; 2. In the target module, text={ MyModel.g

RE: [flexcoders] adg as adg renderer - sizing the child renderers.

2009-03-03 Thread Tracy Spratt
Set the rowCount = to the number of items in the dataProvider? _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Johannes Nel Sent: Tuesday, March 03, 2009 9:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] adg as adg renderer - sizing the ch

RE: [flexcoders] Re: Modules Communication

2009-03-03 Thread Tracy Spratt
If you don't want to set up a full blown communication manager, you could do this: 1) dispatch a *bubbling* event from your source module 2) Set up a listener at the main application on "this" (this.addEventListener.) 3) Have the handler for that listener re-dispatch the event

RE: [flexcoders] Passing params (flashvars) to sub-applications

2009-03-02 Thread Tracy Spratt
This works fine for me, perhaps you are doing something wrong? Tracy _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Richard Rodseth Sent: Monday, March 02, 2009 7:34 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Passing params (flashva

RE: [flexcoders] Re: Sending POST requests to php script??Help

2009-03-02 Thread Tracy Spratt
oders%40yahoogroups.com> ups.com, "Tracy Spratt" wrote: > > But you are using Object, and Object is not bindable and you are trying to > bind: > > {modelName.name.first} > > The braces mean binding. > > Tracy > > > > _ > > From:

RE: [flexcoders] Re: Sending POST requests to php script??Help

2009-03-01 Thread Tracy Spratt
But you are using Object, and Object is not bindable and you are trying to bind: {modelName.name.first} The braces mean binding. Tracy _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of fprihoda Sent: Sunday, March 01, 2009 7:09 PM To: flexcoders@yah

RE: [flexcoders] updating an item renderer

2009-03-01 Thread Tracy Spratt
The core concepts are that item renderers need to update their visual UI elements when the associated item changes, and need to update that item on user interaction. You assign a dataProvider(StockInfo) to the List, which results in item renderers being instantiated. Note, do not use an Array

RE: [flexcoders] Re: Sending POST requests to php script??Help

2009-03-01 Thread Tracy Spratt
Yes, building the request object declaratively and binding in the values is very hard to debug. Build the request object in AS, so you can inspect the values you are sending. You also will not need to depend on bindable properties. Tracy -Original Message- From: flexcoders@yahoogroups.c

RE: [flexcoders] redundancy in custom ItemRenderer

2009-03-01 Thread Tracy Spratt
Why do you think the renderer's commitProperties is being called more than once for a single item? Your trace statements do not identify the item. You understand that there is no direct relationship between the number of items and the number of renderer instances? The number of instances depends

RE: [flexcoders] How to set VBox width to a %age in actionscript

2009-03-01 Thread Tracy Spratt
percentWidth = 100; _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of elevight Sent: Sunday, March 01, 2009 12:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to set VBox width to a %age in actionscript This is actually my second tim

[flexcoders] Re: property editor component

2009-02-24 Thread Tracy Spratt
Where will the dataProvider come from? --- In flexcoders@yahoogroups.com, Sefi Ninio wrote: > > Okay, how about this: > When defining a combo box as an itemEditor, and specifying the > editorDataField - How can I specify the combo box dataProvider? > I can use the model to bind a dp to the combob

[flexcoders] Re: property editor component

2009-02-24 Thread Tracy Spratt
I don't know of a component, but i implemented a property editor several years ago. the core is the input item REnderer. Here is the code, maybe it will help Tracy http://www.adobe.com/2006/mxml"; xmlns="*" width="100%" horizontalAlign="right" verticalAlign="middle" >

RE: [flexcoders] combo box help

2009-02-24 Thread Tracy Spratt
Have a change handler on the ComboBox get the key value form the selectedItem and invoke an RPC call (protocol of you choice) aganst the server platform, passing in the key value. Have the backend query the database using the key, and return the value to Flex via a result handler. Have that ha

RE: [flexcoders] NavBar - setTargetViewStack

2009-02-24 Thread Tracy Spratt
Consider binding the dataProvider instead of assigning it. Tracy From: flexcoders@yahoogroups.com on behalf of mikeycmccarthy Sent: Tue 2/24/2009 4:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] NavBar - setTargetViewStack Hi there, I've written

RE: [flexcoders] appending a record to xml file

2009-02-24 Thread Tracy Spratt
What server platform and language are you using to read/write on the server file system? From: flexcoders@yahoogroups.com on behalf of naresh ch Sent: Tue 2/24/2009 9:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] appending a record to xml file how

RE: [flexcoders] Re: Accordion question - height minus header space

2009-02-24 Thread Tracy Spratt
Yes, most all layout containers have default padding. Tracy From: flexcoders@yahoogroups.com on behalf of lanekelly5 Sent: Tue 2/24/2009 9:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Accordion question - height minus header space I think I

RE: [flexcoders] Re: XML Parsing - maintaining a record pointer

2009-02-24 Thread Tracy Spratt
x I am not "getting". That cursor idea another poster mentioned sounds intriguing... --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Tracy Spratt" wrote: > > I would suggest that you do not think in terms of "reading the file&q

[flexcoders] Positioning logic for pop-up?

2009-02-21 Thread Tracy Spratt
I need to constain a popup to stay with the application boundries. I will certainly be able to grind this logic out, but am wondering if anyone might have done it already. Hmm, if I can find a standard component that does this, that would also be a place to look. Tracy Spratt Lariat Services

RE: [flexcoders] Re: ToggleButtonBar xml based dataProvider

2009-02-21 Thread Tracy Spratt
If floortasks is a component, then this makes no sense: taskList = XMLList(resultXML.floortasks); You need to use the xml data for the dataProvider not the component. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders

RE: [flexcoders] Re: Error message in debug console?

2009-02-20 Thread Tracy Spratt
Did you clean the project? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markflex2007 Sent: Friday, February 20, 2009 2:43 PM To: flexcoders

RE: [flexcoders] ToggleButtonBar xml based dataProvider

2009-02-20 Thread Tracy Spratt
Certainly. Why would you think not? Though to speak accurately, you would use XMLList or XMLListCollection as the dataProvider. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod

RE: [flexcoders] XML Parsing - maintaining a record pointer

2009-02-20 Thread Tracy Spratt
I would suggest that you do not think in terms of "reading the file". Rather, use e4x to find the node you want to process, then go from there. OTOH, it is acceptable to manipulate an XMLList, especially if your data is a single level. Tracy Spratt Lariat Services Flex d

RE: [flexcoders] Error message in debug console?

2009-02-20 Thread Tracy Spratt
Myabe you broke your html wrapper? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markflex2007 Sent: Friday, February 20, 2009 1:58 PM To: flexcoders

RE: [flexcoders] Relative Layout Question

2009-02-20 Thread Tracy Spratt
Well, first, you are specifying that the two panels take up a total of 100% of the app height, so what you describe is what you are asking for. You can use an expression in binding braces. Try this, see if it does what you want: Tracy Spratt Lariat Services Flex development bandwidth

RE: [flexcoders] Multiple filters on datagrid

2009-02-20 Thread Tracy Spratt
Why not just do all the logic in the filter fuction? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of m_ba...@goodyear.com Sent: Friday, February 20, 2009

RE: [flexcoders] Accordion problem - rowCount/scrollbar

2009-02-20 Thread Tracy Spratt
I don't think I have ever set rowCount with Accordion, and have never seen the problem you describe. What happens if you do not set it? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:fl

RE: [flexcoders] Running Flex from HTA

2009-02-20 Thread Tracy Spratt
l in an IE browser without the security restrictions of a browser. "hta" has other meanings in other contexts. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogrou

RE: [flexcoders] Problem accessing data of an XML file

2009-02-20 Thread Tracy Spratt
But first, do not use mx:Model, it will not work with e4x expressions. Instead, use mx:XML. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Paul Andrews

RE: [flexcoders] Re: Using an itemRenderer in a grid and rendering glitches

2009-02-19 Thread Tracy Spratt
key parts you should learn about are: set data() commitProperties() createChildren() updateDisplayList measure() Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On

RE: [flexcoders] Re: Repeaters and Referencing Component IDs

2009-02-19 Thread Tracy Spratt
ng to support a theory that I do not even know is correct. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jason Sent: Thursday, February 19, 2009 4:34

RE: [flexcoders] Re: Repeaters and Referencing Component IDs

2009-02-19 Thread Tracy Spratt
I don't know that repeater makes a reference array for child components of the repeated parent. It may, but I never do it that way. Try the component. The refactor will take you maybe 3 minutes, and you will never go back. Tracy Spratt Lariat Services Flex development band

RE: [flexcoders] Re: Weird XMLListCollection behaviour - items won't remove

2009-02-19 Thread Tracy Spratt
trace(x.toXMLString()); //is that the node you expect? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexcoder2008 Sent: Thursday, February 19, 2009 4

RE: [flexcoders] Re: Weird XMLListCollection behaviour - items won't remove

2009-02-19 Thread Tracy Spratt
Did you verify that var x:XML = unApprovedList[index]; is returning a good reference? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexcoder2008 Sent

RE: [flexcoders] Repeaters and Referencing Component IDs

2009-02-19 Thread Tracy Spratt
ld make an array of the 5 instances. Then I could do: myTree[0].imageSource = myImageUrl; Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Merrill, Jason Sent

RE: [flexcoders] Re: Forcing an Image to redraw when the source filename is the same

2009-02-19 Thread Tracy Spratt
Have you tried setting source=null; then resetting the source to the actual url? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexcoder2008 Sent

RE: [flexcoders] Re: Weird XMLListCollection behaviour - items won't remove

2009-02-19 Thread Tracy Spratt
Good. Are you using copy() when you addItem() to the approvedList? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexcoder2008 Sent: Thursday

RE: [flexcoders] design question: editing / saving complex valueobjects

2009-02-19 Thread Tracy Spratt
Can you make the validation functionality independently available? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Maciek Sakrejda Sent: Thursday, February

RE: [flexcoders] Read XML files

2009-02-19 Thread Tracy Spratt
I'd suggets HTTPService for reading xml files. It is a bit easier to use than URLLoader, and aimed specifically at XML over http. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:fl

RE: [flexcoders] Re: Weird XMLListCollection behaviour - items won't remove

2009-02-19 Thread Tracy Spratt
First, are you sure your collections are independent? If you use the same XMLList for both, they are not. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

RE: [flexcoders] Re: How can I shorten the heading on the Advanced Data Grid

2009-02-19 Thread Tracy Spratt
Set sortExpertMode="true" Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Amy Sent: Thursday, February 19, 2009 11:13 AM To: flexcoders@yahoo

RE: [flexcoders] Flex compile error

2009-02-18 Thread Tracy Spratt
Did you "Clean" the project? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nathaniel Skiba Sent: Wednesday, February 18, 2009 8:03 PM To:

RE: [flexcoders] Help with Timer issue

2009-02-18 Thread Tracy Spratt
y the setup to the minimum and see if the issue continues. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of trishhartnett Sent: Wednesday, February 18, 2009

RE: [flexcoders] Desperate Help! crossdomain.xml

2009-02-18 Thread Tracy Spratt
You are missing the most important part: Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Wally Kolcz Sent: Wednesday, February 18, 2009 10:11 AM To

RE: [flexcoders] Re: parse SOAP response for values

2009-02-18 Thread Tracy Spratt
function handleResult(event:ResultEvent):void var xmlResult:XML = XML(event.result) trace(xmlResult.toXMLString()); //CRITICAL step, verify your structure Then get the next node in the path you want, trace again, etc. Tracy Spratt Lariat Services Flex development bandwidth available

RE: [flexcoders] is it possible to track visitors / the page an swf is embedded on

2009-02-17 Thread Tracy Spratt
Look into the BrowserManager, perhaps it will help. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of uclamerrick Sent: Wednesday, February 18, 2009 12:24 AM

RE: [flexcoders] parse SOAP response for values

2009-02-17 Thread Tracy Spratt
One big hassle with SOAP is the namespaces. Once you get that straight, you can use normal e4x expressions on it. Where are you having difficulty? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com

[flexcoders] Proxy scripts for crossdomain issues

2009-02-17 Thread Tracy Spratt
Here is a php proxy by our own Abdul Qabiz. I'll post any others I find as well. http://www.abdulqabiz.com/blog/archives/general/php_proxy_script_for.php Tracy Spratt Lariat Services Flex development bandwidth available

RE: [flexcoders] ImageSnapshot sandbox problem

2009-02-17 Thread Tracy Spratt
it a trivial exercise. Next time I see one, I will start a collection. This has not been an issue for me because all of my app to date have had a server-side business logic tier, which does all my external data access. Tracy Spratt Lariat Services Flex development bandwidth available

RE: [flexcoders] Re: Using an itemRenderer in a grid and rendering glitches

2009-02-17 Thread Tracy Spratt
Right. Or my response would be, "is your itemRenderer coded correctly?" Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Amy Sent: Tuesday, F

RE: [flexcoders] Re: filter arraycollection with checkbox acting wired

2009-02-17 Thread Tracy Spratt
I've quit this one. The original poster needs to develop his debugging techniques before going any further. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Beha

RE: [flexcoders] Presenting images with links to new Browser location

2009-02-17 Thread Tracy Spratt
Image does dispatch a click event. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of brucewhealton Sent: Monday, February 16, 2009 11:33 PM To: flexcoders

RE: [flexcoders] Need advise on how to display multiple SWF apps

2009-02-16 Thread Tracy Spratt
with different data? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of todd.bruner Sent: Monday, February 16, 2009 3:59 PM To: flexcoders@yahoogroups.com Subject

RE: [flexcoders] open new browser in maximized state

2009-02-16 Thread Tracy Spratt
And the Flex side: var sLoadUrl:String = _sSiteAssetsUrl + "help/" + sFileName; ExternalInterface.call("showHelp", sLoadUrl); Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups

RE: [flexcoders] open new browser in maximized state

2009-02-16 Thread Tracy Spratt
indowHelp = window.open(sURL,'Help',sWindowProperties); sLastURL = sURL; } } }//showHelp Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]

RE: [flexcoders] DYNAMIC LINKBUTTONS styleNames.

2009-02-16 Thread Tracy Spratt
Search the archives for; addChild reference array One example: _aChildren["one"] = tiletest.addChild(moduleloader); Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoo

RE: [flexcoders] DYNAMIC LINKBUTTONS styleNames.

2009-02-15 Thread Tracy Spratt
"...set their IDs..." That does not work in actionscript, only in mxml. You need to take the reference from addChild, and put in your array. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoo

RE: [flexcoders] Re: Socket communications in Flex

2009-02-14 Thread Tracy Spratt
Yes. I wrote a socket server in VB.Net that talked to a Flex app. It was years ago but I'll send you the code if you like. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:fl

RE: [flexcoders] Is there a 'token' equivalent to use with the URLLoader class?

2009-02-13 Thread Tracy Spratt
What does the class reference say about that method? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of luvfotography Sent: Friday, February 13, 2009 5:35 PM

RE: [flexcoders] DYNAMIC LINKBUTTONS styleNames.

2009-02-13 Thread Tracy Spratt
styleName is not a property, it is a style. You have to use setStyle(); Also, debug your loop, make sure you have a good refrence to the button. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com

RE: [flexcoders] DYNAMIC LINKBUTTONS styleNames.

2009-02-13 Thread Tracy Spratt
Yes, sailorsea, see that link. Also, be careful of terminology. I said "store references". This is not the same as storing "IDs". You can do this using ids, with bracket notation. var sId:String = "test001"; this[sId].setStyle(); //should work

RE: [flexcoders] Re: how to bubble and catch events

2009-02-13 Thread Tracy Spratt
Iv'e lost you. If this is no longer about bubbling and catching events, start a new thread. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stevepru

RE: [flexcoders] DYNAMIC LINKBUTTONS styleNames.

2009-02-13 Thread Tracy Spratt
Store references to each in an Array, then loop over the array. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of sailorsea21 Sent: Friday, February 13, 2009

RE: [flexcoders] Re: filter arraycollection with checkbox acting wired

2009-02-13 Thread Tracy Spratt
us to help, we need to do that process a a thought experiment. It will be much easier for you do do it in the debugger. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com

RE: [flexcoders] how to bubble and catch events

2009-02-13 Thread Tracy Spratt
That should work, the second argument in the event constructor makes it bubble. I don't see your listener defined. You should do that in a function called on creation complete of the application: this.addEventListener(Event.ADDED, onAction) Tracy Spratt Lariat Services

RE: [flexcoders] HTML > advice please

2009-02-13 Thread Tracy Spratt
nagement in the Flex wrapper, Since I always turn this off, I had to make a small modification to the code to make it work for me. But other than that, it works flawlessly, seamlessly, in a word, great. Tracy Spratt Lariat Services Flex development bandwidt

RE: [flexcoders] 15 seconds timeout will a progress bar help?

2009-02-12 Thread Tracy Spratt
Yep, last time I checked, there was an arbitrary maximum of 60 seconds. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Ryan Graham Sent: Thursday

RE: [flexcoders] Re: Events and Child SWFs

2009-02-12 Thread Tracy Spratt
;s parent chain. Application.application is at the top, except for Popups. Then SystemManager is the top. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stldvd Sent: Thu

RE: [flexcoders] Re: Events and Child SWFs

2009-02-12 Thread Tracy Spratt
No, you are mistaken. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Wally Kolcz Sent: Thursday, February 12, 2009 1:25 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Events and Child SWFs

2009-02-12 Thread Tracy Spratt
ntListener(). A bubbling event will hot help you going in this direction (down to the child) Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stldvd Sent

RE: [flexcoders] ArrayCollection DataProvider question.

2009-02-11 Thread Tracy Spratt
approach. But I mostly use XML and XMLListCollection. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of - - Sent: Wednesday, February 11, 2009 9:37 AM To: flex

RE: [flexcoders] ArrayCollection DataProvider question.

2009-02-10 Thread Tracy Spratt
You did not say how you got your XML into an ArrayCollection, but I suspect it is not the good way. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Henrique Sen

<    3   4   5   6   7   8   9   10   11   12   >