Topic: New toy (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=11268" title="Pages that link to Topic: New toy (Page 1 of 1)" rel="nofollow" >Topic: New toy <span class="small">(Page 1 of 1)</span>\

 
kretsminky
Maniac (V) Inmate

From: A little lower... lower... ahhhhhh, thats the spot
Insane since: Jun 2000

posted posted 12-20-2001 19:05

http://www.krets.net/misc/linesMovin.html

Just a little toy I made based off of something Steve did.

A little question, when you click the reset button, what could I do to remove all the movie clips from the stage when it starts over?

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 12-20-2001 19:49

wow! you can make nice pictures with that.
reminds me a bit of phong's astro-toys.

good work! keep it up!

btw: the reset-function doesnt work completely for me...



kretsminky
Maniac (V) Inmate

From: A little lower... lower... ahhhhhh, thats the spot
Insane since: Jun 2000

posted posted 12-20-2001 19:51

Thats what that last question in my initial post is about. How to clear off the stage when you click the reset button...

Steve?

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 12-20-2001 21:59

uh, sorry.

i assume these things are symbols. doesnt it work, just to remove/delete all these symbols?
another way would be, to write a quick function that over-paints the whole area with the same blue again?
but that isn't very elegant.

sorry, it's been a long time since i played with flash.

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 12-20-2001 22:33

The hard way:

I assume you are using a dulpicate movie thingie here; that requires giving each duplicated instance a name, probably generated with a counter variable, sorta like i+=1

so you can loop the same sort of thing in reverse - remove movie clip i-=1 until i is zero. This can be slow if you have a lot of objects. This toy does it that way, and I sorta like the "unwinding" effect, but it is slow.

Sneaky easy way is to have a frame to back up to. First fame has a stop(); in it. Enter your variables, click "go", it advances a frame and the duplicate script kicks in. Click "reset" and it goes to and stops at frame 1, effectively clearing everything.

At least - is should.


That's how I cleared the stage of one name before another began on our company's on-line holiday card.

[This message has been edited by Steve (edited 12-20-2001).]

kretsminky
Maniac (V) Inmate

From: A little lower... lower... ahhhhhh, thats the spot
Insane since: Jun 2000

posted posted 12-20-2001 23:21

Thats what I done Stevie! Go to frame 1 but the doo hickies stay there!

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 12-20-2001 23:40

Oh.



Hmmm.

Well now..... Here's some stuff to chew on from We're Here:
http://66.70.72.50/forums/showthread.php?threadid=68128 http://66.70.72.50/forums/showthread.php?threadid=105689 http://66.70.72.50/forums/showthread.php?threadid=78493

kretsminky
Maniac (V) Inmate

From: A little lower... lower... ahhhhhh, thats the spot
Insane since: Jun 2000

posted posted 12-20-2001 23:59

Once again you have proved you are the man.

My server is down at the moment (seems to be the norm today, LiveJournal was down earlier and I noticed that fayfoto was down as well) but when it comes back online I'll upload the new one!

Thanks again

(edit) OK, you can look now.

[This message has been edited by kretsminky (edited 12-21-2001).]

Dark
Neurotic (0) Inmate
Newly admitted Neurotic (0) Inmate
Newly admitted
posted posted 01-06-2002 00:49

LiveJournal? and you have your own server? I would have to say that greymatter rules! And then of course blogger comes next. THen again it always looks much better if you just design it yourself



[This message has been edited by Dark (edited 01-06-2002).]



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu