A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [AS2] Variables inside a MovieClip

  1. #1
    Junior Member
    Join Date
    Apr 2010
    Location
    Find waldo first
    Posts
    22

    [AS2] Variables inside a MovieClip

    I have this variables in my movieClip
    Code:
    onClipEvent (load) {
    	myVar1 = 200;
            myVar2 = 100;
    }
    Button
    Code:
    on (release) {
    	myVar1++100;
    }
    Even i click the button it doesn't add variables inside the Movieclip
    I tried it outside the movie clip and it works. Any solution?

  2. #2
    An FKer
    Join Date
    Sep 2005
    Location
    Ontario
    Posts
    1,167
    myVar1 += 100

  3. #3
    Junior Member
    Join Date
    Apr 2010
    Location
    Find waldo first
    Posts
    22
    no changes

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