Flash Gallery | Flash Templates | Flash Menu | Flash Design | Flash Audio & Video

Video Corsi Actionscript 3.0


+ Reply to Thread
Results 1 to 3 of 3

Thread: problema incremento var

  1. #1
    Junior Member Settled In amedeoASTER is on a distinguished road
    Join Date
    Jun 2008
    Posts
    2
    Rep Power
    0

    Question problema incremento var

    amazing Flash templates
    ho un problema con un testo di input. ho impostato come var "dead".
    In un pulsante ho messo il codice
    on (release) {
    _root.dead++;
    }

    ma quando clicco sul pulsante nel testo di input appare la scritta NaN.... dov'è il problema? ho sbagliato qualcosa??

  2. #2
    Moderator Moving My Stuff To The FlepStudio tem is on a distinguished road tem's Avatar
    Join Date
    Jan 1970
    Posts
    639
    Rep Power
    41

    Re: problema incremento var

    Ciao!
    il codice che hai postato è per as2.0
    controlla che stai compilando il filmato in as2 e non in as3

    prova a dichiarare la variabile dead nel 1 frame
    Code:
    var dead:Number=0;

  3. #3
    Junior Member Settled In amedeoASTER is on a distinguished road
    Join Date
    Jun 2008
    Posts
    2
    Rep Power
    0

    Re: problema incremento var

    scusate se ho sbagliato a postare ma sono nuovo e sono abbastanza a digiuno di script.... comunque ho risolto grazie

+ Reply to Thread

Similar Threads

  1. incremento della memoria
    By mos in forum Flash CS3 | PHP | mySQL
    Replies: 7
    Last Post: 11-10-08, 12:00

Tags for this Thread

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

Search Engine Optimization by vBSEO