Hi, I have a question that i can’t figure it out…
1st question:
why is this not working:
for(i=1;i<=numofpic;i++){
this.createEmptyMovieClip(“tumbnail”+i,i)
pic = this[“tumbnail”+i]
pic.loadMovie(i+".jpg")
pic.onRelease = function(){trace(this._hi)}}
-----The movieclips cannot be click-----…
2nd question:
why is this work
for(i=1;i<=numofpic;i++){
this.createEmptyMovieClip(“tumbnail”+i,i)
this[“tumbnail”+i].createEmptyMovieClip(“container”,0)
x = this[“tumbnail”+i].container
pic = this[“tumbnail”+i]
x.loadMovie(i+".jpg")
pic.onRelease = function(){trace(this._width)}
}
------The movieclips can be click--------
I am kinda know what is going on here but i just cant
understand the concept of it. Can anyone fill me in so that
i can totally understand what i am doing here~ thxq