Skip to main content
timaging
Inspiring
March 26, 2019
Question

html5 over state not working, then goto frame 1 not working... can't find the right combo

  • March 26, 2019
  • 2 replies
  • 916 views

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

This topic has been closed for replies.

2 replies

avid_body16B8
Legend
March 26, 2019

Are you using a movie clip or a button. Movie clips do not show the hand.

timaging
timagingAuthor
Inspiring
March 26, 2019

I tried using that, but then I could not get the animation to work in the over state on the button.

avid_body16B8
Legend
March 26, 2019

PM me a link to you images and I'll make it for you or can can make you an example with other images.

Inspiring
March 26, 2019

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

avid_body16B8
Legend
March 26, 2019

and BTW you can add movie clips in the button states and use code to activate them.

timaging
timagingAuthor
Inspiring
March 26, 2019

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.