[flexcoders] Preventing list selection

2009-05-15 Thread Richard Rodseth
I need to disallow navigation away from unsaved changes based on the user's response in an alert. I have some application-wide strategies in mind, and I have also seen how I can prevent tab switching in a tab navigator by registering a capture-phase click listener and calling

RE: [flexcoders] Re: Application Idea

2009-05-15 Thread Gregor Kiddie
So why not make theWheel.com a place celebrating the wheel in all its forms and shapes, to stop people from re-inventing it all over again! (I'd say these are threatening to descend into silliness, but I think we passed that point of no return with the second reply) Gk. Gregor Kiddie

RE: [flexcoders] Problems with getChildByName();

2009-05-15 Thread Alex Harui
getChildByName searches the parent for a match with a child's .name property. A child's id property is not always the name and is a document reference (the outermost tag in the MXML file) so a parent won't always have a child with the name of the child's id. Usually in a script block, because

RE: [flexcoders] Preventing list selection

2009-05-15 Thread Alex Harui
List/DataGrid don't use click. They use mouseDown/mouseUp. You can try blocking those events. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Richard

[flexcoders] Display Hierarchical Data in Advanced Datagrid

2009-05-15 Thread linko27
Hi! I am looking for a solution to display my data in an advanced datagrid. The collection contains objects of type contact with a manager. Contact { name:String; manager:Contact ... } I tried a grouping on the manager with no success. Need some help please!

RE: [flexcoders] Sending textinput id

2009-05-15 Thread Kenneth Sutherland
The event that gets triggered from a change will contain the textInput and as such it will have the id. All you need to do is get 'event.currentTarget.id' in the change handler function. The currentTarget will be the textInput that triggered the event. (I think that's what your meaning?) HTH

RE: [flexcoders] Sending textinput id

2009-05-15 Thread Kenneth Sutherland
Sorry should have said you should use the 'event.target.id' (in virtually all cases you can get away with using currentTarget, but if you want to be guaranteed to be getting the info from whatever dispatched the event, use target). It all depends on where you are doing the listening. K. The

Re: [flexcoders] Re: Job Offer !

2009-05-15 Thread Tom Chiverton
On Thursday 14 May 2009, valdhor wrote: OK, this aint good. They've now stolen my address. I have removed your list membership. I appreciate this wasn't your fault, and encourage you to rejoin with a new address, or after you've reset your passwords etc. Tom Chiverton, moderator -- Helping

[flexcoders] flash.* packages not found on linux FlexBuilder

2009-05-15 Thread Thierry V.
Hello !! I'm on Ubuntu Intrepid ibex. I installed Java, Eclipse and the FlexBuilder plugin. First I have many problems when I compile, with out of memory errors... Even I change the vmargs with Xmx=1024M the result is the same... But it's not the main problem... I have some problems with the

[flexcoders] Building RSS Reader in AIR

2009-05-15 Thread Benoit Villière
Hello everyone, Do you have any drawbacks/recommandations, even tutorials or Open Source apps to help me build my feed reader in AIR? I'm thinking about using Cainghorn as a MVC framework, as it looks to be the less unofficial one around here. Am I right? Thanks to anyone who'll take the time

Re: [flexcoders] Re: Application Idea

2009-05-15 Thread Paul Andrews
There is no chance of silliness. I suspect Gregor often comes up with wheelie good ideas.. - Original Message - From: Gregor Kiddie To: flexcoders@yahoogroups.com Sent: Friday, May 15, 2009 7:50 AM Subject: RE: [flexcoders] Re: Application Idea So why not make

[flexcoders] Re: Sorry i am not a rocket scientist...

2009-05-15 Thread grg_blls
Hi Patrick, I think what you ask is something like what you get if you turn SortableColumns in ADG to false, along with the sortable property of any single column to false. (Of course then you don't have sortable columns.. and no mouseOver highlights) thanks George --- In

RE: [flexcoders] Re: Application Idea

2009-05-15 Thread Gregor Kiddie
I'm telling you man, keep this up and I'll punish you! (For the benefit of our non-English as a first language readers, Paul made a pun, and I've followed it up with a worse one ;) ) Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory,

Re: [flexcoders] flash.* packages not found on linux FlexBuilder

2009-05-15 Thread Tom Chiverton
On Friday 15 May 2009, Thierry V. wrote: in the header of a class. If I use autocompletion, FlexBuilder remove all flash imports, and I'll have only the mx.collections.ArrayCollection import. So when I launch compilation, I have some errors due to missing imports. I've seen this too, but

[flexcoders] Re: flash.* packages not found on linux FlexBuilder

2009-05-15 Thread Oliver Merk
Are you using the 3.3 SDK? If so, here's the fix: Under Project Properties Flex Build Path Library Path, remove the playerglobal.swc under the framework SDK. Click Add SWC and find the player global SWC for Player *9* in the 3.2 SDK (assuming you've got it somewhere). For example,

Re: [flexcoders] Re: Application Idea

2009-05-15 Thread Jules Suggate
There's a strong geek smell in this room anyway, so it was about time we opened the window for a bit :-) On Fri, May 15, 2009 at 18:50, Gregor Kiddie gkid...@inpses.co.uk wrote: So why not make “theWheel.com” a place celebrating the wheel in all its forms and shapes, to stop people from

[flexcoders] How to detect when word wrap has occurred?

2009-05-15 Thread rohit_sharma1982
Hi, I am facing the following problem and am not being able to solve it. In my chat application I have to show my message in the text area as following:- message:sender If the message consists of single line everything works fine. For a message which exceeds the width of the text area

Re: [flexcoders] Preventing list selection

2009-05-15 Thread Richard Rodseth
Thanks, Alex. That does work, though the new item is still highlighted first, so I might be better of using change, thus covering keyboard selection as well. I saw a Gumbo example on flexexamples using a selectionChanging event, so it seems as though this use case will be supported in future. On

RE: [flexcoders] Building RSS Reader in AIR

2009-05-15 Thread Jake Churchill
I’m not sure it’d be worth implementing cairngorm because an RSS reader would simply be an HTTPService call. I’ve seen examples of this done in a single MXML file. If you wanted to have more interaction or save the feeds locally and then compare with the remote feed, you might want cairngorm

RE: [flexcoders] How to detect when word wrap has occurred?

2009-05-15 Thread Keith Reinfeld
Rohit, Have you looked at the AS3 TextField numLines property and the TextField getLineText(index) method? Regards, -Keith http://keithreinfeld.home.comcast.net http://keithreinfeld.home.comcast.net/ _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On

[flexcoders] Re: AIR: Duplicate entity encoding in web service call, same class is fine in SWF

2009-05-15 Thread jeffdafoe
This issue appears fixed in SDK 3.3 (at least the symptom is not present), just to complete the thread (to myself) in case anyone else has the same issue. -Jeff

Re: [flexcoders] Preventing list selection

2009-05-15 Thread Richard Rodseth
Actually, I take it back, the highlighting is the roll-over highlighting - but the item does appear selected while the modal dialog is up. On Fri, May 15, 2009 at 6:16 AM, Richard Rodseth rrods...@gmail.com wrote: Thanks, Alex. That does work, though the new item is still highlighted first,

[flexcoders] HTML Formatting lost in TextArea

2009-05-15 Thread Dave Glasser
I'm encountering a strange problem which I can't reliably replicate. I have a TextArea. During its lifetime, I set the htmlText property one time with a string of HTML that includes an IMG tag. The text property never gets set. Sometimes, when the TextArea is first displayed, I'll see that all

[flexcoders] Mimic DataGrid header skin

2009-05-15 Thread markgoldin_2000
I want to have all my DataGrid and ADG headers look the same. For that I want to have a custom AdvancedDataGridHeaderRenderer for columns in ADGs. How can I mimic a DataGrid column skin? Thanks for Help

[flexcoders] RE: Re: Building RSS Reader in AIR

2009-05-15 Thread Benoit Villière
I definitely want to use loads of HTTPServices. For now, I would like to make a very simple RSS reader, with local storage of feed urls, but later I would like it to be managed by server side scripting, and account management. I don't want to start with an over-complexified solution that will

Re: [flexcoders] Confused about modules using embedded fonts Flex 3.3

2009-05-15 Thread Greg Hess
Thanks Alex! Not exactly sure why I don't get ANY automatic behavior even with base Flex controls(LinkButton ect..) but by assigning the main applications SystemManager(IFlexModuleFactory) that has the registered fonts to the loaded modules moduleFactory it is working like a charm. Wow, one line

RE: [flexcoders] Confused about modules using embedded fonts Flex 3.3

2009-05-15 Thread Alex Harui
Well, glad that worked, but it shouldn't be necessary for LinkButton. If you can post a test case in two 20-line mxml files I'll try to take a look. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui -Original Message- From: flexcoders@yahoogroups.com

RE: [flexcoders] Preventing list selection

2009-05-15 Thread Alex Harui
Do you just want to set selectable=false on the List in certain situations? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Richard Rodseth Sent: Friday,

RE: [flexcoders] Re: Sorry i am not a rocket scientist...

2009-05-15 Thread Tracy Spratt
And don't forget, the first stop for style questions should be the Style Explorer: http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer. html# http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer .html Might not help with this problem, but still

RE: [flexcoders] Problems with getChildByName();

2009-05-15 Thread Laurence MacNeill
At 02:52 AM 5/15/2009, you wrote: getChildByName searches the parent for a match with a child's .name property. A child's id property is not always the name and is a document reference (the outermost tag in the MXML file) so a parent won't always have a child with the name of the child's id.

Re: [flexcoders] Preventing list selection

2009-05-15 Thread Richard Rodseth
The use case is when you have a list of objects on the left, and an editable form on the right. And you want to display an alert Discard changes | Cancel when switching context with unsaved changes. So you don't know up front if selection should be allowed or not. But disabling list selection

[flexcoders] Docking AIR app in upper right corner of user's monitor?

2009-05-15 Thread Jeff Hindman
... is there a way to do this? I'm pretty sure I can do it with Zinc ...but this is Flexcoders, not Zinc-coders :) Thanks, --jake

[flexcoders] Tree nodes sorting

2009-05-15 Thread markgoldin_2000
Is it possible to sort a Tree in a such way that folders will be shown first? Thanks

[flexcoders] I want print component to be invisible in the ui

2009-05-15 Thread pliechty
I want to print a component in Flex without it showing up in the UI. I have tried setting visible = false and includeInLayout = false. Nothing prints when I do that. If those are true, then it shows up in the ui. I just need to print a component without it showing up in the ui.

[flexcoders] Formula editor in Flex

2009-05-15 Thread Sebastien ARBOGAST
I'm trying to develop a formula editor in Flex so that users can write algebraic expressions including variables from a library of variables.From a user experience standpoint, I think the best way to display this would be with a text component with controls inside. Does anyone know a component in

[flexcoders] Re: Printing Images with printJob.addObject

2009-05-15 Thread pliechty
You can do printing with dynamic images, you just have to wait until the images are loaded before adding them to the printjob. Listen for the Event.COMPLETE event to know when the images are loaded. I am doing it and it works fine. --- In flexcoders@yahoogroups.com, bnuenemann bened...@...

[flexcoders] Re: Sorry i am not a rocket scientist...

2009-05-15 Thread Tim Hoff
He's looking to prevent the roll-over highlight of the DataGrid header. For that object, you can't skin or change the style; except for the color. -TH --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Also, skinning should work. Check out http://www.munkiihouse.com/?p=14

[flexcoders] Re: Sorry i am not a rocket scientist...

2009-05-15 Thread djhatrick
Hey Tim Hoff, thanks! Monkey Patching works fine for my needs. But, I really hope in Flex4, the new spark stuff will make my life easier! By the way, how long till the new beta is out? I'm waiting... patiently. --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: He's looking

RE: [flexcoders] Tree nodes sorting

2009-05-15 Thread Yves Riel
I believe that you will have to do it through your data provider. if your data provider is an ICollectionView (such as ArrayCollection), you can sort it using the sort property. Yves From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf

[flexcoders] shu-player.com

2009-05-15 Thread arieljake
anyone know if wrapping an air app in the product at http://www.shu-player.com will protect the app from being decompiled?

Re: [flexcoders] Confused about modules using embedded fonts Flex 3.3

2009-05-15 Thread Greg Hess
Hi Alex, Well, got my scaled down test case, but it is working fine as you said. I don't need to anything special to have my modules inherit the embedded fonts in Label's LinkButtons ect... I must be doing something funny and I will continue and try and find where...and hope to post back next

RE: [flexcoders] I want print component to be invisible in the ui

2009-05-15 Thread Tracy Spratt
I have successfully printed using visible= false. I was adding the report form to a canvas, so includeInLayout was not necessary for me. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

RE: [flexcoders] Problems with getChildByName();

2009-05-15 Thread Alex Harui
No, not a bad practice if you need references to them. There might be more efficient ways depending on how long it takes to search the array. If you post a trimmed down example of what you were trying to do, maybe others on the list can point you in the right direction. Alex Harui Flex SDK

[flexcoders] Re: Mimic DataGrid header skin

2009-05-15 Thread markgoldin_2000
Please anyone? --- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... wrote: I want to have all my DataGrid and ADG headers look the same. For that I want to have a custom AdvancedDataGridHeaderRenderer for columns in ADGs. How can I mimic a DataGrid column skin? Thanks

[flexcoders] JVM configuration issue with command line compiler

2009-05-15 Thread Guido Vilariño
Hi guys, it's been a while since I posted. I'm having an issue when calling mxmlc from command line: your typical Error: a JVM can't be loaded/found thingie. After some research, it seemed that my problem had to do with having a JRE/JDK 6 (or 5, update 6)

[flexcoders] Storing an array in a Database?

2009-05-15 Thread Laurence MacNeill
Ok, I think maybe I'm over-thinking this and confusing myself... But how do I store an array in a Database? I have an array 'demographics[]' with 25 elements in it (0 thru 24). I can certainly use a for-loop to loop through each element and do whatever I want with each element. But when it

[flexcoders] Re: Storing an array in a Database?

2009-05-15 Thread markgoldin_2000
How that is different from a database table with 25 rows? You populate your array from that table, use the array as a datProvider and save changed data back to db. Am I missing something here? --- In flexcoders@yahoogroups.com, Laurence MacNeill lmacne...@... wrote: Ok, I think maybe I'm

Re: [flexcoders] Re: Storing an array in a Database?

2009-05-15 Thread Laurence MacNeill
At 06:26 PM 5/15/2009, you wrote: How that is different from a database table with 25 rows? Because it just is. LOL With 25 rows, you have 25 separate records. This is 25 columns within a single record. There are other columns too, not just these 25. You populate your array from that

[flexcoders] Problem with th D.eval API.

2009-05-15 Thread alxdmr2
Hello, I use the D.eval API (http://www.riaone.com/products/deval/index.html) and try to import classes using D.importClass(). The problem is that when I try to use an imported class into a D.eval call, I get a runtime error (the compilation is OK) : Error: msg.rt.no.class Here is a minimal

[flexcoders] Problem importing classes with D.eval API

2009-05-15 Thread alxdmr2
Hello, I use the D.eval API (http://www.riaone.com/products/deval/index.html) and try to import classes using D.importClass(). The problem is that when I try to use an imported class into a D.eval call, I get a runtime error (the compilation is OK) : Error: msg.rt.no.class Here is a minimal

[flexcoders] Clickable Rating image in Flex Builder 3

2009-05-15 Thread sminrana
Hello few days ago i had to make a components , therefore user can rate a service on guitar learning application , i am attaching the source code hope you will get help with your purpose…it is a HBox Components used in main application i am not providing the main application source file :( ,

[flexcoders] Re: Problems with getChildByName();

2009-05-15 Thread valdhor
How about using something like this... var formChildren:Array = myForm.getChildren(); for each(var currentVBox:VBox in formChildren) { var VBoxChildren:Array = currentVBox.getChildren(); for each(var

[flexcoders] Re: Sorry i am not a rocket scientist...

2009-05-15 Thread valdhor
Isn't that an oxymoron? A rollover highlight is a change of color isn't it? If the header retained the same color there would be no highlight. If you could skin/style the rollovercolor to be the same as the nonrollovercolor then that should achieve the required result. Of course, I have no

[flexcoders] Re: Storing an array in a Database?

2009-05-15 Thread Eric Garza
I assume you are doing this from a Flex application. Are you using BlazeDS or LCDS on the server side? There are many good examples on Adobe Dev Net that can help you out. http://www.adobe.com/devnet/flex/quickstart.html is a good place to start. You are not going to store your array in the

[flexcoders] Problem importing classes with the D.eval API...

2009-05-15 Thread Alexandre Demeure
Hello, I use the D.eval API (http://www.riaone.com/products/deval/index.html) and try to import classes using D.importClass(). The problem is that when I try to use an imported class into a D.eval call, I get a runtime error (the compilation is OK) : Error: msg.rt.no.class Here is a minimal

[flexcoders] Re: Sorry i am not a rocket scientist...

2009-05-15 Thread Tim Hoff
Thanks for the input Valghor, but let's shorten it to moron. The flex3 framework is far from perfect; as far as skinning is concerned. However, there's usually a way to work around most challenges (kudos again to the engineering team). If you read the original post, the objective was to NOT