Re: [flexcoders] Passing an email *subject* when opening email client?

2008-06-02 Thread JRBower
); navigateToURL( mailLink, _self ); } Cheers, JRB JRBower wrote: The function below works great for passing the email address but I'd like to also pass the subject also. Any ideas how to include the subject in this function? private function

[flexcoders] Passing an email *subject* when opening email client?

2008-06-01 Thread JRBower
The function below works great for passing the email address but I'd like to also pass the subject also. Any ideas how to include the subject in this function? private function launchMailer(e:Event):void { var mailLink:URLRequest = new URLRequest(mailto://; +

Re: [flexcoders] Un-hilite link in LinkBar 1 from LinkBar 2

2008-04-01 Thread JRBower
pingu Any help would be appreciated. :) -- View this message in context: http://www.nabble.com/Un-hilite-link-in-LinkBar-1-from-LinkBar-2-tp16395615p16432132.html Sent from the FlexCoders mailing list archive at Nabble.com.

[flexcoders] Un-hilite link in LinkBar 1 from LinkBar 2

2008-03-31 Thread JRBower
I un-hilite the current selected index? Thanks, JRBower -- View this message in context: http://www.nabble.com/Un-hilite-link-in-LinkBar-1-from-LinkBar-2-tp16395615p16395615.html Sent from the FlexCoders mailing list archive at Nabble.com.

Re: [flexcoders] Un-hilite the first link in a LinkBar

2008-03-23 Thread JRBower
Yes, that's exactly what I needed. It did the 'trick.' Cheers! Manish Jethani wrote: On 3/22/08, JRBower [EMAIL PROTECTED] wrote: I'm trying to figure out how to un-hilite the first link in a LinkBar so that no links are hilited at start up. Something like UnSelectIndex would

[flexcoders] Un-hilite the first link in a LinkBar

2008-03-22 Thread JRBower
I'm trying to figure out how to un-hilite the first link in a LinkBar so that no links are hilited at start up. Something like UnSelectIndex would be great if there were such a property. I'm using Flex 3. Thanks, JRBower -- View this message in context: http://www.nabble.com/Un-hilite

Re: [flexcoders] Un-hilite the first link in a LinkBar

2008-03-22 Thread JRBower
Yep. It was the first thing I thought of too...but no joy. Any other ideas? Oliver Merk-2 wrote: Did you try selectedIndex=-1 ? --- In flexcoders@yahoogroups.com, JRBower [EMAIL PROTECTED] wrote: I'm trying to figure out how to un-hilite the first link in a LinkBar so

Re: [flexcoders] Filter function Sort of working

2008-03-13 Thread JRBower
Thanks Giles Anybody else who can help me out? J -- View this message in context: http://www.nabble.com/Filter-function-%22Sort%22-of-working-tp15999711p16023638.html Sent from the FlexCoders mailing list archive at Nabble.com.

[flexcoders] Filter function Sort of working

2008-03-12 Thread JRBower
I have a filter function that works fine so long as there is data in each column. In the following function a flight number (FlightNumber) hasn't been added so any search attempt (i.e., filter on FirstName, LastName or UserID) results in a #1009 error. // Datagrid Filter public function

Re: [flexcoders] Filter function Sort of working

2008-03-12 Thread JRBower
I gave it a try but all rows disappear. I also tried var result:Boolean=true; and var result:Boolean=false; The text input also has a change event if this is relevant: mx:TextInput id=userIDFilter change=this.masterList.dataProvider.refresh() / Any other ideas? Giles Roadnight

[flexcoders] Date variable

2008-02-06 Thread JRBower
I'm trying to create a date variable that returns the date as 02062008. (mmdd) In ColdFusion I can do it like this LSDateFormat(Now(),'MMDDYY'). When I try: var myDate:Date = new Date(); myDate = myDate.formatString(mmdd); but no joy... -- View this message in context:

Re: [flexcoders] Date variable

2008-02-06 Thread JRBower
Perfect! I see how it works. Thanks again Sherif James -- View this message in context: http://www.nabble.com/Date-variable-tp15327188p15327806.html Sent from the FlexCoders mailing list archive at Nabble.com.

[flexcoders] Dynamic Binding

2008-01-23 Thread JRBower
I'm trying to change: text={photoFile} to text={this.detailObject.Photo} in this TextInput: c:TextInput visible=false includeInLayout=false id=Users_Photo text={photoFile} x=390 y=70 width=240 / after a user saves an uploaded photo. The TextInput is part of a form

Re: [flexcoders] Adding several NumericSteppers = Total

2008-01-11 Thread JRBower
Can someone help? I have 5 numericsteppers and I would like to be able to display their total in a sixth NumericStepper. ns01 + ns02 + ns03 + ns04 + ns05 = nsTotal06 How can I do this? Thanks, James -- View this message in context:

RE: [flexcoders] Adding several NumericSteppers = Total

2008-01-11 Thread JRBower
? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JRBower Sent: Friday, January 11, 2008 7:28 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Adding several NumericSteppers = Total Can someone help? I have 5

Re: [flexcoders] Adding numeric stepper values

2008-01-10 Thread JRBower
, val5:int):String { #return (val1+val2+val3+val4+val5).toString(); # } Also, you need to pass Numbers not ints if the steppers will have decimals. Best Regards, ...aaron On 1/9/08, JRBower [EMAIL PROTECTED] wrote: I'm getting an error: 1067: Implicit coercion of a type Number

[flexcoders] NumericStepper Total

2008-01-10 Thread JRBower
Yesterday I could learn how to display the total for 5 NumericSteppers in a Label: For example: // private function stepperSumFun( val1:int, val2:int, val3:int, val4:int, val5:int):String // { // return (val1+val2+val3+val4+val5).toString(); // } //mx:Label text=Point Total

[flexcoders] Adding numeric stepper values

2008-01-09 Thread JRBower
I have 5 numeric steppers that I'd like to add their values together and display the total in a label. for example: pt01 + pt02 + pt03 + pt04 + pt05 = pt06 (label) I'm not sure how to create the function. Thanks for your help, James -- View this message in context:

Re: [flexcoders] Adding numeric stepper values

2008-01-09 Thread JRBower
/08, JRBower [EMAIL PROTECTED] wrote: I have 5 numeric steppers that I'd like to add their values together and display the total in a label. for example: pt01 + pt02 + pt03 + pt04 + pt05 = pt06 (label) I'm not sure how to create the function. Thanks for your help, James -- View

[flexcoders] Changing Boolean values

2007-10-30 Thread JRBower
How would I go about changing a default true:false pair to a right:wrong pair or an edited:not edited pair? For example I have a checkbox: mx:CheckBox id=Resumes_EditedEng selected={(this.detailObject.EditedEng == 1)? true:false} width=100% / After the selection is made the value is

[flexcoders] RE: Return a person's age

2007-10-03 Thread JRBower
Was mach Ich? Do I go with Team Germany? :) How would I implement that code? Danke, James Tracy Spratt wrote: Duh, that's right. I should have left this one alone. Tracy -- View this message in context: http://www.nabble.com/Return-a-person%27s-age-tf4545118.html#a13028563 Sent

Re: [flexcoders] Return a person's age

2007-10-02 Thread JRBower
Doug, Thank you. I will give your code a go. :) Best Regards, James Doug Lowder wrote: Here's how I would do it: var age:Number = todayDate.fullYear - birthDate.fullYear; if (todayDate.month birthDate.month || (todayDate.month == birthDate.month todayDate.date birthDate.date))

[flexcoders] Return a person's age

2007-10-01 Thread JRBower
I have a form where I request a birthdate. I would like to automatically calculate a person's age (for another input) from the difference of today's date and the inputted birthdate. I'm not exactly sure how to write the function. I the following right? public function dateDiff(todayDate:Date,