Any chance that you are actually putting the code on the symbol definition instead of a frame on the main timeline, thereby creating User within User within ... ? You'd probably get a recursion crash, but it's possible.
I would at this point try to isolate the problem a little more. If you think it's the loader, what happens when you comment out the loader? What about if user is an empty class? -jonathan 2009/5/24 Alexander Farber <alexander.far...@gmail.com> > Hello, > > if I create a new Flash file (AS3), press F9 and enter > > stop(); > trace("-----"); > > then it will print that line just once as expected. > > But if I enter: > > stop(); > trace("-----"); > > var user:User = new User(); > addChild(user); > > user.x = user.y = 200; > user.userid = 53; > user.username = 'Алекс'; > user.trix = 4; > user.bid = 1<<17; > user.scaleX = user.scaleY = 0.8; > user.avatar = '2_1211369175.jpg'; > user.avatar = '458_1211369175.jpg'; > > Then I will see "-----" being printed again and again. > > I wonder what's happening here. > > My class User uses a Loader and is listed at http://pastebin.com/m60cbb775 > > Thank you for any hints > Alex > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- -jonathan howe _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders