AS3 Questions
- Started
- Last post
- 2 Responses
- goygoygoy0
try to create a new container for your loader in the thumbloaded listener. So, you'll have a new one at each iteration. For the moment what it does is overriding var thumbLoader = new Loader(); on each iteration, so it adds the last loaded thumb in the last thumbLoader created.
have you tried
var thumbs:Loader = Loader(evt.target.loader);
evt.target..addChild(thumbs);
- Pupsipu0
this don't know AS3 bullshit has got to stop. You wouldn't understand what you're doing in AS2 or anywhere.
You were changing the position of the clip you were adding things to, but adding things at the same place inside that clip, so they would be right on top of each other. You have to offset the things you add, not what they're being added to.
And there is no evt.target.loader, evt.target is the loader. evt.target.content is the content it loaded.
Now for more inevitable questions..