Have you tried tracing out: _root[clicked_Button] And see what it returns to ensure that it is correctly giving you the data you need?
-----Original Message----- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Alexander Böhm Sent: Tuesday, December 16, 2008 8:14 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] problem with loadMovie Hi there, can anybody tell me why the second line of code given here, loads the image perfectly into the holder-clip, and the other method won't work? ActionScript Code: _root[clicked_Button].picholder_mc.loadMovie(getPlayerInfo("surname", _root[this._name].name_txt.text).toLowerCase() + "_set.png"); _root["def_btn_4"].picholder_mc.loadMovie(getPlayerInfo("surname", _root[this._name].name_txt.text).toLowerCase() + "_set.png"); the variable clicked_Button is a String-Variable and stores the instance-name of the movieclip pressed, e.g. def_btn_4 _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders