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

Animate motion and color of an object

New Here ,
Apr 24, 2019 Apr 24, 2019

Copy link to clipboard

Copied

I'm new to Adobe Animate, but need to use it for animations on an ATM (banking screen).

I'm trying to make an icon not only bob up and down, but also change from one color to the other to catch the viewers attention and to direct them on how to begin their ATM transaction. The background screen will stay stagnant as the icon moves up and down and changes colors continuously.

Any ideas on how to do this?

My icon is an illustrator file and the background screen is simply a JPG.

Views

159

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

correct answers 1 Correct answer

Community Expert , Apr 24, 2019 Apr 24, 2019

create an icon_base movieclip.

shape tween that icon's color.

create an icon_mc and place icon_base on frame 1 of icon_mc and assign it an instance name of icon_base.  motion or classic tween icon_base bobbing.

place icon_mc on your main timeline, assign it instance name icon_mc and call icon_animateF(false);

when you want it to bob and color-tween call icon_animateF(true);

when youi want to stop the bob and color-tween call icon_animateF(false);

function icon_animateF(b:Boolean):void{

if(b){

icon_mc.ic

...

Votes

Translate

Translate
Community Expert ,
Apr 24, 2019 Apr 24, 2019

Copy link to clipboard

Copied

LATEST

create an icon_base movieclip.

shape tween that icon's color.

create an icon_mc and place icon_base on frame 1 of icon_mc and assign it an instance name of icon_base.  motion or classic tween icon_base bobbing.

place icon_mc on your main timeline, assign it instance name icon_mc and call icon_animateF(false);

when you want it to bob and color-tween call icon_animateF(true);

when youi want to stop the bob and color-tween call icon_animateF(false);

function icon_animateF(b:Boolean):void{

if(b){

icon_mc.icon_base.play()

icon_mc.play();

} else {

icon_mc.icon_base.gotoAndStop(1);

icon_mc.gotoAndStop(1);

}

}

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