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

Best Way to Approach Interactive Animation

Community Beginner ,
Dec 27, 2023 Dec 27, 2023

Copy link to clipboard

Copied

Hey guys. I'm posting anew on this same project I'm trying to wrap my head around as I think I'm in need of a fresh approach.

Basically wondering if I can get some guidance on the best way to create this interactive infographic (see attached) . I need to make the four top buttons (STABLE, RELUCTANT, ...) clickable, which will change the button color and present different information in the center circle (right now, all three are set on STABLE). Then I need to be able to circulate through the three different stages—THRIVING, BUOYANT, TRANSFORMATIVE—by clicking the right-left arrows and/or the stages text to the right and left.

I had set this up as buttons just triggering a jump to a frame with the appropriate correspinding view, but it resulted in too much code with each frame and kind of code loop that cummuatively bogged down the brower to the point of not working at all.

Any ideas on a simpler approach to this that won't require custom code and can be done via Code Wizard? Tagging you @kglad as you've been kind enough to help in the past on this.

And thanks in advance as always!1.png2.png3.png

Views

121

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 ,
Dec 27, 2023 Dec 27, 2023

Copy link to clipboard

Copied

hi,

 

dud you manage to get all your code on the main timeline first frame AND prevent that code from being read more than once?

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 ,
Dec 27, 2023 Dec 27, 2023

Copy link to clipboard

Copied

no—I think that may be beyond me, code-wise. I'm fully reliant on the Code Wizard

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 ,
Dec 27, 2023 Dec 27, 2023

Copy link to clipboard

Copied

you can't prevent code duplicity and code re-execution with the wizard.  

 

you might want to consider hiring me (or someone else) to fix your app.

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 ,
Dec 27, 2023 Dec 27, 2023

Copy link to clipboard

Copied

Yeah, it seems like there should be a simpler approach to the project, I'm just too new to Animate to see it, I think

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 ,
Dec 27, 2023 Dec 27, 2023

Copy link to clipboard

Copied

there's nothing simpler than displaying different app states un different frames and using gotoAndPlay() and gotoAndStop().

 

and from what you described, your code works well. it's only with re-execution of your code that things bog down.

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 ,
Dec 27, 2023 Dec 27, 2023

Copy link to clipboard

Copied

yeah the code works, it's just the bog down that "breaks it." I thought maybe there was a simpler, non-frame-based approach that maybe changed alpha states of the various infographic information instead that would work better.

But I'll revisit you're original fix, I think it just started to be beyond my paygrade when I needed to code 'if then's for so many variables, but maybe I can figure it out.

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 ,
Dec 27, 2023 Dec 27, 2023

Copy link to clipboard

Copied

LATEST

there are a number of different approaches that could be used, but none are less code-dependent than using different frames to display different app states.

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