From: Sean Wilson on 2 Oct 2008 17:05 Another alternative is to create a new member from your duplicated image. function exitFrame(me) { tMember = _movie.newMember(symbol("bitmap")); tMember.image = member("capsule").image.duplicate(); channel(5).makeScriptedSprite(tMember, point(100, 200)); } Or you could draw() directly to (the stage).image Like Wolfgang suggested, the simplest approach perhaps depends on why you need to place a member on the stage using code instead of doing so in the authoring environment and saving the file.
|
Pages: 1 Prev: Lingo vs Javascript Next: incorrect preference file extension |