Be a Supporter!
Response to: Key press as2 help :( Posted August 25th, 2010 in Game Development

At 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);
Response to: Key press as2 help :( Posted August 25th, 2010 in Game Development

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);
Response to: Dropdown Options Posted March 9th, 2008 in Game Development

Then you can properly use the Component inspector (Shift + F7) to do all this.

Response to: Dropdown Options Posted March 9th, 2008 in Game Development

Are you using a component?

Response to: Dropdown Options Posted March 9th, 2008 in Game Development

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);
};
Response to: Dropdown Options Posted March 9th, 2008 in Game Development

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);
};
Response to: Get Your Own Website. Today! Posted March 9th, 2008 in Game Development

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?

Response to: 28 inch tall woman gives birth Posted March 7th, 2008 in General

IT'S THE EVIL POTTATO FROM MCDONALD!

Response to: Working a tablet Posted March 7th, 2008 in Game Development

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..

Response to: Code Comments Affect Flash Apps Posted February 28th, 2008 in Game Development

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.
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.
Does the fact that he mentioned about two years of research counts?

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.

Response to: Flash 8 vs. CS3 Posted February 25th, 2008 in Game Development

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

Response to: good backrounds? Posted February 24th, 2008 in Game Development

Yahoo

Response to: People from the clock crew come Posted February 23rd, 2008 in Game Development

First Clock crew movie?.. How did you hear about them, from songs?

Response to: Turn off Drawing Objects Posted February 23rd, 2008 in Game Development

Press "J"

Response to: MochiAds AS Posted February 17th, 2008 in Game Development

As far as I know it's impossible to trace your IP using ActionScript.. You would have to use PHP or JavaScript

Response to: Seeking Developer for Flash Game Posted February 17th, 2008 in Game Development

What's in it for the developer, and what would you do?

Response to: How do you delete Movieclips? Posted February 16th, 2008 in Game Development

Just use "MovieClip.removeMovieClip()"

Response to: Background Artist Needed for Game Posted February 16th, 2008 in Game Development

How big a cut?

Response to: Needed Effect ( bt inside bt) Posted February 6th, 2008 in Game Development

Yes.

Response to: Similar loop? Posted February 4th, 2008 in Audio

I am looking for a loop similar to that one as well

Response to: Need Flash Loader will pay $50 Posted February 2nd, 2008 in Game Development

No you're not.. I made a vector logo as well (Number 15 - KasperZr)

Response to: Need Flash Loader will pay $50 Posted February 1st, 2008 in Game Development

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).

Response to: Need Flash Loader will pay $50 Posted January 31st, 2008 in Game Development

Each will receive $50.

Response to: flash on mac Posted January 25th, 2008 in Game Development

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..

Response to: F10 Posted January 24th, 2008 in Game Development

It doesn't do anything if you have the default keyboard shortcut set.

Response to: What do you want a tut on? Posted January 20th, 2008 in Game Development

Let FlashGameSponsorship.com do that..

Response to: 3d plug-in for flash Posted January 20th, 2008 in Game Development

http://www.papervision3d.org/

Response to: 5 ng users at christmas Posted December 23rd, 2007 in General

Some-Shit
Some-Shit2
Some-Shit-ALTLOLSZZ
Some-ShitZ
Some-Shits

Response to: Why we put an angel on our tree. Posted December 23rd, 2007 in General

At 12/23/07 02:31 PM, Mind-Edge wrote: Why is it all bold?

It's not bold.. It's fat!

Response to: Load Frame 2 Posted December 22nd, 2007 in Game Development

No sound at all