RE: [flexcoders] Re: parentDocument variables

2009-02-27 Thread Johan Öbrink
A bit short maybe J I would suggest looking into some frame work like Cairngorm or MVC. The issue is not HOW to address parentDoument but WHY you shouldn't. /Johan From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sent: den 24 februari 2009 2

RE: [flexcoders] save image on desktop in air

2009-02-20 Thread Johan Öbrink
All you have to do is draw the Application into a BitmapData, put the BitmapData through a JPEG/PNGEncoder and save the resulting ByteArray via File/FileStream. You can certainly let the user descide where the file should be saved. /Johan From: flexcoders@yahoogroups.com [mailto:flexcod.

RE: [flexcoders] Best database for Flex

2009-02-20 Thread Johan Öbrink
Two answers: 1. Flex has nothing to do with it. You don't call a DB from Flex - you call a server script that calls a DB. 2. SQLLite through AIR or MySQL through assql (http://code.google.com/p/assql/wiki/Examples#MySqlService_Example) Answer #2 is more of a geeky nature than

RE: [flexcoders] Re: Flex server language

2009-02-18 Thread Johan Öbrink
They are all popular. I think the .Net platform is growing while Java is diminishing but I may be misinformed and that may be temporary. I personally prefer the .Net platform and C#. You seem to know PHP so that may be the fastest way for you to leverage your knowledge. No matter what server

Re: [flexcoders] get class instance by property

2007-08-27 Thread Johan Öbrink
Also consider using a ModelLocator to store this list of persons. Have a look at Cairngorm - it helps. /J Derrick Anderson skrev: i think i am going to take your suggestion and use the person instances themselves as the dataprovider for the combobox, thanks for setting me straight! d. On