Carousel Menu

This is a discussion on "Carousel Menu" within the Flash & Multimedia Forum section. This forum, and the thread "Carousel Menu are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 4th, 2006, 13:39
New Member
Join Date: Aug 2006
Location: Upminster
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Carousel Menu

Post #1
Hi,

wondered if you guys can help?

I am trying to make a carousel menu (like the one on goto and learn.com), but instead of loading my menu objects in via an xml file I want to attach the movie clips (with linkages) from the library to the stage and have them revolving around the axis.


Taking some of the code and modifying it, so far I can only attach one movie clip called "helpdesk"from the library to the t variable and have it revolving on the stage. How can I attach more than one movie clip to the stage and have it revolving around the axis?

Here is the code.

I've tried attaching more movie clips to the t variable but it doesn't work.
Do you know where I'm going wrong?


var numOfItems:Number=1
var radiusX:Number=250;
var radiusY:Number=75;
var centerX:Number=Stage.width/2;
var centerY:Number=Stage.height/2;
var speed:Number=0.05;
var perspective:Number=150;



var t= this.attachMovie("helpdesk","helpdesk",1);



t.angle=numOfItems*((Math.PI*2)/numOfItems);


t.onEnterFrame=mover;


function mover()
{
this._x=Math.cos(this.angle)* radiusX + centerX;
this._y=Math.sin(this.angle)* radiusY + centerY;

var s= (this._y-perspective)/(centerY+radiusY-perspective);
this._xscale= this._yscale=s*100;
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale)+100);

}

this.onMouseMove=function()

{
speed=(this._xmouse-centerX)/2000;
}
Reply With Quote

Reply

Tags
carousel, menu

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bizarre issue with loading FLV files into Flash carousel galahad3 Flash & Multimedia Forum 0 May 2nd, 2008 09:13
Problem with Flash 8 carousel and XML galahad3 Flash & Multimedia Forum 0 Apr 9th, 2008 16:12
CSS Menu defy Web Page Design 7 Oct 26th, 2007 08:37
Flash Carousel XML link csr500 Flash & Multimedia Forum 2 Sep 12th, 2007 15:08
I have a normal css menu, but want ot add drop down menu to it multichild Web Page Design 7 Jan 9th, 2007 16:07


All times are GMT. The time now is 12:17.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43