dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: i know this is possible its just how i dont know

  1. #1
    Member
    Join Date
    May 2004
    Posts
    94

    i know this is possible its just how i dont know

    I have sorted my menu problem from earlier thread. I now need to know, how to:

    on event set a variable to a value and then other events happen depending on that variable. Am sure its relatively easy coding but i am not relatively that clever.

  2. #2
    How should I know!? Biff Tanon's Avatar
    Join Date
    Jun 2001
    Posts
    748
    Hello
    I would use and if statement checking to see the value of your variable.
    Once it is set you can use something like:
    code:

    on(release) {
    if (yourVar == someValue) {
    do this;
    } else {
    do this;
    }
    }


    Hope this helps!
    [something cool goes here]

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