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

Flash Carousel

Engaged ,
Oct 15, 2008 Oct 15, 2008
Hi.

I've made one of those cool Carousels that display items in a circular manner.

And, when i press on an item from the carousel, i want the whole carousel to rotate untill that item gets to the center of the page and in the front. Then i want it to stop. After that a window will come down displaying some text and when i press close button the window will rise.

The problem is that i can't figure it out how to make the carousel spin to the center with the item i press on and then stop.

Can someone help? Someone who is familiar with flash carousels?

Thanks a lot.
TOPICS
ActionScript
476
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
Community Expert ,
Oct 15, 2008 Oct 15, 2008
you need to know something about the code used. it's not even clear from your description whether you're using a vertical or horizontal carousel or something between those two extremes.
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 ,
Oct 16, 2008 Oct 16, 2008
Hi.
It's a horizontal carousel. I made it using the tutorials from gotoAndLearn.com.

I'm attaching the whole code that i written:
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
Community Expert ,
Oct 16, 2008 Oct 16, 2008
LATEST
to center one of your items (I), you'll need to tween/ease its angle property to pi/2 and tween/ease all the other items angle by the amount that I's angle is changed and you'll want to disable all your items onEnterFrame method.
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