RE: [SPAM] [flexcoders] How to call a Actionscript function in a UI child from UI father ?

2009-10-14 Thread Tracy Spratt
Don't use binding braces in actionscript (the event handler declaration is actionscript) Try: click=getFileSize(data.filesize) That assumes the data object is created and has that property. Tracy Spratt, Lariat Services, development services available _ From: flexcoders

RE: [SPAM] [flexcoders] Web Service not returning all XML elements.

2009-10-14 Thread Tracy Spratt
that object tree is much harder than using e4x expressions. Best practice is to get your data as e4x, then process it yourself into an ArrayCollection of strongly typed value objects. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

RE: [SPAM] [flexcoders] Re: how to call a function from a component to another

2009-10-12 Thread Tracy Spratt
into the framework event code to be specific, but conceptually, that is a valid way to look at what happens. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of quantum_ohm Sent: Monday, October 12, 2009 11

RE: [SPAM] Re: [flexcoders] Flex with .Net

2009-10-12 Thread Tracy Spratt
Or use HTTPService. It works great with .net and is simpler to code than WebService. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of sachindev tripathi Sent: Friday, October 09, 2009

RE: [flexcoders] .Net Web Services Polling Question

2009-10-07 Thread Tracy Spratt
I have used polling with WebService and HTTPService and there is no significant difference. Be aware of BlazeDS, which provide push technology. I don't understand #3. Use a function to invoke send() and use result handler to handle the result. Do not bind directly to lastResult. Tracy

RE: [SPAM] Re: [flexcoders] calling array names dinamically

2009-10-07 Thread Tracy Spratt
Note that bracket notation works on both sides of an = assignment. So if you have a dynamic object, you can do: myObject['myPropertyName'] = someValue; Not directly bearing on your case, but a good think to know. Tracy Spratt, Lariat Services, development services available

RE: [flexcoders] rotate button

2009-10-04 Thread Tracy Spratt
. The other way is to use a matrix transformation. I have not done this yet, but it essentially does the same thing, moving the rotation registration point. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com

RE: [flexcoders] alteratif of if else function

2009-10-04 Thread Tracy Spratt
Or a loop. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Yesaya handoyo Sent: Sunday, October 04, 2009 4:58 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] alteratif

RE: [flexcoders] Re: DataGrid CheckBox itemRenderer/editor not updating dataProvider properly

2009-09-26 Thread Tracy Spratt
blog, yo might look to see haw he does it. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Greg Lafrance Sent: Saturday, September 26, 2009 9:24 AM To: flexcoders@yahoogroups.com Subject

RE: [flexcoders] Sorting XML HELP PLEASE

2009-09-26 Thread Tracy Spratt
And did you just try a as the sort field? I would expect that to work. If you were sorting on an attribute named a, the sort field would be @a. I am pretty sure the sortField cannot handle expressions. Tracy Spratt, Lariat Services, development services available _ From

RE: [flexcoders] XMLLIst += operator problem

2009-09-26 Thread Tracy Spratt
Hmm, it is acting like the XMLList variable is being passed as a value and not a reference. I can think of at least three other ways to do this. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com

RE: [flexcoders] Sorting XML HELP PLEASE

2009-09-26 Thread Tracy Spratt
Use a custom sortFunction. In that you will have references to the xml nodes and you can use normal e4x expressions to traverse the child nodes, then perform the sort logic. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

RE: [flexcoders] Sorting XML HELP PLEASE

2009-09-26 Thread Tracy Spratt
myAttribute=aaa a apple /a b pear /b /y /x /mx:XML /mx:Application Tracy Spratt, Lariat Services, development services available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com

RE: [flexcoders] e4x Filtering Success

2009-09-24 Thread Tracy Spratt
Don't do that much code in-line, declare a Bindable instance level XMLListCollection variable and create that in a creationComplete handler. That way you can debug your e4x expression using toXMLString(); It will be nearly impossible to debug the inline binding. Tracy Spratt, Lariat Services

RE: [flexcoders] trying to control space above label

2009-09-22 Thread Tracy Spratt
VBox has a verticalGap property. Set it to 0. also you can set the padding on the label to 0. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of mitchgrrt Sent: Monday, September 21, 2009

RE: [flexcoders] Can a variable set in one component be called in another component?

2009-09-22 Thread Tracy Spratt
You can pass references to one component into another. You can use a central model accessible by both components. You can use events. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf

RE: [flexcoders] Re: trying to control space above label

2009-09-22 Thread Tracy Spratt
Use a negative value in the verticalGap as needed. I think there is built-in padding in label. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of mitchgrrt Sent: Tuesday, September 22

RE: [flexcoders] Re: Can a variable set in one component be called in another component?

2009-09-22 Thread Tracy Spratt
No, it does not matter whether the data is complex or simple, complex data is passed by reference anyway. I have no simple example for a model. Google model, and singleton. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

RE: [flexcoders] How to implement GroupBox component in Flex world?

2009-09-20 Thread Tracy Spratt
Extend a container. Choose the one that provides the layout functionality you want. Override createChildren and add the Title label. Test with borders to be sure you don't have a z-order issue. Tracy Spratt, Lariat Services, development services available _ From: flexcoders

RE: [flexcoders] Re: How can we increase web service performance?

2009-09-18 Thread Tracy Spratt
(). Then call getTimer again in the result handler and subtract. This will tell you the actual data service latency. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Krunal Panchal Sent

RE: [flexcoders] Re: Drag and drop into Advanced Datagrid

2009-09-18 Thread Tracy Spratt
I am sure. I have not done a lot with ADG but have done a lot with DnD in general and suspect the process will be the same. Declare your own drag event handlers and perform the logic needed. It is mostly irrelevant what the UI is since you will be manipulating a dataProvider. Tracy Spratt

RE: [flexcoders] Declaring New Variable from XML Source

2009-09-17 Thread Tracy Spratt
question or problem. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of AJC2357 Sent: Thursday, September 17, 2009 11:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Declaring

RE: [flexcoders] Combobox in DataGrid

2009-09-17 Thread Tracy Spratt
data for the list or data contained in the item. I also wanted to allow for specifying the combo boxes value field. Doing a one-off for a specific data provider would be much simpler. There are other examples out there as well. Tracy Spratt, Lariat Services, development services

[flexcoders] Positioning using the graphics class?

2009-09-17 Thread Tracy Spratt
to infer the rules. Tracy Spratt, Lariat Services, development services available

RE: [flexcoders] child component listens for event on parent

2009-09-16 Thread Tracy Spratt
You want to add the listener to the thing that dispatches the event, the application, and declare the handler in the component. Application.application.addEventListener(buttonLabelEvent, buttonLabelHandler); You will need to import the custom event. Tracy Spratt, Lariat Services

[flexcoders] Use Outline fonts in Flex AIR app?

2009-09-13 Thread Tracy Spratt
of the colors of the outline, and the interior. Any suggestions? Tracy Spratt, Lariat Services, development services available

RE: [flexcoders] reading Xml excel files

2009-09-12 Thread Tracy Spratt
There is a default namespace in tht xml that will apply to those nodes. If you declare a default namespace in flex, you should be able to reference the nodes directly. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod

RE: [flexcoders] Rich Text Editor and XML

2009-09-12 Thread Tracy Spratt
Does this: tr.color = red; work in general? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stldvd Sent: Saturday, September 12, 2009 4:33 PM To: flexcoders@yahoogroups.com Subject

RE: [flexcoders] How to organise Flex projects and call one from another?

2009-09-07 Thread Tracy Spratt
If the other projects are applications, you could use SWFLoader to load them into a main app. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nick Middleweek Sent: Monday, September 07

RE: [flexcoders] Why never create an item renderer?

2009-09-03 Thread Tracy Spratt
to you, you will know it. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Wesley Acheson Sent: Thursday, September 03, 2009 2:36 PM To: flexcoders Subject: [flexcoders] Why never create

RE: [flexcoders] Why no event dispatched?

2009-09-03 Thread Tracy Spratt
Oh, I see, you are only testing the failed event. Are you intentionally failing the login when you test it? Are you sure the dispatch event code is being run? Also, are you sure the login manager is in the document hierarchy? Your component structure is not clear. Tracy Spratt

RE: [flexcoders] Why no event dispatched?

2009-09-02 Thread Tracy Spratt
And I don't see where you are declaring the listener. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Fotis Chatzinikos Sent: Tuesday, September 01, 2009 4:11 AM To: flexcoders

RE: [flexcoders] Accessing DataGridColumn item renderer variable

2009-09-02 Thread Tracy Spratt
No, you never want to do that. You need to have your renderer update the dataProvider item, then get the data from the dataProvider. Do not attempt to create an interactive itemRenderer from scratch. Find an example and modify it for your purpose. Tracy Spratt, Lariat Services

RE: [flexcoders] Popup Help Bubble?

2009-08-31 Thread Tracy Spratt
Tooltip? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of dfalling Sent: Monday, August 31, 2009 12:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Popup Help Bubble

RE: [flexcoders] Why no event dispatched?

2009-08-31 Thread Tracy Spratt
Your event is not set to bubble, so you listener must be: myLoginManagerInstance.addEventListener(); Is it? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Wally Kolcz Sent: Monday

RE: [flexcoders] Largest DataGrid

2009-08-31 Thread Tracy Spratt
that, there will be no significant difference in performance for large data sets. Data service latency and user experience are additional issues to consider. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com

RE: [flexcoders] swf z-index overlay cant click swf buttons

2009-08-30 Thread Tracy Spratt
What you have posted will not cause that. Canvas does not do any automatic layout of children, do you have anything else in that canvas after the SWFloader that could be overlaying the SWFLoader? Tracy Spratt, Lariat Services, development services available _ From: flexcoders

RE: [flexcoders] DatagridColumn dataField question

2009-08-29 Thread Tracy Spratt
will not update. Use XML or one of the collections if you need to update the dataProvider at run-time. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Beau Scott Sent: Friday, August 28, 2009

RE: [flexcoders] Re: Apply filterFunction to datagrid XMLListCollection dataprovider question

2009-08-29 Thread Tracy Spratt
This returns ans XMLList: lstRepRankDrill[0].record You need a collection to use filter. Assign that XMLList to an XMLListCollection and use that as the data provider. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Race conditions when event handlers triggered from different targets

2009-08-29 Thread Tracy Spratt
be interleaved? We are just reassuring the op that no, this (interleaving) will not occur. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of mike_slinn Sent: Saturday, August 29, 2009 4:22

RE: [flexcoders] Re: Is there a way to get the original array index of a selection in a datagrid?

2009-08-29 Thread Tracy Spratt
Yes, do not use Array (or XMLList) as a dataProvider if you need to update it at run time. Neither of those dispatches the necessary events to update the visual controls. Use a collection. You cannot use an associative array (Object) as a dataProvider. Tracy Spratt, Lariat Services

RE: [flexcoders] use combobox itemrenderer in stead of textinput

2009-08-29 Thread Tracy Spratt
Yes. But if you do decide to create a custom renderer, do not start from scratch. Find an example and modify it. Renderers are tightly integrated with the Flex framework to optimize performance. This means you have to know what you are doing to create one correctly. Tracy Spratt, Lariat

RE: [flexcoders] Re: Apply filterFunction to datagrid XMLListCollection dataprovider question

2009-08-28 Thread Tracy Spratt
Ok ,you are not applying the filter to the dataProvider but rather to the parent that contains it. Put lstRepRankDrill[0].record and filter that. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com

RE: [flexcoders] Question on Flex Script Execution + Alert.show

2009-08-27 Thread Tracy Spratt
paradigm. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Angelo Anolin Sent: Wednesday, August 26, 2009 2:03 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Question on Flex Script

RE: [flexcoders] Flex Function and Web Service ResultHandler Question

2009-08-27 Thread Tracy Spratt
Yes. I typically centralize all of my data within a model. Using the singleton pattern makes this very convenient. One more option is to use the AsyncToken to make data available in the result handler. Tracy Spratt, Lariat Services, development services available _ From

RE: [Spam] [flexcoders] Question on Flex Script Execution + Alert.show

2009-08-27 Thread Tracy Spratt
No, no, no, this will not work. You must use the event mechanism. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nick Middleweek Sent: Wednesday, August 26, 2009 7:33 PM

RE: [flexcoders] Flex Function and Web Service ResultHandler Question

2009-08-27 Thread Tracy Spratt
It is simply a different way of thinking. Whatever you need to do, you can do within the constraints of the async/non-blocking coding paradigm. This is a hurdle that almost all new Flex developers must get over. Tracy Spratt, Lariat Services, development services available

RE: [flexcoders] Apply filterFunction to datagrid XMLListCollection dataprovider question

2009-08-27 Thread Tracy Spratt
Break the code into smaller pieces and debug to see what is wrong. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of chigwell23 Sent: Thursday, August 27, 2009 2:40 AM To: flexcoders

RE: [flexcoders] Password Protection in Flex

2009-08-27 Thread Tracy Spratt
have a simple log-in example on cflex.net, but it is not suitable for sensitive data. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of AJC2357 Sent: Wednesday, August 26, 2009 3:46 PM

RE: [flexcoders] Re: Apply filterFunction to datagrid XMLListCollection dataprovider question

2009-08-27 Thread Tracy Spratt
nodes. I am pretty sure you are not getting the entire dataProvider in the function. Do the trace. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of chigwell23 Sent: Thursday, August

RE: [flexcoders] Flex Function and Web Service ResultHandler Question

2009-08-27 Thread Tracy Spratt
Apply event.prevent default always, store any necessary information in a model, then in the result handler, update the dataProvider or not. Sure, there are always trade-offs. You could develop in C++ and you would not have this problem. Tracy Spratt, Lariat Services, development services

RE: [Spam] RE: [Spam] [flexcoders] Question on Flex Script Execution + Alert.show

2009-08-27 Thread Tracy Spratt
Flex procedural code is essentially single threaded. The loop will stop all other processing, the handler will never get called, and the loop will never stop. There is NO sleep or delay or pause or anything like that in Flex. You must use events. Tracy Spratt, Lariat Services

RE: [flexcoders] Race conditions when event handlers triggered from different targets

2009-08-27 Thread Tracy Spratt
have completed, use a flag or dictionary, set a flag value in each handler, and check it in each handler. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jon Gunnip Sent: Thursday, August 27

RE: [flexcoders] Re: Apply filterFunction to datagrid XMLListCollection dataprovider question

2009-08-27 Thread Tracy Spratt
].record.toXMLString()); //what do you see? Does your DG display correctly without the filter? Post the declaration for the dataGrid. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf

RE: [flexcoders] Flex Function and Web Service ResultHandler Question

2009-08-25 Thread Tracy Spratt
You will have to initiate your further operations from the result handler. There is no other way. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Angelo Anolin Sent: Tuesday, August 25

RE: [flexcoders] Flex Function and Web Service ResultHandler Question

2009-08-25 Thread Tracy Spratt
You will have to initiate your further operations from the result handler. There is no other way. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Angelo Anolin Sent: Tuesday, August 25

RE: [flexcoders] SharedObject - do I need to stop it flushing at app exit?

2009-08-25 Thread Tracy Spratt
Don't assign values to the so until the user clicks the save prefs. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of chigwell23 Sent: Wednesday, August 26, 2009 12:25 AM To: flexcoders

RE: [flexcoders] Datagrid - advancing items in a row?

2009-08-23 Thread Tracy Spratt
Can you control the xml? If so, I would put the information for the pairs of books together under a single node, then use a List with a custom Item renderer to display the data for the pair. Tracy Spratt, Lariat Services, development services available _ From: flexcoders

RE: [flexcoders] Re: Changing ResultHandler of WebService Operation

2009-08-20 Thread Tracy Spratt
the result. AsyncToken also supports callback functions. Further, I am sure you could call removeEventListener and the addEventListener to actually change the result handler. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: How to use XML file as dataProvider for s:List

2009-08-20 Thread Tracy Spratt
You can use mx:XML source=myFile.xml . for compile time embedding or you can use HTTPService for run-time retrieval. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Gautam P Sent

RE: [flexcoders] how to wait for more than one httpserivice/remoteobject result to finish?

2009-08-20 Thread Tracy Spratt
This may be essentially the same thing Tim is suggesting, but you could set a property on an associative array (Object) in the send function and delete the corresponding property value in the result or fault handlers. When for..in returns zero iterations, all calls have returned. Tracy Spratt

RE: [flexcoders] Help trying to sort data provider for DataGrid

2009-08-20 Thread Tracy Spratt
); //add the node to the new collection } xlChildren = xlcSorted.source; //get the XMLlist from the source property xmlReturn.setChildren(xlChildren); //set the return xml children. } return xmlReturn; }//sortChildren Tracy Spratt, Lariat Services

RE: [flexcoders] Re: ComboBox not updating

2009-08-19 Thread Tracy Spratt
Maybe the solution is not to bind the selectedItem but set it explicitly? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Richard Rodseth Sent: Wednesday, August 19, 2009 12:34 PM

RE: [flexcoders] Tree Control Populating from Database via XMLListCollection

2009-08-19 Thread Tracy Spratt
a custom dataDescriptor yet. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Angelo Anolin Sent: Wednesday, August 19, 2009 11:12 AM To: flexcoders@yahoogroups.com Subject: Re

RE: [flexcoders] How to force construction when creationPolicy=all' does not work?

2009-08-19 Thread Tracy Spratt
Attempting to force instantiation is usually a sign that you need to rethink your data flow. Use events to grab data from a model when the sub component is instantiated of shown. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

RE: [flexcoders] Hierarchical Tree Data

2009-08-16 Thread Tracy Spratt
Xml is inherently hierarchical so is a convenient format for this. Also some databases will output xml natively, like SQL Server's FOR XML [raw, auto, explicit] Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod

RE: [flexcoders] Re: *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Tracy Spratt
be the text node and the expression should return an XMLList with zero length. Very interesting. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of jaywood58 Sent: Thursday, August 13, 2009 12:48

RE: [flexcoders] Re: *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Tracy Spratt
Ok, if you say so. What is the result of your investigation? It gets kind of complicated because AS does implicit toString() sometimes which can hide what is really happening. Do: trace(xmlList == null); and trace(xmlList == null); return the same result? Tracy Spratt, Lariat

RE: [flexcoders] TabNavigator changing from MXML to actionscript.

2009-08-12 Thread Tracy Spratt
event handler sets the ViewStack.selectedIndex with the item.index value. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Wesley Acheson Sent: Wednesday, August 12, 2009 11:06 AM

RE: [flexcoders] ItemRender - Access Specific Item at Run-time

2009-08-12 Thread Tracy Spratt
this from scratch. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Baz Sent: Wednesday, August 12, 2009 3:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ItemRender - Access

RE: [flexcoders] Re: ItemRender - Access Specific Item at Run-time

2009-08-12 Thread Tracy Spratt
If there is not already a property that is suitable, then yes, add a property. Repeating my advice, find an example and modify it. Interactive itemRenderers are a bit complicated. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

RE: [flexcoders]Is it possible to write a googletalk client in AIR

2009-08-12 Thread Tracy Spratt
better! I can provide AS3 examples of clientLogin and account/Profile list retrieval but that is as far as I have gotten. I will be attempting to get my first GA data in the next few days. Tracy Spratt, Lariat Services, development services available _ From: flexcoders

RE: [flexcoders] ItemRender - Access Specific Item at Run-time

2009-08-12 Thread Tracy Spratt
To show/hide items, use a filter on the collection. It does not actually remove any items. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Baz Sent: Wednesday, August 12, 2009 4:21 PM

RE: [flexcoders] ItemRender - Access Specific Item at Run-time

2009-08-12 Thread Tracy Spratt
Why would you not use commitProperties()? Where else would you do the work? Do not do it in set data(). Do you understand why? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Baz Sent

RE: [flexcoders] ItemRender - Access Specific Item at Run-time

2009-08-12 Thread Tracy Spratt
That depends on what your item render is supposed to do when the value of the isVisible property changes. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Baz Sent: Wednesday, August 12

RE: [flexcoders] Re: How to use XML file as dataProvider for s:List

2009-08-12 Thread Tracy Spratt
You have two choices. You can embed the xml from an external file using mx:XML source=myFolder/Myfile.xml /, which is a compile-time process, or you can load it at run-time using httprequest as Matt says. Tracy Spratt, Lariat Services, development services available _ From

RE: [flexcoders] *** So you think you know ActionScript? (Read original post first) ***

2009-08-12 Thread Tracy Spratt
an XMLList. It can be empty but is never a null. Besides, the characters. null in a text node are just a string. null in an AS comparison is a special value. The trace will display false. Trace(xmllist.text() ==null ); //would return true. Tracy Spratt, Lariat Services, development services

RE: [flexcoders] ComboBox and XML DataProvider

2009-08-11 Thread Tracy Spratt
One convenient aspect of XML is that it is fully dynamic. You can add nodes and attributes at will. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of kristiansalvesen Sent: Tuesday

RE: [flexcoders] Re: Combobox like on http://www.bombaysapphire.com

2009-08-11 Thread Tracy Spratt
Yeah, I would composite this from several components. It is well done, lots of interactivity. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Bjorn Schultheiss Sent: Wednesday, August

RE: [flexcoders] Re: ameature question but am desperate

2009-08-10 Thread Tracy Spratt
I don't know CF or do much RemoteObject, but I do not see where you are passing in the cat argument value. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stinasius Sent: Monday, August

RE: [flexcoders] comboBox and TextInput

2009-08-10 Thread Tracy Spratt
question. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of cholid cholid Sent: Monday, August 10, 2009 2:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] comboBox and TextInput

RE: [flexcoders] Image source in ItemRenderer

2009-08-10 Thread Tracy Spratt
In your renderer, override set data(), set a dirty flag, and call invalidateProperties() then in an override to commitProperties, check the flag and perform your logic. You cannot use creationComplete for item-dependent logic because renderers are recycled. Tracy Spratt, Lariat Services

RE: [flexcoders] Re: PopUp databinding - possible?

2009-08-10 Thread Tracy Spratt
See the code in my first reply. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dave Cates Sent: Monday, August 10, 2009 7:16 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders

RE: [flexcoders] Re: PopUp databinding - possible?

2009-08-10 Thread Tracy Spratt
In the popup, you would do: mx:Text text={_app.myBindablePublicVar} ./ Here is a full example. In it, I passed in a reference to the mainApp instead of using the Application.application reference. http://www.cflex.net/showFileDetails.cfm?ObjectID=558 Tracy Spratt, Lariat Services

RE: [flexcoders] Re: TileList displaying wrong index

2009-08-10 Thread Tracy Spratt
You are setting the selectedIndex here: selectedIndex={presentations.currentPresentation.presentedAlbumIndex Have you debugged that to see if it is correct? Take out the binding and try it in the handler for albumToggledEvent. Tracy Spratt, Lariat Services, development services

RE: [flexcoders] Image source in ItemRenderer

2009-08-10 Thread Tracy Spratt
. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of |Mirko Sent: Monday, August 10, 2009 1:22 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Image source in ItemRenderer

RE: [flexcoders] Question about how to learn Flex 3

2009-08-09 Thread Tracy Spratt
classes effectively. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of fred44455 Sent: Sunday, August 09, 2009 1:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Question about

RE: [flexcoders] Re: Question about how to learn Flex 3

2009-08-09 Thread Tracy Spratt
Yes, you can use the flash namespace packages listed in the Flex language reference in Flex. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of fred44455 Sent: Sunday, August 09, 2009 12

RE: [flexcoders] Re: Question about how to learn Flex 3

2009-08-09 Thread Tracy Spratt
Yes, the AS3 is the same. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of fred44455 Sent: Sunday, August 09, 2009 3:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re

RE: [flexcoders] AdvancedDataGrid and XML data synchronization ( dynamic datafield issue)

2009-08-07 Thread Tracy Spratt
Use a custom item renderer and you can update the dataProvider any way you want. However, what is the logic that defines the connection between a dataProvider item property and a given cell? Tracy Spratt, Lariat Services, development services available _ From: flexcoders

RE: [flexcoders] Re: Trying to build slideshow functionality with wipe effects.

2009-08-07 Thread Tracy Spratt
. I have done this by masking all but part of the top row of the TileList, and then removing items from the first position and adding a new one to the end. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod

RE: [flexcoders] ameature question but am desperate

2009-08-07 Thread Tracy Spratt
In a change event handler, use your choice of RPC protocols to send the data to a CFC that knows how to handle it. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stinasius Sent: Friday

RE: [flexcoders] Re: ameature question but am desperate

2009-08-07 Thread Tracy Spratt
If cat.selected has the data in it that you need, then use it. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stinasius Sent: Friday, August 07, 2009 10:11 AM To: flexcoders

RE: [flexcoders] PopUp databinding - possible?

2009-08-07 Thread Tracy Spratt
to what you want, then I advise dispatching events from the Pop-up. Remember, binding is just an event mechanism that is created by the compiler. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com

RE: [flexcoders] Embed XML file cause a must inherit from Sprite to link to the root.

2009-08-07 Thread Tracy Spratt
mx:XML source=/locale/XCConnectorStrings_dev.xliff” ../ Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Flap Flap Sent: Friday, August 07, 2009 10:53 AM To: FlexCoders Subject

RE: [flexcoders] Re: PopUp databinding - possible?

2009-08-07 Thread Tracy Spratt
.in the creationComplete=init() of the PopUp? Yes. Full syntax of what? This: [Bindable]private var _app:MyMainAppFileName; is full syntax. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com

RE: [flexcoders] Re: How to make variables persist across application

2009-08-07 Thread Tracy Spratt
; //Flexbuilder will code hint this property if you do the var like above var password = loginPopUp.password; Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Gordon Smith Sent

RE: [flexcoders] ArrayCollection filterFunction returning item in array;

2009-08-07 Thread Tracy Spratt
the code up into smaller parts and debug it. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of kpjj31 Sent: Friday, August 07, 2009 6:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders

RE: [flexcoders] ItemRenderer that switches to edit mode depending on where it's clicked

2009-08-05 Thread Tracy Spratt
My advice also. I only use the built-in editing functionality for simple drop-in renderers. For any ting more complex, I handle the dataProvider updating myself. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod

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

2009-08-03 Thread Tracy Spratt
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 available From: flexcoders

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