Flash Advisor logo
:: Desktop Shortcut
:: Flash Help
Advice from Experts

+ Reply to Thread
Results 1 to 1 of 1
  1. #1

    Default Simple actionscript problem

    I'm creating a scoreboard that has a button that will add 10 points to the team score when a button is pressed.

    The code all works and looks exactly as I hoped, but it comes up with an error:

    <b><i>Operator '=' must be followed by an operand

    this is the code i used in that part:

    TEAM1score = #;

    TEAM1Sscore is just the instance name

    Basically I just need another way to use # so that it can display any number, because I have a whole stack of other code that needs this to be a number. I originally had 0, but I need it not to be a specific number like 0 (thus I used the #)

    What is the best way to write the same code above, but without the error? Is there another way to write # in flash?
    Last edited by snez4eva; 01-12-2010 at 01:45 AM. Reason: accidentally deleted half of what i wanted to say- whoops!

  2. # ADS
    Join Date
    Always
    Posts
    Many
     

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Sponsors
Create Speaking Characters for your website and Flash movies. 15 Day Free Trial