Author Topic: flxbuttons X___x  (Read 684 times)

arcade27

  • Member
  • **
  • Posts: 40
  • Karma: +0/-0
    • View Profile
flxbuttons X___x
« on: Fri, Aug 5, 2011 »
ok wehre still having some funky issues with buttons.  more so...  where callin the next starte when the button is presssed.

now... if we call our main state - playstate then the buttons wont work again X___x
if we call gameover they will ...  any idears of any possable conflicting code O.o that we need to lookoutfor

arcade27

  • Member
  • **
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Re: flxbuttons X___x
« Reply #1 on: Fri, Aug 5, 2011 »
edit : at long last found it after destroying code for a while

calling FlxG.mouse.hide();


after using
private var mouse:Cursor;
mouse = new Cursor(FlxG.mouse.x, FlxG.mouse.y);
add(mouse);

is disliked