Highlighted

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

Explorer ,
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.

TOPICS
Discussions

Views

110

Likes

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

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

Explorer ,
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.

TOPICS
Discussions

Views

111

Likes

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
Jun 18, 2019 0
Adobe Community Professional ,
Jun 19, 2019

Copy link to clipboard

Copied

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
Consulting | Design | Development | Training

Likes

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
Reply
Loading...
Jun 19, 2019 0