I need a good thunderstorm tutorial that someone might have seen or used. I have been searching and haven’t found a suitable tutorial. I want to put it on a picture that I have. No movies please just a link to a tutorial.
Thanks in advance.
I need a good thunderstorm tutorial that someone might have seen or used. I have been searching and haven’t found a suitable tutorial. I want to put it on a picture that I have. No movies please just a link to a tutorial.
Thanks in advance.
I have yet to find a thunderstorm tut, but I have a few flas that I have aquired. I’ve used quite a bit from these flas. What is it that you want to emulate, I can probably help. (Kinda goes with the name…)
(-:
I have a picture of storm clouds and wanting to put lightning and the whole effect of a thunderstorm on it. There is no hurry I am just wanting to know how to do it.
Do you know if flash can communicate with Internet Explorer’s status bar and title bar?
Do you want lightning like what’s on my footer, or something better, or something more simple? When I was first learning flash, I used this simple trick to make lightning:
http://www.tempethunderpress.com
You can find tons of thunder sound at:
http://www.findsounds.com
For your second q, I’m not sure, I’ve never tried. I usually just put something in the statusbar that stays through the duration with:
<script language="javascript">
window.defaultStatus="Whatever you wanna have there";
</script>
Then for the title - when you write/edit your HTML file that contains your flash, it’s in the header:
<head>
<title>This Is Your Title</title>
</head>
You can write a script that will make the title active (change message), but as for flash controlling it dynamically, not sure.
Let me know!
(-:
// Code by Todd Yard from 27Bobs
makeBolt = function(x, y, size, alpha) {
var strike = this.createEmptyMovieClip("strike", depth++);
var topStrike = strike.createEmptyMovieClip("topStrike", 1);
var alphaStrike = strike.createEmptyMovieClip("alphaStrike", 0);
topStrike.lineStyle(size[0], 0xFFFFFF, alpha[0]);
alphaStrike.lineStyle(size[1], 0xFFFFFF, alpha[1]);
topStrike.moveTo(x, y);
alphaStrike.moveTo(x, y);
while (y < 400) {
y += randNum(30);
x += randNum(30) - 15;
if (Math.random() > .9) {
var sizes = [Math.max(1, size[0] - 1), Math.max(1, size[1] - 1)];
var alphas = [alpha[0] * .8, alpha[1] * .8];
makeBolt(x, y, sizes, alphas);
}
topStrike.lineTo(x, y)
alphaStrike.lineTo(x, y)
}
strike.onEnterFrame = function() {
this._alpha -= 10;
if (this._alpha <= 0) this.removeMovieClip();
}
};
randNum = function(num) {
return Math.random()*num;
};
this.onMouseDown = function() {
depth = 0;
makeBolt(randNum(300) + 125, 0, [3, 7], [70, 30]);
};
pom
I suppose the lightning that is in your footer would be good, Freddythunder.
ilyaslamasse I tried your script and I have errors which are:
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 14:
Operator ‘*’ must be followed by an operand:
var alphas = [alpha[0] * .8, alpha[1] * .<img src="**images/smilies/bluecap.gif**" border="**0**" alt="">;
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 15:
‘]’ or ‘,’ expected:
makeBolt(x, y, sizes, alphas);
I don’t understand actionscript that much but would love to learn more and another thing how did you Actionscript: before the code when you posted that code.
there. Ilyas’s script will work now. Stupid smileys screwed it up.
Thank you Jubba.
i can help you with rain, if you are interested
OK prstudio that would be great.
Thanks Jubby And it’s not my code, unfortunately :phil:
Well this isn’t as pretty as the code pom posted, but it’s another possibility I guess. =)
http://www.flashkit.com/movies/Third_Party/Swish/Lightnin-Sherobe-6575/index.php
Here’s another one as well…
http://www.flashkit.com/movies/Third_Party/Swish/Lightnin-sherobe-6567/index.php
this is my rain
http://www.poorreflection.com/development/portfolio/flash/waterdrops.html
that cool to you?
Nice one, prstudio, but the circles are not very well centered, and they disappear too fast (in my opinion).
pom
you’re right - that one is from the archives…though may not be fixed for a while - its gone to that place where all good old flash projects go…the back folders of my server
how’d you do that rain effect?
:: Copyright KIRUPA 2024 //--