Re: [flexcoders] How to remove duplicate objects from an array of objects

2010-06-30 Thread Alex Harui
Are you trying to find the duplicate references to the same object or two separate instances with the same property values? You may not get what you want with toString() and is not needed if checking for duplicate references. On 6/30/10 2:19 PM, "Warren" wrote: I have an array of simple

Re: [flexcoders] Issue related to Drag and Drop rows between Datagrid when using ItemRenderer...

2010-06-30 Thread Alex Harui
Renderers are recycled, so using creationComplete isn’t going to work. See the item renderer category on my blog for more details. Try using dataChange event instead. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui On 6/30/10 5:30 AM, "shahjitesh" wrote: I

Re: [flexcoders] datagrid checkbox selection

2010-06-30 Thread Akshar Kaul
add a boolean field to the data provider and link it to the check box. when you want to find out which rows are selected you can iterate over the data provider and check this boolean field. Akshar Kaul On Wed, Jun 30, 2010 at 19:39, sunfast_kid wrote: > > > Hi > > I have a flex/php program th

[flexcoders] Melbourne Flex User Group Tonight

2010-06-30 Thread Dale Fraser
Hi All, Sorry if I'm over promoting this, but it's the first event. Venue: CogState Level 2 / 255 Bourke Street Melbourne Victoria When: 1st Thursday of the month (TONIGHT) Website: http://mfug.groups.adobe.com Prizes:

[flexcoders] Re: Insert Record directly from dataGrid

2010-06-30 Thread mr hank
ok.. thanks a lot :)

Re: [flexcoders] How to find the dpi of an image

2010-06-30 Thread Oleg Sivokon
DPI is a relative value... I mean, if you stretch the image, it will change... you can only find it out by comparing the number of pixels to the size of the rectangle you are going to put them in... Also, I'm afraid that given the runtime limitation on bitmapdata size, you will only be able to prin

[flexcoders] TimeZone issue

2010-06-30 Thread Ivan
Hi everyone, I wonder if anyone has ever attempted to get the TimeZone of the machine running the flex application (the client's machine). I know that creating a Date object and then calling the getTimezoneOffset() method returns the time difference between UTC and the computer's local time,

Re: [flexcoders] Re: Flex version of excel spreadsheet?

2010-06-30 Thread Sam Lai
This is also possible using Excel Web Services if using SharePoint is an option. http://msdn.microsoft.com/en-us/library/ms546696.aspx How flexible does this solution need to be? Do they need to be able to load any arbitrary Excel file into the web app, which are in turn available to users? Or is

[flexcoders] Re: Could not resolve * to a component implementation.

2010-06-30 Thread turbo_vb
A couple things that you can check that might help: • Make sure that you have an import statement for the component in the parent class. • If your component is an AS class, make sure that the package, at the top of the class, is correct. • If your compon

[flexcoders] fileReference

2010-06-30 Thread joegjames
I'm trying to download a file that is a result of a remote call. The result gives me a string wich i give to the URLRequest. I can open the file no problem, but when I try to save it with fileRef.download it will not work. Is there a reason why this will not work with in a result event. private

[flexcoders] httpservice.lastresult completes but theres no data.

2010-06-30 Thread Clark Stevenson
Hi everyone. I have a nightmare problem. I am using httpservice with e4x. If i was to retrieve an XML file from the server in this simple format: If i looked at my httpservice.lastResult i would see the above xml. This works perfect. However, in my case, the data may contain no item

[flexcoders] How to find the dpi of an image

2010-06-30 Thread speedypipper
I'm working on an adobe air app that prints postcards. I need to verify that the images that the user selects to be printed are 300 dpi. Otherwise the images will be pixellated when printed. Is there a way to get the dpi of an image in flex? Sadly I can't use any server side code for this since

[flexcoders] Problem when sharing singletons with external SWF

2010-06-30 Thread johnnie.walker77
The documentation at http://livedocs.adobe.com/flex/3/html/help.html?content=18_Client_System\ _Environ ment_5.html states under "Usage C": ... This technique lets loaded modules share the loader's si

Re: [flexcoders] flashlog.txt on Mac?

2010-06-30 Thread Peter Coppens
I have mm.cfg (also) in my home dir. Seems to work fine. Peter On 30 Jun 2010, at 16:57, mitchgrrt wrote: > How do I set it up so log messages appear here? And where will the file be? > > I've created the file: > /Library/Application Support/Macromedia/mm.cfg > > and set these lines: > TraceO

[flexcoders] datagrid checkbox selection

2010-06-30 Thread sunfast_kid
Hi I have a flex/php program that gets report data from a database with php in xml format and the flex/air frontend displays the data in a datagrid. Different reports can return different columns which are passed to the frontend along with the results. I then use the xml list of columns to cre

[flexcoders] how to reduce the gaps between vertical column in flex 3 charts

2010-06-30 Thread nithya.learn
any Idea?

[flexcoders] Could not resolve * to a component implementation.

2010-06-30 Thread Brian J. Ackermann
Hi, I'm a wee bit stuck on this, and was hoping you might have some input to help me. I'm getting the "Could not resolve * to a component implementation." error message. However, everything I've read about this via Google hasn't helped my case in the slightest. I presume I'm just missing someth

[flexcoders] Re: Flex version of excel spreadsheet?

2010-06-30 Thread Rodolfo
If you are familiar with Java you may evaluate JExcelAPI (http://jexcelapi.sourceforge.net/) or Apache POI (http://poi.apache.org/) to open existing spreadsheet on server, modify data and return formula results in server services. Regards. Rodolfo. --- In flexcoders@yahoogroups.com, Paul And

[flexcoders] how to reduce the gaps between vertical column in flex 3 charts

2010-06-30 Thread nithya.learn
Hi all, does any body know how to reduce the vertical bar gap between flex column chart?

[flexcoders] Issue related to Drag and Drop rows between Datagrid when using ItemRenderer...

2010-06-30 Thread shahjitesh
I have two datagrids with one of the column displaying a VBox using itemrenderer. I need to drag and drop between two datagrid. The VBox displayed by itemrenderer uses the parent datagrid row data information to display information based on that (like some static message, graph, etc). When we

[flexcoders] How to remove duplicate objects from an array of objects

2010-06-30 Thread Warren
I have an array of simple objects from which I need to remove the duplicates. I'm thinking about creating a dictionary using as a key the toString value of each object. I'll feed the dictionary by looping through the array, then loop over the dictionary and push the items into a new array. I'

[flexcoders] paginating tiles in a viewstack

2010-06-30 Thread David Pariente
Hi, I made a tile showing 9 elements with a repeater that counts 9 elements. (comes from a XML file) I want to have pagination, so i can browse next 9 elements. For that I put it inside a viewstack, with a repeater... So now i have 10 elements, and should show me 2 tiles in the viewstack, one

[flexcoders] Re: DataGrid decides not to render on some occasions

2010-06-30 Thread atomilux
http://iddev.its.txstate.edu/library/dragDropToolBETA/controller.html Our (almost) BETA. It appears, oddly, that browsers are playing a role too. So far, Chrome and Safari on Mac are duds but FFX is good. Chrome, IE6, IE8, FFX 3+ all handle it fine in the PC world.

[flexcoders] flashlog.txt on Mac?

2010-06-30 Thread mitchgrrt
How do I set it up so log messages appear here? And where will the file be? I've created the file: /Library/Application Support/Macromedia/mm.cfg and set these lines: TraceOutputFileEnable=1 ErrorReportingEnable=1 But I'm not finding a flashlog.txt file. The place I'm looking for it is here: /

RE: [flexcoders] list event listener(s) for an event type?

2010-06-30 Thread Gregor Kiddie
1. Yes, you commonly see it if things aren’t being garbage collected properly. 2. If you are implementing IEventDispatcher yourself, add in the logic to store them. There is a popular monkey patch for UIComponent to provide the same functionality for framework components. Gk.