Skip to main content
Participating Frequently
January 27, 2015
Question

Is MovieClip.isPlaying property reporting incorrectly?

  • January 27, 2015
  • 1 reply
  • 609 views

The isPlaying property is reporting incorrectly. All MovieClips by default starts playing, but when you check this property, it is false by default until you call the play function. Anyone else experiencing this?

To replicate:

  1. Create a MovieClip instance on the stage.
  2. Give it an instance name (ie, box_mc)
  3. in AS3, type the following:

    trace(box_mc.isPlaying)

You should see false being traced out.

(Tested in Flash Professional CS6)

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
January 27, 2015

There is no MovieClip.isPlaying property, at least not in Flash AS3.  The isPlaying property belongs to the AnimatorBase class

guowyAuthor
Participating Frequently
January 27, 2015

According to ActionScript reference the property exists. Refer to: MovieClip - Adobe ActionScript® 3 (AS3 ) API Reference