• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

Help with CSS code to use on for an axe interractive banner

Explorer ,
Jun 18, 2019 Jun 18, 2019

Copy link to clipboard

Copied

I have an axe interactive banner but i want help with getting the code whereby the user  has to press on the axe an it sprays on the model in the pic.

Views

208

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 19, 2019 Jun 19, 2019

Copy link to clipboard

Copied

LATEST

I think you need Actions, and javascript code, not CSS to make it work.

But first you have to create a button out of the Axe so the user can click on it, you have to give that button an instance name so that the event listener can listen for a mouse click. Then you have to create an event listener that calls a function....

and that function will have the instructions of what should happen when the user clicks. When the user clicks it should target a Movieclip, which will have the animation of the axe spraying on the model.

Then your function will target that movieclip and say gotoAndPlay(1) so that the MovieClip plays.

I am sorry I am not able to actually make this for you, but I hope you get the jist of how I laid out and how you can get it to work.

Cheers,
mark

headTrix, Inc. | Adobe Certified Training & Consulting

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