Be a Supporter!
Response to: Some AS help needed... Posted December 6th, 2007 in Game Development

At 12/6/07 08:42 AM, SkySausage wrote: i tried this as well:

two keyframes inside a movie clip, labels are 'up' and 'pressed'. each of the keyframes have stop action.
movieclip has actions:

onClipEvent (enterFrame){
this.gotoAndStop("over")
}
onClipEvent (mouseDown) {
this.gotoAndStop("lighted")
}

it works ok, but when i test movie the following errors appear:

**Error** Symbol=lights 1, layer=Layer 1, frame=1:Line 1: Statement must appear within on/onClipEvent handler
stop();

what does it mean and how to fix it?

Errmm... i don't think onClipEvent(mouseDown) should be in a MC as it is a Button script.
What i think you should do is make a invinsible button below the movie clip, and then on the button you make some code like:

on(press) {
_root.MovieClip.gotoAndStop(2);
}

That way you can even make a whole animation to happen. And if you want the movie clip (which the viewer think is a button) to highlight on rollover there is this script:

on(rollOver) {
_root.MovieClip.gotoAndStop(2); //Then change press animation to 3
}
on(rollOut) {
_root.MovieClip.gotoAndStop(1);
}

I'm not a god at AS, but i've made something like that, and it worked. Hoplefully you understand what i meant and hopefully you will make it work.

Response to: Text fonts not working... Posted November 28th, 2007 in Game Development

Well, it probably would have worked IDK, but as i was going to check, it suddenly worked again... i still don't what happened though, and i fear it might happen again! But right now, i just think i'm gonna restart my computer. Thanks anyway, i might get to use that hotkey :)

Text fonts not working... Posted November 27th, 2007 in Game Development

I'm making a game, and then all of a sudden when i'm about to test it, a pop up appeared with this text:
"Some characters could not be converted to outlines because an appropriate oultine font is not available. These characters will dissapear in the Flash Movie file. The characters that failed will look jagged if you choose Anti-Alias Text in the View menu"

And then all my text with the font 'Sydnie' didn't appear anymore! And it had appeared all the other times, actually i didn't really change anything since my last test which went fine! Can anyone please help me?

Response to: Guitar Hero Game Actionscripting Posted November 23rd, 2007 in Game Development

At 11/23/07 11:50 AM, ArtistLady wrote: Heres what i have for the first part of the menu

...That's cool! :D
I don't know about that scripting thing though... i've been trying it out a bit myself, and i found out that it isn't something you just do, if it's you're first thing.

Response to: What to buy with 150 bucks? Posted October 17th, 2007 in General

Just send me the money lol :P