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

Adobe Animate cc Loading a movie clip in to html 5 canvas with Java Script on time line

New Here ,
Nov 13, 2017 Nov 13, 2017

This what I have on frame 1 for Action.. I have a a html 5 Video player on my canvas named MovieClip_1 .. I'm trying to load a movieclip as a test using the adobe url shown below My goal is to have a deferent movie clip play based a random number with about 10 or so video clips. .. here is what I get from inspector ... any help would be appreciated as you might guess I'm brand new to Adobe Anamate cc html Cavan.. Thank You Uncaught TypeError: Cannot set property 'src' of undefined     at lib.Untitled9.frame_0 (Untitled-9.js:38)     at a.b._runActions (createjs-2015.11.26.min.js:17)     at a.b.setPosition (createjs-2015.11.26.min.js:17)     at a.b.setPosition (createjs-2015.11.26.min.js:17)     at lib.Untitled9.c._updateTimeline (createjs-2015.11.26.min.js:14)     at lib.Untitled9.c.advance (createjs-2015.11.26.min.js:14)     at lib.Untitled9.c._tick (createjs-2015.11.26.min.js:14)     at lib.Stage.b._tick (createjs-2015.11.26.min.js:13)     at lib.Stage.b.tick (createjs-2015.11.26.min.js:13)     at lib.Stage.b.update (createjs-2015.11.26.min.js:13) $("#movieClip_1")[0].src = "https://images-tv.adobe.com/avp/vr/15a99ccf-0e7c-4601-b270-87dd82624086/5078a43c-81f9-4a93-836c-8152..."; /* Play a Video Use this code snippet to play the selected video. */ /* Play a Video Use this code snippet to play the selected video. */ $("#movieClip_1")[0].play();

700
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

correct answers 1 Correct answer

Community Expert , Nov 14, 2017 Nov 14, 2017

your video component needs instance name movieClip_1, not MovieClip_1.

Translate
Community Expert ,
Nov 14, 2017 Nov 14, 2017
LATEST

your video component needs instance name movieClip_1, not MovieClip_1.

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