RE: [flexcoders] Re: 2 Datagrid issue

2008-12-29 Thread Tracy Spratt
) on row and in column. Are there any suggestions on how to overcome this? On 29 Dec 2008, at 19:24, Tim Hoff wrote: Are the 2 ArrayCollections using the same source array by any chance? -TH --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tracy Spratt tspr

RE: [flexcoders] Re: 2 Datagrid issue

2008-12-29 Thread Tracy Spratt
Your theory seems close. First, what is that click handler stuff doing? It really should just update a property on the dataProvider item that controls the selected state of the checkbox. That loop is unselecting the checkbox in every row in the DG. That does not make sense to me. One

RE: [flexcoders] Proper way of giving thanks?

2008-12-28 Thread Tracy Spratt
I think the best payback is in-kind. Contribute to the list by helping someone else. Also, consider future searchers. If you have solved a problem with others help, consider summarizing the solution for the next guy. Tracy From:

RE: [flexcoders] Datagrid not updating when dataProvider is changed.

2008-12-28 Thread Tracy Spratt
couldn't find a decent solution to this problem, other than using callLater (which I hate)... Sefi On Fri, Dec 26, 2008 at 6:27 PM, Tracy Spratt tspr...@lariatinc.com mailto:tspr...@lariatinc.com wrote: Hmm, in my experience, re-assigning the dataProvider always results in full re-rendering

RE: [flexcoders] Select Picture from DataBase

2008-12-28 Thread Tracy Spratt
Also, storing and retrieving images stored in a DB is often discussed. Google this for meany examples. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Sefi Ninio Sent: Sunday, December 28, 2008 8:25 AM To:

RE: [flexcoders] Datagrid not updating when dataProvider is changed.

2008-12-26 Thread Tracy Spratt
into a temp arrayCollection and setting the temp source into a new arrayCollection dataProvider = new ArrayCollection(tempAC.source); This dispatched a CellectionEvent.COLLECTION_CHANGED event with kind=reset, and should update the DG... On Wed, Dec 24, 2008 at 7:08 PM, Tracy Spratt tspr

RE: [flexcoders] Re: Performance and UI failing to update?

2008-12-24 Thread Tracy Spratt
: On Wed, Dec 24, 2008 at 2:23 AM, Amy amyblankens...@... wrote: --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tracy Spratt tspratt@ wrote: A quick google indicates that, as Manish says, current

RE: [flexcoders] Datagrid not updating when dataProvider is changed.

2008-12-24 Thread Tracy Spratt
How are you updating the data provider items? If you are using the collection API, like setItemAt(), the necessary events will be dispatched and the DataGrid will visually update. If you are directly assigning propety values to individual items, then you will need to call itemUpdated(item).

RE: [flexcoders] control itemrenderer by another one

2008-12-24 Thread Tracy Spratt
, 2008 9:02 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] control itemrenderer by another one sorry i didn't express clearly, next is next row. foodyi From: Tracy Spratt tspr...@lariatinc.com To: flexcoders@yahoogroups.com Sent: Wednesday

RE: [flexcoders] Performance and UI failing to update?

2008-12-23 Thread Tracy Spratt
I have used this technique to break up long running processes. But I use two functions and two instance variables so that the function of the iterator is entirely separate from the processor. The way you are doing it , essentially recursively, may be causing the problem. Tracy

RE: [flexcoders] Performance and UI failing to update?

2008-12-23 Thread Tracy Spratt
this halting of the UI. Do you have any more details about how your technique was different? Maybe a quick excerpt of code could help clarify your technique. Thanks, Charlie On Tue, Dec 23, 2008 at 10:26 AM, Tracy Spratt tspr...@lariatinc.com mailto:tspratt%40lariatinc.com wrote: I have used

RE: [flexcoders] Re: Performance and UI failing to update?

2008-12-23 Thread Tracy Spratt
...@yahoogroups.com] On Behalf Of Amy Sent: Tuesday, December 23, 2008 3:54 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Performance and UI failing to update? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tracy Spratt tspr...@... wrote: A quick google

RE: [flexcoders] Re: Display only part of a canvas??

2008-12-23 Thread Tracy Spratt
Just thinking aloud, but supposed you intercepted the scroll events and calculated whether the user was allowed to move that way and apply preventDefault if not? Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of jmfillman

RE: [flexcoders] control itemrenderer by another one

2008-12-23 Thread Tracy Spratt
Next as in the renderer rendering the value in the next *row*? If so, then have the renderer update the next item in the dataProvider. Of course, next is a slippery concept if you do any sorting or filtering... Tracy From: flexcoders@yahoogroups.com

RE: [flexcoders] Is there a way to tie a popup window to an object on a window such that...

2008-12-22 Thread Tracy Spratt
You need to find the event(s) that fire during the move around activity, then in the handler(s) move the pop-up. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Libby Sent: Monday, December 22, 2008 4:44 PM To:

RE: [flexcoders] TileList itemRenderer help

2008-12-19 Thread Tracy Spratt
Look into (google) the FlowBox component. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Manish Jethani Sent: Friday, December 19, 2008 2:23 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] TileList

RE: [flexcoders] Re: Get Children function

2008-12-18 Thread Tracy Spratt
Be aware of deferred instantiation. Only the children that have been viewed by the user will be instantiated. I am curious as to why you want to do this. If you are declaring the children ar design time, why not give them known Ids? If you are instantiating them at run-time, you should

RE: [flexcoders] Passing a varibable back to ActionScript via HTTPRequest

2008-12-18 Thread Tracy Spratt
An HTTPService call will return a value if the server process writes back a response. You can set the resultFormat=text. I have never done this since I always wrap my returned data in a status node: returnstatus status=success, stausdescription= MyData/returnstatus This give me a

RE: [flexcoders] Re: An other custom event

2008-12-18 Thread Tracy Spratt
For..in loop enumeration order is not guaranteed. You could use an Array or ArrayCollection. You should still use the numeric iterator to access the values in order. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

RE: [flexcoders] Stop the flicker between menu items

2008-12-18 Thread Tracy Spratt
I suspect that there is a vertical gap or padding of some kind betweeen the elements. Might have to subclass to fix, or maybe there is a style? Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mark Carter Sent:

RE: [flexcoders] Search Function within a Flex App -- Not Filter

2008-12-18 Thread Tracy Spratt
Isn't that essentially a UI question? filter and find are logically the same process, it is just a matter of how you display the results. Are you talking about using a DataGrid? Filter the data into a found collection, the navigate that collections however you want (next, prev, first,

RE: [flexcoders] Re: Weborb to return XML data

2008-12-17 Thread Tracy Spratt
This depends on what you really mean. XML is a data format. AMF and HTTPService and SOAP are transport protocols. You can send XML formatted data via any protocol. One of the benefits of xml is it is a self-describing structure and you do not need design and build your own DTOs or be

RE: [flexcoders] sort XMLListcollection in dp

2008-12-17 Thread Tracy Spratt
You need to define a custom sort function. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Kenneth Sutherland Sent: Wednesday, December 17, 2008 9:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] sort

RE: [flexcoders] data returned from WSDL call

2008-12-17 Thread Tracy Spratt
Have you set resultFormat=e4x? If not, you are not working with xml. Flex has generated a tree of dynamic objects. Though it allows you to go straight to an arrayCollection, this format is rarely desirable. Set the resultFormat, then in your result handler do: var xmlResult = event.result

RE: [flexcoders] problem in WebService help me plz

2008-12-17 Thread Tracy Spratt
Google: Flex WebService document literal xml Also, you will find it much easier to debug problems if you build the webservice request object in AS rather than in declarative mxml;. Tracy From: flexcoders@yahoogroups.com

RE: [flexcoders] File Explorer

2008-12-17 Thread Tracy Spratt
If I am going to be updating this collection (deleting / adding / renaming directories) that I should be using an ArrayCollection Don't believe everything that you hear. Demand an explanation why. I advise staying with XML. Like the filesystem structure, XML is inherently hierarchical. The

RE: [flexcoders] Re: File Explorer

2008-12-17 Thread Tracy Spratt
Amy, I have never worked with HierarchicalCollectionView. What are its advantages over e4x XML? Is it mainly integration with AdvancedDataGrid? Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Amy Sent: Wednesday,

RE: [flexcoders] File Explorer

2008-12-17 Thread Tracy Spratt
...talking about directories, I might as well go build them all out now... Try it. But if the server is large, there may still be thousands of directories. But maybe not. Did I say try it? Tracy From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: data returned from WSDL call

2008-12-17 Thread Tracy Spratt
mailto:flexcoders%40yahoogroups.com , Tracy Spratt tspr...@... wrote: Have you set resultFormat=e4x? If not, you are not working with xml. Flex has generated a tree of dynamic objects. Though it allows you to go straight to an arrayCollection, this format is rarely desirable. Set the resultFormat

[flexcoders] Re: Can the Loading message be localized?

2008-12-16 Thread Tracy Spratt
I don't know for certain that it is the only way, but you could solve this by creating a custom preloader comnponent. I have not done it but have seen examples. Tracy --- In flexcoders@yahoogroups.com, twcrone70 twcron...@... wrote: I am currently passing the 'localeChain' into a SWF as a

RE: [flexcoders] Re: Disable Runtime Binding Warnings

2008-12-15 Thread Tracy Spratt
%40yahoogroups.com, Tracy Spratt tspratt@ wrote: Those warnings are correctable. Wrap the node expression, which is probably currentItem or data, or selectedItem which are objects, in the XML() function. text={XML(myDG.selectedItem).myNode.text()} Tracy

RE: [flexcoders] Application.application.parameters doesn't hold GET query parameters

2008-12-15 Thread Tracy Spratt
Yes, as nate says. Remember, you are callling an *html* file. Html is dumb unless you code in javascript. Here are some snippets that you can add to the html wrapper that pass querystring parameers into Flex. First, declare a variable to hold the params: var _sPassedUrlParms = new

RE: [flexcoders] Re: Disable Runtime Binding Warnings

2008-12-15 Thread Tracy Spratt
% / (spr is a custom component i made) either way, there should be away to just disable these warnings. the code is performing fine otherwise. anyone have any ideas? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com, Tracy Spratt tspratt

RE: [flexcoders] Flex dates and time zones.

2008-12-15 Thread Tracy Spratt
Pass the date as a string. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Paul Kukiel Sent: Monday, December 15, 2008 3:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex dates and time zones. I have a

[flexcoders] Re: flex login popup help needed pleaseeeeeeeee

2008-12-13 Thread Tracy Spratt
You are not following my advice. Good luck. Tracy --- In flexcoders@yahoogroups.com, stinasius stinas...@... wrote: hi guys i think am making progress. this is what i have so far. login_example.mxml ?xml version=1.0 encoding=utf-8? mx:Application

RE: [flexcoders] Re: flex login popup help needed pleaseeeeeeeee

2008-12-12 Thread Tracy Spratt
Your next steps: * Create a simple php page that takes an http request, reads the UserId and Password request parameters. Allow for either form(POST) or querystring(GET) parameters. Keep the authorization logic simple to start with, by hardcoding a userid and password to match. Have the

RE: [flexcoders] Re: flex login popup help needed pleaseeeeeeeee

2008-12-12 Thread Tracy Spratt
Just change the word php to cold Fusion. The rest of the solution is the same. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stinasius Sent: Friday, December 12, 2008 8:14 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Restrictions on non-visual component placement

2008-12-12 Thread Tracy Spratt
It IS, or at least was, the case that non-visual components must be at the root mxml scope. I will try to find it documented. If the component is non-visual, then it does not matter, functionally speaking, where in the DOM it goes. Tracy From:

RE: [flexcoders] Re: Best practice for calling asynchronous functions?

2008-12-11 Thread Tracy Spratt
...adding responders after the call has been made... That is not actually what happens. The call is not made at that line, just set up. I recall reading a fuller explanation, but didn't follow the internals well enough to repeat it. Tracy From:

RE: [flexcoders] txtbx focus at login

2008-12-11 Thread Tracy Spratt
: param name=wmode value=opaque / and embed ... wmode=opaque .../embed But none of this is working with FF. I may have to let this go and thank my lucky stars my clients are all internal and most of them use IE! Thanks for all the support. -Robert --- On Fri, 12/5/08, Tracy Spratt tspr

RE: [flexcoders] [Little off topic] Timezone or TimeZone

2008-12-11 Thread Tracy Spratt
Attempting to apply logic to English language is a fruitless endeavor. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nate Beck Sent: Thursday, December 11, 2008 7:33 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: speed of the for each looping

2008-12-10 Thread Tracy Spratt
Is the enumeration order guaranteed to be the same for for-in and for each as an indexed loop? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cato Paus Sent: Wednesday, December 10, 2008 9:50 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: flex login popup help needed pleaseeeeeeeee

2008-12-10 Thread Tracy Spratt
Yep, that about says it. Stinasius, how far have you gotten? What is not working? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Wednesday, December 10, 2008 8:01 AM To: flexcoders@yahoogroups.com Subject: Re:

RE: [flexcoders] Date format in DataGrid?

2008-12-10 Thread Tracy Spratt
labelFunction() and DateFormatter. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Sent: Wednesday, December 10, 2008 1:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Date format in DataGrid? I

RE: [flexcoders] Re: speed of the for each looping

2008-12-10 Thread Tracy Spratt
No enumeration order of for..in is not guaranteed From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Wednesday, December 10, 2008 8:55 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: speed of the for each looping Is the enumeration

RE: [flexcoders] Re: Deployment of Flex Application in IIS

2008-12-09 Thread Tracy Spratt
Yes, this symptom usually means a security a security problem. Put a crossdomain.xml file in ..\inetpub\wwwroot. This example below is wide open and you might want to tighten it down once you get things working. Tracy ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM

RE: [flexcoders] Re: How to make Flex exchange data with Flash SWF file?

2008-12-09 Thread Tracy Spratt
SWFLoader.content.myPublicMember Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Sent: Tuesday, December 09, 2008 12:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to make Flex exchange data with

RE: [flexcoders] Anything other than a JS alert can delay a window close?

2008-12-09 Thread Tracy Spratt
Use javascript and XMLHTTP to update the database instead of Flex? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wkolcz Sent: Tuesday, December 09, 2008 5:34 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Anything

RE: [flexcoders] Disable Runtime Binding Warnings

2008-12-09 Thread Tracy Spratt
Those warnings are correctable. Wrap the node expression, which is probably currentItem or data, or selectedItem which are objects, in the XML() function. text={XML(myDG.selectedItem).myNode.text()} Tracy From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: How to display special characters like #176; in ComboBox list

2008-12-08 Thread Tracy Spratt
=myComboBox x=100 y=200 rowCount=2 prompt=ComboBox Test/ /mx:Application Steve --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Thanks. But I have just learned, this only works with declarative mxml. If you want to crate the special char in Actionscript, you must use

RE: [flexcoders] mx:httpservice and/or mx:request strips namespace information from posted messag

2008-12-08 Thread Tracy Spratt
First, change your resultFormat to use e4x. xml is the legacy object. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of anonauser Sent: Friday, December 05, 2008 5:49 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Does anyone know ANYTHING about AS Webservices?

2008-12-08 Thread Tracy Spratt
First, loadWSDL() is asynchronous. You need to wait for the LoadEvent.LOAD event before attempting to call an operation. Also, declare and use a result Handler in addition to the fault handler. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Does anyone know ANYTHING about AS Webservices?

2008-12-08 Thread Tracy Spratt
I looked in the docs and see where you got your example, and that example does as you do. But I think it is incorrect. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Monday, December 08, 2008 1:26 PM

RE: [flexcoders] Desperate Times...Desprate Messures: What is sent by HTTPRequest?

2008-12-08 Thread Tracy Spratt
With POST, it should be seeing form parameters, in name=value pairs. I do not know CF, but in asp.net, the parameters would be available through Request.Form(action) What is the tracker.cfm page returning? Have you given up on the WebService? Tracy

RE: [flexcoders] Re: Desperate Times...Desprate Messures: What is sent by HTTPRequest?

2008-12-08 Thread Tracy Spratt
That means Flex is sending the call with the data corrrectly. So then where is the error happening? Between CF and the Database? Does the CF Insert query work if you hard code the values? What IS the error? Send something back to Flex. Hard code it if necessary. I have never done either

RE: [flexcoders] Defining, but not adding to parent in MXML

2008-12-08 Thread Tracy Spratt
includeInLayout=false (also visible=false, of course) Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Prescott Sent: Monday, December 08, 2008 4:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Defining, but

RE: [flexcoders] Re: Desperate Times...Desprate Messures: What is sent by HTTPRequest?

2008-12-08 Thread Tracy Spratt
://ummciisdevweb22.med.umich.edu/videotracking/tracker.cfm;]. URL: https://ummciisdevweb22.med.umich.edu/videotracking/tracker.cfm' From: Tracy Spratt [EMAIL PROTECTED] Sent: Monday, December 08, 2008 1:26 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re

RE: [flexcoders] Best language for remoting

2008-12-08 Thread Tracy Spratt
It is not even theoretically possible to determine the best of anything. You must look at the project, the requirements, both business and technical, the proposed environment, everything. All that said, if there are no budget or technical constraints to consider (working for God, maybe?),

RE: [flexcoders] Re: Desperate Times...Desprate Messures: What is sent by HTTPRequest?

2008-12-08 Thread Tracy Spratt
. Ah, also try it without https. There are some considerations with HTTPS, particularly with serving the Flex app from http, but the data from https. Google that. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent

RE: [flexcoders] 2032 Stream Error - Deploying XML Application Configuration Data

2008-12-07 Thread Tracy Spratt
I have had so many problems using relative paths that I do not use them any more. Instead, I pass fully qualified root url(s) into my apps via flashvars. I no longer have any pathing issues. This also allows for multiple launch confgurations in development and for configuring multiple

RE: [flexcoders] Selected Items in a datagrid

2008-12-07 Thread Tracy Spratt
Best practice in a case like this is to have the renderer update a property on the dataProvider item with the selected state of the checkbox. Then you loop over the dataProvider selecting the items based on the updated property value. You cannot use the selected state of the visual components

RE: [flexcoders] How to display special characters like #176; in ComboBox list

2008-12-06 Thread Tracy Spratt
(not the HTML representation) and paste it into your code. Bada bing bada boom. Aaron Tracy Spratt wrote: The special character numeric references work fine in Label and Text and such, but are interpreted literally in a ComboBox's drop list. Any sugestions? Tracy

RE: [flexcoders] Auto expand TreeView on open - How?

2008-12-06 Thread Tracy Spratt
Wow, that is the cleanest solution I have seen yet. I haven't tried it but I wonder if this generic expression would work: menuTree.openItems = menuData..*; Or even: menuTree.openItems = menuData.descendants(); Tracy From: flexcoders@yahoogroups.com

RE: [flexcoders] RE: How to display special characters like #176; in ComboBox list

2008-12-05 Thread Tracy Spratt
] On Behalf Of Tracy Spratt Sent: Thursday, December 04, 2008 4:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to display special characters like ° in ComboBox list The special character numeric references work fine in Label and Text and such, but are interpreted literally

RE: [flexcoders] RE: How to display special characters like #176; in ComboBox list

2008-12-05 Thread Tracy Spratt
special characters like ° in ComboBox list Did you try with unicode chars like I told you? \u00B0 - this is for the small circle (deegre) _aHC2SODP = [{data:0, label:0 \u00B0F},{data:20, label:2 \u00B0F}]; On Fri, Dec 5, 2008 at 11:57 PM, Tracy Spratt [EMAIL PROTECTED] mailto

RE: [flexcoders] txtbx focus at login

2008-12-05 Thread Tracy Spratt
This is because the Flash Player instance itself (Object/Embed tag) does not have the focus in the Browser. There is a bit of javascript code that will set the focus, but last I heard it only works in IE. I can find that script if it would be useful. Tracy

RE: [flexcoders] txtbx focus at login

2008-12-05 Thread Tracy Spratt
, Tracy Spratt [EMAIL PROTECTED] wrote: From: Tracy Spratt [EMAIL PROTECTED] Subject: RE: [flexcoders] txtbx focus at login To: flexcoders@yahoogroups.com Date: Friday, December 5, 2008, 3:35 PM This is because the Flash Player instance itself (Object/Embed tag) does not have the focus in the Browser

RE: [flexcoders] Resetting an application's view for new user

2008-12-04 Thread Tracy Spratt
Here is what I do: public function logOff():void { var ur:URLRequest = new URLRequest(_sAppUrl); navigateToURL(ur,_self); }//logOff _sAppUrl comes from the browser: location.href Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Re: handle large data sets from SOAP service

2008-12-04 Thread Tracy Spratt
If you do not control the Web service itself, then you will probably need to get the data server-side and implement your own paging. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michelle Davis Sent: Thursday, December 04,

RE: [flexcoders] What Am I doing Wrong, View will not update when bound data is changed.

2008-12-04 Thread Tracy Spratt
How are you updating the item? If you use the collection API, the UI should update. If you are directly assigning a value to an item property, then you should call itemUpdated(item). Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Resetting an application's view for new user

2008-12-04 Thread Tracy Spratt
...without a bridge like Merapi). Maybe there's a way to essentially reload the contents of the AIR app without actually re-starting the executable? Thank you very much for your feedback! Aaron On Thu, Dec 4, 2008 at 11:15 AM, Tracy Spratt [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Here is what

RE: [flexcoders] Fwd: Filtering the List Entries depending upon the text entered in text Input box

2008-12-04 Thread Tracy Spratt
Array is not bindable. Do you not get a warning? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of anuj sharma Sent: Thursday, December 04, 2008 2:44 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Fwd: Filtering the

[flexcoders] How to display special characters like #176; in ComboBox list

2008-12-04 Thread Tracy Spratt
The special character numeric references work fine in Label and Text and such, but are interpreted literally in a ComboBox's drop list. Any sugestions? Tracy

RE: [flexcoders] Re: Data not appearing in AdvancedDataGrid

2008-12-04 Thread Tracy Spratt
What are you wanting in your display? A straight table with three columns: period, ccode, and detects? If so, then that is not hierarchical and you are making this more complicated than it is. Why did you choose ADG instead of plain old DataGrid? If your issue is accessing data nested

RE: [flexcoders] itemrenderer rollover event seems no sensitive

2008-12-04 Thread Tracy Spratt
Where are you setting the event handlers? Post your code so we can see what might be wrong. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Fu Di Sent: Thursday, December 04, 2008 9:03 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] How can I display the ID of my HTTPService in my FaultEvent?

2008-12-03 Thread Tracy Spratt
Hmm, in this case, exactly what *is* the target? I think the best solution to your problem is to use the AsyncToken and assign your own identifier. The AsyncToken is available in the fault handler as well as the result handler. Tracy From:

RE: [flexcoders] Is there any Name -Value Pair concept for Arrays?

2008-12-02 Thread Tracy Spratt
]; devicesInList.push(deviceName); } nvrsInPoolList.dataProvider = devicesInList; } On Mon, Dec 1, 2008 at 1:24 PM, Tracy Spratt [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: dataProviders do not display anything. But whatever your

RE: [flexcoders] clear the cache

2008-12-02 Thread Tracy Spratt
And check your browser settings. I set mine to always check for new page (something like that) Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guy Morton Sent: Tuesday, December 02, 2008 6:29 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: ItemRenderer, mislabels scrolling

2008-12-02 Thread Tracy Spratt
I have not been following this thread from the beginning, but I would suggest that you do not bind. Binding is a convenience, just saving you some coding, but is hard to debug. If it is not working, don't use it. Tracy From: flexcoders@yahoogroups.com

RE: [flexcoders] Unformatting currency values - best practice?

2008-12-02 Thread Tracy Spratt
You could use restrict to prevent entry of any non-numeric characters. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexcoder2008 Sent: Tuesday, December 02, 2008 6:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Re: Crash of safari, firefox using XML.setChildren for XML in a XMLListCollection

2008-12-01 Thread Tracy Spratt
@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: First, if you are using a tree, why have you chosen XMLListCollection instead of XML. For hierarchical data, XML is easier to work with than nested collections. I thought an XMLListCollection was what you should use for a Tree control

RE: [flexcoders] Is there any Name -Value Pair concept for Arrays?

2008-12-01 Thread Tracy Spratt
dataProviders do not display anything. But whatever your display component, there is a way to specify which property on the item you want to display. You say your dataProvider is an array. Are you sure? How are you sure? Are you using the work array in its purely technical sense, or in a

RE: [flexcoders] Re: Redirect from Alert

2008-12-01 Thread Tracy Spratt
navigateToURL(), using _self. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of brucewhealton Sent: Monday, December 01, 2008 4:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Redirect from Alert Ok, but how

RE: [flexcoders] Re: Crash of safari, firefox using XML.setChildren for XML in a XMLListCollection

2008-12-01 Thread Tracy Spratt
I think the OP was attempting to delete all of the childern of a node by assigning an empty XMLList. While this seems reasonable, I do not believe it will work, at least, I was unable to do it this way. Tracy From: flexcoders@yahoogroups.com

RE: [flexcoders] Is there any Name -Value Pair concept for Arrays?

2008-12-01 Thread Tracy Spratt
PM, Tracy Spratt [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: dataProviders do not display anything. But whatever your display component, there is a way to specify which property on the item you want to display. You say your dataProvider is an array. Are you sure? How are you sure

RE: [flexcoders] repeater problems and localization

2008-11-27 Thread Tracy Spratt
currentItem only exists while the repeater is creating its elements and not when the binding fires. Your solution is fine if it works for you. There are other options. Always with repeater, for anything other than a very simple, non-interactive component, I advise creating a custom component

RE: [flexcoders] How to set style of buttons' border in ButtonBar?

2008-11-27 Thread Tracy Spratt
The first stop for all style questions is here: http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplo rer.html# http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl orer.html Tracy From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Datagrid pagination w/ httpService

2008-11-27 Thread Tracy Spratt
I am not familiar with that component, but I would expect that all you need to do is loop over your xml result data and use myPagableArrayCollection.addItem({name:value,...}) to fill the pagable collection. Tracy From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Crash of safari, firefox using XML.setChildren for XML in a XMLListCollection

2008-11-27 Thread Tracy Spratt
First, if you are using a tree, why have you chosen XMLListCollection instead of XML. For hierarchical data, XML is easier to work with than nested collections. Next, you say, XML doesn't send notifications. Why do you say that? And exactly what do you mean? XML is bindable. If you are

RE: [flexcoders] Re: Crash of safari, firefox using XML.setChildren for XML in a XMLListCollection

2008-11-27 Thread Tracy Spratt
(); for (var i:int=xlChildren.length()-1;i=0;i--) { delete xlChildren[i]; //so remove all the children } }//deleteChildren Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy

RE: [flexcoders] Re: Checkbox in datagrid

2008-11-26 Thread Tracy Spratt
explanation to help. Thanks, -NB --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tracy Spratt [EMAIL PROTECTED] wrote: Are the CheckBoxes in the Form or in the DataGrid, or both? What is the dataProvider for the DataGrid? How are you linking the Form to the DataGrid

RE: [flexcoders] Re: When is a crossdomain.xml file required?

2008-11-26 Thread Tracy Spratt
%40yahoogroups.com , Tracy Spratt [EMAIL PROTECTED] wrote: I am still in the sameDomain, bold words. Post the url to the Flex app and to the HTTPService you are calling, and let's see. I set this variable when the application starts: provisioningServerHostPort = HTTPUtil.getProtocol()+//+HTTPUtil.getHostName

RE: [flexcoders] Deleting a node from XML

2008-11-25 Thread Tracy Spratt
delete [e4x expression that returns the node you want to delete] Note you cannot use a variable. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sheetal_nn2000 Sent: Tuesday, November 25, 2008 4:58 AM To:

RE: [flexcoders] TileList

2008-11-25 Thread Tracy Spratt
Override the dragEnter, dragDrop and perhaps dragOver event handlers. See the docs for details and examples. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Eduardo Souza Sent: Tuesday, November 25, 2008 12:12 PM To:

RE: [flexcoders] Re: help here with an item renderer

2008-11-25 Thread Tracy Spratt
...create a custom component to encapsulate... Yes, yes, yes. Though it is not clear what Gustavo wants, Steve is correct, this is the way to do Repeater. Gustavo, The word/phrase itemRenderer has special meaning. itemRenderers are used with List-based components, and are tightly integrated

RE: [flexcoders] Re: ComboBox as itemRenderer/editor in Datagrid is not updating dataProvider...

2008-11-25 Thread Tracy Spratt
...directly manipulate the grid's dataProvider... This is my preferred approach, over depending on the list components own editing process. An itemRenderer gets a reference to the entire dataProvider item that spawned it. The framework passses it in via the set data function. You can use

RE: [flexcoders] Re: help here with an item renderer

2008-11-25 Thread Tracy Spratt
You cannot do this: click=navigateToURL(myrepeater.currentItem.url) You will get an error. currentItem only exists when the repeater is executing, not when the click action happens. For simple cases, you can use getRepeaterItem() in the handler. For even slightly more complex repeated

RE: [flexcoders] Re: copying large amount of data using System.setClipboard() in Flash 10.

2008-11-25 Thread Tracy Spratt
setClipboard must be user invoked, with a button or link or something. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ilam Mougy Sent: Monday, November 24, 2008 11:35 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

RE: [flexcoders] Re: XML attributes

2008-11-25 Thread Tracy Spratt
Try this: var myName:String = node.attribute(Name); Or make sure *every* node has the Name attribute, including the root node. The loop works because it skips the root. I just always use attribute() if I am reading, and @ only if I am setting. Tracy

RE: [flexcoders] When is a crossdomain.xml file required?

2008-11-25 Thread Tracy Spratt
I am still in the sameDomain, bold words. Post the url to the Flex app and to the HTTPService you are calling, and let's see. allowScriptAccess should only affect scripting (ExternalInterface) Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL

<    6   7   8   9   10   11   12   13   14   15   >