[flexcoders] How to create an overlay on top of a list/datagrid

2009-06-09 Thread gmoniey22
I haven't been able to find any examples of this, which is frustrating, since I believe this should be an easy task. I want to display a canvas (or any other sprite) which simply places a gray overlay over the entire grid/list with some message in the middle. In java this would be as easy as

[flexcoders] Re: multiple checkbox selection in a datagrid

2009-06-09 Thread halfbaked11704
Thanks for the help...I have a question, how can I fake the keyboard interaction in flash? where did you get the keyDownHandler function? --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Try one of the examples on my blog Alex Harui Flex SDK Developer Adobe Systems

[flexcoders] Re: How to create an overlay on top of a list/datagrid

2009-06-09 Thread gmoniey22
Nevermind...figured out that the components needed to be wrapped in a canvas --- In flexcoders@yahoogroups.com, gmoniey22 gmonie...@... wrote: I haven't been able to find any examples of this, which is frustrating, since I believe this should be an easy task. I want to display a canvas (or

[flexcoders] Disabling grid does not disable column check box?

2009-06-09 Thread Mic
In a very conventional corporate app with View, Insert, Edit, Delete modes, certain datagrids must be view only in Edit mode. It really surprises me that on a datagrid, with editable=false, enabled=false, selectable=false, the checkboxes in a grid column can still be clicked. I am creating the

[flexcoders] Re: Disabling grid does not disable column check box?

2009-06-09 Thread Mic
Just found I can stop it dead with an enabled=false on the cb itself: mx:CheckBox selected={data.rmvDir == 'true'} paddingLeft=10 enabled=false but I cannot get to the checkbox with actionscript because Flex will not let me give the checkbox an id to reference it with ... mx:CheckBox

[flexcoders] Re: DataGrid with double header

2009-06-09 Thread grg_blls
Hi, ADG is standard part of controls in FB3 (as DataGrid is). What version of FB are using? George --- In flexcoders@yahoogroups.com, mhbmarcos mhbmar...@... wrote: Thanks grg_blls. But now, not compilet the source: AdvancedDataGrid not found and, i find in internet, but see

[flexcoders] Variable Scope, Lifetime across pages

2009-06-09 Thread martinosaint
Hi, I ran into the following issue. I have a Flex application with multiple pages, and the navigation is done via a TabNavigator. Now if I navigate around, each mxml component within the Tab Navigator gets called. However, if I navigate away from page A, and come back later to it, the member

Re: [flexcoders] Getting session in Flex

2009-06-09 Thread Rajan Jain
Use FlexContext.getHttpRequest or something is above lines. thanks ilikeflex From: nhid nhi...@gmail.com To: flexcoders@yahoogroups.com Sent: Monday, June 8, 2009 5:07:33 PM Subject: [flexcoders] Getting session in Flex Hello, How do I get an

[flexcoders] Re: Flex and .NET

2009-06-09 Thread valdhor
I don't understand why you would send the entire data set back to your .NET backend via the web service. The backend has already generated the data to be sent and the backend is what generates the report via Crystal Reports. I would have thought the best way was to send the query back to the

[flexcoders] Re: ADG/DataGrid cell change performance on large data set

2009-06-09 Thread valdhor
We would need to know more before we could take a stab in the dark. Do you have a simple example showing the problem? --- In flexcoders@yahoogroups.com, tntomek tnto...@... wrote: --- In flexcoders@yahoogroups.com, tntomek tntomek@ wrote: When I edit a cell and press Tab to move

[flexcoders] Parser Error in mx:ComboBox DataProvider

2009-06-09 Thread Angelo Anolin
Hi Flexcoders, Little error which I cannot seem to get off. I am declaring a private ArrayCollection and setting the combobox dataprovider to the arraycollection. My combobox is inside a datagrid Itemrenderer tag. When I set the dataprovider for the combobox, I get a red mark stating Parser

Re: [flexcoders] Re: Flex and .NET

2009-06-09 Thread Angelo Anolin
Hi Steve, The dataset which I am using in my Flex app is being edited, with some records added or deleted or filtered. As I am doing this in the Flex application, the backend service (web service) does not know which have been modified, thus, I need to send back the current data I have in the

Re: [flexcoders] Parser Error in mx:ComboBox DataProvider

2009-06-09 Thread Jeffry Houser
I this a run time error or compiler error? Can we see Code? Are the private variable and ComboBox defined int he same component? Angelo Anolin wrote: Hi Flexcoders, Little error which I cannot seem to get off. I am declaring a private ArrayCollection and setting the combobox

Re: [flexcoders] Re: ArrayCollection to Delimited String

2009-06-09 Thread Angelo Anolin
I have actually thought about this, that is why I am trying to send the whole array collection back to the .NET web service. So far, I have managed to get some grasp on this, but I think am missing something because when the arraycollection is processed in the backend .NET, there is no column

Re: [flexcoders] Flex and Reporting

2009-06-09 Thread Angelo Anolin
Some updates on this. I was able to generate a Crystal Report for this where the Flex application opens up in another browser the PDF file which was generated by the report. That would suffice for the moment, although I would still love to hear about possible reporting options integrated

[flexcoders] Announcement: Flextras AutoCompleteComboBox

2009-06-09 Thread Jeffry Houser
Hi Everyone, I'm pleased to announce the release of the Flextras AutoCompleteComboBox Flex Component. The AutoCompleteComboBox is an Advanced ComboBox with AutoComplete functionality that allows you to filter your dataProvider as you type, including support for remote data. It also

Re: [flexcoders] Announcement: Flextras AutoCompleteComboBox

2009-06-09 Thread Jeffry Houser
One correction, The live QA Sessions have been extended it beyond just February. It is now every Friday. I apologize for my Cut and paste marketing. If interested, you can view past sessions at http://www.flextras.com/blog/index.cfm/Flextras-Friday-Lunch and/or subscribe at

[flexcoders] Zoom like Google Map

2009-06-09 Thread christophe_jacquelin
Hello, How to make an image zoom like the one in Google map. The mouse wheel is setting the zoom level. And the mouse move on the image move the image. Thank you, Christophe

[flexcoders] Drag Drop - maually show red cross or green plus icon

2009-06-09 Thread bhaq1972
During a dragOver event I want to manually show the green plus or red cross icon on the dragProxy image. How do I do that? thanks

Re: [flexcoders] Drag Drop - maually show red cross or green plus icon

2009-06-09 Thread Adrian Williams
Hi there... You need to take a look at this: DragManager.showFeedback(DragManager.MOVE); hth adrian bhaq1972 wrote: During a dragOver event I want to manually show the green plus or red cross icon on the dragProxy image. How do I do that? thanks

[flexcoders] How do I Change Event on a CheckBox

2009-06-09 Thread Mark
I'd like to run a function whenever a checkbox has changed regardless if the user selects/deselects it or if it changes from a different user action (such as resetting filters by clicking a button). I tried using calendarCheckbox.addEventListener(Event.CHANGE, changeCBF); but this only works

[flexcoders] How can I edit the datagrid header?

2009-06-09 Thread ujjwalkanti_manna
Hi All, I am new in the flex world.Could any of you tell us how can I make the datagrid column header as editable.So that after user edit the column header it will be saved in database. As I don't know so much about flex so it would be great for me if any of u atlease provide some hint

[flexcoders] Re: Zoom like Google Map

2009-06-09 Thread kaspar.luethi
don't try too hard - the mousewheel is broken under mac anyway. vote here http://bugs.adobe.com/jira/browse/FP-1283 kaspar How to make an image zoom like the one in Google map. The mouse wheel is setting the zoom level. And the mouse move on the image move the image. Thank you,

[flexcoders] fabrication--communicate between app and a popup with modules

2009-06-09 Thread jiahuayung
DrinkWine.mxml is my app , -DrinkWineStartupCommand.as ; StoreMmodule is a module in this project; Content.mxml is DrinkWine`s subComponent and reflect ContentMediaor, PopupStore is my custom popup window reflect StoreMediator,and the PopupStore include a

[flexcoders] Re: ArrayCollection to Delimited String

2009-06-09 Thread Tim Hoff
This is where using an ArrayCollection of ValueObjects (VO), comes in handy. The VO class structure/type in the client maps to a class in the web service. So when you pass the ArrayCollection, the web service knows what the structure of the objects is, and can deal with them appropriately.

[flexcoders] Re: Flex and Reporting

2009-06-09 Thread Tim Hoff
Crystal Reports is great for generating data driven .Net reports. But, if you wanted to generate a wysiwyg type of report, that mirrors what the user sees in the flex app, you're going to run into a lot of problems. AlivePDF is good for simple client-side pdf report generation. However, IMHO,

[flexcoders] Re: How do I Change Event on a CheckBox

2009-06-09 Thread Tim Hoff
Hi Mark, import mx.events.FlexEvent; calendarCheckbox.addEventListener(FlexEvent.VALUE_COMMIT, changeCBF); Notice that this is a FlexEvent; rather than a regular Event. So: private function changeCBF( event:FlexEvent ):void -TH --- In flexcoders@yahoogroups.com, Mark mark.pusat...@...

[flexcoders] Re: how to fix poor performance in this example (AdvancedDataGrid and Binding)

2009-06-09 Thread Amy
--- In flexcoders@yahoogroups.com, Pan Troglodytes chimpathe...@... wrote: That was a good idea and it does get rid of the arraycollection walking. But I get the SAME problem with the grid losing highlighting when I did it using AdvancedGridItemRenderer, thought the symptoms are slightly

[flexcoders] URL pound sign questions

2009-06-09 Thread creativepragmatic
Hello Everyone, I have 2 questions about the url pound sign: 1. Flex includes the pound symbol at the end of every URL (http://www.mysite.com/folder/#). Is it possible to remove the pound symbol (http://www.mysite.com/folder/)? 2. In a social networking site, could 'user' in the URL,

[flexcoders] Re: how to fix poor performance in this example (AdvancedDataGrid and Binding)

2009-06-09 Thread valdhor
Here is my take on what you are trying to do... Application: ?xml version=1.0 encoding=utf-8? Application xmlns=http://www.adobe.com/2006/mxml; creationComplete=cc() layout=horizontal Script ![CDATA[ import mx.events.ListEvent; import mx.collections.ArrayCollection;

[flexcoders] Help with a RegExp

2009-06-09 Thread fumeng5
Hi, I have a filter function for an array collection that I'm working with. In this scenario, I start with an ID such as '1'. Based on that, I want to return '1_1', '1_2', etc... Basically, an underscore followed by 1 digit. Here's the code: var currentID:String = item.id.toString(); // i.e.

[flexcoders] Re: HTTPService.send(params) and nothing happens?

2009-06-09 Thread valdhor
You need to POST to your PHP code (Not to your HTML). Here is a very quick and dirty example: Flex Application: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical horizontalAlign=center mx:Script ![CDATA[ import

[flexcoders] Re: Variable Scope, Lifetime across pages

2009-06-09 Thread valdhor
You will need to monitor a couple of events: creationComplete and show. The creationComplete event will fire once when the tab is first instantiated; show will fire each time the tab is shown EXCEPT on first instantiation. HTH Steve --- In flexcoders@yahoogroups.com, martinosaint

RE: [flexcoders] URL pound sign questions

2009-06-09 Thread Jake Churchill
Why not use some kind of SES URL parser like Ionic or apache's mod_rewrite and strip that off. Or you could set up a 404 page that attempts to look up the user based on whatever is after the '/' and pass the corresponding user info to Flex. I'd pass just the ID then grab the rest of the data as

[flexcoders] Re: How do I Change Event on a CheckBox

2009-06-09 Thread Mark
Beautiful! That did it, thanks much. -M --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: Hi Mark, import mx.events.FlexEvent; calendarCheckbox.addEventListener(FlexEvent.VALUE_COMMIT, changeCBF); Notice that this is a FlexEvent; rather than a regular Event. So:

[flexcoders] Re: URL pound sign questions

2009-06-09 Thread creativepragmatic
Thank you Jake. That definitely helps. --- In flexcoders@yahoogroups.com, Jake Churchill j...@... wrote: Why not use some kind of SES URL parser like Ionic or apache's mod_rewrite and strip that off. Or you could set up a 404 page that attempts to look up the user based on whatever is after

[flexcoders] Re: Help with a RegExp

2009-06-09 Thread valdhor
The . matches any single character but does not limit the string length so you would also want to check the length of the string as well. if(currentID.length == testID.length + 1 pattern.exec(currentID)) --- In flexcoders@yahoogroups.com, fumeng5 fume...@... wrote: Hi, I have a filter

[flexcoders] Re: URL pound sign questions

2009-06-09 Thread valdhor
The server side code can parse the user and send it to Flex via FlashVars OR you could use deep linking and use the # to set the user www.socialsite.com/mysite.html#user --- In flexcoders@yahoogroups.com, creativepragmatic creativepragma...@... wrote: Hello Everyone, I have 2 questions

Re: [flexcoders] Help with a RegExp

2009-06-09 Thread thomas parquier
var pattern:RegExp = new RegExp('^' + testID + .$); should work. thomas --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net téléphone portable : +33601 822 056 2009/6/9 fumeng5 fume...@yahoo.com Hi, I

[flexcoders] Re: Help with a RegExp

2009-06-09 Thread fumeng5
Yeah, I guess that I thought it would limit the String length. But your solution worked so thank you! --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: The . matches any single character but does not limit the string length so you would also want to check the length of the

[flexcoders] multiple filters on XMLListCollection

2009-06-09 Thread munene_uk
is this possible or are multiple filters only applicable to an array collection?

[flexcoders] how can you make the icon in an AdvancedDataGridGroupItemRenderer accept clicks?

2009-06-09 Thread Pan Troglodytes
I've got a bit of a problem and haven't been able to figure it out. When using hierarchical views with ADG, I find that the icon can't be clicked on to select the row. I can't figure out how to capture a click on the icon at all. ?xml version=1.0 encoding=utf-8? Application

Re: [flexcoders] Re: how to fix poor performance in this example (AdvancedDataGrid and Binding)

2009-06-09 Thread Pan Troglodytes
1) Yes, this works fine, for the display portion only. It doesn't address the actual problem of needing to set a flag in the data that indicates it is the currently highlighted one, that flag being also used by other things that bind to the data that don't want to know about UI details like the

[flexcoders] Re: how to fix poor performance in this example (AdvancedDataGrid and Binding)

2009-06-09 Thread Tim Hoff
Just a thought, but what if you call drawHighlightIndicator manually; after you set the variable? Maybe even callLater. -TH --- In flexcoders@yahoogroups.com, Pan Troglodytes chimpathe...@... wrote: 1) Yes, this works fine, for the display portion only. It doesn't address the actual problem

[flexcoders] Itemrenderers style?

2009-06-09 Thread flexaustin
Below is my custom item renderer, but the styles in my style source do not show up when the itemrenderer is used in a datagrid. I have a tootlip style and it shows up every where in the app, but inside the itemrender. TIA ?xml version=1.0 encoding=utf-8? LinkButton

Re: [flexcoders] Re: how to fix poor performance in this example (AdvancedDataGrid and Binding)

2009-06-09 Thread Paul Williams
When you set the highlighted property on your items, they are dispatching PropertyChangeEvents. The collection they are in will receive these PropertyChangeEvents and dispatch CollectionChangeEvents. The AdvancedDataGrid will receive these and perform a visual update, which appears to clear the

[flexcoders] Re: how to fix poor performance in this example (AdvancedDataGrid and Binding)

2009-06-09 Thread Tim Hoff
Nice Paul, So, extend ADG and add a highlightedItem:MyItemVO property that uses a Bindable highlightedChange event; with the same getter/setter structure as below. Not sure, in MyADG, if you'd set the highlightedItem on itemRollover or initialte from the itemRenderer, with an Event though; just

[flexcoders] using addChild() or includeInLayout ?

2009-06-09 Thread arpan srivastava
Hi All, Is it better to create controls dynamically using addChild() or write the mxml for all the controls and use includeInLayout and visible property to show / hide the controls? Thanks Arpan Cricket on your mind? Visit the ultimate cricket website. Enter

RE: [flexcoders] using addChild() or includeInLayout ?

2009-06-09 Thread Gordon Smith
You should get faster startup if you wait until you need them and create them dynamically. But I think the states feature is probably the best way to accomplish this. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of arpan

Re: [flexcoders] Re: Flex and Reporting

2009-06-09 Thread Sam Lai
Is FlashPaper still supported? Never actually used it, not quite sure how it works, just that it lets you view documents inside of Flash. 2009/6/10 Tim Hoff timh...@aol.com: Crystal Reports is great for generating data driven .Net reports.  But, if you wanted to generate a wysiwyg type of

[flexcoders] Deploy Flex on SpringSource dm server

2009-06-09 Thread robin bakkerus
Hi, Does anyone know how to deploy Flex on the new Springsource dm server (an osgi based app server) thanks in advance