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

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

Contributor ,
Mar 26, 2019 Mar 26, 2019

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

751
Translate
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
Engaged ,
Mar 26, 2019 Mar 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

Translate
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
LEGEND ,
Mar 26, 2019 Mar 26, 2019

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

Translate
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
Contributor ,
Mar 26, 2019 Mar 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.

Translate
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
Contributor ,
Mar 26, 2019 Mar 26, 2019

No... I can get it to go to frame 1. I can't however seem to get the rollover working with the click.

Translate
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
LEGEND ,
Mar 26, 2019 Mar 26, 2019

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

Translate
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
Contributor ,
Mar 26, 2019 Mar 26, 2019

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

Translate
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
LEGEND ,
Mar 26, 2019 Mar 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.

Translate
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
Contributor ,
Mar 26, 2019 Mar 26, 2019

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!!

Translate
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
LEGEND ,
Mar 26, 2019 Mar 26, 2019
LATEST

Possible way to do it. I will look at your file in a little while.

BUTTON ANIMATION.zip - Box

Translate
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