Highlighted

Test Movie doesnt work when Action Script is inserted

New Here ,
May 11, 2020

Copy link to clipboard

Copied

Hi,

 

I'm brand new to Adobe Animate 20. I do have experience with Flash CC

 

I've created a basic timeline, placed an image in frame one, test movie and the image is their in the browser. The template was HTML5 Canvas

I've converted the image to a symbol, type Movie Clip, called it movPC and called the instance movPC.

Then Ive inserted the Drag Drop code snippet for the symbol.

 

When I then test the movie, the page is blank in the browser, the image has gone.

I've even tried a basic button with the "Click to go to Web page" Code Snippet and that shows nothing as well when testing movie.

 

Also, when Im in the Actions window, when I type action script Im not getting any code hints or color changes depending on whats been typed

 

 

What am I missing.

 

Thanks in advance

 

John

 

TOPICS
ActionScript, Error, Publish package

Views

784

Likes

Translate

Translate

Report

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

Test Movie doesnt work when Action Script is inserted

New Here ,
May 11, 2020

Copy link to clipboard

Copied

Hi,

 

I'm brand new to Adobe Animate 20. I do have experience with Flash CC

 

I've created a basic timeline, placed an image in frame one, test movie and the image is their in the browser. The template was HTML5 Canvas

I've converted the image to a symbol, type Movie Clip, called it movPC and called the instance movPC.

Then Ive inserted the Drag Drop code snippet for the symbol.

 

When I then test the movie, the page is blank in the browser, the image has gone.

I've even tried a basic button with the "Click to go to Web page" Code Snippet and that shows nothing as well when testing movie.

 

Also, when Im in the Actions window, when I type action script Im not getting any code hints or color changes depending on whats been typed

 

 

What am I missing.

 

Thanks in advance

 

John

 

TOPICS
ActionScript, Error, Publish package

Views

785

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 11, 2020 0
Adobe Community Professional ,
May 11, 2020

Copy link to clipboard

Copied

open your browser's developer console and find the js error and correct it.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 11, 2020 0
New Here ,
May 11, 2020

Copy link to clipboard

Copied

ReferenceError: AdobeAn is not defined

 init file:///C:/Users/johnm/Documents/adobe cc/Untitled-1.html:24

 onload file:///C:/Users/johnm/Documents/adobe cc/Untitled-1.html:1

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 11, 2020 0
Adobe Community Professional ,
May 11, 2020

Copy link to clipboard

Copied

This usually means a JavaScript syntax error, or that the createjs library is missing. Any other errors in the console?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 11, 2020 0
kglad LATEST
Adobe Community Professional ,
May 11, 2020

Copy link to clipboard

Copied

what are lines 15 to 24 in your html?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 11, 2020 0