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

Squid Infographic

New Here ,
Jun 30, 2017 Jun 30, 2017

ActionScript experts—

I am new to this forum and beginner to Animate, but well familiarized with Photoshop and Illustrator. I am trying to create an animated version of an infographic (see image below) pulling geometry data from an external CSV file.

Is it possible to draw something simple like a circle, where the radius is pulled form an external file? If I can figure how to do that with some simple ActionScript commands for this initial circle, I can do everything else from the drawing below.

Anyone willing to lend a hand to get me started? A simple FLA file that I can use to study the ActionScript code would be most helpful.

Thanks!

Leo

squid_infographic.JPG

TOPICS
ActionScript
609
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

LEGEND , Jun 30, 2017 Jun 30, 2017

There is a drawCircle method in Actionscript. Here's the reference: Graphics - Adobe ActionScript® 3 (AS3 ) API Reference . Scroll down to drawCircle in the methods section and then select drawCircle to get to the example.

Here's a tutorial on using each of the drawing methods: AS3 example Drawing graphics - EduTech Wiki

Translate
LEGEND ,
Jun 30, 2017 Jun 30, 2017

There is a drawCircle method in Actionscript. Here's the reference: Graphics - Adobe ActionScript® 3 (AS3 ) API Reference . Scroll down to drawCircle in the methods section and then select drawCircle to get to the example.

Here's a tutorial on using each of the drawing methods: AS3 example Drawing graphics - EduTech Wiki

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 ,
Jul 10, 2017 Jul 10, 2017

Rob (and all),

Thank you for the answer, it got me closer to the solution. Work in progress here: http://www.autoedicion.com/squid/squid.html.

I ended up using the HTML 5 Canvas > Create JS API's code snippets, so I publish and view in Chrome without having the Flash player installed. My next problem to solve is the line width for a bezier curve. I know that this is possible in Javascript, but have not been able to do it in Animate CC with the CreateJS API's (cannot find any of the line width parameters to work.) Is it even possible?

Thank you in advance for your continuous help!

Leo Casado

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 ,
Jul 12, 2017 Jul 12, 2017

Thanks again, Rob! The project is finished (link.)

Leo

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 ,
Jul 12, 2017 Jul 12, 2017
LATEST

That looks great, glad to see that you worked it out.

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