A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: selecting some items together...

  1. #1
    Member
    Join Date
    Aug 2008
    Posts
    33

    selecting some items together...

    hi...i am creating a little game... It is about selecting some items...

    If 2 right items are selected on frame 1, the "next" button will appear for the user to click on it to go to frame 2.

    how do i script it?
    Last edited by sleeky; 05-07-2009 at 04:16 AM.

  2. #2
    Senior Member
    Join Date
    Nov 2005
    Location
    dante's inferno
    Posts
    904
    something like:

    PHP Code:
    var correct1;
    var 
    correct2;

    if(
    correct1 == true && correct2 == true){
        
    button._visible true;
    }

    button.onRelease = function(){
        
    _root.gotoAndStop(2);

    IMS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center