Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Extensions and Plugins > Components

Thread Tools Rate Thread Display Modes
Old 04-13-2012, 10:33 AM   #1
Registered User
Join Date: Feb 2010
Posts: 6
Question [AS3] Continue button activates after all checkboxes are clicked

Hi guys,

So basically I just need the code on how to make my continue button clickable only after all the checkboxes on that page have been ticked.

Please help!


Fo0lz is offline   Reply With Quote
Old 04-13-2012, 12:27 PM   #2
Senior Member
solisarg's Avatar
Join Date: Mar 2003
Location: Buenos Aires, Argentina
Posts: 496

checkbox have a selected property that indicates if it's selected or not, so supposing you have two checkboxes named chk1 and chk2, use

ActionScript Code:
if(chk1.selected && chk2.selected){    play() }

Add as many as you have in the if condition.

solisarg is offline   Reply With Quote
Old 04-20-2012, 04:51 PM   #3
Registered User
Join Date: Feb 2010
Posts: 6

Thanks a lot solisarg!
Fo0lz is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 06:51 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.