A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Stopping actionscript in Flash MX 2004 Professional

  1. #1
    Junior Member
    Join Date
    Mar 2005
    Posts
    15

    Stopping actionscript in Flash MX 2004 Professional

    Hi,

    I am creating an application and it contains several conditional loops.
    I will use variables a, b, & c for example.
    An example of my code:

    if (_root.a>0 && _root.b>0 && _root.c>0){
    _root.a +-.001 != Number(b)+Number(c)
    //after it determines this and if this is true I want it to kick out of this loop.

    In this application a=b+c

    Thank you in advance,
    Jon

  2. #2
    Junior Member
    Join Date
    Mar 2005
    Posts
    15
    I have tried break and it did not work. What I am wanting this to do is if the input variables b and c do not add up to equal a I want it to kick out of the loop. I have an error message that will popup.

    Thanks,
    Jon

  3. #3
    Senior Member mzhang's Avatar
    Join Date
    Aug 2000
    Posts
    407
    try "break" ??

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