Re: [flexcoders] Re: Using Restrict property in DataGrid

2007-12-29 Thread George
No, no need, use default DataGridColumn with editable=true. Each time when you editing, itemEditorInstance is actually a TextInput instance, set restrict patterns on that instance directly. (Usually different columns you have to set different restrict, that's why e.columnIndex used here.) Geor

[flexcoders] xmlns question

2007-12-29 Thread markgoldin_2000
I have the following project structure: ProjectName src modulename moduleCode class1.as class2.as Module1.mxml customComponents class3.as class3.as is in Package "CustomComponents" Module1.mxml: xmlns:customComponents="CustomComponents.*"

[flexcoders] Re: SharedObject security

2007-12-29 Thread andrewwestberg
Software Licensing. If I write an encrypted license token in a SharedObject, I don't want them to be able to simply copy the .sol file in order to share their checked-out license with their buddy in the next cubicle. By tieing the license to something hardware related such as a mac address or cpu

[flexcoders] Re: Looking for tool to auto generate class diagrams from a Flex project

2007-12-29 Thread rueter007
Not sure if there is a FlexBuilder plugin for that. Enterprise Architect is a good tool but it is not free (You probably can use the trial for your thesis). Maybe there is a free and easy to use tool to create class diagrams? - venkat http://www.venkatj.com --- In flexcoders@yahoogroups.com, "an

Re: [flexcoders] flex rich edit control with image support

2007-12-29 Thread phil swenson
I second this request a good rich text editor with image support is a huge hole in Flex. I don't get why Adobe isn't spending more time on component development, looks like Flex 2/Flex 3 offer pretty much the same components. On Dec 27, 2007 7:49 PM, Andrew D. Goodfellow <[EMAIL PROTECTED]> w

[flexcoders] flexbuilder editor plugins/keyboard shortcuts

2007-12-29 Thread phil swenson
Does anyone know of good Eclipse/Flexbuilder plugins that offer some of the following features (or maybe I'm retarded and the features exist and I just don't know it): 1) "ctrl-/" keyboard shortcut type functionality to comment/uncomment XML 2) "ctrl-shift-f" keyboard shortcut functionality to ref

[flexcoders] Rotating Tabs

2007-12-29 Thread Daniel
Hey guys... I'm trying to apply the distortion effects cube to a Tab Navigator, but the tab is displayed in the background (like in a modal mode) before the effect ends... So I guess I need to code a RotatingTabNavigator component, where I need to override the method that change the selectedTabs..

Re: [flexcoders] Re: SharedObject security

2007-12-29 Thread Ralf Bokelberg
What is your usecase? Why are people allowed to copy files from other people's computer? Cheers Ralf.

[flexcoders] Looking for tool to auto generate class diagrams from a Flex project

2007-12-29 Thread andiboarder
Hi! I have written an AIR application for my diploma thesis and now i need to create class diagrams for my documentetion. The application has more than 100 classes, so creating the diagram by hand would take days. There must be a way to create class diagrams with Flex Builder. The Outline vi

Re: [flexcoders] Re: SharedObject security

2007-12-29 Thread Jhonny Everson
I was thinking of some kind of user login/password to use in the encryption. But yes, was I said I don't know the answer to your question. On Dec 29, 2007 4:23 PM, andrewwestberg <[EMAIL PROTECTED]> wrote: > Thanks for the reply. My data is already encrypted, but that doesn't > really help me.

Re: [flexcoders] Re: Using Restrict property in DataGrid

2007-12-29 Thread mark goldin
Am I adding this code to my textItemRenderer? George <[EMAIL PROTECTED]> wrote: Add restrict after itemEditBegin event. itemEditBegin="this.itemEditBeginHandler(event)" private function itemEditBeginHandler(e:DataGridEvent):void { // add restrict for text input cells this.callLater(res

Re: [flexcoders] Re: Using Restrict property in DataGrid

2007-12-29 Thread George
Add restrict after itemEditBegin event. itemEditBegin="this.itemEditBeginHandler(event)" private function itemEditBeginHandler(e:DataGridEvent):void { // add restrict for text input cells this.callLater(restrictCells, [e.columnIndex]); } private function restrictCells(columnIndex:

[flexcoders] Re: SharedObject security

2007-12-29 Thread andrewwestberg
Thanks for the reply. My data is already encrypted, but that doesn't really help me. As long as the other computer is running the same flex app, they could copy the SO and see the data. I guess what I need is some type of machine identifier that is unique doesn't change often so I could encrypt

[flexcoders] Keycode for Cmd-V (Paste) on Mac?

2007-12-29 Thread Paul Whitelock
I'm trying to detect when a paste is performed from the keyboard when I get a KeyboardEvent. On Windows I just look for event.ctrlKey and event.keyCode == 86 but this does not work on the Mac. The keyCode that I get for a CMD-V on a Mac is 0x (charCode = 0). How do you detect a paste opera

[flexcoders] Re: Automatic Validation for Entire Form

2007-12-29 Thread sher_ali2004
You can use Validators to validate your forms. http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=validators_093_03.html

Re: [flexcoders] Automatic Validation for Entire Form

2007-12-29 Thread Mike Chabot
It would help to clarify what you mean by "automatically." Do you mean whenever someone types a letter into a text input or whenever someone chooses and item in the combo box it triggers a complete form validation? Do you just want to make sure required fields are filled out, or something more comp

Re: [flexcoders] function binding & toString !! Additional information

2007-12-29 Thread Frederico Garcia
pdate correctly because they > have a reference to some underlying data. When that data changes Flex > knows to execute the function again. The other option (as you pasted > in your last email) is to dispatch an event from a setter so that flex > will know to update the function

RE: [flexcoders] Non-debug mode movie cannot be used for profiling?

2007-12-29 Thread Matt Chotin
Yep, by default FB3 Beta 2 will produce a debug SWF unless I suppose you had -debug=false in your compiler arguments. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Wednesday, December 26, 2007 8:55 PM To: flexcoders@yahoogroups.com Subject: RE: [flexco

RE: [flexcoders] Re: URLRequest passing Authorization

2007-12-29 Thread Matt Chotin
For Flex 3 you might be looking at the AIR properties on URLRequest. It's going to be your server that can prevent a request for authentication, not your client. You'll need to have your server say that the url you're trying to reach doesn't require authentication, otherwise it will send back a 40

Re: [flexcoders] Re: Using Restrict property in DataGrid

2007-12-29 Thread mark goldin
The thing is I am adding itemRenderers to the DataGrid later in my code: var ConsistPersonnel1Worknum:ClassFactory = new ClassFactory(textItemRenderer); var consistPersonnel1Worknum:AdvancedDataGridColumn = Personnel1Grid.columns[2]; consistPersonnel1Worknum.itemRenderer = ConsistPerson

Re: [flexcoders] function binding & toString !! Additional information

2007-12-29 Thread Kevin
1st; when i use function biding (text="{myInstance.toString()}"/>) , function binding works fine are you sure about that? I could be wrong, but I would guess that if you add a button under the TextInput tag your TextInput text value will not update as expected on the button click. (If

[flexcoders] Re: Using Restrict property in DataGrid

2007-12-29 Thread candysmate
--- In flexcoders@yahoogroups.com, "markgoldin_2000" <[EMAIL PROTECTED]> wrote: > > Any sample of using restrict property for fields in DataGrid? > > Thanks > Mark, I use this withim my current project: HTH best, Graham

[flexcoders] vertical text alignment within datagridcolumn

2007-12-29 Thread candysmate
My datagridcolumn uses an itemrenderer: I need the text character displayed within the column to be centered vertically. How can I do this please? I've tried things like padding within the CSS style 'rendererStyle2' but this only caused part o

[flexcoders] Using Restrict property in DataGrid

2007-12-29 Thread markgoldin_2000
Any sample of using restrict property for fields in DataGrid? Thanks

Re: [flexcoders] Child object disappear after be added to another object

2007-12-29 Thread Frederico Garcia
n anybody help me with the strange problem? > > Thanks very much. > > == > > Make Every Day Count > > Larry Zhang > > > > __ NOD32 2755 (20071229) Information __ > > This message was checked by NOD32 antivirus s

[flexcoders] Re: What event to catch

2007-12-29 Thread ben.clinkinbeard
Events that bubble don't need to be passed up. That is what bubbling is: an event that bubbles will move from the component that dispatches it to that component's parent, and then to that component's parent, and so on and so on all the way up to the root of your app. So you can listen for the event

Re: [flexcoders] Setting default "cursor" position when the flex web-application loads

2007-12-29 Thread Savan Patel
Hi Muzak, Thanks for the link. Yes, I had gone through the same post.. Actually my application sets cursor to "username" field, if we click anywhere in flex application, for both the browsers: IE and Mozilla. The main issue is, when application is loaded the control is with the browser, a

Re: [flexcoders] Re: Alternatives to LCDS

2007-12-29 Thread Jhonny Everson
Take a look at red5, it's worth a try. -- Jhonny Everson

[flexcoders] Re: Help with DataGrid dataField

2007-12-29 Thread javaguru_uk
--- In flexcoders@yahoogroups.com, "rueter007" <[EMAIL PROTECTED]> wrote: > venkat> datagrid doesn't support this functionality of figuring out what venkat> name.given and name.family is. Use a label function on the venkat> column to get the data and return the given or family name venkat> yourse

[flexcoders] Accessing Client Machine, is it possible

2007-12-29 Thread cksachdev
Hi, Is it possible to access the Client Machine resources like file from the browser. I hosted my swf file on tomcat then using the ip address I try to load an external text file, it doesn't seems to work. But when I run it on my local machine (without tomcat) I am able to access and read the conte

[flexcoders] Re: Sugestion for ComboBox component

2007-12-29 Thread simonjpalmer
have you tried using myCombo.selectedItem = aTextValue? I don't know if that works, I'm just suggesting it is worth a try. Painful experience of a change of the textual value from one string to another has led me to encapsulating domain values like these into a separate list and only storing thei