You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!

Author Search Results: 'Tusserte'

We found 6 matches.


<< < > >>

Viewing 1-6 of 6 matches.

1.

None

Topic: NG top medal point users list

Posted: 04/11/09 01:47 PM

Forum: Where is / How to?

I have 1490 points and counting :)


2.

None

Topic: Strange Actionscript Event Problem

Posted: 07/29/08 07:40 PM

Forum: Programming

Hello everyone, I'm sort of a beginner at ActionScript 3.0 (and at Flash in general, for that matter), and am currently having trouble with one of my first scripts. I am currently trying to get a MovieClip to randomly bounce around the page and resize. The script I have so far works, but a strange error shows up when you leave the flash file open for a while. After a couple minutes, the MovieClip becomes stretched out, with the width of the MovieClip becoming longer than the height, proportionally. Considering the fact that I am using multiplication to scale the image, this is very confusing to me. Can someone please take a look at my code and tell me my mistake? Thank you for your time.

Also, here is a link to the .swf in action: http://www.thebiasphere.org/

var thebiasphere:MovieClip = new Globe();
addChild(thebiasphere);
thebiasphere.x = stage.stageWidth/2;
thebiasphere.y = stage.stageHeight/2;
var sizedown:Boolean = true;
var sizeup:Boolean = false;
var action:String = "down";
var xvel:Number = 0;
var yvel:Number = 0;
var destinationx:Number = Math.random()*stage.stageWidth;
var destinationy:Number = Math.random()*stage.stageHeight;
addEventListener(Event.ENTER_FRAME, movearound);
function movearound(evt:Event):void {
	if (thebiasphere.width<200) {
		action="up";
	}
	if (thebiasphere.width>800) {
		action="down";
	}

	if (thebiasphere.x>destinationx-5 && thebiasphere.x<destinationx+5) {
		destinationx = Math.random()*stage.stageWidth;
	}
	if (thebiasphere.y>destinationy-5 && thebiasphere.y<destinationy+5) {
		destinationy = Math.random()*stage.stageHeight;
	}
	switch (action) {
		case "up" :
			thebiasphere.width*=1.001;
			thebiasphere.height*=1.001;
			break;
		case "down" :
			thebiasphere.width*=.999;
			thebiasphere.height*=.999;
			break;
	}
	xvel = newvel(thebiasphere.x, destinationx, 75);
	yvel = newvel(thebiasphere.y, destinationy, 75);
	thebiasphere.x += xvel;
	thebiasphere.y += yvel;
}
function newvel(orig:Number, dest:Number, cnst:Number):Number {
	return (dest - orig) / cnst;
}

3.

None

Topic: Good Site to Learn Flash?

Posted: 01/03/08 10:35 PM

Forum: Flash

Hey everyone, I got my hands on Adobe Flash CS3, but I am having trouble learning how to use it. Most tutorials I find are related to older versions of flash that don't really help me when I try to learn CS3. Does anyone know some good sites that have copy/paste scripts with explanations and very detailed tutorials specifically for CS3? Thanks for your time!


4.

Crying

Topic: Treasure Hunt 2007!

Posted: 10/26/07 05:38 PM

Forum: NG News

I should've won, but I submitted the worse of two funny flashes by the winning author! I was robbed :P Better luck next year, I guess.


5.

Crying

Topic: Treasure Hunt 2007 Results

Posted: 10/26/07 05:11 PM

Forum: NG News

Aw man, I thought Makin a Pizza was the funnier one of those two choices. Congrats, Stamper!


6.

None

Topic: Treasure Hunt 2007!

Posted: 10/20/07 06:58 PM

Forum: NG News

An old favorite:

Makin a pizza


All times are Eastern Standard Time (GMT -5) | Current Time: 12:52 AM

<< < > >>

Viewing 1-6 of 6 matches.