[flexcoders] Label a Button just like Flex Builder helps

2009-06-11 Thread chandruflex
In my application, I have a Button. I want to double-click this Button, and edit its label, just like we do in Flex Builder. To do this, I have a double-click event-handler for my Button. In this event-handler, I have written code to create a TextInput control (in ActionScript). I have specifie

[flexcoders] Datagrid - Using and Editing Data From XMLListCollection

2009-06-11 Thread azona26
I have an editable datagrid with data being populated from an XMLListCollection. I am attempting to edit the data in one of the columns that is using a labelFunction to get its value. This column does not have a dataField value. How can I edit the data in the field and have the XMLListCollection re

[flexcoders] Get data from a column in datagrid

2009-06-11 Thread btc132
hello all I coding in AdvandDatagrid, but i can't to get data from a column in it. I wrote: [Bindable] private var npupdate:ArrayCollection; for(var i:int = 0; i < nounphrasesArray.length; i++) { var obj:Object = {object:nounphrasesArray[i]}; NPresults.addItem(obj); } var adg:Ad

[flexcoders] how

2009-06-11 Thread btc132
hello all I coding in AdvandDatagrid, but i can't to get data from a column in it. I wrote: [Bindable] private var npupdate:ArrayCollection; for(var i:int = 0; i < nounphrasesArray.length; i++) { var obj:Object = {object:nounphrasesArray[i]}; NPresults.addItem(obj); } var adg:Ad

[flexcoders] Re: Charting dataFunction issues

2009-06-11 Thread Amy
--- In flexcoders@yahoogroups.com, "Jake Churchill" wrote: > > Charting people, please help! take a look at this example and seeif it helps. http://flexdiary.blogspot.com/2008/08/charting-example.html

[flexcoders] Read Items / Loop Through Datagrid Rows

2009-06-11 Thread A. Resa Jones (Resa)
Why not create a bindable class for your data, populate objects of that class into your array collection and use that collection as the source for your data grid? That way you don't have to loop through the datagrid to fill your collection. Quoting: > Hi FlexCoders, > > I am dynamically creat

[flexcoders] ArrayCollection and Datagrid Binding and DataProvider Question

2009-06-11 Thread Angelo Anolin
Good day. Learning Flex here for the past two (like three actually) weeks.  Using only mxml compiler. I have a question with regards to the above subject: Assuming I declared an ArrayCollection as follows: [Bindable] private var _arrItems:ArrayCollection = new ArrayCollection([{"itemNo":"1",

Re: [flexcoders] Flex 4 Profiling Question - GC Root?

2009-06-11 Thread Doug McCune
>  will filter out chains that have long paths back to the root as those are > less likely to be the source of a problem. > I'm curious about this part about filtering out chains with very long paths. I've come across quite a few instances of loitering objects in the FB 4 profiler that don't show

Re: [flexcoders] Read Items / Loop Through Datagrid Rows

2009-06-11 Thread Angelo Anolin
Hi, Would you care to share some codes of what you did previously? Thanks. Regards, Angelo   From: Everson Alves To: flexcoders@yahoogroups.com Sent: Friday, 12 June, 2009 5:47:27 Subject: Re: [flexcoders] Read Items / Loop Through Datagrid Rows Hi, I

RE: [flexcoders] Flex 4 Profiling Question - GC Root?

2009-06-11 Thread Alex Harui
The mark and sweep starts from several places (ApplicationDomain, Stage, a few internal places in the Player, stack). Those are currently called GCRoots, although I'd push for changing it if we could come up with a better name. Often when you looked at an object in the Flex 3 profiler it had ma

[flexcoders] Executing Eventgenerator Multipule times

2009-06-11 Thread jerry_gagliano
Hi, I am having a problem with executing the event generator multiple times using the UM Caringrom Ext. What I do first execute the eventgenerator then once all the events are execute I load the view! If I navigate through the app and then i click on the button to load the form again the events

Re: [flexcoders] Read Items / Loop Through Datagrid Rows

2009-06-11 Thread Everson Alves
Hi, I did something quite similar but using List + renderer manually added instead. The custom line renderer dispatches events when edited so I can save the values, remove or add new lines, block the others rows etc. My previous implementation was using datagrid like you is trying but this new appr

[flexcoders] Generate sample request from WSDL

2009-06-11 Thread Everson Alves
Hello, Does anyone knows if it's possible to generate a sample XML request for a given WSDL. Or more generally, generate sample xml from a schema. I'm trying to build a webservice testing tool. I've done that using PHP, but I'm interested in doing it all in actionscript if it's possible. -- Jhonn

Re: [flexcoders] ambiguous reference error

2009-06-11 Thread [p e r c e p t i c o n]
valid is not the same as enabled...i don't think... On Thu, Jun 11, 2009 at 1:23 AM, Tom Chiverton wrote: > > > > > On Wednesday 10 Jun 2009, [p e r c e p t i c o n] wrote: > > > click="Submit();" enabled="{valid}"/> > > So using > submitButton.valid > is a work around ? > > -- > Helping to gl

[flexcoders] ADG with grouping

2009-06-11 Thread mhbmarcos
Hi!!! i have a AdvancedDataGrid with grouping and summaty by group. I need hide/remove the row that contains the group separator, in general, this separator by group have a folder icon, its expand or collapse the group. do you can help me ?, Any solution for this? i need some thing that (group

[flexcoders] Re: mx:VideoDisplay does not return QuickTime metadata

2009-06-11 Thread Michael Slinn
Thank you for the information. It is helpful to understand. Because I want to size the player at the start of loading the file, and I do not want to have to rearrange the contents of every file that is uploaded, I think a server-side Java program that reads the metadata and sends it to a custom

[flexcoders] Flex 4 Profiling Question - GC Root?

2009-06-11 Thread Mark Lapasa
I was going over the Adobe Flex 4 Feature and Migration PDF which is pretty good synopsis so far of what's new in Flex 4. Under the Profiling Enhancements section, it says "you can now view all the shortest paths from the object to the garbage collector root (GC root)" I understand as much as t

[flexcoders] InvokeEvent not dispatched for webservice

2009-06-11 Thread peeyushtuli
Hi, Is it possible to add an eventlistener for the InvokeEvent when caling a web operation using the autogenerated code from the webservice wizard in flex builder 3. I am using flex sdk 3.2. I tried to add an eventlistener to the instance of the BaseService class but that does not help. Thanks

[flexcoders] Re: Grab the Current State of a Button

2009-06-11 Thread ericmaslowski
Ugh...thanks guys. Figured I was over thinking it and missing something simple. Thanks again! E. --- In flexcoders@yahoogroups.com, "Tim Hoff" wrote: > > > For a ToggleButton, look at the selected property: > > if ( myButton.selected ) > { > // my state is down > } > > -TH > > --- In

[flexcoders] Re: Dispatch Event Issue on BreadCrumb Trail Click

2009-06-11 Thread Tim Hoff
Hi, If you're not using an MVC framework, an easy way is to create a public method in contentpane.mxml, that will set the tree selection. On breadcrumb click, pass the event: contentpane.myPublicSelectionMethod( event ). -TH --- In flexcoders@yahoogroups.com, "n_manjunatha" wrote: > > Hi, > I

Re: [flexcoders] Flex export to Excel

2009-06-11 Thread Paul Kukiel
Actually with Flash 10 you can do this. You can load and save directly in the browser and save client side with no backend. I have a short demo here: http://blog.kukiel.net/2009/02/file-manipulation-client-side-with.html I was playign with this a few months back. fileRef = new FileReference();

[flexcoders] Dispatch Event Issue on BreadCrumb Trail Click

2009-06-11 Thread n_manjunatha
Hi, I have an applications where in have breadcrumb trails of the tree node clicked. I have to make forced selection of the tree nodes on click of the breadcrumb item. say i have tree like this root -- child1 --subchild1 ---grandchild1 ---grandchild2 --subchild2 -- chil

[flexcoders] getting files in additional Source Paths to automatically recompile

2009-06-11 Thread Pan Troglodytes
I have a couple of external folders listed in my project's Flex Build Path->Source Path section. These folders are outside of my project hierarchy and contain some common files I share between several different projects. When I'm in my project and ctrl-click on an object in these files, it opens

RE: [flexcoders] Flex export to Excel

2009-06-11 Thread Battershall, Jeff
The dialog generated when doing FileReference.save() isn't going to have "open" as an option - I wish it did. To see that you'd have to be downloading from the browser itself. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of mhb

[flexcoders] Flex export to Excel

2009-06-11 Thread mhbmarcos
Hi!!! when i export to excel, i need open or save dialog box, but i use a library (http://www.cristalab.com/tips/exportar-datos-de-flex-a-excel-c70300l/) and it containg : var fr:FileReference = new FileReference(); fr.save(bytes, "fileExported"); this open a dialog box with

[flexcoders] Read Items / Loop Through Datagrid Rows

2009-06-11 Thread Angelo Anolin
Hi FlexCoders, I am dynamically creating a datagrid with 5 columns and 10 rows. Columns 2, 3, 4 and 5 are all rendered as textinput control where user can enter some information. How do I loop through all the datagrid rows and store the values entered in the datagrid into an array collection

Re: [flexcoders] Read HTML content ???

2009-06-11 Thread Sam Lai
You can access the HTML DOM of that page like this, and get whatever you want, just like you can in JS: var forms:* = browser.domWindow.document.getElementsByTagName("form"); var loginForm:* = null; for each (var f:* in forms) { if (f.innerText.toLowerCase().indexOf("login") >= 0)

[flexcoders] Read HTML content ???

2009-06-11 Thread lehaianh1986
Hi everyone, I use HTML component in AIR project. When HTML component display the website, I want to read text content of that website. I find but can't see the attribute have what I want. Anyone know about it can help me please? Hai Anh

Re: [flexcoders] ambiguous reference error

2009-06-11 Thread Tom Chiverton
On Wednesday 10 Jun 2009, [p e r c e p t i c o n] wrote: > click="Submit();" enabled="{valid}"/> So using submitButton.valid is a work around ? -- Helping to globally strategize error-free eligible professional products as part of the IT team of the year, '09 and '08 Tom Chiverton Developer