A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Can you put: _root.mc.onPress = function(){ inside a FOR { loop?

Threaded View

  1. #3
    Running Plodding & Limping SpockBert's Avatar
    Join Date
    Jun 2002
    Location
    London
    Posts
    593
    Thanks "dog"!

    I gotta be honest, I still don't understand why that original code messes around with i and comes up with "i=4" for all 3 clips, but ah well, your code works great, I've adapted it for my movie and it works now, thanks for that!

    You taught me something else, I never knew you could assign a variable to a movieclip like that. I thought the only vars attached to clips were the basics like ._x, _y, _visible etc etc, I didn't know you could do stuff like "_root.myClip.anythingIlike = 3;

    Thank you so much for your help, massively appreciated
    Last edited by SpockBert; 07-07-2009 at 06:31 AM. Reason: poor spelling

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