[flexcoders] Re: DataGridColumn id attrubute is gone??

2006-07-14 Thread Suzy Lawson
= columns2; } dg.dataProvider = values; That should be enough to get u going. Regards, Dimitrios Optimal Payments -Original Message- From: flexcoders@yahoogroups.com on behalf of Suzy Lawson Sent: Thu 7/13/2006 6:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders

[flexcoders] DataGridColumn id attrubute is gone??

2006-07-13 Thread Suzy Lawson
I have a view state that hides/shows datagrid columns. I need the id attribute in order to identify to the State which column to set the 'visible' value to. In mxml, there is a mx: DataGridColumn id= ../ attribute, HOWEVER, there is not one when you do this: var dataGridColumn : DataGridColumn =

[flexcoders] Re: Spring Enable Flex

2006-07-13 Thread suzy lawson
There isn't much to do to get Flex to talk with Spring! All you need to do is put a delegate class in the middle which is nothing more than a simple POJOFlex calls Pojo, Pojo invokes Spring Beans... How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates. __._,_.___

[flexcoders] SecurityErrorEvent thrown on server but not when run locally. Why?????

2006-07-12 Thread Suzy Lawson
I have a Flex (final release) mail client that uploads attachments to an external mailserver (using FileReference). It works fine when I run/debug locally, but it fails with the following error when I drop the swf file on my local webserver. SecurityErrorEvent text=Error #2049

[flexcoders] Re: SecurityErrorEvent thrown on server but not when run locally. Why?????

2006-07-12 Thread Suzy Lawson
://www.cynergysystems.com/ Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson Sent: Wednesday, July 12, 2006 10:21 AM To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: Validating inputs

2006-07-02 Thread Suzy Lawson
You need a root level XML tag...it should be like this: mx:Model id=CheckModel myData StreetNum{propNum.text}/StreetNum Street{propStreet.text}/Street City{propCity.text}/City State{propState.text}/State Zip{propZip.text}/Zip

[flexcoders] Re: Custom Validator woes....

2006-06-28 Thread Suzy Lawson
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson Sent: Tuesday, June 27, 2006 10:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom Validator woes I'm building an e-mail client where the To: field can have a comma delimited array of e-mail addresses: [EMAIL

[flexcoders] Custom Validator woes....

2006-06-27 Thread Suzy Lawson
I'm building an e-mail client where the To: field can have a comma delimited array of e-mail addresses: [EMAIL PROTECTED], [EMAIL PROTECTED] I have the validation occuring in the focusOut event, where I split the To: field so I get an Array of e-mail addresses. var emails : Array =

[flexcoders] Re: RTE htmlText img tags

2006-06-20 Thread Suzy Lawson
Here's a blog that allows you to display html within a browser. I was able to combine this with an embedded iframe which I can hide and display...to the user, it looks like a normal TextArea within Flash. http://ebaggg.blogspot.com/ --- In flexcoders@yahoogroups.com, stefan_schmalhaus [EMAIL

[flexcoders] Aligning the control bar of a RichTextEditor

2006-06-20 Thread Suzy Lawson
I feel silly asking this question b/c it seems like something too easy...but I can't get the control bar of a rich text editor to be ABOVE the text field (by default it sits below the text box). I've tried everything including adding a style for controlBarStyleName with vertical-align:top but

[flexcoders] Can we move Flexcoders to a new forum??

2006-06-16 Thread Suzy Lawson
Is anyone else pulling their teeth trying to find messages they posted several days ago? I can see it in the mail-archives no problem, but when I go back to yahoo to post a reply to a message...it's quite the b*tch to find. I ended up just doing a search on my username and clicking through all the

[flexcoders] Re: mx.resources.Locale not compiling

2006-06-16 Thread Suzy Lawson
The compiler says that getCurrent() requires a parameter...the API doesn't. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 15 June 2006 16:57, Suzy Lawson wrote: Locale.getCurrent().language However, this line doesn't compile. (I have

[flexcoders] mx.resources.Locale not compiling

2006-06-15 Thread Suzy Lawson
Directly from the Flex docs it says that you can get the current Localeby calling: Locale.getCurrent().language However, this line doesn't compile. (I have it in a function called by the creationComplete method of my main mxml. Also, I have an international application where I want to swap

[flexcoders] Cannot debug or preview in browser

2006-06-13 Thread Suzy Lawson
I all of a sudden starting getting this error. I can no longer debug or run any of my applications. I tried even re-installing FB 3 Beta but no luck and creating a new Flex Project with code from CVS that I know works. I do not have any warnings or compilation problems before trying to debug. None

[flexcoders] Re: Viewing HTML

2006-06-09 Thread Suzy Lawson
whitespace between tags to be stripped out. -- Brian --- In flexcoders@yahoogroups.com, Suzy Lawson suzylawson@ wrote: Christophe's blog in this case doesn't help. His iFrame points to a static HTML page. I have a String like this: //whether

[flexcoders] Re: Viewing HTML

2006-06-08 Thread Suzy Lawson
place and the right size over the Flex page - it worked really nicely and sound like just what you need - sorry I can't be more help, but perhaps this'll jog the memory of someone who as a memory! HTH Phil Suzy Lawson wrote: Hello Group- I have an app that receives XML data over

[flexcoders] Viewing HTML

2006-06-07 Thread Suzy Lawson
Hello Group- I have an app that receives XML data over the socket. Specifically, it is data that is in 2 formats (plain text and HTML). The HTML that gets sent represents the FULL html code (i.e. the top-level 'html', 'meta', 'head', 'style', 'div', 'body' tags etc..). Sometimes the tags have

[flexcoders] Re: Instantiation and setting problems - Example included

2006-06-06 Thread Suzy Lawson
differently. Decouple the logic for loading XML into a service helper class and then when you get back a response pass that to a utility method to actually generate the XML. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson Sent

[flexcoders] Re: Instantiation and setting problems - Example included

2006-06-05 Thread Suzy Lawson
mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson Sent: Friday, June 02, 2006 4:54 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Instantiation and setting problems I'm using the Cairngorm framework, so in the implented Command classes... For the XML problem, it's in a class that the

[flexcoders] Instantiation and setting problems

2006-06-02 Thread Suzy Lawson
I anyone else having issues trying to set values on objects for newly instantiated objects in an object graph with 3 or more layers? I have the following: ClassA { public var classB : ClassB; public var classC : ClassC; } ClassB { public var classD : ClassD; } ClassC { public var

[flexcoders] Re: flex 1.5 : how to lock Application during popup creation process ?

2006-06-02 Thread Suzy Lawson
You can create a global public variable Boolean that you set to true when the window is open and set to false when it closeed. var public isPoppedOpen : Boolean = false; Then when a user clicks the button, set it to true. Have logic in your window pop method that checks if this value is true,

[flexcoders] Re: FLEX 1.5 TabNavigator issue

2006-06-01 Thread Suzy Lawson
The RIA book has a lot of help in this. Here's a code example I use to change a Button's fontSize at runtime. You can adjust accordingly. mx.styles.StyleManager.styles.Button.setStyle(fontSize, 9); One note, doing style changes on the fly in 1.5 is very expensive. I had an app where I change

[flexcoders] Re: Trouble getting started with cairngorm-0.99

2006-05-16 Thread Suzy Lawson
Doug, You have a namespace issue. Few things to check: 1.) Make sure that in your flex-config.xml, you have this in your namespaces area: namespace uri=http://www.iterationtwo.com/cairngorm manifest/WEB-INF/flex/cairngorm-manifest.xml/manifest /namespace 2.) make sure the

[flexcoders] Re: xml framework

2006-05-15 Thread Suzy Lawson
URLLoader --- In flexcoders@yahoogroups.com, Suzy Lawson [EMAIL PROTECTED] wrote: I'm building a Flex 2 app that has all incoming/outgoing data as XML (custom structured...not like an RSS for example). The XML requires namespaces and will likely have changes in structure

[flexcoders] Re: xml framework

2006-05-15 Thread Suzy Lawson
Cheers x. On 5/15/06, Suzy Lawson [EMAIL PROTECTED] wrote: Sorry, for clarification, I'm very familar with the Cairngorm framework. This would be *completely* outside of it. This XML framework would handle solely converting xml to objects and vice versa. In my mind, the xml framework

[flexcoders] newbie: Binary Socket general functionality

2006-05-11 Thread Suzy Lawson
I've been reading through the livedocs and still have very basic questions regarding how the (binary) flash.net.Socket is used. I think I'm getting confused b/w sending binary data over the socket and sending binary (or text) data over a binary protocol. For example, is it possible to send

[flexcoders] Re: Data Grid Probles

2006-05-11 Thread Suzy Lawson
You can also try making the dataprovider point to a variable type of ArrayCollection in a static class that used the [Bindable] tag (like in Cairngorm's ModelLocator.as). Any changes to the items in this variable will be instantly updated in the datagrid. --- In flexcoders@yahoogroups.com,

[flexcoders] Re: mx:ComboBox selectedItem ={blah} (flex 2)

2006-04-28 Thread Suzy Lawson
selectedItem={items.getItemAt(3).fieldName} --- In flexcoders@yahoogroups.com, John C. Bland II [EMAIL PROTECTED] wrote: I am working with some a combo and the custom component listing the states works perfectly fine for simply saying: selectedItem={ items.selectedItem.state}. It will

[flexcoders] Re: Full Screen Flex App

2006-04-27 Thread Suzy Lawson
run this command from DOS (you could make it a batch file too) iexplore -k http://yourdomain/myapp.mxml --- In flexcoders@yahoogroups.com, Faisal Abid [EMAIL PROTECTED] wrote: Alex MacCaw wrote: I was just wondering if anyone had a few tips on making a flex app fullscreen (that is when

[flexcoders] List dataProvider issue (don't wanna say bug!!)

2006-04-27 Thread Suzy Lawson
I broke this issue down to a VERY simple example and the problem is still there. When I create an ArrayCollection of items and assign it to the data provider of a List. The very first item in the list cannot be selected. Very Weird. If I change my collection of custom VO objects to generic {}

[flexcoders] Re: List dataProvider issue

2006-04-27 Thread Suzy Lawson
IUID. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson Sent: Thursday, April 27, 2006 5:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] List dataProvider issue (don't wanna say bug!!) I broke this issue

[flexcoders] Re: How to user setInterval() to call the remoteobject method?

2006-04-25 Thread Suzy Lawson
Or changing the method to like this would work: (notice the parenthesis) function test(){ setInterval(getUser(),3000); } --- In flexcoders@yahoogroups.com, Joshua Garnett [EMAIL PROTECTED] wrote: Try calling setInterval like this, intervalID = setInterval(this,getUser,1); Also, in

[flexcoders] Re: Autocompletion textfield

2006-04-25 Thread Suzy Lawson
Sho posted a nice example in Flex 2.0. It works pretty much the same way in 1.5. http://weblogs.macromedia.com/sho/archives/2006/04/new_version_of.cfm mx:TextInput id=myBox keyDown=callWebService();/ --- In flexcoders@yahoogroups.com, sinacapho [EMAIL PROTECTED] wrote: Dear all, is

[flexcoders] Re: Autocompletion textfield

2006-04-25 Thread Suzy Lawson
--- In flexcoders@yahoogroups.com, Suzy Lawson [EMAIL PROTECTED] wrote: Sho posted a nice example in Flex 2.0. It works pretty much the same way in 1.5. http://weblogs.macromedia.com/sho/archives/2006/04/new_version_of.cfm mx:TextInput id=myBox keyDown=callWebService();/ --- In flexcoders

[flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to TextInput help please

2006-04-25 Thread Suzy Lawson
] On Behalf Of Suzy Lawson Sent: Monday, April 24, 2006 7:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to TextInput help please Roger, I have faced the same problem. The reason is that when you deploy it the server for the first time

[flexcoders] Cairngorm and TitleWindow issue

2006-04-13 Thread Suzy Lawson
I have a screen where a user can click an item in a List which pops open a TitleWindow containing a form to update and save the data of the items clicked. When the user clicks Save...the dispatched event never reaches the FrontController (with the code like so): // MyEvent extends CairngormEvent

[flexcoders] Re: Salary Check

2006-04-04 Thread Suzy Lawson
I meant that Flex's presence was becoming known at an alarming rate. Probably not the best choice of words. A year ago no companies I know had heard of it, now almost every company has at least heard of it and many are researching it to replace their Struts based webapps. --- In

RE: [flexcoders] Converting Java POJO to Actionscript Errors

2005-05-27 Thread suzy lawson
Hari- THanks for your response. I tried that but I got a compilation error that there is no method with the name MyPojo. I suppose that means I have to manually write the underlying ActionScript class for my Java POJO? That just seems like a really bad implementation design b/c if MyPojo Java

RE: [flexcoders] Converting Java POJO to Actionscript Errors

2005-05-27 Thread suzy lawson
); focusNewRow(); doLater(this,focusNewRow); } Thanks! Hari -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of suzy lawson Sent: Friday, May 27, 2005 10:22 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders