Thanks to krets for letting me see his .fla files for the projectile things he made.
Anyway, I learned a lot of actionscript for this one... I must say I'm not all that impressed, they seem to be faking the object-orientedness in some places... eh. And I couldn't do quite as much as I had hoped. But anyway, here's what I made... http://www.slimeland.com/experiments/flash/manyslimes2.html
[edit: changed iframe to link]
[This message has been edited by Slime (edited 11-30-2001).]
From: Somewhere over the rainbow Insane since: Mar 2001
posted 11-29-2001 09:14
The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.
From: A little lower... lower... ahhhhhh, thats the spot Insane since: Jun 2000
posted 11-29-2001 15:55
1. Less people have Shockwave
2. Its a much bigger download
3. Its much more expensive to buy
4. There's never been anything so far that I've tried to do in Flash that I couldn't accomplish.
From: Somewhere over the rainbow Insane since: Mar 2001
posted 11-29-2001 16:40
The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.
I think there's supposed to be a bit of fog or something; that's why the ground gets lighter towards the horizon. But... are you *sure* it's supposed to be the other way around?
I used kret's project to figure out how to handle the animation. He used three frames, using the first one to initiate the animation, the second to carry out what should happen each frame, and the third to go back to the second (so it loops). In the end, though, I ended up making an empty MovieClip, using the onClipEvent(enterFrame) function to execute code that happens each frame. Sorta. (BTW, I'm pretty sure things like onClipEvent(enterFrame) are *not* valid ECMA script...)
Seriously, Flash is frames based, and HTML is not - how *could* you develop something for a time- or frame-based application and at the same time strictly adhere to standards that apply to a non-linear paradigm? Flash is a real funny amalgam of linear frames-bound animation and the all-at-once execution of script-based code more like javascript.
I'm using way too many hyphens here - gotta reign myself in. Okay, I'm not a Flash evangelist or anything goopy like that, but you're going into this with a real negative attitude Slime!!!!! You need exposure to some *real* actionscript!
If you haven't been there yet, look over some of the goodies Colin Moock has in his "Definitive Guide" companion site: http://www.moock.org/asdg/codedepot/
The downloads are really well commented. There's some mind-expanding stuff here (ooops, another hyphen).
onClipEvent(s) are just extraordinary - they let you initialize things (load), loop things (enterFrame), check for stuff like data received (look at Weadah's dribble) - it's a big ol iceberg, and we're just seeing the tip