Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Compile error 1061 displays when attempting to play timeline animation

  1. Dec 17, 2011 #1

    Scenario: Click on button and timeline animation plays (the animation is a panel that rotates from the back to the front)

    Flash AS - 3.0

    Scene 1, Layer 'actions', Frame 1, Line 11
    1061: Call to a possibly undefined method play through a reference with static type Function.

    What does this error mean and what code needs to be added to fix it?

    Any help will be appreciated.

    Code (Text):
    import flash.events.MouseEvent;

    bullet_btn.addEventListener(MouseEvent.CLICK, bullet);
    function bullet(event:MouseEvent) :void

    function spinbul_pt_1(){
  2. jcsd
  3. Dec 17, 2011 #2


    User Avatar

    Staff: Mentor

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook