Flash Components Mashups - Part 2
Flash Components, Tutorials April 15th, 2009This post is Part 2 of the Flash Components Mashups series.
In this tutorial I will make the application a little more interactive. I’ll let the “Auto Slideshow” feature activated, but this time I want to be able to jump to different slide when I click on a thumbnail. For this example I will use the StackFlow and the Slideshow components. Click on the bellow image to see exactly what we’ll be trying to achieve.
Like in the previous tutorial, I want that each time a slide is opened, the StackFlow component to scroll to the corresponding thumbnail. The code for this is the same as in the previous tutorial.
-
import com.flashotaku.events.SlideshowEvent;
-
-
mySlideshow.addEventListener(SlideshowEvent.TRANSITION_START, transitionStartHandler);
-
-
function transitionStartHandler(event:SlideshowEvent):void
-
{
-
myStackFlow.select(event.index);
-
}
Next I need to add the code which will allow as to open a slide when we click an item from the StackFlow. This is also pretty simple to do.
-
import com.flashotaku.events.StackFlowEvent;
-
-
myStackFlow.addEventListener(StackFlowEvent.ITEM_CLICK, itemClickHandler);
-
-
function itemClickHandler(event:StackFlowEvent):void
-
{
-
mySlideshow.openSlide(event.index);
-
}
That’s all the code we need for creating this advanced flash gallery.
The same steps need to be followed if you want to use a different component, like Carousel, Thumbnail Grid or Thumbnail Scroller.
More example bellow.




July 1st, 2010 at 9:22 am
Buy:Arimidex.Zyban.Valtrex.Zovirax.Actos.Petcam (Metacam) Oral Suspension.100% Pure Okinawan Coral Calcium.Lumigan.Human Growth Hormone.Mega Hoodia.Nexium.Synthroid.Prevacid.Prednisolone.Retin-A.Accutane….
August 30th, 2010 at 7:00 am
Vitamins http://ywhyh8c7.bestpartsstore.info/tag/Hair+vitamin+Vitamins/ : Vitamins…
Hair…