Login / Sign Up

3D Carousel Menu FX


    
  • FREE ARCHIVE
  • - Fully functional, no limitations
  • - Easy to install on any website without Flash
  • - XML configurable
  • - FlashXML.net labelled
DOWNLOAD

COMMERCIAL ARCHIVE

  • - Label FREE ( FlashXML.net )
  • - customizable AS2+AS3 components for new or current Adobe Flash projects
BUY FOR 12 USD
  • DETAILS
  • FREE INSTALL
  • FLASH INSTALL
  • LICENSE


 

Non-Flash users:

To install this component for FREE in your website read the step by step instructions

 

Flash users:

If you want to use this component in a new or existing Flash project, read the Flash installation details

 

How to install this Carousel on your website



Step 1. SWF embedding

Download the carousel.zip archive and put all the files from this archive into the same folder with the HTML file in which you want the component to be embedded.

You should know first of all that the SWF file is the one that actually represents the component, while the other files (settings.xml, images.xml and JPGs in the images folder) are the assets that the SWF file uses.
A short explanation on how SWFs and XMLs interacts you will find here.

Open your HTML file with a text editor and insert somewhere between the <head> </head> tags the following lines:

 

<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
var params = {};
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
var attributes = {};
swfobject.embedSWF("carousel.swf", "CarouselDiv", "600", "400", "9.0.0", false, flashvars, params, attributes);
</script>

 

For a fast and easy publishing, the best thing to do is to have the SWF file, the HTML file which embeds the SWF, the swfobject.js file, and the assets that the SWF uses (XMLs, JPGs folder) in the same folder.
If that is not possible, please read this detailed article on how to specify the paths correctly.

The above code itself isn’t enough to publish the SWF file on your webpage. You just need to add a div somewhere in the body section of your page (between the <body> </body> tags of your HTML file).
So, in a specific location of your HTML body section insert this div:

<div id="CarouselDiv"></div>


Step 2. Customization

You’ll be able to define a maximum size of 1680 in width and 1050 in height in the 3rd and 4th arguments of the swfobject.embedSWF() function above. Usually the same values as for carouselWidth and carouselHeight (which you will set below).

Now you will have to define the properties of your Carousel.

You can do that in two ways:
1. By editing the settings.xml file, or much simpler, set your values on the Live Demo above and press Generate settings.xml button, then select all (Ctrl+A) and copy-paste over the existing content of settings.xml file.

2. By using FlashVars. Right after this line:

var flashvars = {};

insert the values you desire for each property, like this:

flashvars.imagesXML = "images.xml";
flashvars.rotationAngle = "20";
flashvars.showCenteredImage = "true";

Note that the properties written through FlashVars will override those written in the settings.xml file.

If you intend to have multiple carousels on the same page, for the same carousel.swf file you’ll need to have different settings.

As a warning, setting useBlur to true and a high value to blurIntensity could considerable increase the CPU usage.

For a transparent background set in settings.xml file:

<backgroundColor value="0" />

or through FlashVars:

flashvars.backgroundColor = "0";

All is left to do is to put your own images, add the tooltip text and add the behavior for when clicking each image. All these through the images XML file. Open the images.xml file (or whichever file you specified as the imagesXML property in the settings.xml file) and define in each row the image path, the URL to go to when clicking the image, the target (_self for the same browser window, or _blank for a new browser window), and the tooltip text.
You can have as many images as you like. To add a new image add a new row in the XML file.

The Lightbox functionality (showing a bigger image and a description when clicking on an image) is provided too in the carousel.zip archive, specifically in the index-with-lightbox-test-on-http-server.html file.

carousel.swf has a total size of 50 KB and embeds only the Verdana font. To be able to embed any other font you’ll need the Carousel Flash component.

If you’ll want to use the Carousel in Flash projects (FLA files), the Carousel is available as a Flash component (MXP file) in the commercial archive available at FlashComponents.net

Instructions on how to use the Carousel component in Flash you will find here.

 

 

How to install this Carousel in a new or existing Adobe Flash project

 

Below you will see instructions on how to install and use the 3D Carousel Component (commercial package) in Flash (available for Flash 8, Flash CS3, CS4, and Flash Player 9 or later).

For basic instructions on how to integrate the Carousel’s SWF file into HTML/PHP, click here.

You can watch an instalation video tutorial of the component in Flash by clicking here.

In this video you will also see:
- how to create an instance of the Carousel on the stage: from the Components panel (Ctrl+F7) drag & drop the Carousel component on the stage
- how to give a name to that instance for further use in ActionScript: click on the component instance on the stage and from the Properties panel (Ctrl+F3) enter a name (let’s say Carousel) in the text input
- how to access the properties of the Carousel (read or modify) during different moments of your Flash application

Any of the 50 properties of the Carousel could be accessed that way. The names of the properties are identical with the ones you see on the Live Demo.

For example, at any point during your Flash movie you can set:

Carousel.perspective = 30;
Carousel.stopOnRollOver = true;
Carousel.rollOverBehavior = "max";

or you can simply read the values:

var b1:Boolean = Carousel.useReflection;
var s1:String = Carousel.inverseRotation;
var n1:Number = Carousel.stoppingSpeed;

The properties of the Carousel can be of any of the three types: Number, String, Boolean. I assume it’s intuitive of which type each property is, and I will not make a list.

Warning! Setting the parameters of the Carousel component in the Component Inspector window (Shift+F7) and in the same time having a settings.xml file populated with different values for each property, the properties from the settings.xml file will have priority (meaning that a parameter set in the Component Inspector will be ignored if that parameter is also defined in the XML file)

Now maybe the most useful information consists in the events the Carousel is dispatching, and instructions on how to catch these events.

So when the user clicks on an image, the Carousel dispatches:
- thumbPressed (when the mouse was pressed)
- thumbReleased (when the mouse was released)
Along with these events, the id of the thumb pressed or released is being dispatched.
Usually you will use just one of these two, personally I like to use thumbReleased.

Other events:
- rollOverThumb
- rollOutThumb
- thumbLoaded
- frontThumb
(all these three come too with the id of the thumb being rolled over / rolled out / loaded / frontmost)
- allThumbsLoaded

Note: the order of the ids is given by the order of the images in the images.xml file.

Here is an example on how to catch these events:
in AS2:

var event1:Object = new Object();
Carousel.addEventListener("thumbPressed", event1);
event1.thumbPressed = function (obj:Object) {
trace (obj.id);
}

in AS3:

addEventListener("thumbPressed", thumbPressed,true);
function thumbPressed(event:Event):void
{
trace("thumbPressed " + Carousel.id);
}

If you’ll catch the events of the Carousel and create different behaviors for clicking the thumbs, you may want to de-activate the option of going to a specific URL address in the images.xml file. To do that, simply delete the url or target attributes in the images.xml file.

 

 

Personal License (details ...) 12 USD Add to cart

By purchasing a "Personal License" you are entitled to use this product in one website or other multimedia project, personal or non-commercial work.

If you want to use it in multiple personal websites you will have to purchase a license for each personal website or you can purchase the Special License below.

This license applies for a single person/company/organization. If you want to use this product for your clients then you will need to purchase a suitable license for each of your clients.

If the website or project in which this product will be included generates money in any form then you will need to purchase the "Commercial License" below.

You may not redistribute or resell this product as a whole or in parts, but you may modify its contents.

 

Commercial License (details ...) 36 USD Add to cart

By purchasing a "Commercial License" you are entitled to use this product in one commercial website or other multimedia project.

If you (or your company) want to use it in multiple commercial websites you will have to purchase a license for each website or you can purchase the Special License below.

This license applies for a single person/company/organization. If you want to use this product for your clients then you will need to purchase a suitable license for each of your clients.

You may not redistribute or resell this product as a whole or in parts, but you may modify its contents.

Special License (details ...) 97 USD Add to cart

By purchasing a "Special License" you are entitled to use this product in an unlimited number of websites or other multimedia projects, personal OR commercial projects.

This license applies for a single person/company/organization. If you want to use this product for your clients then you will need to purchase a suitable license for each of your clients.

You may not redistribute or resell this product as a whole or in parts, but you may modify its contents.

  • COMMENTS
Loading comments... If comments don't show up in 5 seconds, click to load

Leave a Reply

Only alphanumeric characters allowed
Please type a message!
Format your comments using Textile: *bold*, _italic_, "link text":address,
@code@