Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Flash - ActionScript

Checkbox State Help

 
Jump to:  
 
DigitalFuel
PostPosted: Sun Aug 31, 2008 1:04 am    Post subject: Checkbox State Help
       
Try to get the checkbox state into a var from an if Flash CS3 AS2.0
When I press a button I have set up to email I cannot seem to get the state of
the checkbox working.
I can get a value but is always the same weather ticked or not. below code
always returns no

Please can anyone help

on (release) {

if (this.RSVP_text_popup.Check_box.target.selected) {
var Coming = "Yes";
} else {
var Coming = "No";
}

var subject = "Wedding Invite "+GuestsNames.text+" "+Coming;
var body = _root.RSVP_text_popup.RSVP_bodycopy.body_Text.text;

getURL("mailto:jpanddt@ihug.co.nz"+"?subject="+subject+"&body="+body);

}
 

 
kglad
PostPosted: Sun Aug 31, 2008 1:09 am    Post subject: Re: Checkbox State Help
       
use trace(this.RSVP_text_popup.Check_box) to confirm the problem is an incorrect path/name issue.
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

Nero Katalog Firm nieruchomości łódź Seven Strories Books pierścionek zaręczynowy