Spinning game wheel

Out of context: Reply #2

  • Started
  • Last post
  • 12 Responses
  • ORAZAL0

    If you can't find an example with a button you would have to call the spinWheel function from your button. You would need to remove the extra code and replace line.height by a static value.
    It's shouldn't take you that much time. I understand that you rather have something where you don't need to tweak the code.

    private final function spinWheel():void
    {
    // speed = line.height * 0.1;
    speed = 0.5;
    stage.addEventListener(Event.ENT... spin);
    }

View thread