[flexcoders] Re: Mimic IGoogle with Flex 3

2009-01-30 Thread thelordsince1984
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: At the link I sent there is a link labeled Custom buttons in windows. Is that what you are trying to do? --- In flexcoders@yahoogroups.com, thelordsince1984 loreboa@ wrote: --- In flexcoders@yahoogroups.com, valdhor

[flexcoders] Bug in ADG?, possible to bind labelFunction to editor with no dataField?

2009-01-30 Thread tntomek
Hi, Does anyone have any idea how to edit data that does not come from fixed object properties i.e. myObject.Name but myObject.Attributes[2] which might be name? I have a 2D array, array of rows and array of cells for each row, both are arbitrary. I have this successfully displayed my data in

Re: [flexcoders] Common base class for components

2009-01-30 Thread Martyn Bowis
Hi Jules, Object Oriented programming in my mind is about making use of references to objects. With this in mind, here is a way I use to centralise common functionality (functions) that I can access throughout my application: 1. Create an object in the Application mxml file - this will be

RE: [flexcoders] Silent Print from Flex on Kiosk

2009-01-30 Thread Gregor Kiddie
Yeah, The Flash Player doesn’t allow silent printing, as some wag would write an advertising swf which printed out their entire promotional literature of 2000 pages on your printer every time you checked your email… Nate is right, if you have JS code that works, call out to that, or use some

[flexcoders] Re: Visible issue

2009-01-30 Thread lehaianh1986
I've got something like creationCompleteHandler: var sysTrayIcon:SystemTrayIcon = NativeApplication.nativeApplication.icon as SystemTrayIcon; sysTrayIcon.addEventListener(MouseEvent.CLICK,undock); undock: if

RE: [flexcoders] RE: ItemEditors and rowHeight

2009-01-30 Thread Gregor Kiddie
You can say that again ;) Wading through 24.5k lines of code is somewhat turgid... I played around with the y offset (seeing the editor is taller than the renderer) but it sits the editor on top of the grid rather than in it, which looks more than a little bit funky. It appears the main issue is

RE: [flexcoders] dynamic context menu problem

2009-01-30 Thread Gregor Kiddie
The solution I put in place for a similar problem... Add some javascript to eat the right click event (so the default menu isn't shown), and have it dispatch an event to the application. The application then dispatches a RIGHT_CLICK event having it bubble. Any UI component listening for that

Re: [flexcoders] Re: Mimic IGoogle with Flex 3

2009-01-30 Thread Fotis Chatzinikos
Just keep an Array of indexes. Whenever a user changes the layout, update the array and save it on the backend ... On Fri, Jan 30, 2009 at 10:46 AM, thelordsince1984 lore...@katamail.comwrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, valdhor valdhorli...@... wrote:

RE: [flexcoders] ItemEditors and rowHeight

2009-01-30 Thread Gregor Kiddie
Yeah, I've played with those properties, I have no problem having the ItemEditor sitting on top of the grid (which is what happens with an itemEditor in reality) at any size... I want the row which contains the cell I'm editing to resize itself so that the editor still appears to be a part of the

Re: [flexcoders] itemRenderer data question (recycling)

2009-01-30 Thread Johannes Nel
we agree to disagree in that case. why lists based components. 1. automatic recycling 2. easier to tap into events and determine which item was clicked etc 3. itemrenderer factories repeaters are useful and we use them, but its the correct tool for the time, and mostly the correct tool is some

Re: [flexcoders] ItemEditors and rowHeight

2009-01-30 Thread Johannes Nel
have you considered using a sub renderer as an editor. on the adg you have a rendererProviders which allow you to alter the individual rows, var t:AdvancedDataGridRendererProvider = new AdvancedDataGridRendererProvider(); t.depth = 2; t.columnIndex = 1;

Re: [flexcoders] Mimic IGoogle with Flex 3

2009-01-30 Thread Igor Costa
Lorenzo You should check this out. http://jwopitz.wordpress.com/2008/01/24/simple-drag-n-drop-for-flex-ala-igoogle/ Regards Igor Costa www.igorcosta.org On Wed, Jan 28, 2009 at 8:10 AM, thelordsince1984 lore...@katamail.comwrote: Hi, i would create an app that has the same functionality

RE: [flexcoders] BindingUtils and ResourceManager Question

2009-01-30 Thread Thomas, Erik
Thanks for the suggestions, Johannes. Unfortunately, using an explicit event won't scale well in a big application since every access of a resource string from ActionScript will require this treatment. I've done a -keep-generated-actionscript and tried to grok the ActionScript code the Flex

RE: [flexcoders] BindingUtils and ResourceManager Question

2009-01-30 Thread Thomas, Erik
HI Yves: This is a great suggestion! It's pretty readable and doesn't require changes anywhere else but where you instantiate the property. I will write a class to manage this, though we can't refactor our MXML (way too much code) to use the same mechanism. This will just be for those use

[flexcoders] reducing white space from chart

2009-01-30 Thread Vik
Hie Could anyone please help on this http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=585threadid=1419947forumid=60 Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com

[flexcoders] Reducing white space in charts

2009-01-30 Thread Vik S. Kumar
Hie any idea on http://www.adobe.com/cfusion/webforums/forum/messageview.cfm? forumid=60catid=585threadid=1419947enterthread=y i m not able to reduce un-necessary space in right and bottom side of chart components

[flexcoders] Login/Registration Page ?

2009-01-30 Thread Verdell
I have been searching all over the internet for something like a video on how to create a Flex Login page and Registration page. So I appreciate if someone could point me in the right direction on how to do this type of project. I will be using it with ASP.NET and I will be setting up a database

Re: [flexcoders] Does anyone know how to disable mouseover for a button.

2009-01-30 Thread Martyn Bowis
mx:Button enabled="false" ... / yms0411 wrote: Hi i'm making a kiosk application at the moment and I want to disable all mouse actions on a button such as mouseover, rollover, rollout, etc I've extended Button and wrote the following code on the constructor

[flexcoders] Serializing derived complex types from XML

2009-01-30 Thread Derek Basch
Hi all, I am having a hard time serializing derived complex types from XML. I used the Import Web Service wizard to create proxy classes for the SOAP described elements. The XML that I am consuming comes from a .NET backed and include typing statements like this: AssetType xsi:type=CarAssetType

[flexcoders] Serializing derived complex types from XML

2009-01-30 Thread dbasch
Hi all, I am having a hard time serializing derived complex types from XML. I used the Import Web Service wizard to create proxy classes for the SOAP described elements. The XML that I am consuming comes from a .NET backed and include typing statements like this: AssetType

[flexcoders] Mask stops working when scaling hits .91

2009-01-30 Thread pliechty
I apply a mask to my Canvas component which works great. I have a child component of the Canvas which is an image that gets scaled. When the scaling of the child hits .91, the mask stops working. Any ideas?

[flexcoders] Re: flex 2 tilelist datachange effects

2009-01-30 Thread valdhor
I don't know how many people on this list are still using Flex 2 but it can't be too many. Is there some reason you can't update to Flex 3? If Flex 3 offers something that you can't do in Flex 2, then that would give me high motivation to upgrade. --- In flexcoders@yahoogroups.com,

[flexcoders] Re: tiltle window called through states disabling application

2009-01-30 Thread valdhor
Application.application.enabled = false ? --- In flexcoders@yahoogroups.com, stinasius stinas...@... wrote: hi guys i have a title window that i call through view states. i would like to know how to disable the whole application when the title window is opened without using the popup class.

[flexcoders] Re: Mimic IGoogle with Flex 3

2009-01-30 Thread valdhor
Check out Shared Objects. I my current application, whenever a user moves a window, I save that in a shared object so when the same user comes back her windows are where she left them. At http://livedocs.adobe.com/flex/3/html/help.html?content=lsos_3.html there is an LSOHandler class that I use

Re: [flexcoders] Reducing white space in charts

2009-01-30 Thread Sam Lai
I had the same problem, and wasn't about to get it completely eliminated. I used the following styles on my AxisRenderer for both the horizontal and vertical axes: showLabels: false; showLine: false; tickPlacement: none; minorTickPlacement: none; axisStroke: ClassReference(Stroke); I did this in

[flexcoders] Playing sound from an array instead of a file

2009-01-30 Thread Jo Morano
Can the Sound object be used somehow to play from a byte array of sound data instead of loading a URL? I want to load the URL separately into the byte array and then play the sound. I need real time behavior so using the new Flash 10 SoundMixer class or accessing the array after loading the sound

Re: [flexcoders] Login/Registration Page ?

2009-01-30 Thread Paul Andrews
Consider using a ViewStack or States as a starting point. Paul - Original Message - From: Verdell dasle...@yahoo.com To: flexcoders@yahoogroups.com Sent: Friday, January 30, 2009 1:59 AM Subject: [flexcoders] Login/Registration Page ? I have been searching all over the internet for

[flexcoders] Re: Login/Registration Page ?

2009-01-30 Thread valdhor
These threads should get you started... http://www.nabble.com/geting-info-of-a-user-who-has-loged-in-td21292230.html#a21352413 http://www.nabble.com/flex-login-popup-help-needed-please-td20772482.html#a20833766 --- In flexcoders@yahoogroups.com, Verdell dasle...@... wrote: I have been

[flexcoders] Generated html page backgroundcolour

2009-01-30 Thread bhaq1972
I have my Flexbuilder set to the default settings. How can I make sure the generated HTML wrapper has a white backgroundColor. I know its something to do with ${bgcolor}. But how do I set this? Any help would be appreciated.

[flexcoders] Re: Generated html page backgroundcolour

2009-01-30 Thread bhaq1972
I just realized mx:Application backgroundColor=white etc generates the white background in the generated html wrapper --- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote: I have my Flexbuilder set to the default settings. How can I make sure the generated HTML wrapper has a

[flexcoders] PIE - Animated pie chart still displays old data when updated???

2009-01-30 Thread sailorsea21
Hi everyone, I created an animated pie chart that is divided into 3 segments. mx:PieChart dataProvider= {test} mx:series mx:PieSeries labelPosition= outside nameField=name field=field mx:showDataEffect mx:SeriesInterpola te/ /mx:showDataEffect /mx:PieSeries /mx:series /mx:PieChart The pie

[flexcoders] Re: Common base class for components

2009-01-30 Thread Amy
--- In flexcoders@yahoogroups.com, Jules Suggate julian.sugg...@... wrote: Is it possible for an MXML file to implement an interface? Sounds intriguing ... but won't resolve my issue unfortunately. It's the implementation code that I want them to share. I have developers on my team who

[flexcoders] Re: Common base class for components

2009-01-30 Thread Amy
--- In flexcoders@yahoogroups.com, Martyn Bowis mar...@... wrote: Hi Jules, Object Oriented programming in my mind is about making use of references to objects. With this in mind, here is a way I use to centralise common functionality (functions) that I can access throughout my

[flexcoders] FW: Sandbox violation:Access denied

2009-01-30 Thread Sanket kumar Subhash Ghorpade
Hi, I wrote an application that has an SWFLoader to load another swf movie/application into the main application. The server where my sub application is served from already has the crossdomain.xml, letting any domain to access data from it. However, I got the following error

Re: [flexcoders] Re: Common base class for components

2009-01-30 Thread Marco Catunda
I've just read this article. Very nice... Does anyone could explain me or point me some URL about the correct flow of Flex building components methods calls. I've never seen any documentation about it. As far as I understand, after invalidateProperties method, the further calls will happen

[flexcoders] checkbox itemEditor in DataGrid

2009-01-30 Thread markflex2007
Hi, I have add a checkbox itemEditor in DataGrid, I want to make current row selected when I select the checkbox. Please give me a deal how to do that. Thanks you for your help Mark my current code mx:DataGrid x=531 y=273 editable=true dataProvider={inventoryDB} mx:DataGridColumn

Re: [flexcoders] dynamic context menu problem

2009-01-30 Thread Michael Pelz-Sherman
Thanks Gregor! This is slightly more elegant than the solution I've come up with. I *think* I follow you up to the last sentence. How do you force the UI component to display its context menu? The display() method is AIR-only... right? Is this an actual ContextMenu instance or a UI component

[flexcoders] Re: ItemEditors and rowHeight

2009-01-30 Thread Amy
--- In flexcoders@yahoogroups.com, Gregor Kiddie gkid...@... wrote: Yeah, I've played with those properties, I have no problem having the ItemEditor sitting on top of the grid (which is what happens with an itemEditor in reality) at any size... I want the row which contains the cell I'm

[flexcoders] [flexcoder] RemoteClass + ArrayCollection question

2009-01-30 Thread Curtis Barrett
Right now I'm playing around with the RemoteClass feature with a few ActionScript classes. What I've noticed is that if I have a single object I can nest AS classes. So if I have two AS classes foo and bar I can have the following work [RemoteClass(alias=com.ca.foo.Foo)] public class foo {

[flexcoders] How to encode query parameters?

2009-01-30 Thread Greg Hess
Hi All, Every service call to my server requires query params (POST and GET), even some POST requests will send query params. I have found that with HTTPService if I specify the Object with key value pairs in send( queryParams) it does not send the xml I set as the data property. Some of my

[flexcoders] Re: BindingUtils and ResourceManager Question

2009-01-30 Thread Amy
--- In flexcoders@yahoogroups.com, Thomas, Erik erik_tho...@... wrote: Thanks for the suggestions, Johannes. Unfortunately, using an explicit event won't scale well in a big application since every access of a resource string from ActionScript will require this treatment. I've done a

RE: [flexcoders] Re: Common base class for components

2009-01-30 Thread Gregor Kiddie
If you can find Deepa's presentation at Max, I'd read that (You can probably get it on Adobe TV). It was the best presentation I've seen on the component lifecycle. So much so, I'm threatening to staple it to some developers heads round here. Gk. Gregor Kiddie Senior Developer INPS Tel:

Re: [flexcoders] Does anyone know how to disable mouseover for a button.

2009-01-30 Thread Nate Beck
He doesn't want to disable the button... He just doesn't want the button to change it's look when he rolls over it with the mouse. The way I've done it in the past is to make the upState and the overState the same. HTH, Nate On Thu, Jan 29, 2009 at 7:06 PM, Martyn Bowis

RE: [flexcoders] dynamic context menu problem

2009-01-30 Thread Gregor Kiddie
I wrote a routine that all my UIComponents can link into which uses the standard Flex Menu in place of throwing up the context menu. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number:

RE: [flexcoders] Re: ItemEditors and rowHeight

2009-01-30 Thread Gregor Kiddie
That's what I've been playing with today, but again, once the Grid is rendered, I can't seem to make it re-layout the rows. I took a look at the AdvancedDataGridRendererProviders that Johannes suggested, but it falls under the same category. I feel I'm missing something totally obvious, but

Re: [flexcoders] Playing sound from an array instead of a file

2009-01-30 Thread Nate Beck
I saw a demo at MAX where they used Alchemy ( http://labs.adobe.com/technologies/alchemy/) to unencode an OGG Vorbis file and play it. Maybe it's something similar to what you're trying to do. On Fri, Jan 30, 2009 at 6:19 AM, Jo Morano jo.moran...@gmail.com wrote: Can the Sound object be used

[flexcoders] Re: How to encode query parameters?

2009-01-30 Thread hu22hugo
You might look for the global ActionScript functions encodeURI() or encodeURIComponent()? http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/package.html#encodeURI() Marc --- In flexcoders@yahoogroups.com, Greg Hess flexeff...@... wrote: Hi All, Every service call to my server

[flexcoders] Accessing XML child nodes in a LineChart

2009-01-30 Thread Greg Groves
Hi all, I'm trying to use an XML document as the dataprovider for a chart and not able to make it work. A test case follows... mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=horizontal width=100% height=100% mx:XMLListCollection id=statsXml mx:source

[flexcoders] Create Application from database error?

2009-01-30 Thread Verdell
I have setup a login system with Flex and ASP.NET and SQL Server 2008 Pro. I have already setup everything for the SQL database for the username and password. I also setup the permissions for the database; so that it has a database name, sql user name and password for the security. Now when I go

[flexcoders] Re: How to cancel HTTPRequest?

2009-01-30 Thread hu22hugo
Once you sent a HTTP request, you cannot cancel it any more from the client side. You could send a second request to the server to cancel the previous request but that can lead to very unpleasant effects, e.g. when a cancel request arrives before the original one. So either don't fire the

[flexcoders] Re: flex 2 tilelist datachange effects

2009-01-30 Thread johndoematrix
i would have upgraded to flex 3 but its very expensive for me. currently dont have the money to do that. otherwise i would definitely love to upgrade. so in the meantime am using flex 2. any help on the tilelist datachange effect?

Re: [flexcoders] Re: How to encode query parameters?

2009-01-30 Thread Greg Hess
Ah, there it is, encode( str:String ) is what I needed. Keep forgetting about those global function :-). Thanks Marc! Greg On Fri, Jan 30, 2009 at 11:32 AM, hu22hugo hu2h...@hotmail.com wrote: You might look for the global ActionScript functions encodeURI() or encodeURIComponent()?

[flexcoders] Conditional compilation for variable declarations

2009-01-30 Thread jimmy5804
I'm able to use conditional compilation for functions by prefacing them with CONFIG::xxx and other blocks by wrapping them in if(CONFIG::xxx), but I'm not sure how to do conditional declaration of class variables without making the whole class conditional. If, for example, I have a single SQL

Re: [flexcoders] dynamic context menu problem

2009-01-30 Thread Michael Pelz-Sherman
Ah, got it. Thanks, I wish I had taken this approach from the start! From: Gregor Kiddie gkid...@inpses.co.uk To: flexcoders@yahoogroups.com Sent: Friday, January 30, 2009 11:15:54 AM Subject: RE: [flexcoders] dynamic context menu problem I wrote a routine

[flexcoders] Is there a best-practice for knowing when a component is being shown to the user

2009-01-30 Thread João
Hello, imagine an application composed of a nested hierarchy of Components, ViewStacks, View States, Navigators, etc. How can a component on the bottom of the hierarchy run a function every time he is shown to the user? The show event is only dispatched when the component visibility changes to

[flexcoders] Re: Common base class for components

2009-01-30 Thread Amy
--- In flexcoders@yahoogroups.com, Marco Catunda marco.catu...@... wrote: I've just read this article. Very nice... Does anyone could explain me or point me some URL about the correct flow of Flex building components methods calls. I've never seen any documentation about it. As far as I

[flexcoders] Re: [flexcoder] RemoteClass + ArrayCollection question

2009-01-30 Thread Amy
--- In flexcoders@yahoogroups.com, Curtis Barrett curtis.barr...@... wrote: Right now I'm playing around with the RemoteClass feature with a few ActionScript classes. What I've noticed is that if I have a single object I can nest AS classes. So if I have two AS classes foo and bar I can

[flexcoders] Re: Accessing XML child nodes in a LineChart

2009-01-30 Thread Amy
--- In flexcoders@yahoogroups.com, Greg Groves greg.gro...@... wrote: Hi all, I'm trying to use an XML document as the dataprovider for a chart and not able to make it work. A test case follows... ... thanks for any help, You may or may not find this useful:

RE: [flexcoders] itemRenderer data question (recycling)

2009-01-30 Thread Tracy Spratt
As you say, use the right tool for the job. But only the person doing the job is in a position to select his tools. And a couple followups, for the benefit of anyone coming across this thread in the future: 1. Recycling is implemented for performance reasons. If your dataset is small, then

[flexcoders] Re: Is there a best-practice for knowing when a component is being shown to the user

2009-01-30 Thread João
Hum... it's seems this is already filled on Adobe bugbase: https://bugs.adobe.com/jira/browse/SDK-14150

RE: [flexcoders] checkbox itemEditor in DataGrid

2009-01-30 Thread Tracy Spratt
Have the renderer dispatch a bubbling event on change of the checkbox. In the handler, you can access the item, and get the item index and the checked state. Use that to set the selectedIndex on the DataGrid. Of course the usual itemRenderer recycling caveats apply. Tracy Spratt Lariat

RE: [flexcoders] Re: Generated html page backgroundcolour

2009-01-30 Thread Tracy Spratt
Does that property actually change the background color in the wrapper, or does the Flex app just cover the entire browser? I do not know offhand. In a recent thread, someone noted that the browser background stayed the original color for a brief time before the Flex app loaded, and suggested

RE: [flexcoders] Re: Login/Registration Page ?

2009-01-30 Thread Shang Fields
Thanks for all the help. I will try the suggestions. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of valdhor Sent: Friday, January 30, 2009 8:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Login/Registration Page ? These threads

Re: [flexcoders] Re: [flexcoder] RemoteClass + ArrayCollection question

2009-01-30 Thread Curtis Barrett
Thank you for the suggestion, it worked perfectly. Curtis Barrett On Fri, Jan 30, 2009 at 10:13 AM, Amy amyblankens...@bellsouth.net wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Curtis Barrett curtis.barr...@... wrote: Right now I'm playing around with the

Re: [flexcoders] Is there a best-practice for knowing when a component is being shown to the user

2009-01-30 Thread Marco Catunda
Hi João Just looking it over, try to bindable visible property from parent's container. It could be a feasible work around. Cheers -- Marco Catunda On Fri, Jan 30, 2009 at 3:03 PM, João joao.sale...@webfuel.pt wrote: Hello, imagine an application composed of a nested hierarchy of

Re: [flexcoders] Reducing white space in charts

2009-01-30 Thread Vik
Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com Hie Thankx for the response.. I am still pretty new so could you tell me where exactly to write all this? Vik On Fri, Jan 30, 2009 at 7:48 PM, Sam Lai samuel@gmail.com wrote: I had the same problem, and wasn't

RE: [flexcoders] Re: Login/Registration Page ?

2009-01-30 Thread Tracy Spratt
The process of logging in, getting authenticated and then staying authenticated for subsequent data service calls is a common requirement, and there are few examples. I suspect it is because there are many parts to the process and thus very many possible solutions. For example, in the links

Re: [flexcoders] Re: Generated html page backgroundcolour

2009-01-30 Thread Haykel BEN JEMIA
It does change the bg color in the wrapper. The behavior you talk about can happen if you use 'backgroundGradientColors' because the bg color of the wrapper is set from the 'backgroundColor' property, so even if you use gradient colors for the bg of the flex app, you should still set

RE: [flexcoders] Bug in ADG?, possible to bind labelFunction to editor with no dataField?

2009-01-30 Thread Tracy Spratt
If you know that var data:Object = event.itemRenderer.data; contains a string, why not just use toString() to put the string value in a string variable?: And I am not quite following you otherwise. What are you truing to do with describeType()? That is usually used with non-dynamic

[flexcoders] FileReference.upload

2009-01-30 Thread tchredeemed
Hello, I am using RubyAMF to save information to the database. The FileReference.upload method is causing some issues because logically I would like to pass the File information with other information rather than just using upload(). That being said, is there any way to convert FileReference

[flexcoders] Re: FileReference.upload

2009-01-30 Thread twcrone70
Can't give an answer but if you don't already know, there is a rails/flex site you might find useful. http://flexonrails.net/ Good luck! - Todd --- In flexcoders@yahoogroups.com, tchredeemed apth...@... wrote: Hello, I am using RubyAMF to save information to the database. The

[flexcoders] Re: FileReference.upload

2009-01-30 Thread Tim Hoff
Hi, One way is to use File instead of FileReference. You can get the ByteArray that way and pass that to your service. the only caveat is that you won't be able to track the upload progress; unless you do something custom with your service. private var fileToUpload:File; private var

[flexcoders] Re: FileReference.upload

2009-01-30 Thread tchredeemed
Type was not found: File. Hmm!? --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: Hi, One way is to use File instead of FileReference. You can get the ByteArray that way and pass that to your service. the only caveat is that you won't be able to track the upload progress;

[flexcoders] Re: checkbox itemEditor in DataGrid

2009-01-30 Thread markflex2007
But how to pass checkbox selection status by the change event? Thanks

[flexcoders] Re: Accessing XML child nodes in a LineChart

2009-01-30 Thread valdhor
or this: http://blog.flexexamples.com/2007/11/15/displaying-grid-lines-in-a-flex-linechart-control/ --- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote: --- In flexcoders@yahoogroups.com, Greg Groves greg.groves@ wrote: Hi all, I'm trying to use an XML document as the

[flexcoders] Re: flex 2 tilelist datachange effects

2009-01-30 Thread valdhor
Sorry, no. I moved to Flex 3 over a year ago (Since the first Beta) and have not looked back. If there are any more Flex 2 stalwarts, they may be able to help. --- In flexcoders@yahoogroups.com, johndoematrix johndoemat...@... wrote: i would have upgraded to flex 3 but its very expensive for

[flexcoders] How do I html decode a string? ex: Iacute

2009-01-30 Thread luvfotography
Is there a function to html decode a string? I want to translate Iacute to the single character i with the accent. thanks,

[flexcoders] Re: FileReference.upload

2009-01-30 Thread Tim Hoff
What, you want everything. :) import flash.filesystem.*; import flash.net.FileFilter; import flash.utils.ByteArray; -TH --- In flexcoders@yahoogroups.com, tchredeemed apth...@... wrote: Type was not found: File. Hmm!? --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Hi,

[flexcoders] Highlighting Label text characters

2009-01-30 Thread Greg Hess
Hi All, I am displaying search results in a DataGrid and I have a custom ItemRenderer for the Name column and I need to highlight the text in the Label that matched the search query. I have seen support for this in TextArea and TextField.setSelection(..) and also done with HTML text however I

Re: [flexcoders] How do I html decode a string? ex: Iacute

2009-01-30 Thread Greg Hess
The global function unescape(str) might be what you are looking for if you need to decode a URL-encoded string. HTH, Greg On Fri, Jan 30, 2009 at 2:32 PM, luvfotography ygro...@all-digital-links.com wrote: Is there a function to html decode a string? I want to translate Iacute to the single

[flexcoders] Re: FileReference.upload

2009-01-30 Thread tchredeemed
I don't have flash.filesystem when I do import flash.fi the only thing is filters.. hmm!! :)

[flexcoders] Re: checkbox itemEditor in DataGrid

2009-01-30 Thread markflex2007
I can get dg1.selectedIndex when I select a checkbox, but the selectedIndex change to a new id when I select other checkbox. only one selectedIndex works How to make multiple selection for the datagrid when I select many checkboxs? Thanks Mark

[flexcoders] Re: checkbox itemEditor in DataGrid

2009-01-30 Thread markflex2007
The link can make select multiple rows,but how to make the all the selected rows highlighted. Thanks Mark http://blogs.adobe.com/aharui/CheckBoxDataGrid/CheckBoxDataGridApp.swf

[flexcoders] Re: Accessing XML child nodes in a LineChart

2009-01-30 Thread Greg Groves
Thanks, I'll look at that. I was hoping for an MXML solution (mainly so I don't have to explain it as much ;-) ) but if ActionScript is necessary, so be it. thanks, Greg --- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote: --- In flexcoders@yahoogroups.com, Greg Groves

[flexcoders] Re: Accessing XML child nodes in a LineChart

2009-01-30 Thread Greg Groves
I saw that one while googling for an answer. The problem is, it deals with attributes but not child nodes, and that's where I'm having problems. Thanks anyway. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: or this:

RE: [flexcoders] Re: checkbox itemEditor in DataGrid

2009-01-30 Thread Tracy Spratt
The safest way would be to loop over the dataProvider, checking the value of the property that drives the checkbox state, and build an array of indexes that are checked. Then assign that to the data grids selectedIndices property, If you could be sure to never get off, you could manipulate

RE: [flexcoders] Highlighting Label text characters

2009-01-30 Thread Tracy Spratt
What will happen if the matched characters are in the truncated part? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Greg Hess Sent: Friday, January 30,

Re: [flexcoders] Highlighting Label text characters

2009-01-30 Thread Greg Hess
Well, once I can get the text to highlight in the Label, I will need to do the same in the truncated tooltip. On Fri, Jan 30, 2009 at 3:46 PM, Tracy Spratt tspr...@lariatinc.com wrote: What will happen if the matched characters are in the truncated part? Tracy Spratt Lariat Services

RE: [flexcoders] Re: checkbox itemEditor in DataGrid

2009-01-30 Thread Tracy Spratt
In the event handler, you can access the itemRenderer through the target or currentTarget properties. From there you can get at the data item object and thus get the index of the item(see the Collection api for the exact method). But better to loop over the dataProvider and check the selected

[flexcoders] Re: Silent Print from Flex on Kiosk

2009-01-30 Thread Jeremi Bergman
Thanks for the info. It would be nice to be able to add an app as a Trusted application, so that the application would have the option to print silently. --- In flexcoders@yahoogroups.com, Gregor Kiddie gkid...@... wrote: Yeah, The Flash Player doesn’t allow silent printing, as some wag

RE: [flexcoders] Re: Accessing XML child nodes in a LineChart

2009-01-30 Thread Tracy Spratt
I don't do much charting, but generally Flex treats attributes and child nodes both as top-level properties of an item, like with labelField or dataField. Eitehr can access attrabutes or the text() value of child nodes. Tracy Spratt Lariat Services Flex development bandwidth available

[flexcoders] drag and drop ('into' the list items, while not adding to the list itself; Ex: iTunes)

2009-01-30 Thread David Kramer
Hello All. I've run into a problem, need other perspective(s)/solutions: Simply put: I want to implement drag and drop, like iTunes, in an AIR app. Seems easy, but...this particular scenario is puzzling. Right now, just like iTunes, I have two list-based controls (both are populated from

RE: [flexcoders] Highlighting Label text characters

2009-01-30 Thread Tracy Spratt
Interesting problem. I think I might add truncate functionality to a text-based itemRenderer rather than add highlighting to Label. I haven't done either, so take that into account. Tracy Spratt Lariat Services Flex development bandwidth available From:

[flexcoders] Re: How do I html decode a string? ex: Iacute

2009-01-30 Thread luvfotography
Hi, thanks, but that doesn't work. I need something to decode the literals, such as 'lt', 'quot', iacute, etc. --- In flexcoders@yahoogroups.com, Greg Hess flexeff...@... wrote: The global function unescape(str) might be what you are looking for if you need to decode a URL-encoded string.

RE: [flexcoders] drag and drop ('into' the list items, while not adding to the list itself; Ex: iTunes)

2009-01-30 Thread Tracy Spratt
If you write your own drag/drop handlers and call preventDefault, you can do anything you want, or nothing. There are lots of examples in the docs. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com

Re: [flexcoders] Re: How do I html decode a string? ex: Iacute

2009-01-30 Thread Greg Hess
Ah, I believe those HTML entities. You may find support in some HTML utils... On Fri, Jan 30, 2009 at 3:57 PM, luvfotography ygro...@all-digital-links.com wrote: Hi, thanks, but that doesn't work. I need something to decode the literals, such as 'lt', 'quot', iacute, etc. --- In

RE: [flexcoders] drag and drop ('into' the list items, while not adding to the list itself; Ex: iTunes)

2009-01-30 Thread Jim Hayes
So I think what you really need to be doing is to have the list item renderer accept the drop, rather than the list itself? I'm sure I did this with the datagrid about a year and a half ago, unfortunately I don't have that project to hand just now or I'd have a look and see how I did it. All I

RE: [flexcoders] drag and drop ('into' the list items, while not adding to the list itself; Ex: iTunes)

2009-01-30 Thread David Kramer
Thanks for the super fast reply, Tracy. I will look of course, but for even more speed, do you have a link to reference? Thanks in advance. _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, January 30, 2009 2:00 PM To:

RE: [flexcoders] drag and drop ('into' the list items, while not adding to the list itself; Ex: iTunes)

2009-01-30 Thread David Kramer
Yes! Last night around 2 AM I thought Oh, the item renderer should accept it and then I went to sleep. But I'm still puzzled as to how to fire the proper SQL statement for each drop; essentially it's an INSERT [URL from drop] INTO table WHERE column = [the drop acceptor's label string].

[flexcoders] Re: FileReference.upload

2009-01-30 Thread Tim Hoff
Hmm, not sure what to tell you. Flex3? -TH --- In flexcoders@yahoogroups.com, tchredeemed apth...@... wrote: I don't have flash.filesystem when I do import flash.fi the only thing is filters.. hmm!! :)

  1   2   >