> > Why does the following work when published as Flash 6 > Actionscript 2, but not Flash 7 actionscript 2 (or Flash 8 > Actionscript 2).var nInt:Number;var oMain:Object = {};var > nCounter:Number;var sClipName:String;var > nClipDepth:Number;function spawnClip():Void{ var > mcTemp:MovieClip = this.attachMovie("mcCircle", > "mcCircle"+nCounter, nCounter, oMain); mcTemp._x = > Math.random()*600; mcTemp._y = Math.random()*400; > nCounter++;}nInt = setInterval(this, "spawnClip", > 500);
Posting code without carriage returns makes baby Jesus cry. _______________________________________________ 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