Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Is MovieClip.isPlaying property reporting incorrectly?

New Here ,
Jan 26, 2015 Jan 26, 2015

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)

TOPICS
ActionScript
592
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 27, 2015 Jan 27, 2015

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 27, 2015 Jan 27, 2015
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines