dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [MX04] _currentframe code HELP!!!

  1. #1
    Junior Member
    Join Date
    Oct 2006
    Posts
    2

    [MX04] _currentframe code HELP!!!

    Hi

    Could someone please advize. When pressing the button to movie moves one frame ahead, when pressed again nothing happens.

    block_mc.stop();
    this.button_btn.onPress = function() {
    _root.block_mc.gotoAndStop(_currentframe+1);
    }

    I have attached the file.

    Thanx
    Attached Files Attached Files

  2. #2
    Banned NTD's Avatar
    Join Date
    Feb 2004
    Posts
    3,438
    Hi,

    Try....

    block_mc.stop();
    this.button_btn.onPress = function() {
    _root.block_mc.gotoAndStop(_root.block_mc._current frame+1);
    }

  3. #3
    Junior Member
    Join Date
    Oct 2006
    Posts
    2
    Great!!!!

    That was spot-on

    Thanx a lot

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center