Search:
Type: Posts; User: 4nic8
Search:
Search took 0.09 seconds.
-
Give your button an instance name (eg myBtn) and target it from the main timeline:
myBtn.onRollOver = function() {
gotoAndPlay(2);
}
...and similarly for the other button states
-
Try using &&:
onClipEvent (keyDown) {
if (Key.isDown(Key.SPACE) && Key.isDown(Key.RIGHT)) {
_x += 1;
_y -= .4;
}
}
-
Must've overlooked that! I did also want to be able to use the function to start sound2 after a specific period, for example:
if (sound1.position == 2000) {
sound2.play();
}
This doesn't...
-
I want a button to trigger 2 different sounds, but want to 2nd to play at the exact point at which the first finishes.
The code I have is:
Button.onrelease = function () {
sound1.start();...
-
I would like my background sound to play independently of the other sounds in the movie.
-
There's plenty of good sites offering live people to do your site intros and presentations - and they usually have a range of actors from which to choose. Just Google 'live person talking on...
-
Try using shape hints - they will allow you to better control the transitions.
-
-
I'm developing a card game where I have a button (dealButton) which deals the cards. The action can be triggered by a clicking the button or pressing the spacebar on the keyboard.
Problem is, if...
-
We get it here in oz but don't get the chance to watch it too often. Just watched the car darts - that's f***ing hilarious. Thanks, needed that!
-
You'd be better off using a pixel font. There are lot of professional looking fonts out there, even some of the free ones are pretty good.
-
You need to reference the actual 'text' field, not just the instance name:
on (press) {
if (_root.password_mc.text == "astor")
{
gotoAndStop(2);
}
else
{
|
Click Here to Expand Forum to Full Width
|