Added: 3 years ago
From: blake912
Views: 4,377
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (9)

Sign In or Sign Up now to post a comment!
  • lol, i was wondering why a if statement got a i++ lol whahahahha but great tuts

  • I have a problem with label for some reason the button doesn't say hello myButton_btn.label = "Hello";

    I don't know why it won't work help.

  • Your videos are very good and informative - some of the best I've found for learning this stuff. Thank you!

  • No I'm having issues with the conditional. I get an error stating: else is unexpected.

    if(myText_txt.x == 100);

    { trace(myText.txt.x);

    }

    else

    } trace("please check x value")

    }

  • Remove the semi-colon after the conditional statement. "if(myText_txt.x == 100)"

  • ok. ill try that thanks. its always good to have more than two eyes! :)

  • The video was quite helpful, but had issues with the For loop. Typed it like you had it: For(var i:Number =0; i <=6; i++)

    { trace(i);

    }

    , but kept getting syntax errors. Perhaps you can see what's missing?!

  • yes i can "For" is not going to work. Capitalization is important. So, do the exact same thing that you did; but, with "for" instead of "For". let me know if that works

  • Yes it worked, thanks. Could you type out the if,then statement? I could not see the else part.

  • i keep getting an error

    it is saying in scene1,layer actionsc,frame 1

    line 7 that myfunction cannot be found cuz it hasnt been made

    i copied code just like you?

    any idea what may be wrong

    BTW i just started using flash and used script2.0 and am interested in 3.0

    but only been using flash for about a week

  • make sure that you have all the syntax correct (code). this could be caused by the fact that you are using an uppercase version of it in one place but not in the other.

    For example, the following would be 2 different functions:

    myfunction();

    myFunction();

    are completely separate. Also, make sure you are calling the function in the event listener.

    myButton_btn.addEventListener(­MouseEvent.CLICK, myFunction);

    function myFunction(event:MouseEvent):v­oid

    {

    }

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more