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

2008-08-23 Thread Sefi Ninio
Exactly what I was thinking... So, to make sure I get this straight - There is no way to get to the other DataGridColumns from the DataGridColumn passed to it's labelFunction. There is no getting around to making the same calculation for multiple column except for keeping an external map (at

[flexcoders] My list of Yahoo Groups

2008-08-23 Thread Arthurnasius Amanyire
Hi everyone, Hope this is ok to post here... You can see a list of my groups on Grouply at the link below. Maybe you'll find some you want to join. Arthurnasius Here's the link: http://www.grouply.com/register.php?tmg=359255amp;vt=4303991 This message was posted

[flexcoders] Just getting started with flex builder 3

2008-08-23 Thread richbull99
Hi all. I've been working on a site that has some rather large text files. I think it can be better served in flash. I kind of like the idea of having an expanding tree doing most of the work. Where the left side of the page would show basic information, then the right would show more detailed

[flexcoders] itemrender - tilelist - Image - AIR

2008-08-23 Thread Claudio M. E. Bastos Iorio
Hi, I'm trying to retrieve a directory (AIR) with only images in it, then display a thumbnail for each file using a tilelist. But, I wonder why this code doesn't work: private function OnInit():void{ var file:File = File.applicationStorageDirectory;

[flexcoders] Re: Configuring columns in an AdvancedDataGrid programatically

2008-08-23 Thread Sebastien ARBOGAST
Nobody has any idea on that?Because I'm really stuck on that one. I need to be able to record the configuration of an AdvancedDataGrid (visible groups and columns, orders, sizes, etc.), so I must create my AdvancedDataGrid programatically. 2008/8/21 Sebastien ARBOGAST [EMAIL PROTECTED] I'm

[flexcoders] Tree from flat query

2008-08-23 Thread Don Kerr
I inherited a legacy sql server table (that I cannot change) that looks like table below. LVL is the unlimited levels within the tree (1-??), and within each level, there are unlimited parents and their unlimited children. I use remoteObject to pull in the query result as a flatDP. I want to

[flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-23 Thread Dmitri Girski
--- In flexcoders@yahoogroups.com, Howard Fore [EMAIL PROTECTED] wrote: On Fri, Aug 22, 2008 at 1:33 PM, Dmitri Girski [EMAIL PROTECTED] wrote: Nope, That's how Eclipse and Beyond Compare have always interacted, through a plugin. It's not a workaround, it's using the builtin capabilities of

[flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-23 Thread Dmitri Girski
Hi Douglas, Probably, it does not change the point. If you buy a box of software and it contains the bug it is quite normal to expect that distributor will issue a patch for it. If Compare tool is an external add-on, it will be so easy to Adobe, just to grab the .jar and add to the next update.

[flexcoders] Re: DataGridColumn trouble...

2008-08-23 Thread Tim Hoff
Sefi, If you really wanted to try to get at the calculated values in another column, in the same row, you would have to use an itemRenderer. Because an itemRenderer implements IDropInListItemRenderer, it has access to the listData property. This property contains the rowIndex and the

[flexcoders] How to line up

2008-08-23 Thread markgoldin_2000
Any suggestions about how to make things look good in every Browser? XP + IE7 = bad W 2003 + IE7 = good Vista + FireFox = nothing better that this I am trying to use percentage as much as possible but not every component can be sized using a percent value. Any hints? Thanks

[flexcoders] TabBar from xml - missing labels

2008-08-23 Thread Mic
What is the syntax for the labelField please? I get the 4 tabs but no labels. As always, TIA, Mic. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical initialize=init() mx:Script ![CDATA[ import

[flexcoders] Problems with Cairngorm + Modules

2008-08-23 Thread Pedro Sena
Hi guys, I need some help with Cairngorm + Modules: All my modules are subclass of ReservaWebBaseModule , so I'm using: [Frame(factoryClass=mx.core.FlexModuleFactory)] public class ReservaWebBaseModule extends TitleWindow So far so good, no problem to load it neither to manage my modules. The

[flexcoders] Re: How to line up

2008-08-23 Thread Michael VanDaniker
You're going to have to be a bit more specific before we can help you. What things aren't looking good? How does sizing things with percentage values play into your problem? Anything that subclasses UIComponent can be sized with percentages. Flash Player is designed to display things

[flexcoders] Re: How to line up

2008-08-23 Thread markgoldin_2000
Yes, I probably should have been more specific, but even I am not doing eveything correctly still I see as I said a big difference across OSs and Browsers. I am talking about grids shown side by side. Let's say I have 5 DGs vertically and I have another three vertically too on the right of

[flexcoders] Re: TabBar from xml - missing labels

2008-08-23 Thread Tim Hoff
Hi Mic, Just make these changes: newItem.tabLabel = [EMAIL PROTECTED](); mx:TabBar id=myTabBar labelField = tabLabel/ -TH --- In flexcoders@yahoogroups.com, Mic [EMAIL PROTECTED] wrote: What is the syntax for the labelField please? I get the 4 tabs but no labels. As always, TIA, Mic.

[flexcoders] Datagrid column's data field - getting value from XMLListCollection

2008-08-23 Thread sleblang
I am using a datagrid with the dataprovider being an xmlListCollection. One of the dataGridColumns dataField is using a node text value rather than an attribute value from the XML. When getting the attribute value I simply use dataField=@description. However, if 'description' was a node value

Re: [flexcoders] Re: How to line up

2008-08-23 Thread Sherif Abdou
Yes you can attatch images - Original Message - From: markgoldin_2000 To: flexcoders@yahoogroups.com Sent: Saturday, August 23, 2008 2:23 PM Subject: [flexcoders] Re: How to line up Yes, I probably should have been more specific, but even I am not doing eveything

[flexcoders] Re: How to line up

2008-08-23 Thread markgoldin_2000
Kill me, dont see how. --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: Yes you can attatch images - Original Message - From: markgoldin_2000 To: flexcoders@yahoogroups.com Sent: Saturday, August 23, 2008 2:23 PM Subject: [flexcoders] Re: How to

Re: [flexcoders] Re: How to line up

2008-08-23 Thread Sherif Abdou
When your typing this message just attatch the JPG's (Attatch Files) and send them or you can upload them to imageshack.us and give URLS. - Original Message - From: markgoldin_2000 To: flexcoders@yahoogroups.com Sent: Saturday, August 23, 2008 3:12 PM Subject: [flexcoders]

[flexcoders] Re: Datagrid column's data field - getting value from XMLListCollection

2008-08-23 Thread Tim Hoff
Hey Scott, You're going to have to use a lableFunction to display the child node. -TH --- In flexcoders@yahoogroups.com, sleblang [EMAIL PROTECTED] wrote: I am using a datagrid with the dataprovider being an xmlListCollection. One of the dataGridColumns dataField is using a node text value

[flexcoders] Mail Merge...

2008-08-23 Thread aceoohay
I need to do Mail Merge from a flex application. Creating the database piece is easy. I have also been able to create the merge with htmlText from a RichTextEditor component. The problem of course is printing. I tried flexReport, and everything is ducky except that I can't find anyway to

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

2008-08-23 Thread Andrew Wetmore
I am developing an AIR app which has a lot of text-entry fields. I have not managed to figure out how to escape apostrophes that users may enter so that the text can be saved properly to the Sqlite database. As a workaround, we can insert '' where we mean ', and the dB swallows it. This is not a

[flexcoders] Introspection Recommendations

2008-08-23 Thread Rick Winscot
What would any of you all say to a client who wants to implement, in Flex, an extensible plug-in framework through pure introspection? This would include things like property and event management. To help frame this - with the right framework in place one could create a property explorer to manage

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

2008-08-23 Thread aceoohay
Most DB's that I work with, Oracle, MySQL and SQL Server seem to like '' in other words replace all occurences of one apostrophe with two. YMMV Paul --- In flexcoders@yahoogroups.com, Andrew Wetmore [EMAIL PROTECTED] wrote: I am developing an AIR app which has a lot of text-entry fields. I

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

2008-08-23 Thread Andrew Wetmore
I understand that. But the recommended method is not working. I am trying to do a find and replace of all apostrophes: var myPattern:RegExp = new RegExp('', g); var titleVar:String = noteTitleFLD.text; titleVar = titleVar.replace(myPattern, '); but it is not working Jeez, it's hard to read

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

2008-08-23 Thread Alan
I JUST had this problem. I fixed it by URL encoding my data. So when I send it: encode(yourstring) Then whenever it comes back from the Database: decode( your string ) Alan On Aug 23, 2008, at 5:42 PM, Andrew Wetmore wrote: I understand that. But the recommended method is not

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

2008-08-23 Thread Jim Hayes
Are you using parameters in the sqlStatement or are you concatenating your inputs to the query in text? -Original Message- From: flexcoders@yahoogroups.com on behalf of Andrew Wetmore Sent: Sat 23/08/2008 21:53 To: flexcoders@yahoogroups.com Subject: [flexcoders] dealing with

RE: [flexcoders] itemrender - tilelist - Image - AIR

2008-08-23 Thread Jim Hayes
If you use an array for the dataprovider of the tilelist, then it won't pick up any changes to that array. try using an arrayCollection instead. I'm assuming that your array of images does get populated, and that tileList will normally display such an array? You'd probably want to check both

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

2008-08-23 Thread jensen.axel
if your using objects... you can pass this function an object and it looks for the name property in an object and fixes the ticks to go into the db... http://axelscript.com http://axelscript.com or http://reynacho.net http://reynacho.net Jake Churchill wrote the function, but didnt write about

[flexcoders] Re: TabBar from xml - missing labels

2008-08-23 Thread Mic
Thanks Tim!

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

2008-08-23 Thread Andrew Wetmore
I am concatenating in text. I will try using @ or : parameters and see what happens. Thanks for the suggestion! a -- Andrew Wetmore User Experience Director Open Learning Exchange - www.ole.org 978-319-7324

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

2008-08-23 Thread Alex Harui
Note that, if you subclass the DataGrid and add your labelFunctions to the subclass, then the this pointer during the call is the datagrid and you can rummage through the column set all you want. Also note that, if you subclass DataGridColumn, as I often did in the examples on my blog

RE: [flexcoders] Re: Datagrid column's data field - getting value from XMLListCollection

2008-08-23 Thread Alex Harui
Just out of curiosity, what does the xml node look like? description should work in some cases From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Saturday, August 23, 2008 1:23 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Problems with Cairngorm + Modules

2008-08-23 Thread Alex Harui
You should either put Cairngorm in the main app or load it via a shared code module as described on my blog. See the modules presentation as well to understand why these problems arise. -Alex blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

RE: [flexcoders] itemrender - tilelist - Image - AIR

2008-08-23 Thread Alex Harui
The dataprovider ususally doesn't contain displayObjects, but rather just data like the paths. The image renderer will then use the data items to figure out what to load. You may also need labelField=source on the TileList, depending on what kind of data objects you use

RE: [flexcoders] Debugging events and listeners

2008-08-23 Thread Alex Harui
You can't really debug the dispatch or watch from FB. Best you can do is, for displayObjects, set a capture phase listener on the systemManager (assuming you aren't dispatching from there) and see if that gets hit. #1 reason your listener doesn't get hit is because you aren't listening in the