A Flash Developer Resource Site

Search:

Type: Posts; User: 4nic8

Search: Search took 0.09 seconds.

  1. Give your button an instance name (eg myBtn) and...

    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
  2. MX04 Try using &&: onClipEvent (keyDown) { if...

    Try using &&:

    onClipEvent (keyDown) {
    if (Key.isDown(Key.SPACE) && Key.isDown(Key.RIGHT)) {
    _x += 1;
    _y -= .4;
    }
    }
  3. Replies
    3
    Views
    488

    Flash8 Must've overlooked that! I did also want to be...

    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...
  4. Replies
    3
    Views
    488

    Flash8 256 levels of recursion

    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();...
  5. Flash 8 - Is there a way to use the stopAllSounds() function except one sound?

    I would like my background sound to play independently of the other sounds in the movie.
  6. Replies
    2
    Views
    1,304

    There's plenty of good sites offering live people...

    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...
  7. Try using shape hints - they will allow you to...

    Try using shape hints - they will allow you to better control the transitions.
  8. Replies
    2
    Views
    468

    Flash8 Thanks, works perfectly!

    Thanks, works perfectly!
  9. Replies
    2
    Views
    468

    Flash8 Disabling a button

    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...
  10. Thread: Top Gear

    by 4nic8
    Replies
    11
    Views
    1,442

    We get it here in oz but don't get the chance to...

    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!
  11. Thread: Pixelized Text

    by 4nic8
    Replies
    5
    Views
    603

    You'd be better off using a pixel font. There...

    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.
  12. Replies
    6
    Views
    720

    You need to reference the actual 'text' field,...

    You need to reference the actual 'text' field, not just the instance name:

    on (press) {

    if (_root.password_mc.text == "astor")
    {
    gotoAndStop(2);
    }
    else
    {
Results 1 to 12 of 12




Click Here to Expand Forum to Full Width

HTML5 Development Center