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

Animate HTML Canvas and Dynamic Data

Community Beginner ,
May 31, 2024 May 31, 2024

Copy link to clipboard

Copied

Hi Everyone. I have a question that I hopefully can find clarity on. I must grab information from an internal server to show dynamic data using HTML5 Canvas. I am using AS 3.0, which we will have to terminate at some point, but it works perfectly. My issue is moving the dynamic data accessed with internal servers using Animate HTML Canvas. Specifically, I have an issue exporting the animation with HTML Canvas while accessing the dynamic data coded inside Animate. If I hardcode the data, I don't have a problem. However, I am trying to do it so that the dynamic data code I put in Animate exports the dynamic data called. I hope doing it this way decreases the need to code outside Animate. Has anyone experienced this? And is this even possible? If it is possible, how do I do it? 

Views

142

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
community guidelines
Community Expert ,
May 31, 2024 May 31, 2024

Copy link to clipboard

Copied

you can't use as3 in a canvas project.

Votes

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
community guidelines
Community Beginner ,
Jun 10, 2024 Jun 10, 2024

Copy link to clipboard

Copied

This is correct. Looking for a way around this because it still uses code.

Votes

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
community guidelines
Community Beginner ,
Jun 07, 2024 Jun 07, 2024

Copy link to clipboard

Copied

Hi,

You can use javascript to load external data, xml, json etc..

and use it with html5 canvas script.

Votes

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
community guidelines
Community Beginner ,
Jun 10, 2024 Jun 10, 2024

Copy link to clipboard

Copied

Yeah, I need to find a way to make a place holder I can tag in json/javascript after it is published.

Votes

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
community guidelines
Community Expert ,
Jun 10, 2024 Jun 10, 2024

Copy link to clipboard

Copied

what code are you using that's failing?

Votes

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
community guidelines
Community Beginner ,
Jun 10, 2024 Jun 10, 2024

Copy link to clipboard

Copied

Currently, our solution is AS3. If my research is correct, we need to create a placeholder for dynamic data within HTML5 Canvas in Animate, publish it, and call the placeholder for the dynamic data in JSON or Javascript. I am having an issue creating a placeholder at this point within animate... well actually, I am just about to try this theory. I have not used any code yet for this in particular.

Votes

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
community guidelines
Community Beginner ,
Jun 10, 2024 Jun 10, 2024

Copy link to clipboard

Copied

Adobe Canvas uses createjs javascript library, most AS3 similar functions there.

you can create movieclip and add to stage etc... 

depends on how you populate dynamic data,

If you can share code or file, it will be more clear to give more feedback

Votes

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
community guidelines
Community Expert ,
Jun 10, 2024 Jun 10, 2024

Copy link to clipboard

Copied

LATEST

a placeholder for what?

Votes

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
community guidelines