Be a Supporter!
Response to: Timing music in flash Posted September 7th, 2008 in Game Development

just click on the music layer, then open up the properties window (go up to window>>properties>>properties) and click "edit" which is beside "Effect:"

another window will pop up go to the bottom right corner and one of the small buttons should say like "Frames", click it. Look at both the top and bottom time lines the top is for the right speaker and the bottom is for the left..or the other way around w/e. basically just look at you movie timeline, find the frame number, than open up that music window again, find the frame number on the time line and drag the top line so that it stops at whatever frame you selected.

Btw, if you have seperate scenes you will need to add up the numbers that all the frames stop in each scene

Response to: preview for fiorst game trouble Posted September 7th, 2008 in Game Development

At 9/6/08 08:41 PM, Kuoke wrote:
At 9/6/08 08:27 PM, lpfann2 wrote: WHAT?!? are you telling me NO one uses CS3 (or as you guys call it AS3)
THATS bullshit. Theres gotta be someone else
Seeing as you don't know how to code in AS3 it wont affect you if you'd just change it to AS2 via File > Publish Settings.

oh ya, i have my action script as 2.0
but it still doesnt work!

Response to: preview for fiorst game trouble Posted September 6th, 2008 in Game Development

At 9/6/08 08:15 PM, Conlor wrote:
At 9/6/08 08:08 PM, lpfann2 wrote:
i use flash CS3
GAH! No one can help you, we mostly use AS2.

WHAT?!? are you telling me NO one uses CS3 (or as you guys call it AS3)
THATS bullshit. Theres gotta be someone else

Response to: preview for fiorst game trouble Posted September 6th, 2008 in Game Development

At 9/6/08 08:00 PM, Doomsday-One wrote:
At 9/6/08 07:39 PM, lpfann2 wrote: it still wont work. " on(release) { gotoAndPlay("Scene 1", 1); } " is the code right? because i didnt change the name of the scene or anything so it should be working but it isn't
I forgot to add _root. for you.

on(release) { _root.gotoAndPlay("Scene 1", 1); }

That should work, unless you're working in AS1 or AS3.
If you're using Flash 8, then it will most likely be fine.

If not, tell us what error messages come up.
And make sure it is on the button, not the timeline!

i use flash CS3 and it doesnt work. but there isn't any error code. Weird. how does it look in the actionscript, like this?:

on(release) {
_root.gotoAndPlay("Scene 1", 1);
}

Response to: how to make a button? Posted September 6th, 2008 in Game Development

Hey! draw you picture or whatever you want to use for your button. Then right click on it, go to CONVERT TO SYMBOL, then check off button and name it. THEN. Double click the button and this window will pop up. And your timeline will change. it'll say "UP",which is what it'll look like when its just sitting there "OVER" which is what it'll look like when the persons mouse goes over it, and "DOWN" is what it'll look like when when someone is clicking on it. And hit is pretty obvious(what it'll look like after its been hit)

then you have to to do some actionscripting, right click on your button and go down to ACTIONS, another window will pop up. type in:

on(release) {
gotoAndPlay(2);
}
in the brakets after gotoAndPlay is the frame number. So it is probably 2 because when you make your button, its on frame 1, so ya.

theres your play button
it should work :)

Response to: preview for fiorst game trouble Posted September 6th, 2008 in Game Development

At 9/6/08 07:38 PM, Montycarlo wrote: How could you have even started the game without knowing how to code a simple button?

Something smells like copypasta....

ya..I haven't started the game yet. I know how to code a button, just not a replay button
"on(release) { blah blah blah } whatever. i just dont know the code for replaying the whole movie. I'm obviously not starting the game till i like almost mastered actionscripting

Response to: preview for fiorst game trouble Posted September 6th, 2008 in Game Development

At 9/6/08 07:20 PM, Doomsday-One wrote:
At 9/6/08 06:54 PM, lpfann2 wrote: "on(release){ gotoAndPlay(1)};"
Replace the "gotoAndPlay(1)" with "gotoAndPlay("Scene 1", 1)".
Unless you've changed the name of the scene.

it still wont work. " on(release) { gotoAndPlay("Scene 1", 1); } " is the code right? because i didnt change the name of the scene or anything so it should be working but it isn't

Response to: preview for fiorst game trouble Posted September 6th, 2008 in Game Development

At 9/6/08 07:00 PM, Conlor wrote: and I quote your user page:

"09/06/08 Created NG account.

09/06/08 Still hasn't contributed anything to the site, so here's an advertisement:"

if your trolling, you are doing a poor job. The gotoAndPlay code would work, because the nextscenecode would be uneffected, as it is on a different frame.

to the "09/06/08 Created NG account" its cuz i had an account before, then I created a Grounds Gold Account just now so i could post this thread.

and i dont really get what your saying gotoAndPlay(1) only replays that scene its on so it woudn't work.

preview for fiorst game trouble Posted September 6th, 2008 in Game Development

ok im making a game.(called dash, want any info on it go to my userpage) and I just finished a preview. But i wanted to make a replay button. Problem is, i dont know the action script code.

And dont say "on(release){ gotoAndPlay(1)}; " because I want a replay button to replay the whole video! not just that one scene.

Please help(btw the flash doesnt have a preloader, w/e)