A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Hidden Game Object I NEED HELP PLEASE!

  1. #1
    Registered User
    Join Date
    Jan 2016
    Posts
    1

    Angry Hidden Game Object I NEED HELP PLEASE!

    Hi Guys I Really Have a Bad Problem with my .fla file .. I'm only a 8th Grade student from Philippines and I Badly Need Help here in my project Please Help me I Attached my FLA File here so you guys can see whats wrong I Tried making Garden Critters but idk whats the problem theres no problem with my script so please help
    Attached Files Attached Files

  2. #2
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    PHP Code:
    onClipEvent (load) {
        for (
    07i++)
        {
            
    found[i] = false;
        }
    }
    onClipEvent (mouseDown) {
        
    _root._xmouse;
        
    _root._ymouse;

        for (
    07i++)
        {
            if (
    _root["object" i].hitTest(xyfalse))
            {
                
    myColor = new Color(_root["object" i]);
                
    myColor.setTransform({rb:255bb:255gb:255});

                
    found[i] = true;
                break;
            }
        }

        
    gameover true;
        for (
    07i++)
        {
            if (
    found[i] == false)
            {
                
    gameover false;
            }
        }

        if (
    gameover)
        {
            
    _root.gotoAndPlay("feedback");
        }


    Last edited by fruitbeard; 01-03-2016 at 01:45 PM.

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