RE: [flexcoders] Introspection Recommendations

2008-08-24 Thread Alex Harui
We intended Modules to be the way. You'd bake the manifest into the SWF or have some contract via the interface to effectively get the manifest. DescribeType is very slow so pure introspection/reflection and even the use of metadata can be a performance problem, so it is a classic speed

[flexcoders] Re: Mail Merge...

2008-08-24 Thread Dmitri Girski
Hi Paul, FlexReport is not on the right track, as well as Adobe's approach to printing. Problem starts right here: http://livedocs.adobe.com/flex/3/html/help.html?content=printing_5.html Person who wrote this manual didn't know the fact that Flash Player has a 2-pass renderer and this a key

Re: [flexcoders] Re: DataGridColumn trouble...

2008-08-24 Thread Sefi Ninio
@Tim: Yeah, that's exactly what I ended up implementing.. I was just puzzled, that's all really... :) @Alex: Hmm... I tried to use the owner property without subclassing the DataGridColumn with no success... Maybe I'll try that. Thanks a lot for all the responses! Sefi On Sun, Aug 24, 2008

Re: [flexcoders] Re: DataGridColumn trouble...

2008-08-24 Thread Sefi Ninio
@Tim: Well, not exactly really, I ended up implementing the calculation itself in the calculateStartValue and calculateEndValue functions in your example and called them exactly like your example in the labelFunctions... On Sun, Aug 24, 2008 at 12:14 PM, Sefi Ninio [EMAIL PROTECTED] wrote:

[flexcoders] about allowMultipleSelection question

2008-08-24 Thread dialogtmp
Hello all, When I set the allowMultipleSelection is true of TileList, I can use shift or Ctrl to choice many objects. But I just want to click mouse to choice many objects. How should I do ? thanks, dialogtmp

[flexcoders] Re: about allowMultipleSelection question

2008-08-24 Thread Dmitri Girski
You have to subclass TileList and override selectItem method to simulate Ctrl key. Funny thing, I just did the same thing in the DataGrid yesterday :) http://mitek.id.au/blog/2008/08/24/easy-multiple-items-selection-in-datagrid/ Cheers, Dmitri. --- In flexcoders@yahoogroups.com, dialogtmp

[flexcoders] Re: Tree from flat query

2008-08-24 Thread Don Kerr
Thanks Alex. So, what does that hierarchy of ACs look like conceptually? myTreeAC.name myTreeAC.lvl myTreeAC.lvlAC myTreeAC.lvlAC.parentAC myTreeAC.lvlAC.parentAC.parentid myTreeAC.lvlAC.parentAC.name myTreeAC.lvlAC.parentAC.teamAC.teamid myTreeAC.lvlAC.parentAC.teamAC.name Sounds like what

[flexcoders] CheckBox DataGrid column itemRenderer not updating. Please help.

2008-08-24 Thread greg_lafrance
I have a column in a datagrid using CheckBox as itemRender, and user checks CheckBoxes they want to send email for. But after user checks the CheckBoxes, the data provider has not been updated. Should I try to get the dataProvider to get the updated checked/unchecked state of the CheckBoxes

[flexcoders] Re: Mail Merge...

2008-08-24 Thread aceoohay
Dimitri: No problem, I am happy to use another approach. Does anyone have a HTML to RTF conversion component? How about something that will take the HTML generated by the RichTextEditor, and cook it into something that is accepted by MS Word? or will render it into something printable? BTW,

[flexcoders] Re: Mail Merge...

2008-08-24 Thread Don Kerr
Paul, On my http://www.spacecityaug.com Flex blog app, I have a Print/PDF button that takes the Flex RichText and produces the downloaded reports. I used Adobe ColdFusion to dyamically produce the reports in Word, Excel, and PDF. Flex and CF tag team. The same ColdFusion components on the server

[flexcoders] Re: CheckBox DataGrid column itemRenderer not updating. Please help.

2008-08-24 Thread Don Kerr
setting editorDataField to selected works for me mx:DataGridColumn headerText=Region Review width=120 dataField=regionReview editorDataField=selected rendererIsEditor=true mx:itemRenderer mx:Component mx:CheckBox/ /mx:Component /mx:itemRenderer /mx:DataGridColumn Don Kerr --- In

[flexcoders] Re: Mail Merge...

2008-08-24 Thread aceoohay
Don: Thanks for taking the time to post about the CF solution, I will give it a try, converting either to AS3, or VB.NET on the backend. CF is not an option, for these apps. I do have an associate on staff that does CF, but the approach I'm taking is using minimalist middleware pieces in

Re: [flexcoders] RE: [flexcomponents] maintaining sort arrow icon with server side sorting of datagrid

2008-08-24 Thread venkateswarlu naidu
Hi, I was able to progress on this up to some extent by writing some code in the RemoteObject result handler. initDG.sort = new Sort();//initDG is the dataprovider for my datagrid var sortField:SortField = new SortField(field,true, flag);//field is DG

[flexcoders] Re: Mail Merge...

2008-08-24 Thread Don Kerr
No prob. No matter what middleware you use, unfortunately, you do need to replace some of the RTE htmlText to convert it to html the browser,email,or Word, etc. can use. That was my main point about fixing your font issue. Hope it helps. Don --- In flexcoders@yahoogroups.com, aceoohay [EMAIL

[flexcoders] Re: CheckBox DataGrid column itemRenderer not updating. Please help.

2008-08-24 Thread greg_lafrance
Hmmm... That didn't seem to update the dataProvider. --- In flexcoders@yahoogroups.com, Don Kerr [EMAIL PROTECTED] wrote: setting editorDataField to selected works for me mx:DataGridColumn headerText=Region Review width=120 dataField=regionReview editorDataField=selected

[flexcoders] Vectors/Getter And Setters

2008-08-24 Thread Sherif Abdou
I am wondering is this allowed, and if it is How do i make it work since I keep getting Internal error: type for Property '{name}' is unreachable. private var contentVec:Vector.UIComponent; public function get content():Vector.UIComponent { return contentVec; } public function set

Re: [flexcoders] Vectors/Getter And Setters

2008-08-24 Thread Sherif Abdou
content is a DefaultProperty so I don't need to include it in the mxml - Original Message - From: Sherif Abdou To: flexcoders@yahoogroups.com Sent: Sunday, August 24, 2008 1:02 PM Subject: [flexcoders] Vectors/Getter And Setters I am wondering is this allowed, and if it

[flexcoders] Re: dealing with apostrophes in text saved to Sqlite from an AIR app

2008-08-24 Thread Andrew Wetmore
using parameters seems to have solved the problem. What a relief!! a -- Andrew Wetmore User Experience Director Open Learning Exchange - www.ole.org 978-319-7324

[flexcoders] addFrameScript (will it be officially supported?)

2008-08-24 Thread Keith
Will it be officially supported in Flash 10 player? I love what's possible with addFrameScript method. -- Keith H -- www.keith-hair.net begin:vcard fn:Keith H n:H;Keith email;internet:[EMAIL PROTECTED] x-mozilla-html:TRUE url:http://www.keith-hair.com version:2.1 end:vcard

[flexcoders] How to save object to SQLite and get it back?

2008-08-24 Thread markflex2007
Hi, I still have question about the issue. For instance,I have a object var user: userVO = new userVO(); user.firstname = Tom; user.lastname = Davis; I want to save the object to SQlite and retrive it back in other screen. For instance I have a user table that only have two field

Re: [flexcoders] Re: Mail Merge...

2008-08-24 Thread Josh McDonald
Try doing the save to XML from Word and you might be able to use that as a template to generate a word-friendly XML document (I use the term loosely). It's ugly, but I've done this with XSLT a couple of years ago in order to programatically create excel files... -Josh On Mon, Aug 25, 2008 at

RE: [flexcoders] How to save object to SQLite and get it back?

2008-08-24 Thread Jim Hayes
I confuse the syntax to do this Are you confused about the sqlite syntax in general usage, or specifically about saving/retrieving an *object* in it's native form to a database? For instance, if you were to change the table in your example to have fields id (integer) ,firstName (Text)

[flexcoders] Re: CheckBox DataGrid column itemRenderer not updating. Please help.

2008-08-24 Thread Don Kerr
Do you have editable=true set in your DataGrid? Don --- In flexcoders@yahoogroups.com, greg_lafrance [EMAIL PROTECTED] wrote: Hmmm... That didn't seem to update the dataProvider. --- In flexcoders@yahoogroups.com, Don Kerr fusionpage@ wrote: setting editorDataField to selected works

[flexcoders] Re: Need help urgently regarding the uploading component in flex

2008-08-24 Thread andrew_young.rm
Peace! ok from the looks of your coding your a better programmer than me (I am a bit of a newbie in FLEX) BUT you still have to initiate a URLRequest method to send up your files based on your _refAddFiles.fileList[array number].data information (this is done one by one) umm, I personally use an

[flexcoders] Re: How to save object to SQLite and get it back?

2008-08-24 Thread markflex2007
I only confuse saving/retrieving an *object* from sqlite. I know the general sql statements. Thanks

[flexcoders] Help with binding (flex 3)

2008-08-24 Thread rss181919
I have a value object that i cast as an object. public var MyObj:Object = new MyObj All of the properties of MyObj are bindable. I have a form item Text input object that is bound to one of the properties of MyObj. BindingUtils.bindProperty(MyTextInput, 'text', MyObj, 'Prop1'); I have a web

Re: [flexcoders] Help with binding (flex 3)

2008-08-24 Thread Josh McDonald
You need to set makeObjectsBindable on your WebService object. -Josh On Mon, Aug 25, 2008 at 1:22 PM, rss181919 [EMAIL PROTECTED] wrote: I have a value object that i cast as an object. public var MyObj:Object = new MyObj All of the properties of MyObj are bindable. I have a form item Text

Re: [flexcoders] Help with binding (flex 3)

2008-08-24 Thread Sherif Abdou
I hope I am correct on this one, but I think the problem is the Object does not implement the IEventDispatcher Interface thus you can't do binding with an object. So maybe that is why? - Original Message - From: rss181919 To: flexcoders@yahoogroups.com Sent: Sunday, August 24,

RE: [flexcoders] addFrameScript (will it be officially supported?)

2008-08-24 Thread Alex Harui
If it isn't in the doc, then it isn't supported From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Keith Sent: Sunday, August 24, 2008 12:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] addFrameScript (will it be officially

RE: [flexcoders] Re: DataGridColumn trouble...

2008-08-24 Thread Alex Harui
Owner doesn't get set until DG.commitProperties, I think From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sefi Ninio Sent: Sunday, August 24, 2008 2:14 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: DataGridColumn

[flexcoders] Re: Mail Merge...

2008-08-24 Thread aceoohay
Josh: I used the save to XML trick to create a component that will take any grid and create a MS Excel 2003 compliant XML structure. It worked pretty good. However I would still need to convert the ratty HTML built by the RichTextEditor component to XML. I have a partial mule (half a**ed)

Re: [flexcoders] addFrameScript (will it be officially supported?)

2008-08-24 Thread Josh McDonald
That, plus ew :) addFrameScript() is not good for readability or maintainability when you're doing Flex, and I'm sure if you're trying to hook into imported assets you could use an event handler and simply check framenumber (and write a 5 line closure-generator that lets you do that as easily as

Re: [flexcoders] Re: Mail Merge...

2008-08-24 Thread Josh McDonald
Hmm, I haven't messed with RTE much, but even if it's spitting out nasty HTML, it's probably keeping an XHTML XML doc internally, which you could clean up programatically in Flex or declaratively with XSLT. Besides that general idea though I think I'm out of my depth in this subject :) -Josh On

Re: [flexcoders] addFrameScript (will it be officially supported?)

2008-08-24 Thread Keith
-- Keith H -- www.keith-hair.net Ok addFrameScript was just a script-tease. I will look into the other option. -- Keith H -- Josh McDonald wrote: That, plus ew :) addFrameScript() is not good for readability or maintainability when you're doing Flex, and I'm sure if you're trying to hook