Please Sebastian, show all code in the next post. regards. -- Leandro Amano Digital Bug Chief Creative Officer Adobe Certified Expert Adobe Certified Instructor Adobe User Group Leader
On 5/2/07, Matthias Dittgen <[EMAIL PROTECTED]> wrote:
You can assign values to private and/or public variables of the class using the 4th argument of attachMovie. Just read the API documentation: public attachMovie(id:String, name:String, depth:Number, [initObject:Object]) : MovieClip initObject can be predefined or used on the fly, which looks like: _root.attachMovie(libraryID, instanceName, depth, {myString: "Hello World", _x: 20}); This is not the same as using params in the constructor, but these variables are set before the constructor is called, so you can use the values within the constructor, which is nearly the same and works fine for me. hth, Matthias
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com