Copy link to clipboard
Copied
Hi,
Simply put, I'm creating an html5 banner. This banner has a replay button at the end frame in the top right corner. this button is an arrow that is a circle. On Rollover, this button should animate and rotate clockwise. on Rollout, it should stop. on Click, This arrow should take you back to frame 1.
Additionally, the entire banner other than the arrow would need a clickTAG
Currently, I'm able to add the clickTAG and get replay to "work", but the rest evades me. I can get the replay arrow to go to frame 1, but it won't spin. Additionally, I do not see a hand when I roll over this, so if I change the script to show the pointer/hand/, then this somehow negates the arrow replay button and it no longer works.
I can not find one sample of this online, getting all this to work at once. I can get the replay arrow to work, but not spin. I can get the cursor to show up, but once I do, then replay doesn't work any more. I have an example of a rollover/rollout arrow that spins and stops like I want from youtube, but then I can't seem to add in the other clickTAG and go to frame 1 information.
Does anyone have experience with these issues? It's just seeming like it's something that should be so simple and I can't pull it off. I know it can be done using Greensock, but I don't have the time or the know-how to use that since it's a form of javascript and no longer like the old greensock that I could figure out.
Any help would be GREATLY appreciated. I can send files, but not through this forum.
THANK YOU!!!
Dave
Copy link to clipboard
Copied
Hi,
just a quick note as I'm in work but remember in HTML5 frame 1 is considered as 0 (i.e. not 1) in the code.
Maybe this is it?
Cheers
Greg
Copy link to clipboard
Copied
and BTW you can add movie clips in the button states and use code to activate them.
Copy link to clipboard
Copied
well, maybe that's the answer, but would the clickTAG then negate that? Have you don't this successfully before? I can not for the life of me find samples. It sure does seem to me like it should be simple.
Copy link to clipboard
Copied
No... I can get it to go to frame 1. I can't however seem to get the rollover working with the click.
Copy link to clipboard
Copied
Are you using a movie clip or a button. Movie clips do not show the hand.
Copy link to clipboard
Copied
I tried using that, but then I could not get the animation to work in the over state on the button.
Copy link to clipboard
Copied
PM me a link to you images and I'll make it for you or can can make you an example with other images.
Copy link to clipboard
Copied
ok, just sent you something... let me know if you need anything additional-
you will see "replay" and replaySpin" in the library currently.
AND if you know of any reference materials that I can be looking at that explain this process, I would love that too so that I understand what's happening. I will add the clickTAG as a script in to the html afterwards, but it looks like the default style in the published code has the cursor or pointer shut off-
Thank you!!
Copy link to clipboard
Copied
Possible way to do it. I will look at your file in a little while.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now