This content has been marked as final. Show 3 replies
hi spysurm. I really dont understand why you duplicate the movie clip 10 times everytime someone click on one of the objects (wire, resistor...). Also I dont understand why you put every new movie clip in the same depth as the previous one(50, 60...). you should use getNextHighestDepth() to define the level. this might solve your probs. if you want post your fla and I'll be happy to take a look.
your code is little confusing(unless I dont get what are you trying to achieve).
your psudo code should go like that
1. create an empty movie clip to hold everything. lets call it "mcHolder"
2. when someone click on object (wire..) you duplicate this movie and put it in the nextHighestDepth of "mcHolder"
3. assign action to the duplicated movie clip (dragable, rotation, delete)
hi shikozel! thanks for the reply! but the problem i have is i using actionscript 1.0 as i have only flash MX version software. Is there any other way i can use getNextHighestDepth() ?
you can use a counter that you increment every time you create new movie clip