Actionscropt - Sparks Component - Flex

Posted on 2011-10-23
Last Modified: 2012-05-12
I am having a go at Actionscripts and testing Flex builder. I have a page with a "terms and condition" checkbox and a "enter"  s:button. How would I add a conditional statement that would check to see if the checkbox has been checked? If it has not been checked I'd like a pop-up to let them know they can't continue without accepting the terms. If it has been checked then they could move on to the next page. I am having a hard time finding good actionscript references.
Question by:comtekso
    LVL 29

    Accepted Solution

    The better logic instead opening a pop-up window graid out the submit button til user will not accepting your policy

    <s:Button enabled="{checkbox.selected}" ...

    Author Comment

    Excellent! That works great. Thanks.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
    Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now