[flexcoders] Alex Harui DataGrid and DTO question

2009-02-14 Thread Cato Paus
Hi Alex is there somway to force the datagird to use the DTO getters and setters insted of columns ? ex: mx:DataGrid FileDTO /FileDTO /mx:DataGrid

[flexcoders] Re: filter arraycollection with checkbox acting wired

2009-02-14 Thread johndoematrix
i have tried every advise provide so far and still doesn't work. this is the senario, in my database i have a column(Field Name) for pizza with Data Type YES/NO. i display everything in a flex app through a arraycollection and want to filter that data. i use a checkbox to filter data if there is

[flexcoders] Socket communications in Flex

2009-02-14 Thread markgoldin_2000
I am trying to understand how socket communications work in flex. This code will connect to a port 8080 on a local computer: var xmlsock:XMLSocket = new XMLSocket(); xmlsock.connect(127.0.0.1, 8080); But what I dont understand is what would be sending data to that port? Thanks

Re: [flexcoders] Socket communications in Flex

2009-02-14 Thread Guy Morton
Well...nothing would, normally. You'd have to set up a server to talk to you on that socket, develop a protocol for conversing over the socket, etc. An XML socket is just a pipe to communicate over. Unlike normal http requests which encapsulate the http conversation so you don't see it,

[flexcoders] Re: Alex Harui DataGrid and DTO question

2009-02-14 Thread florian.salihovic
Even if it would be possible, wouldn't it break the model/view seperation? You are much more restricted to the data then you are using the common way to display data. - What about formating the displayed data. This would be needed to be done by the DTO. - Other orders... without columns not

[flexcoders] Re: Memory consumption. Part 2. ItemRenderers

2009-02-14 Thread Dmitri Girski
Thanks, Alex! --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: ListItemRenderer.as adds and removes its icon in commitProperties. If it is the same 3 icons, and they are small, they should be embedded and then you don't need the Image class and will save lots of memory that

[flexcoders] Re: HTML advice please

2009-02-14 Thread aphexyuri
Awesome, exactly what I was looking for...thanks! --- In flexcoders@yahoogroups.com, Maya Tulchinsky maya...@... wrote: Check out this one: http://www.deitte.com/IFrameDemo3/IFrameDemo.html Here is blog about Iframe use in flex:

Re: [flexcoders] AIR Application is not Appearing

2009-02-14 Thread Douglas Knudsen
I've seen this occur if there is some sort of startup error. ( No global exception handler, eh? ). For example, if your Air app is looking for a config file using static inatialiser on startup and can't find it, it could just hang there. Check the flashlog for errors. DK On 2/13/09, Alex Harui

Re: [flexcoders] Re: [Req] What do you (love|hate|wish for) about (mx.*|Cairngorm|PureMVC|Mate|Prana|BlazeDS)?

2009-02-14 Thread Richard Rodseth
Hi Josh I'm also pleased with Mate. I like how they've gone to great lengths to allow views to be framework-agnostic. The dependency-injection that sets up bindings rather than purely injecting values is nifty too. This makes MVP or model adaptors simpler. One downside is a loss of type safety in

Re: [flexcoders] AIR Application is not Appearing

2009-02-14 Thread Kevin Benz
Please be aware of a very simple issue that I don't believe is well documented... When you go through an upgrade of an existing project from SDK 3.1 to 3.2 where Air is involved, the compiler links the appropriate Air objects based on what is contained in the app.xml file (YOUR APPLICATION

[flexcoders] Re: Socket communications in Flex

2009-02-14 Thread markgoldin_2000
I am not sure myself about my question :). First, can Flex be listening to a socket that is created within any program? I mean, if a vb program creates a socket using Winsock will Flex be able to listen to such socket? Second, if yes, how would data actually be transfered? Thanks --- In

RE: [flexcoders] Re: Socket communications in Flex

2009-02-14 Thread Tracy Spratt
Yes. I wrote a socket server in VB.Net that talked to a Flex app. It was years ago but I'll send you the code if you like. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com

[flexcoders] Re: Socket communications in Flex

2009-02-14 Thread markgoldin_2000
I would very much appreciate any code sample. --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: Yes. I wrote a socket server in VB.Net that talked to a Flex app. It was years ago but I'll send you the code if you like. Tracy Spratt Lariat Services Flex

RE: [flexcoders] Re: Alex Harui DataGrid and DTO question

2009-02-14 Thread Alex Harui
I'm confused. The DataGrid uses the dataField in the DataGridColumn to determine which property in the DTO/VO it is going to get. If you don't specify any DataGridColumn, the DTO's properties are introspected and used, but you don't get to control the order and usually the property name is

[flexcoders]Class path alias

2009-02-14 Thread dorkie dork from dorktown
Is there a method to alias a class name to short class name? it was something like: import com.domain.class; public var MyAlias = ClassAlias(com.domain.class); var instance:MyAlias = new MyAlias(); I thought I read about it somewhere around Flex 2.0 but haven't seen it anywhere since.

[flexcoders] Re: sprite.startDrag() - Only one sprite is draggable at a time :-(

2009-02-14 Thread sunild999999
Here are some links I've book marked on drag and drop: - Adobe help http://livedocs.adobe.com/flex/3/html/help.html? content=05_Display_Programming_14.html About half way through this page, they talk about what to do when you need to work around the limitation of startDrag only working on one

[flexcoders] How to stop Flex from compiling my Java source files

2009-02-14 Thread elevight
I'm using Flex 3.0.2 along with Tomcat 5.0. I code my Java using Eclipse 3.1, and I was having problems which I later discovered was being caused because Flex Builder was compiling my Java source files. I have my Flex source files in C:\Tomcat5\webapps\FlexApp\src, and my Java source files are

Re: [flexcoders] Re: Socket communications in Flex

2009-02-14 Thread Guy Morton
As Tracy said, yes. A socket is just a network connection. Your flex XMLSocket doesn't know or care what language the program listening on the other was written in. A socket connection is like a call connected between two telephones - if no-one at either end talks or neither end

[flexcoders] Re: sprite.startDrag() - Only one sprite is draggable at a time :-(

2009-02-14 Thread Mic
Thanks! Exactly what I need. --- In flexcoders@yahoogroups.com, sunild99 sunilbd...@... wrote: Here are some links I've book marked on drag and drop: - Adobe help http://livedocs.adobe.com/flex/3/html/help.html? content=05_Display_Programming_14.html About half way through this

Re: [flexcoders] Re: Socket communications in Flex

2009-02-14 Thread Weyert de Boer
Have a look at: http://www.innerfuse.biz/dropbox/WebDU 2007 Leveraging Apollo Runtime.zip Shows how you can make a socket server in Ruby and talk with a Bluetooth GPS device.