Need help with key problem

I experienced no repetitive sounds.

My setup is this…

_root timeline contains 1 movie clip.

Inside that movie clip are two keyframes.

First keyframe contains original shape and a stop() action.

Second keyframe contains the modified shape and a stop() action. Then I imported a sound and dragged it onto the stage with frame 2 selected. This creates the sound when the frame is entered. You can right click on the frame and open the properties panel to view the properties of your sound. There is a drop down menu for “Sync”, in here choose “Event” and loop “0” times.

Since I replied twice in a row you might not have noticed my other post, so I will post 3 times in a row to bump this so it is in your subscribed threads in your UserCP for when you come back :wink:

alright here’s the new deal… (btw, i’d like to thank both of you again for all the help you’ve been giving me. when we get satisfied with this version of the game i’ll be sure to send you both a copy so let me get an aim nickname or something so i can file transfer to you.) anyways, we got the “enter key sound” to work without overlapping when enter is held. i’d still like to change the name of the player title bar to the name of the game. also the way it works is kind of like a first person shooter. except the background moves, not the “weapon hand”. so… the question is: when we go to put an exit button in, is there a way to put it over the background (movie clip) so it will stay in the same spot? if we put it on any layer other than the background it scrolls around with the screen view. but if we put it on the background layer the button won’t work. any ideas this time?

So you want the exit button to scroll with the background, but when it does that it doesn’t work?

Is there another button overlapping your exit button, that is the only thing I can think of.

Although I am not too knowledgable on fscommands (assuming you are using the fscommand for quitting the player for exit), but maybe it is because you are putting it inside another movie clip that the fscommand doesn’t work. And if it isn’t because of an fscommand, maybe you are targetting the exit location wrong.

ok heh, should’ve clarified.
i’m not using an fscommand to close the player. the “exit” button is actually just sending it to another scene. the button target works fine when it’s not over the background(movieclip) layer. but when it’s there it doesn’t do anything when you click it. it shows the little hand button icon, but you click and get nothing.

Oh ok, much better clarification.

You cannot change scenes with stuff like gotoAndPlay(“scene”,frame#) when inside a movie clip. It is some sort of bug in Flash. There is a “hack” (a way around it) for this though.

Give the frame in your other scene a label (right click on it, open the properties, and give it a label). Then search for it with something like _root.gotoAndPlay(“frameLabel”).

ok, that didn’t work. what else ya got :slight_smile: “leave the button floating around with the screen.” ?? hehe

You must be targetting your frame label wrong or something. The frame label method is proven effective by 9 out of 10 flashers :wink:

You could also create a blank keyframe on your main timeline at the end of your movie (with a stop action right before this blank keyframe). On this keyframe add the actions _root.gotoAndPlay(“scene”,frame#) then on your button inside the movieclip you can say _root.gotoAndPlay(frame#WithTheActions).

Then your button will redirect to the frame with the actions, and that frame will redirect to the proper scene and frame.

well… pretty much done with what we were going to do. i appreciate the help and if either of you two want to check it out lemme know. thanks again