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: 'colintso'

We found 42 matches.


<< < > >>

Viewing 1-30 of 42 matches. 1 | 2

1.

None

Topic: some AS code help! :D

Posted: 11/08/08 08:05 AM

Forum: Flash

you dont save stuff to a cookie...

you save stuff to a Shared Object (SO)

to load an SO:

var so:SharedObject = SharedObject.getLocal("gamesave");
_root.variable1 = so.data.variable1;
_root.variable2 = so.data.varible2;

to save an SO:

var so:SharedObject = SharedObject.getLocal("gamesave");
so.data.variable1 = _root.variable1;
so.data.variable2 = _root.variable2;

2.

None

Topic: Arghhhhhhh please can someone help?

Posted: 10/30/08 09:00 AM

Forum: Flash

At 10/30/08 08:41 AM, This-Is-Freedom wrote: He asked me questions and i answered them

Where is it messing up? - its messing up after and sometimes during audio

What is it doing? - the audio still plays but the animation just stops and freezes

How is your flash contructed? - with scenes

there is actually a flash bug i've experienced before. It happens after you delete a scene.

solution:
save the .fla file and open it up agin and recompile the swf.


3.

None

Topic: Is this the most efficient way...

Posted: 10/15/08 09:11 AM

Forum: Flash

looks fine to me...


4.

None

Topic: CS4:controller\ma in toolbar dockin

Posted: 10/01/08 08:11 AM

Forum: Flash

At 10/1/08 02:46 AM, adumi wrote: In CS4 does anyone know how to dock the `main` or the `controller ` toolbars? ( found under Window>ToolBars)
In CS3 both fit right above the timeline.
Undocked they just float around disturbing any activity, and without them I just can do.

I dunno cos i dun hav CS4...i don't even have enough space on my hard drive left for it...(7GB left!)


5.

None

Topic: Flash Cs3 Scene Glitch

Posted: 09/23/08 09:44 AM

Forum: Flash

I dunno if any of have noticed, but whenever I delete a scene in flash, the AS code just messes up when exported...

Solution:
Save the .fla file and close flash. Reopen the file.


6.

None

Topic: How to improve my flash?

Posted: 09/20/08 06:08 AM

Forum: Flash

there is the part when the camera zooms to the blue castle crasher (beginning) then says its salty. Its too fast.


7.

None

Topic: TD game help!

Posted: 09/20/08 06:02 AM

Forum: Flash

the code would most probably be similar to this:

onEnterFrame() = function();
if ((enemy_pos._y + enemy_pos._x) - (player_pos._y + player_pos._y) > "whatever value") {
shoot = true
}

8.

None

Topic: how to make Rainbow Glow Effect?

Posted: 09/20/08 05:58 AM

Forum: Flash

At 9/20/08 04:29 AM, GustTheASGuy wrote: Learn to use Google and not have people spoonfeed you.

you didn't answer my question...could you do it with script?


9.

None

Topic: Ah!! Flash Movie Error!

Posted: 09/20/08 03:39 AM

Forum: Flash

:...the water zooms in to the water for a close up, but instead of the character popping out of the water, the screen stays blue for the rest of the movie.

The sounds still play though.
Please help, tell me what I need to do.

Are you sure you set the layers correctly? Please elaborate further...


10.

None

Topic: how to make Rainbow Glow Effect?

Posted: 09/20/08 02:56 AM

Forum: Flash

At 9/19/08 09:45 AM, GustTheASGuy wrote: Best use a tweening library.

Please explain.


11.

None

Topic: how to make Rainbow Glow Effect?

Posted: 09/19/08 09:32 AM

Forum: Flash

At 9/19/08 08:48 AM, GustTheASGuy wrote: Uh I don't think you have any idea what a glow filter is.

That is a tint tween. You can also tween filters the same way.

could you do it with script?


12.

None

Topic: how to make Rainbow Glow Effect?

Posted: 09/19/08 08:19 AM

Forum: Flash


I have 2004, and I just use gradients.
Set up a rainbow, change some alphas....
But, I have no idea about filters or glows in flash, never used CS3 or 2008 :(

Can you clearly state, or give an example of what you need, and need it for?

um...something like this:
Click

I'm using it to make things look spectrum-ey


13.

None

Topic: how to make Rainbow Glow Effect?

Posted: 09/19/08 07:57 AM

Forum: Flash

maybe i didnt describe it clearly...

I want to make an effect like a colour changing shape tween...with a script. I think it uses glow filters.


14.

None

Topic: how to make Rainbow Glow Effect?

Posted: 09/19/08 07:03 AM

Forum: Flash

How do I make a rainbow glow effect? like colour transitions with AS2.


15.

None

Topic: AS2 Coding Help

Posted: 09/16/08 06:01 AM

Forum: Flash

uh...hello?


16.

None

Topic: Need help with AI

Posted: 09/16/08 05:50 AM

Forum: Flash

At 9/16/08 05:42 AM, ohmygod123 wrote: Hey,
im making a vertical shooter,
and i need some help with making the AI
what type of coding would i need?
what i mean is for something to come onto the screen, just say and when it gets a certain distance towards you it comes at you and attacks...
and also for shooting AI's when you are a certain distance from them they shoot how do you do this???
thanks
because my expertise are not with AI

most probably, oyu would be doing this:

if (((enemy._y)+(enemy._x)) - ((player._y) + (player._x)) < (whatever value you like))

this is for the distance...

the attack part, I don't really know.


17.

Shouting

Topic: AS2 Coding Help

Posted: 09/16/08 05:06 AM

Forum: Flash

I have this code which works like a conversation...the mcs is the dialogue. Can someone help me make this code more efficient? The code kinda puts your cpu usage up to 100%...

talk = 1
_root.attachMovie("empty", "empty", _root.getNextHighestDepth(), {_x:150, _y:200});
empty.onEnterFrame = function() {
if (Key.isDown(Key.SPACE)){
	talk += 1
}
if (talk == 1) {
	talk1 = _root.attachMovie("part_1_story_1", "part_1_story_1"+_root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:494.9, _y:672.8});
}
if (talk == 2) {
	talk1.removeMovieClip();
	talk2 = _root.attachMovie("part_1_story_2", "part_1_story_2"+_root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:494.9, _y:672.8});
}
if (talk == 3) {
	talk2.removeMovieClip();
	talk3 = _root.attachMovie("part_1_story_3", "part_1_story_3"+_root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:494.9, _y:672.8});
}
if (talk == 4) {
	talk3.removeMovieClip();
	talk4 = _root.attachMovie("part_1_story_4", "part_1_story_4"+_root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:494.9, _y:672.8});
}
if (talk == 5) {
	talk4.removeMovieClip();
	talk5 = _root.attachMovie("part_1_story_5", "part_1_story_5"+_root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:494.9, _y:672.8});
}
if (talk == 6) {
	talk5.removeMovieClip();
	talk6 = _root.attachMovie("part_1_story_6", "part_1_story_6"+_root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:494.9, _y:672.8});
}
if (talk == 7) {
	talk6.removeMovieClip();
	talk7 = _root.attachMovie("part_1_story_7", "part_1_story_7"+_root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:494.9, _y:672.8});
}
if (talk == 8) {
	talk7.removeMovieClip();
	talk8 = _root.attachMovie("part_1_story_8", "part_1_story_8"+_root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:494.9, _y:672.8});
}
if (talk == 9){
	gotoAndPlay (2)
}
trace (talk)
}

18.

None

Topic: AS2 Coding help

Posted: 09/15/08 07:12 AM

Forum: Flash

i just fixed it...ty anyway


19.

None

Topic: AS2 Coding help

Posted: 09/15/08 05:52 AM

Forum: Flash

At 9/15/08 05:19 AM, Fion wrote: Your problem is that your changing the alpha of _root.unlocked which is not the name you're giving the attached movieclip. Change the name you give it in the attach code to just simply 'unlocked'.

so i change "unlocked1" to "unlocked"?


20.

Resigned

Topic: AS2 Coding help

Posted: 09/15/08 05:12 AM

Forum: Flash

ok. i've fixed it, but now how do i make it fade aka alpha -= 5?

if ((score == 10000)&&(level == 1)) {
	_root.attachMovie("unlocked", "unlocked1"+_root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:0, _y:350});
	unlocked.onEnterFrame = function() {
		this._alpha -= 5;
		level = 2;
		if (this._alpha<=0) {
			this.removeMovieClip();
		}
	}
}

21.

None

Topic: AS2 Coding help

Posted: 09/15/08 04:44 AM

Forum: Flash

yr code's wrong...got error with the {}


22.

None

Topic: AS2 Coding help

Posted: 09/14/08 09:20 AM

Forum: Flash

Now i've got another problem...

if ((score == 10000)&&(level == 1)) {
	unlocked = _root.attachMovie("unlocked", "unlocked"+_root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:0, _y:350});
	unlocked.onEnterFrame = function() {
		this._alpha -= 5;
		level = 2;
		if (this._alpha<=0) {
			this.removeMovieClip();
		}
	}
}

The "unlock" mc doesn't come out


23.

None

Topic: AS2 Coding help

Posted: 09/14/08 09:05 AM

Forum: Flash

lol...forgot about that...ty


24.

None

Topic: AS2 Coding help

Posted: 09/14/08 06:16 AM

Forum: Flash

My code doesn't seem to work properly. When this code executes:

if ((score = 10000)&&(level = 1)) {
		unlocked = _root.attachMovie("unlocked", "unlocked"+_root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:0, _y:350});
		unlocked.onEnterFrame = function() {
			this._alpha -= 5;
			if (this._alpha<=0) {
				this.removeMovieClip();
			}
		}
		level = 2;
	}

the score is set to 10000 automatically!

Any help?


25.

None

Topic: AS2 Coding help

Posted: 09/11/08 09:00 AM

Forum: Flash

anyone?


26.

None

Topic: AS2 Coding help

Posted: 09/11/08 08:33 AM

Forum: Flash

Ever played Spaceship Escape 1 or 2?

If not, Click Here

I've decided to let the game play automatically, meaning that the game plays itself, like AI.
The problem now is that the code never executes!

I don't know what I've done wrong with the code:

Help Me

code is on the scene "game", "layer 1"


27.

None

Topic: Change font in dynamic text box?

Posted: 09/09/08 06:11 AM

Forum: Flash

did you add the font to the library??

You have to enter the font size correctly too


28.

None

Topic: Fade music with AS2?

Posted: 09/03/08 06:05 AM

Forum: Flash

thx alot


29.

Shouting

Topic: Fade music with AS2?

Posted: 09/02/08 03:46 AM

Forum: Flash

how about fading it out anytime? cos this is for a game,and the game could end any second...


30.

None

Topic: Fade music with AS2?

Posted: 09/01/08 07:49 AM

Forum: Flash

How do I fade music with AS2?


All times are Eastern Standard Time (GMT -5) | Current Time: 11:49 PM

<< < > >>

Viewing 1-30 of 42 matches. 1 | 2