Recent posts by eTrioMedia on Kongregate

Subscribe to Recent posts by eTrioMedia on Kongregate

Jul 3, 2008
avatar for eTrioMedia eTrioMedia 6 posts

Topic: Programming / Create Movie Clip

Aright, I have one movie clip(MC1), when you click it, it gets removed, but when it’s removed I want a different movie clip(MC2) to go in the same place from where it was removed.

So.. When MC1 is clicked I want MC2 to appear where MC1 was.

I tried attachmovieclip but that only worked for the first MC1 (as there are many)

 
Jul 2, 2008
avatar for eTrioMedia eTrioMedia 6 posts

Topic: Programming / Random Object Spawn

Thanks Cheese.

Anyone know a Math.random() Equation to get between 100 – 450

I’ve trying to figure it out for 20 minutes :P

NVM :D

 
Jul 2, 2008
avatar for eTrioMedia eTrioMedia 6 posts

Topic: Programming / Random Object Spawn

:P Thanks for explaining. Rounding is going good… Just getting this Random Object spawning to work the hard thing.

 
Jul 2, 2008
avatar for eTrioMedia eTrioMedia 6 posts

Topic: Programming / Random Object Spawn

I think that works :P It gave me 12.34 and some odd decimals the first time. Thanks.

 
Jul 2, 2008
avatar for eTrioMedia eTrioMedia 6 posts

Topic: Programming / Random Object Spawn

Thank you very much, Is there a way to control the random between like 5 – 15?

 
Jul 2, 2008
avatar for eTrioMedia eTrioMedia 6 posts

Topic: Programming / Random Object Spawn

Well, I’m new to action script (I know the very basic stuff) and I’m planning on making a very basic game to start with.

For my game, I need to know how to make one object (a movie clip symbol) Spawn off stage (above it at a random place), then fall down at a random speed. Also, how do I control the limit of the number for the Math.Random() function?

Thanks.