A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Loop problem

Threaded View

  1. #4
    Junior Member
    Join Date
    Jan 2010
    Location
    NekoCity
    Posts
    21
    solved most of them
    PHP Code:
    function statcalc():void{
        for (var 
    a:uint 15a++){
            for (var 
    b:uint 0passive.length 1b++){
                var 
    "p"+a+"pass"+passive[b]:uint=0
            
    }
            var 
    "p"+a+"hpmax":uint undefined
        
    }

    I just get this now
    1084: Syntax error: expecting identifier before p. var "p"+a+"pass"+passive[b]:uint=0
    1084: Syntax error: expecting identifier before p. var "p"+a+"hpmax":uint = undefined
    Last edited by Neko303; 07-18-2010 at 09:51 AM.

Tags for this Thread

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