| Ultrashock Forums
• Discovery about removeMovieClip()!!! |
Member Blogs | ||
![]() |
||||
| Search this Thread | Thread Tools | Display Modes |
|
|
|||||||||||||||||||||||||
![]() |
Ultrashock Member Comments:
|
|
2006-01-13
#2 |
||
|
WTF! I thought that would be obvious
|
|
|
|
2006-01-13
#3 |
||
|
Hmm, I dont know if your having a go at me, or at the flash player..? The point is, that without the swapDepths the removeMovieClip() fails. It has never been obvious to me to call swapDepths first in order to trick the player. I figure it may have slipped past other actionscripters.
|
|
|
2006-01-13
#4 |
||
|
its not so much -without- swapdepths; its just a matter of having a movie clip in a depth between 0 and 1048575. By default, movie clips placed on the timeline are in negative depths (which is where swapdepths comes in to change that for removal if needed) http://senocular.com/flash/tutorials/depths/?page=2 |
|
|
|
2006-01-13
#5 |
||
|
ahh, thanks senocular, I have never really understood where those pesky movieclips went.
|
|
|
|
2007-06-25
#6 |
||
|
You guys just stopped me from losing my hair early. This has been driving me mad for days! :-) |
|
|
|
2008-07-08
#7 |
||
|
Hi, sub: RemoveMovieClip() using AS2 Here is my function from the frame 1.
function fillRegion(x0, y0, x1, y1, d) { I need to remove the dynamic movieClip in frame 2.// pick one of the words and place n = random(wordList.length); word = wordList[n]; // place the word object nombre = "word"+String(depth++); neo = this.attachMovie("mcWord", lettre, depth); // set word neo.setWord(word); neo.fitInto(x0,y0,x1,y1,d);
this.onEnterFrame=function(){ It does not work. Any suggestion.lettre.swapDepths(8000) lettre.removeMovieClip() } Thank you |
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|




6 comments
| 271 views


Linear Mode