A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: AS3 My flash object is making browser unresponsive overtime

Threaded View

  1. #6
    Senior Member x-death's Avatar
    Join Date
    Aug 2009
    Posts
    175
    well everytime a button is pressed you create a new variable for your tweens. while this isn't the source of your problem its not the best thing to be doing. uptop of script i'd write:
    Code:
    var variableName:Tween;
    then in your button listener function were your using this tween. you can just write:
    Code:
    /* just made the inside of the function dots as 
    i'm not going to write it for you, you already 
    know what your putting in there.*/
    variableName = new Tween(....);
    i can't seem to find the actual source of your problem. anyways hopefully this has helped you to some degree.
    Last edited by x-death; 07-29-2010 at 02:12 AM.

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