Flash Help
- Started
- Last post
- 7 Responses
- 3rr0r-404
Hey guys.. Im trying to apply a simple Tween Class animation to a duplicated movie clip in a for loop... its not working :'(...
heres the flash file:
http://www.moiz.ca/test2.flais there a way to make this work?
thanks
- jpea0
you're not getting the scope of the new clips being created
'box_mc'+i should be
this["box"+i]
- jpea0
whoops, screwed that up
'box'+i should be this['box'+i](but only in the actual line that makes the tween, not in the dup clip line)
- 3rr0r-4040
jpea... ur a genius..
thank you so much!
:D
- 3rr0r-4040
btw.. wats "scope"?
(you can take away all of my brownie points for asking you this... it sounds like a dumb question. Scope sounds like something i heard in grade 12 programming in highschool)
- jpea0
scope in flash just relates to where the object you're trying to reach is at. stating this['box'+i] just says to look on the current timeline and not _parent or _root or someClip.box+i
- 3rr0r-4040
thanks jpea.. i really appreciate.. :) u shud be in MIT Media Lab.. hehe
- CyBrainX0
Scope is the _root of most action script errors.