Monster Racer Rush
Select between 5 monster racers, upgrade your monster skill and win the competition!
4.23 / 5.00 3,881 ViewsBuild and Base
Build most powerful forces, unleash hordes of monster and control your soldiers!
3.93 / 5.00 4,634 ViewsAt 8/25/10 01:57 PM, SystemOfAtte wrote: Did not work :( and it has to be AS2.0 if that was AS3.0 :(
and where do i put it, do i put it on the frame or Button (and what reg point if button)
You should put it on the main timeline, also it is AS 2.0, AS 3.0 would look like this:
function eventFunction(event:KeyboardEvent):void
{
if (event.keyCode == 88) gotoAndPlay(2);
}
stage.addEventListener(KeyboardEvent.KEY_DOWN, eventFunction);
Pressing a certain key = Skipping to a certain frame?
If that's what you want then look at this:
var keyListener:Object = new Object();
keyListener.onKeyDown = function()
{
//If the pressed key's value is 88 (x), then it'll go and play from frame 2
if (Key.getCode() == "88")
{
gotoAndPlay(2);
}
};
Key.addListener(keyListener);
Then you can properly use the Component inspector (Shift + F7) to do all this.
At 3/9/08 06:19 PM, TheAztek wrote: So in the dropdown, the options i added, say they were 1 and 2 in the labels tab (data if so) (I use AS2). I add that code and change btn to the label/data name? And also do I keep adding them for each option?
I.E. - If label 1 has the instance name lab1 and label 2 has lab2, you should write:
lab1.onRelease = function () {
gotoAndStop (The frame, or frame label you want it to go to);
};
lab2.onRelease = function () {
gotoAndStop (The frame, or frame label you want it to go to);
};
ActionScript 3
Place on the main timeline, and change "btn" to the instance name of your button
function btnPressed (evt:MouseEvent):void {
gotoAndStop (2);
}
btn.addEventListener ("click", btnPressed);
ActionScript 2
Place on the main timeline, and change "btn" to the instance name of your button
btn.onRelease = function () {
gotoAndStop (2);
};
At 3/9/08 04:09 PM, liamizdabest wrote: I bet you are wondering how much it costs. Well, it only costs $30 a month and that includes a free domain! If you want transfers you have to have the domain registered with namecheap.com
If you think $30 a year is a lot check out some other sites:
GoDaddy
Host Monster
1&1
Blue Host
Say what?
IT'S THE EVIL POTTATO FROM MCDONALD!
At 3/7/08 06:42 PM, Strik3Mast3r wrote: Awesome, thanks. So i don't need to pay anything other than the tablet itself.
There is still the monthly fee..
At 2/28/08 02:52 AM, DataScavenger wrote:At 2/27/08 07:57 PM, Moonkey wrote: Seriously though, he's a disgruntled customer with a 'bring down the man' complex.Does the fact that he mentioned about two years of research counts?
If he really has found something, it's so inconsequential that he is the only one out of millions of flash users to notice it.
I've been researching the meaning of life for over 15 years. I'm an expert now - Pay me 100K
Bullshit!
You can research something for a whole lifetime and a baby would know more about it.
At 2/25/08 04:02 PM, DawnOfDusk wrote: And this is just a random question I had (I use AS) how much better is AS3 from AS2? Just always been curious (I have flash 8)
ActionScript 2, is like using a modem, where ActionScript 3 is a 10Mbit connection
First Clock crew movie?.. How did you hear about them, from songs?
As far as I know it's impossible to trace your IP using ActionScript.. You would have to use PHP or JavaScript
What's in it for the developer, and what would you do?
Just use "MovieClip.removeMovieClip()"
How big a cut?
I am looking for a loop similar to that one as well
No you're not.. I made a vector logo as well (Number 15 - KasperZr)
At 1/31/08 07:59 PM, ShirkDeio wrote:
Cool
Are you one of the "editors" of the site, or what?
Nah, I just know because I won (Number 15).
Each will receive $50.
At 1/25/08 01:40 AM, StuWallinger wrote: I wish adobe was more linux friendly :(
but microsoft is the power house for now.
Actually it is Mac..
It doesn't do anything if you have the default keyboard shortcut set.
Let FlashGameSponsorship.com do that..
Some-Shit
Some-Shit2
Some-Shit-ALTLOLSZZ
Some-ShitZ
Some-Shits
At 12/23/07 02:31 PM, Mind-Edge wrote: Why is it all bold?
It's not bold.. It's fat!