RE: [flexcoders] Re: xml as dataprovider to datagrid

2009-08-02 Thread Tracy Spratt
, such as making calculated properties, sorting, etc. To stay with e4x XML, use a labelFunction, which can traverse the nested xml nodes as needed. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf

RE: [flexcoders] Re: AIR app, need MouseMove events NOT bounded by screen

2009-07-31 Thread Tracy Spratt
that border, the changes in the other axis do generate events, but that doesn't really help me. I do not know what is happening at the AIR runtime/OS/driver level, but the mouse and joystick have the same behavior at the application level. Tracy Spratt, Lariat Services, development services

RE: [flexcoders] Need help Combobox label property

2009-07-29 Thread Tracy Spratt
Use labelFunction, but an alternative to a switch statement would be to use an associative array (Object). Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mark Lapasa Sent: Tuesday

RE: [flexcoders] Re: AIR app, need MouseMove events NOT bounded by screen

2009-07-29 Thread Tracy Spratt
the cursor functionality on the back-end application itself, where they can hopefully get lower level access to the mouse/cursor/joystick driver Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf

RE: [flexcoders] variables name are in array

2009-07-29 Thread Tracy Spratt
Try: for(var i:int = 0;i arrName.length; i++) Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alexander Tarelkin Sent: Wednesday, July 29, 2009 8:41 AM To: flexcoders

RE: [flexcoders] Re: AIR app, need MouseMove events NOT bounded by screen

2009-07-29 Thread Tracy Spratt
program to reset the cursor position. As hoped, AIR recognizes this action and the next mouse move begins at the reset position. I still have some wrinkles to work out but I think this will keep us going until we figure out something better. Tracy Spratt, Lariat Services, development

[flexcoders] AIR app, need MouseMove events NOT bounded by screen

2009-07-28 Thread Tracy Spratt
the position of the system cursor. If I could reset the mouse x,y to some positive values when it approached an edge, that would work as well. Is there anyway I can get deeper into the mouse event? If I could get a generic moving event, that would also suffice. Any thoughts? Tracy Spratt

RE: [flexcoders] AIR app, need MouseMove events NOT bounded by screen

2009-07-28 Thread Tracy Spratt
No, the joystick is like moving the mouse without any button down. I am currently listening to systemManager, I'll try stage to see if the behavior is any different. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod

RE: [flexcoders] AIR app, need MouseMove events NOT bounded by screen

2009-07-28 Thread Tracy Spratt
I have tested with a joystick and it behaves the same as moving the mouse with no button pressed, and events stop at the screen boundaries. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf

RE: [flexcoders] Sending Child's httpservice call from Parent

2009-07-26 Thread Tracy Spratt
{ . text.send() } Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of fgno...@rocketmail.com Sent: Sunday, July 26, 2009 12:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders

RE: [flexcoders] Embedding Multiple Images

2009-07-24 Thread Tracy Spratt
Do you have the image TreeItemRender working correctly? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of n_manjunatha Sent: Friday, July 24, 2009 1:02 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: FileReference Upload

2009-07-24 Thread Tracy Spratt
Wouldn't this be a ruby on rails issue rather than a Flex issue? Or how are you trying to .move it to another remote server? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of [p e r c e

RE: [flexcoders] Re: Question about a flex component

2009-07-24 Thread Tracy Spratt
You must use the collection API to add the items in order for the necessary events to be dispatched to update the UI. What is the data type of you dataProvider? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod

RE: [flexcoders] Advice from people smarter than me: Data prep for a web service

2009-07-23 Thread Tracy Spratt
When you trace((result as XML).toXMLString()),what do you see? XML? If so, then build you e4x expression one step at a time, tracing the node for each step. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod

RE: [flexcoders] PopUp vs other containers

2009-07-17 Thread Tracy Spratt
Just as you say, use a pop up when you need a component that is above the rest of the app, and perhaps needs to be moved. You can do the same this with other components, but PopUps save you a lot of coding. Tracy Spratt, Lariat Services, development services available _ From

RE: [flexcoders] bind one arraycollection to another

2009-07-16 Thread Tracy Spratt
You can't use an Object as a dataProvider. So you either need to loop using for-each, or use a different data type for the second column. An ArrayCollection might be best, then you could bind the second DG: dataProvider={dg1.selectedItem.acCol2} Tracy Spratt, Lariat Services

RE: [flexcoders] Setting Tree.selectedItem

2009-07-13 Thread Tracy Spratt
Please do not “hijack” threads. If your post is not directly related to a current thread, start a new subject. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Terry Human Sent

RE: [flexcoders] Setting Tree.selectedItem

2009-07-13 Thread Tracy Spratt
Please do not “hijack” threads. If your post is not directly related to a current thread, start a new subject. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Terry Human Sent

RE: [flexcoders] Re: This is not as easy as it seems ... apparently...

2009-07-13 Thread Tracy Spratt
the value of an item.property directly. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Craig Sent: Sunday, July 12, 2009 11:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re

RE: [flexcoders] Setting Tree.selectedItem

2009-07-11 Thread Tracy Spratt
I have a couple examples on www.cflex.net http://www.cflex.net/ . Search for expand tree. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of bhaq1972 Sent: Friday, July 10, 2009 8:21 AM

RE: [flexcoders] Re: Trying to make SoundManager class using getDefinitionByName

2009-07-11 Thread Tracy Spratt
Thanks, Steve, I may need to go that way. I am trying to do it with embedded sounds, because the files are tiny, and it is an AIR app so bandwidth is not an issue. Worst case is I make a switch function, but I am striving for something a bit easier to maintain. Tracy Spratt, Lariat

RE: [flexcoders] Re: Custom DataGrid with Form for itemeditor (any examples)???

2009-07-11 Thread Tracy Spratt
an item renderer in a list. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexaustin Sent: Friday, July 10, 2009 9:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Custom

RE: [flexcoders] Re: Trying to make SoundManager class using getDefinitionByName

2009-07-11 Thread Tracy Spratt
; classRef = this[sSoundName]; var s:Sound = new classRef as Sound; s.play(); }//playSound Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Saturday, July 11

[flexcoders] Trying to make SoundManager class using getDefinitionByName

2009-07-09 Thread Tracy Spratt
I am trying to make a sound manager class that will simplify playing a sound by using an id string. I have embedded the sound files, but am havign trouble getting the Sound object initialized. I get an error, Variable beep1 is not defined though cllearly it is. I suspect I am misusing

RE: [flexcoders] tree not expanding with expandItem()

2009-07-09 Thread Tracy Spratt
it. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mic Sent: Wednesday, July 08, 2009 12:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] tree not expanding with expandItem

RE: [flexcoders] Problem with calling customcomponent second time.

2009-07-09 Thread Tracy Spratt
Also, when upi update the ComboBox's dataProvider, you should use the collection API to ensure that the necessary events are dispatched to ensure the visual component is updated. Don't use Array or XMLList as a dataProvider. Tracy Spratt, Lariat Services, development services available

RE: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService

2009-07-07 Thread Tracy Spratt
) As DataTable . Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Angelo Anolin Sent: Tuesday, July 07, 2009 8:09 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] ArrayCollection

RE: [flexcoders] Re: dynamic image gallery

2009-07-06 Thread Tracy Spratt
Implement you renderer using a set data override function so that you can debug the path. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stinasius Sent: Monday, July 06, 2009 12:27 PM

RE: [flexcoders] XML data translated to wrong datatype

2009-07-06 Thread Tracy Spratt
The default resultFormat is object, which attempts to cnvert your xml into a tree of dynamic objects, making its best guess about the data types. Switch to resultFormat=e4x which will give you your data in its unmodified xml/string format. Tracy Spratt, Lariat Services, development

RE: [flexcoders] How to popup a titlewindow in precise position

2009-07-06 Thread Tracy Spratt
Set the popup x and y properties to whatever you need. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of j2me_soul Sent: Tuesday, June 30, 2009 4:52 AM To: flexcoders Subject: [flexcoders

RE: [flexcoders] How to handle keyboard shortcut globally?

2009-07-06 Thread Tracy Spratt
Why do you say using systemManager does not work? It does for me. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Sergey Kovalyov Sent: Monday, July 06, 2009 11:04 AM To: flexcoders

RE: [flexcoders] How to iterate items in repeater?

2009-07-06 Thread Tracy Spratt
changes, and repeat that. You will find this often eliminates the need to iterate the repeated content. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of j2me_soul Sent: Saturday, July 04, 2009

RE: [flexcoders] How to pass Query String in Url

2009-07-06 Thread Tracy Spratt
=%20password + loginname + password= password; loginService.url = sUrl; loginService.send(); Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Charles Parcell Sent: Saturday, July 04

RE: [flexcoders] Popup in new Browser window

2009-07-06 Thread Tracy Spratt
Are you committed to using a new browser window? Why not use a non-modal popup? You could do it with a separate browser, but it would be much harder. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod

RE: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService

2009-07-06 Thread Tracy Spratt
at a binary protocol. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Angelo Anolin Sent: Friday, July 03, 2009 2:09 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders

RE: [flexcoders] Re: Item Renderer doesn't work with just one Item :-(

2009-07-06 Thread Tracy Spratt
If you are using the default resultFormat, this behavior is an issue. I'd advise e4x. Or, test the result to see what it contains and conditionally react. ArrayUtil.toArray might also be helpful. Tracy Spratt, Lariat Services, development services available _ From: flexcoders

RE: [flexcoders] [Shared Object] Save XML

2009-06-25 Thread Tracy Spratt
What happens when you try? You can always save it as a string then re-parse it when you retrieve it. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of thelordsince1984 Sent: Tuesday

RE: [flexcoders] Need help tranforming some XML

2009-06-22 Thread Tracy Spratt
... break that long line of E4X into separate components... I am with you here. Do it one step at a time and check each step with a trace(xml.toXMLString()). If you really like concise, hard to read code, you can squash it back together once you get it working. Tracy Spratt, Lariat Services

RE: [flexcoders] Flying text or passing text??

2009-06-16 Thread Tracy Spratt
One way to do this is to use a canvas of fixed width and inside that have a lable that is the length of the text, and use a Move effect to move the label over the canvas. There are examples available. Tracy Spratt, Lariat Services, development services available _ From

RE: [flexcoders] Re: ambiguous reference error

2009-06-14 Thread Tracy Spratt
.there are 2 MediaProfiles. that would be where I looked first. Why are there two classes with the same name in the project? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of [p e r c e

RE: [flexcoders] Re: Dynamically Naming Objects

2009-06-14 Thread Tracy Spratt
this much easier to code, especially dispatching events, etc. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Brad Bueche Sent: Sunday, June 14, 2009 6:11 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Dynamically Naming Objects

2009-06-14 Thread Tracy Spratt
{ dispatchEvent(new Event(itemClick,false); //we do not need/want this event to bubble }//onClick ]]/mx:Script !-- Now declare the Item UI -- mx:Text id=lbDescription text={_xmlit...@description} width=100% height=100% / /mx:HBox Tracy Spratt, Lariat Services

RE: [flexcoders] Issue with TileList

2009-06-14 Thread Tracy Spratt
mx:component . creates its own scope. To reach the parent scope, use outerDocument. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Ben Densmore Sent: Monday, June 15, 2009 12:45 AM

RE: [flexcoders] Re: ambiguous reference error

2009-06-13 Thread Tracy Spratt
And again, please, what reference is ambiguous? The error usually indicates. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Hoff Sent: Friday, June 12, 2009 6:17 PM To: flexcoders

RE: [flexcoders] Re: ambiguous reference error

2009-06-13 Thread Tracy Spratt
Please post what is on line: 349 in the generated class MediaProfile-generated.as Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of [p e r c e p t i c o n] Sent: Saturday, June 13, 2009

RE: [flexcoders] Re: ambiguous reference error

2009-06-13 Thread Tracy Spratt
Also, make sure you do not have an extra copy of MediaProfile.as somewhere in your project. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Saturday, June 13, 2009 5

RE: [flexcoders] Re: ArrayCollection and Datagrid Binding and DataProvider Question

2009-06-12 Thread Tracy Spratt
Data binding in general is not two-way, but an editable datagrid is a special case. It will update the dataProvider items automatically. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf

RE: [flexcoders] ambiguous reference error

2009-06-12 Thread Tracy Spratt
Which reference is ambiguous? I would mistrust a variable named valid as being a system reserved word. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of [p e r c e p t i c o n] Sent

RE: [flexcoders] problem with Tree control data provider

2009-06-12 Thread Tracy Spratt
You may need to use a custom DataDescriptor. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of srini3477 Sent: Wednesday, June 10, 2009 2:12 PM To: flexcoders@yahoogroups.com Subject

RE: [flexcoders] Flex and .NET

2009-06-08 Thread Tracy Spratt
the corresponding database rows (I also use an action attribute on modified nodes to specify delete or new records.) Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Sam Lai Sent: Sunday, June

RE: [flexcoders] Re: HTTPService.send(params) and nothing happens?

2009-06-08 Thread Tracy Spratt
? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of ciminop Sent: Sunday, June 07, 2009 7:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTPService.send(params) and nothing

RE: [flexcoders] A question about ViewStack

2009-06-08 Thread Tracy Spratt
mx:ViewStack id=myViewStack selectedIndex=1 Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of al-al :D Sent: Monday, June 08, 2009 11:30 PM To: flexcoders@yahoogroups.com Subject

RE: [flexcoders] Re: HTTPService.send(params) and nothing happens?

2009-06-08 Thread Tracy Spratt
to a standard html web page, it will return html. Possibly, you could set your resultFormat=text and then parse the html string. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of ciminop

RE: [flexcoders] Pb with mx:image

2009-06-07 Thread Tracy Spratt
includeInLayout=false Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of christophe_jacquelin Sent: Sunday, June 07, 2009 9:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Pb

RE: [flexcoders] Button to link

2009-06-07 Thread Tracy Spratt
See LinkButton. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of christophe_jacquelin Sent: Sunday, June 07, 2009 9:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Button

RE: [flexcoders] Pb with Slider

2009-06-07 Thread Tracy Spratt
Search for snap in the docs. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of christophe_jacquelin Sent: Sunday, June 07, 2009 9:18 AM To: flexcoders@yahoogroups.com Subject: [flexcoders

RE: [flexcoders] customized tree control

2009-06-06 Thread Tracy Spratt
/showFileDetails.cfm?ObjectID=575 Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of srini3477 Sent: Saturday, June 06, 2009 8:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders

RE: [flexcoders] Re: reference xml using variable dynamically

2009-06-05 Thread Tracy Spratt
Yeah, that really is better. I just have used the bracket notation for so much longer than e4x that I forget. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Amy Sent: Friday, June 05

RE: [flexcoders] reference xml using variable dynamically

2009-06-04 Thread Tracy Spratt
Try: for each(var item:Object in nutritionXML[carousel].itemdata) Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jason B Sent: Thursday, June 04, 2009 7:50 PM To: flexcoders

RE: [flexcoders] Variables to reference variables/ids (not variable variables)

2009-06-04 Thread Tracy Spratt
You can do: this[chart].series = currentSeries; if linechart0 is an id for a component instance or a property of this Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Pedro Sena

[flexcoders] Use ChangeWatcher with dynamic Object?

2009-06-03 Thread Tracy Spratt
is not bindable, but should an explicit ChangeWatcher fire when a dynamic property is added or changed? Tracy Spratt, Lariat Services, development services available

RE: [flexcoders] Referencing Hiddenfield in html page

2009-06-02 Thread Tracy Spratt
I haven't worked withHiddenField, but you can have the server generate the content for the flashvar, something like: value='firstName=%=MyServerVar%' Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com

RE: [flexcoders] Mx:Http Service Refresh Issue

2009-06-01 Thread Tracy Spratt
The somethin. do has to be unique each time. Some people use Date.getTime(). You can also try using POST instead of GET. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of guess what Sent

RE: [flexcoders] extract data from advancedDataGrid. Please help.

2009-06-01 Thread Tracy Spratt
selectedItem is a reference to the locations node that was clicked. No need to use the index: var xmlLocation= XML(agd.selectedItem); var sRegion:String = xmllocati...@region; var sTitle:String = xmlLocation.details[0].21_title; trace(xmlLocation.toXMLString()) Tracy Spratt, Lariat

RE: [flexcoders] Referencing Hiddenfield in html page

2009-06-01 Thread Tracy Spratt
You can use ExternalInterface to call javascript to get it into Flex or you can pass the data into the Flex app via flashvars when you start the app. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com

RE: [flexcoders] Converting XML Data Retrieved from Web Service to ArrayCollection

2009-05-28 Thread Tracy Spratt
No simple example handy, but it is straightforward. Declare a Class, implement public properties using either public variables or getter/setter functions. You could probably find an example if you search. Tracy Spratt, Lariat Services, development services available _ From

RE: [flexcoders] Re: Run time Warning

2009-05-28 Thread Tracy Spratt
No, Tim that is not correct, XML *IS* bindable. XMLList is not bindable. This warning is because selectedItem is an object and Object is not bindable. The fix is to cast/convert it to xml: text={XML(salesreps.selectedItem).ext} The warning is misleading. Tracy Spratt, Lariat

RE: [flexcoders] Cause Label to resize after setting text

2009-05-27 Thread Tracy Spratt
Thanks, all. I called: myLabel.validateNow() and declared a handler on the myLabel.resize event, did my event logic in there, and all seems to be working fine. Tracy Spratt, Lariat Services, development services available -Original Message- From: flexcoders@yahoogroups.com

RE: [flexcoders] Converting XML Data Retrieved from Web Service to ArrayCollection

2009-05-27 Thread Tracy Spratt
better would be to create a VO with strongly typed properties(SupplierID. etc) rather than the generic Object. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Angelo Anolin Sent: Wednesday

RE: [flexcoders]Databinding in htmlText in repeater puzzle

2009-05-27 Thread Tracy Spratt
. You will actually be able to debug it. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of dorkie dork from dorktown Sent: Wednesday, May 27, 2009 11:25 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Flex DataGrid Filter via Popup Window

2009-05-26 Thread Tracy Spratt
var winFilter:FilterDia log = PopUpManager. createPopUp( this, FilterDialog, true) as FilterDialog; winFilter.dg = myDataGrid. In FilterDialog, expose dg as a public property using a setter function. Tracy Spratt, Lariat Services, development services available _ From

RE: [flexcoders] Re: httpservice error #2032

2009-05-26 Thread Tracy Spratt
I would suspect the URL as well. Try a full url, I have had a lot of problems using relative urls And I have never used an http service that did not return something. It would concern me. Tracy Spratt, Lariat Services, development services available _ From: flexcoders

[flexcoders] Cause Label to resize after setting text

2009-05-26 Thread Tracy Spratt
: if (myLabel.width this.width) in the setter I have not yet found the right invalidation, or event or override to trigger my measure logic. Any suggestions? Tracy Spratt, Lariat Services, development services available

RE: [flexcoders] Flex Builder not rebuilding source

2009-05-26 Thread Tracy Spratt
Delete everything in the bin-debug folder, and clear the browser cache. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jeffry Houser Sent: Tuesday, May 26, 2009 5:35 PM To: flexcoders

RE: [flexcoders] Re: httpservice error #2032

2009-05-26 Thread Tracy Spratt
If the POST body is empty, Flex switches to a GET. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexaustin Sent: Wednesday, May 27, 2009 12:28 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Newbie Question - databinding an arrayCollection to a List Control

2009-05-25 Thread Tracy Spratt
..dataProvider.updateItem(absentee.selectedItem); Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of hoytlee2000 Sent: Sunday, May 24, 2009 4:28 AM To: flexcoders@yahoogroups.com Subject

RE: [flexcoders] Working with files

2009-05-25 Thread Tracy Spratt
That looks correct, and result is the correct event and you should be able to rely on data being complete. trace(data); to check the content. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com

RE: [flexcoders] Flex DataGrid Filter via Popup Window

2009-05-25 Thread Tracy Spratt
Of course, there are many ways to do this, but one simple approach would be to pass a reference to the dataGrid into the pop-up. That would give you access to the DG.columns array to populate your columns ComboBox. Tracy Spratt, Lariat Services, development services available

RE: [flexcoders] Various problems with DataGrid

2009-05-21 Thread Tracy Spratt
an interactive itemRenderer from scratch. Find one and modify it for you own use. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Laurence MacNeill Sent: Thursday, May 21, 2009 7:37 PM

RE: [flexcoders] Still more problems with DataGrid

2009-05-21 Thread Tracy Spratt
If you use the collection API to remove the items, the UI will update correctly. What is your dataProvider? How are you deleting the items? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com

RE: [flexcoders] Re: modify item before binding to datagrid

2009-05-20 Thread Tracy Spratt
This will solve your sort issue, will provide the most performant solution, and will allow for much more functionality if needed. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Angelo

RE: [flexcoders] Re: Query String Parameters in Flex Builder

2009-05-19 Thread Tracy Spratt
Yeah, this used to work for me but it seems to have broken at some point, not sure when. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of creativepragmatic Sent: Tuesday, May 19, 2009 5

RE: [flexcoders] Tree

2009-05-18 Thread Tracy Spratt
Thinking in terms like mxml page will not help you. Think instead in terms like display component, or 'switch view. So, in the click handler on the tree, use some data in the clicked nod to cause a ViewStack to change its currentIndex. Tracy Spratt, Lariat Services, development services

RE: [flexcoders] Re: modify item before binding to datagrid

2009-05-18 Thread Tracy Spratt
If your data is changing type, I bet you have left the RPC data service at its default resultFormat. Set resultFormat=e4x and adjust your dataProvider expression code accordingly. DO use a result handler, do NOT bind directly to lastResult. Tracy Spratt, Lariat Services, development

RE: [flexcoders] Re: Getting an error when using a tree as a component

2009-05-18 Thread Tracy Spratt
I do not see a click handler function in what you posted. Did I miss it? No, wait, hold on, You can't use Application as the root tag for a component. I thought you said you were using canvas. Tracy Spratt, Lariat Services, development services available _ From: flexcoders

RE: [flexcoders] Doing math with Date()

2009-05-18 Thread Tracy Spratt
You can do you own calculations using the getTime() method, which returns the number of milliseconds from a reference date. But probably you should find a date utility library. I have seen several. Tracy Spratt, Lariat Services, development services available _ From: flexcoders

[flexcoders] What version of AIR is req'd to run Flex 4 Gumbo?

2009-05-17 Thread Tracy Spratt
between a Flash Player version and an AIR version? I'm afraid I have not been paying as much attention to AIR as I perhaps should. Tracy Spratt, Lariat Services, development services available

RE: [flexcoders] Question on Mx:HTTP Service

2009-05-17 Thread Tracy Spratt
the url in Flex, you can simply assign the url to the url property: reportProfile.url = _sMyUrl; reportProfile.send(); Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of myworld100us

RE: [flexcoders] Re: Sorry i am not a rocket scientist...

2009-05-15 Thread Tracy Spratt
give it a look. Also, that is a crappy subject for a good question/thread. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of grg_blls Sent: Friday, May 15, 2009 5:10 AM To: flexcoders

RE: [flexcoders] I want print component to be invisible in the ui

2009-05-15 Thread Tracy Spratt
I have successfully printed using visible= false. I was adding the report form to a canvas, so includeInLayout was not necessary for me. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf

RE: [flexcoders] Re: Getting an error when using a tree as a component

2009-05-13 Thread Tracy Spratt
Which line is throwing the error? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of timgerr Sent: Wednesday, May 13, 2009 10:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re

RE: [flexcoders] Re: Buggy HorizontalList

2009-05-13 Thread Tracy Spratt
the problem. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of nathanpdaniel Sent: Wednesday, May 13, 2009 9:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Buggy

RE: [flexcoders] Need to save Data in a database

2009-05-13 Thread Tracy Spratt
://www.cflex.net/showFileDetails.cfm?ObjectID=556 Also, here is an in-line aspx page that shows one way to query a SQL Server database through HTTPService. Note the Response.ContentType = text/xml You will want that in any aspx page that you want xml from. Tracy Spratt, Lariat Services

RE: [flexcoders] Tracy's search tree solution question ...

2009-05-12 Thread Tracy Spratt
Perhaps you should set the selectedItems array instead. treeSlsHrchy.selectedItems.push( xmllistDescendants[i]); Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mic Sent: Monday, May

RE: [flexcoders] Getting an error when using a tree as a component

2009-05-12 Thread Tracy Spratt
We are going to need to see a bit of code, particularly the line that raises the exception. Go on and post the entire stack trace, some folks here can make use of it. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod

RE: [flexcoders] removing some labels on chart axis

2009-05-12 Thread Tracy Spratt
labelFunction() ? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of thomas parquier Sent: Tuesday, May 12, 2009 11:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] removing some

RE: [flexcoders] FlowBox Nesting

2009-05-12 Thread Tracy Spratt
Plain old VBox will do this for you. Set the lower grid height to 100% and it should resize dynamically to fit (If the VBox has a fixed height) If the VBox height is not set then its container will show scrollbars Tracy Spratt, Lariat Services, development services available

RE: [flexcoders] Buggy HorizontalList

2009-05-12 Thread Tracy Spratt
Are you using a custom ItemRenderer? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of nathanpdaniel Sent: Tuesday, May 12, 2009 1:02 PM To: flexcoders@yahoogroups.com Subject

RE: [flexcoders] FlowBox Nesting

2009-05-12 Thread Tracy Spratt
be only the verticalGap. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mike Oliver Sent: Tuesday, May 12, 2009 8:13 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] FlowBox

RE: [flexcoders] Need to save Data in a database

2009-05-11 Thread Tracy Spratt
What is you server-side platform? .net? PHP?, Java? ColdFusion?, etc. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Shabir Gilkar Sent: Monday, May 11, 2009 2:56 AM To: flexcoders

<    1   2   3   4   5   6   7   8   9   10   >