Image Gallery Tutorial (Example 1)
Actionscript 3, Flash Components, Tutorials December 24th, 2007This tutorial shows you how easy it is to create an image gallery using the Slideshow Component and the ThumbnailScroller Component.
For this tutorial i will use the AS3 version of the components but you will be able to download sample files for both the AS3 version and the AS2 version.
1. First, create 2 XML files and write the path to each image. For more information about working with XML see the components’ documentation.
2. Drag on the stage an instace of the Slideshow component and an instance of the ThumbnailScroller component.
3. Give each component an instance name. I will use mySlideshow for the Slideshow and myScroller for the ThumbnailScroller.
4. Go to the Component Inspector and give the path to the XML file for each component. In this example we have image.xml for the Slideshow and thumbnails.xml for the ThumbnailScroller. I also want to change the border to true and the border thickness to 5 for the Slideshow component and the border to true, the border thickness to 3 and the mouse move to true for the ThumbnailScroller component.
5. Create a new layer called actionscript and add this code:
-
import com.flashotaku.thumbnailscroller.events.ThumbnailEvent;
-
-
myScroller.addEventListener(ThumbnailEvent.CLICK, clickHandler);
-
-
function clickHandler(event:ThumbnailEvent){
-
mySlideshow.loadImage(event.item.id);
-
}
I won’t comment the code but if there is something you don’t understand, just ask.
That’s all you have to do to create this nice image gallery.
Download sample files for AS3
Download sample files for AS2
Support
As of 11 March 2009, support is no longer provided for the free components. If you need support, please purchase the commercial version of the components.
January 11th, 2008 at 9:03 pm
I am getting an unhandled IO Error 2044 that it cannot find the url I specified. I checked the name and everything and it is still not working. Any thoughts?
January 11th, 2008 at 9:51 pm
please give me more details about the problem or send the files to flashotaku [at] yahoo [dot] com to check it out
January 11th, 2008 at 9:56 pm
my first guess would be that the path to the image in the xml file is not correct
January 13th, 2008 at 9:57 am
Nicely done, though something keeps puzzling me.
Where the heck is it importing your class files from?
I have set global as3 import directories, which of course theres no way you could of put something in there when I wasn’t looking, and the files I extracted don’t have any external class files.
Just confused where its finding that thumbnail definition.
Koy
January 13th, 2008 at 11:49 am
When you install the MXP file, a SWC file is created in C:\Users\YourUserName\AppData\Local\Adobe\Flash CS3\en\Configuration\Components\FlashOtaku, ThumbnailScrollerAS3.swc . That package includes all the needed classes for this component.
There are only 2 important classes that you need to know about. ThumbnailScroller, which you use when you want to create an instance of the component only by code(not by dragging the component to the stage).
import com.flashotaku.thumbnailscroller.ThumbnailScroller;
The other class which you need to know about is ThumbnailEvent and you use this class when you work with events.
import com.flashotaku.thumbnailscroller.events.ThumbnailEvent;
If there is anything else you don’t understand, feel free to ask. :)
January 14th, 2008 at 6:40 am
Ah hah silly me…
January 16th, 2008 at 6:08 am
Thank you so much for offering these files in both AS2 and AS3. As much as I would like to learn AS3, I haven’t had the time (yet) and having these valuable components will save some time until I do learn AS3!
AWESOME…simply AWESOME!
January 16th, 2008 at 9:43 am
I’m very happy to hear that you like these components. :)
February 6th, 2008 at 10:37 am
Nice work! Thanks!
February 27th, 2008 at 3:25 am
Hi, nice component really! I have a question, its posible to blur the images in the scroller leaving the image above the mouse cursor whitout that effect? I dont know if its clear my question.
anyway, awesome work!
February 27th, 2008 at 9:04 am
Hi juan,
It’s possible. See this tutorial http://flashotaku.com/blog/roll-over-effect-for-the-thumbnailscroller
March 8th, 2008 at 11:00 am
I would like to integrate this with slideshow pro director. Any suggestions of how this can be done? The xml is where I seem to have hit a snag.
March 8th, 2008 at 6:59 pm
sorry but I don’t have slideshow pro director, so I don’t know how it works…
April 1st, 2008 at 12:16 am
Great gallery! What would I need to add to have the thumbnail enlarge when it is rolled over and shrink back when rolled off?
April 1st, 2008 at 10:16 pm
hi FlashOtaku
thanks for the help with the vertical thing. but now i am facing another problem. i have loaded ur gallery using
loadMovieNum(”/gallery1.swf”,2);
but now the gallery loads up but its not reading off the xml. i tried giving the correct path to the xml files also but its not working. can u help me with this?. thanks in advance:)
April 18th, 2008 at 12:16 am
why is it giving me all this errors?? nothing displays when I Comand+Enter… :(
TypeError: Error #2007: Parameter url must be non-null.
at flash.display::Loader/flash.display:Loader::_load()
at flash.display::Loader/load()
at com.flashotaku.thumbnailscroller::ThumbnailScroller/::createThumbs()
at com.flashotaku.thumbnailscroller::ThumbnailScroller/::onXmlComplete()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at FinalHomePage_fla::MainTimeline/repeatout()
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
April 18th, 2008 at 12:56 am
ok, so, now I solved it… but now the problem is in the “output” window… it only works once and then it stops working, the following its displayed in the “output”:
“Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.”
I have no idea!!! how do I fix this? I have checked my path in the xml file and everything…. help! please :) :)
April 18th, 2008 at 11:20 am
That error probably is because the path to the image, in the XML file, is not correct…please check the path again.
April 18th, 2008 at 7:37 pm
of course that’s what it was, now I really have 2 pay attention 2 what I type… dumb mistakes, I know… :(
April 23rd, 2008 at 12:31 am
Hey FlashOtaku, got a quick question and hopefully a quick fix. I’m getting an error that appears to be from the class. Got any ideas?
TypeError: Error #2007: Parameter url must be non-null.
at flash.display::Loader/_load()
at flash.display::Loader/load()
at com.flashotaku.slideshow::Slideshow/loadContent()
at com.flashotaku.slideshow::Slideshow/nextImage()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
April 23rd, 2008 at 9:08 am
Hi Robstranaut,
Check to see if all paths are correct. If you can’t find anything wrong, you can send me your file to check it.
April 23rd, 2008 at 5:30 pm
Hello FlashOtaku,
Thanks for taking a minute to help me figure this out. All the paths seem to be correct. I’m getting a new error now. It’s below. If it’s not an easy fix, i’ll send ya the file. How would i attach the file if so? Thanks again!!
“ERROR MESSAGE”
Decription: 1046: Type was not found or was not a compile-time constant: SlideshowEvent.
April 23rd, 2008 at 6:03 pm
You’re getting this error because you need to import the SlideshowEvent class. Add this line of code
import com.flashotaku.slideshow.events.SlideshowEvent
If you want to send me the file contact me and I’ll get back to you, or you can use an online file sharing service.
April 23rd, 2008 at 8:23 pm
That’s exactly what it was! I forgot to include that line at the top of my actions. Thanks for all your help! You’ll be getting a donation shortly!
I suggest everyone in this post and other Otaku downloaders do the same. Great FREE components and great support!
April 23rd, 2008 at 9:04 pm
Thanks a lot ! :)
May 20th, 2008 at 6:07 pm
Great component!! Thank you for sharing
June 7th, 2008 at 8:59 pm
Hi there
I’m new at flash & xml, and I’ve been reading around and trying to learn
I’ve downloaded your components and I’ve been trying to follow the same steps that you have in the tutorial.
I keep getting the following error:
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
Any help??
June 8th, 2008 at 8:44 pm
Hi,
That error is because, in the XML file, the path to each image is not correct.
June 24th, 2008 at 4:31 pm
Hi FlashOtaku,
great gallery but i would like to know how i can remove some of the image transitions(effects). There is just 1 i would like to loose.
Thanks
June 24th, 2008 at 7:16 pm
Hi,
You can’t exclude an effect if you have transitionEffect = “random” but what you could do is create an array with all the effects you would like to use and then just pick a random effect from the array.
June 25th, 2008 at 8:11 am
Thanks that work for me.
July 2nd, 2008 at 11:56 pm
I have seen your works. great… on your library, what component or compiler do actually use in this tutorial…?
July 3rd, 2008 at 12:30 pm
For this tutorial I’ve used the AS 3 version of the components in Flash CS3. The AS 2 files are also available.
July 25th, 2008 at 9:27 am
Will I be able to load papervision3D files with this?
July 25th, 2008 at 11:57 am
I’ve never tried but I guess it should work if you load a SWF that is built using PV3D.
July 28th, 2008 at 10:24 pm
[...] Image Gallery Tutorial [...]
August 8th, 2008 at 1:22 pm
[...] Image Gallery Tutorial [...]
September 2nd, 2008 at 4:46 am
Hi,
I’ve completed the tutorial and my image viewer works very well. I’m trying to enhance the scroller by having it slide as I move the mouse from left to right. Just like you have in your embedded example above.
The AS3 version only allows me to add the “left” and “right” buttons to move the images. The AS2 version allows for the sliding effect as you have your curser. How can I enable this functionality in AS3?
Thanks,
Alex Kirkwood
September 2nd, 2008 at 10:35 am
Hi Alex,
Both the AS3 and AS2 versions have the same features. To enable the mouse scroll feature, open the Component Inspector and change “mouse move” property to true.
September 2nd, 2008 at 3:57 pm
Hi
I’ve got one quick question regarding to this problem. Is it possible to dynamically change size of images in main window?
September 2nd, 2008 at 4:52 pm
Hi,
Yes, you can use the setSize method for that.
e.g. mySlideshow.setSize(400, 300);
September 2nd, 2008 at 6:09 pm
Thanks!
I’ve just found that it is easier to modify parameters scale mode to mantain aspect ratio!
September 17th, 2008 at 4:08 pm
Hello!
first of all, thanks you for your file
i would to know how i can add 2 buttons previous and next (what the code will be in as) for the big images of the slideshow.
sorry for my english :)
thanx u
shirel
September 17th, 2008 at 8:56 pm
Hi,
You can see how it’s done here or here.
September 18th, 2008 at 8:10 am
thankkkks u very much
shirel from france :))
September 22nd, 2008 at 12:42 pm
Hi!
in fact, i would like to add to this gallery called:
“gallery_ex3_as2_reflection” 2 buttons next and previous keeping also this thumbnail scoller.
please help me!!
thanx u
shirel
September 22nd, 2008 at 4:53 pm
Hi,
First you need to add the 2 buttons and give each an instance name, let’s say “next” and “prev”. Then add this code:
import flash.events.MouseEvent;
next.addEventListener(MouseEvent.CLICK, buttonClickHandler);
prev.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void
{
if(event.currentTarget == next)
{
mySlideshow.nextImage();
}
else if(event.currentTarget == prev)
{
mySlideshow.prevImage();
}
}
September 23rd, 2008 at 8:51 am
Hi!
first of all, thanks you very much for your help.
i tried to put this code but when i try, i have an error which tells “impossible to load flash.events.MouseEvent” even if i add in this code :import com.flashotaku.slideshow.events.SlideshowEvent;
so i try to put only one next button with this code
nextbutton.onRelease = function() {
mySlideshow.nextImage();
}
but when it arrives at the last image, it doesn’t work anymore. even the vertical scroller doesn’t work. There is like a bug on my animation.
if you have an idea :))
thanx u
shirel
September 23rd, 2008 at 11:22 am
Hi shirel,
The code I posted was for the AS3 version. If you use AS2, you don’t need to import flash.events.MouseEvent.
Your code for the next button is correct but I don’t know why it stops working at the last slide. If you want you can send me your file at flashotaku [at] gmail [dot] com or you can post your code here.
September 23rd, 2008 at 2:59 pm
Hi!
i found my error; i’m so sputid!
it was in the xml file, i add one image more which doesn’t exist.
however, thanks you very very much for your patience and your help!
bye
September 27th, 2008 at 5:16 pm
Is it possible to use the left and right arrows to go from image to image?
September 29th, 2008 at 1:08 pm
Yes, it’s possible. Just create the 2 button, “left” and “right”, and add this code.
import flash.events.MouseEvent;
left.addEventListener(MouseEvent.CLICK, clickHandler);
right.addEventListener(MouseEvent.CLICK, clickHandler);
function clickHandler(event:MouseEvent):void
{
if (event.currentTarget == left)
{
mySlideshow.prevImage();
}
else if (event.currentTarget == right)
{
mySlideshow.nextImage();
}
}
October 2nd, 2008 at 6:36 am
FlashOtaku,
Thank you very much for your help and reply. This is such a wonderful component. I’m using it on our feature motion picture website localcolormovie.com. It’s wonderful.
I am in the process of creating a press site for media outlets. They will need to download print quality images. I was hoping there would be a way to display the thumbnails and main slideshow images at smaller file sizes, while having a “download print quality” button that will begin downloading a 3-5 megabyte file.
Any ideas?
October 3rd, 2008 at 12:58 pm
Hi Alex,
That’s a really nice website.
About your question, see this example: http://flashotaku.com/files/gallery_ex11_as3.zip
October 6th, 2008 at 7:25 pm
Dear FlashOtaku,
Amazing. It’s working perfectly. I’ll let you know when the press site is finished if you’re interested.
I was wondering if you have any tutorials or even ideas on how to implement captions. Press contacts love captions and I’m trying to think of way to implement that.
Thanks,
Alex Kirkwood
October 7th, 2008 at 11:14 am
Hi,
Maybe this tutorial would help http://flashotaku.com/blog/yet-another-image-gallery/
October 8th, 2008 at 12:30 pm
hey otaku,
thanks a lot for that, really great components!
one question, is there a way to display the image titles from an xml? client requires title canvas sizes for the paintings to be displayed, couldn’t figure this out, searched the messages here, but couldn’t find it …
thanks a lot for your help, and again, great stuff!
October 8th, 2008 at 3:24 pm
hey,
sorry, i finally found it on top of your blog, should have looked more thouroughly ; ) >> thanks!
October 15th, 2008 at 10:54 pm
FlashOtaku,
I’m retarded. I can’t seem to get this to work. I’ve been trying to add the pieces of code from your image gallery with captions to my image gallery with HQ links (for hi res):
Below is what I’ve managed:
import com.flashotaku.thumbnailscroller.events.ThumbnailEvent;
import flash.events.MouseEvent;
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.net.navigateToURL;
// will store the ID of the current slide
var currentId:int = 0;
myScroller.addEventListener(ThumbnailEvent.CLICK, clickHandler);
downloadButton.addEventListener(MouseEvent.CLICK, downloadClickHandler);
function clickHandler(event:ThumbnailEvent):void
{
mySlideshow.loadImage(event.item.id);
currentId = event.item.id;
}
function downloadClickHandler(event:MouseEvent):void
{
navigateToURL(new URLRequest(hqArray[currentId]));
navigateToURL(request, “_self”);
}
// parse the XML file and populate the hqArray with the location of each high quality image
var hqArray:Array = [];
var urlRequest:URLRequest = new URLRequest(”images.xml”);
var urlLoader:URLLoader = new URLLoader(urlRequest);
urlLoader.addEventListener(Event.COMPLETE, onXmlComplete);
function onXmlComplete(event:Event):void{
var xml:XML = new XML(event.target.data);
var xmlList:XMLList = xml.children();
var nr:int = xmlList.length();
for(var i:int = 0; i<nr; i++){
descriptionArray[i] = xmlList[i].attribute(”description”);
if (xmlList[i].attribute(”hqPath”) != undefined)
{
hqArray[i] = xmlList[i].attribute(”hqPath”);
}
}
descriptionArray[i] = xmlList[i].attribute(”description”);
}
import com.flashotaku.thumbnailscroller.events.ThumbnailEvent;
import caurina.transitions.Tweener;
mySlideshow.addEventListener(SlideshowEvent.SLIDE_INIT, hideText);
function hideText(event:SlideshowEvent){
Tweener.addTween(myTitle, {alpha:0, _blur_blurX:20, _blur_quality:2, time:.7, transition:”linear”, onComplete:showText, onCompleteParams:[event.slide.id]});
Tweener.addTween(myDescription, {alpha:0, _blur_blurX:20, _blur_quality:2, time:.7, transition:”linear”});
}
function showText(nr){
myTitle.text = titleArray[nr];
myDescription.text = descriptionArray[nr];
Tweener.addTween(myTitle, {alpha:1, _blur_blurX:0, _blur_quality:2, time:.7, transition:”linear”});
Tweener.addTween(myDescription, {alpha:1, _blur_blurX:0, _blur_quality:2, time:.7, transition:”linear”});
}
This code gives me the following error:
1046: Type was not found or was not a compile-time constant: SlideshowEvent.
October 16th, 2008 at 2:12 pm
Hi Alex,
You’re getting that error because you need to import the SlideshowEvent class.
import com.flashotaku.slideshow.events.SlideshowEvent;
October 19th, 2008 at 3:12 am
Hi FlashOtaku!
I’ve been working on this gallery all day. When I add images (more than 10) to the xml image file and thumbnail file I start to get errors when I test the code. If there are only 10 images it works okay. I am really NEW to this flash stuff and I can follow things. It’s not making sense as to why it’s not working.
This code written in xml WORKS
BUT THIS DOESN’T WORK:
The ERROR I get is when I add extra images to the xml file:
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
I really like the look for your simple image gallery, it works with what I am wanting to do. I would love to have this working properly. If you could please let me know what I am missing, I would greatly appreciate it. Thank you for your help.
Sincerely,
Jennifer
October 19th, 2008 at 3:13 am
Here’s the code that isn’t working
October 19th, 2008 at 3:15 am
Humph… I don’t know why the xml isn’t showing up. Anyhow… when there are images from 0-9 the gallery works. But if I have images added, which make the number 0-14 or 0-32, I get the error:
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
I hope that makes sense.
October 19th, 2008 at 3:17 am
This is the action script I am using. I just want the basics, no arrows:
import com.flashotaku.thumbnailscroller.events.ThumbnailEvent;
myScroller.addEventListener(ThumbnailEvent.CLICK, clickHandler);
function clickHandler(event:ThumbnailEvent){
mySlideshow.loadImage(event.item.id);
}
October 19th, 2008 at 6:28 am
I FIXED IT! WOW… I don’t get why I was having the problems but it’s now working the way I thought it should. THANK YOU very much for this gallery. It’s helped me out a lot! Have a good day!
October 27th, 2008 at 7:00 pm
Hi Flaskotaku, thanks for sharing and publishing this tutorial! It’s really helpful. I used this to create a photo gallery in my first website but I have some problem.
I have included about 70 pictures into ‘Album’ section of my site. The thumbnails works fine, but the slideshow area does not load after loading 4-5 pictures. Do you know why?
Thanks
Stephen
October 28th, 2008 at 11:29 am
Hi FlashOtaku.
First of all thanks for sharing your work.
Second, i can’t beleaive how patient a person must be to repeat so many times ‘the path to the image in the xml file is not correct’..
Now my question, let’s see if it’s possible to do this:
I want the tumbnails to move alone while the mouse is out of them, and to return to normal behavior while the mouse is over the thumbnails.
Is there a function i can call in the thumbnail object to force the thumbnail movement and return it’s normal behavior when the mouse is inside the component?
October 28th, 2008 at 11:39 am
Hi Again, i have been around your website and i found the component docs, so i have been able to do it myself.
Thank you very much again.
October 28th, 2008 at 12:24 pm
Now i have a new question :D, is it possible to connect the first image to the last in order to loop all images?
If not (as i guess), does the thumbnail throw any event when it has moved to its end in order to command it to move to the other side?
October 28th, 2008 at 5:55 pm
Stephen,
Please check all the URLs. Probably there’s some of the paths used for the slideshow are not correct.
Motoko,
Sorry, but there’s nothing that could allow you to implement that behavior. I know this would be a pretty important feature and the next version of the component will have more features including looping but it will also have a fee attached to it :P
October 29th, 2008 at 11:33 am
Hehe ok thanks anyway FlashOtaku, i think i will try to make a tiny function that will guess counting on speed and move amout and width the time needed to show all images.
It’s the kind of things i don’t like to do, but i have to everyday ;).
Many thanks again FlashOtaku!!
January 21st, 2009 at 8:59 am
Hi FlashOtaku,
Thanks for the tutorial, it’s really useful.
I downloaded the AS2 one. Is it possible to reduce the speed of scrolling thumbnail, cause i feel its to fast?
Could you please help me with this. Thanks
January 21st, 2009 at 12:42 pm
Hi,
You can reduce the speed by setting a higher value for the ’speed’ property. You can set the ’speed’ property in the Component Inspector or using code: myScroller.speed = 20.
January 25th, 2009 at 3:45 am
How do i create the scrolling images, I’ve tried all day to get it working but was unsuccessful.
I am currently using AS3 to build my image gallery, all i need is to load the
image once it is clicked. I dont was to use XML at all if its possible.
January 26th, 2009 at 1:02 pm
Hi key,
You can download the example and see exactly how it’s done. It’s not possible not to use XML.
January 30th, 2009 at 12:00 pm
Hi FlashOtaku,
i’ve downloaded your example for AS2 of this image gallery which use text in it but i couldn’t find it again in the forum, so that i write my question in here. sorry about that.
what should i do if i want to break the text into a new line and add new text field.
i’m working with mac, so i have to embed the font so it will appear in windows base browser, but the file become very heavy. since you are the expert, do you have any other idea that i can apply to reduce the file size? Thanks alot…..
January 30th, 2009 at 3:28 pm
Hi,
There’s not much you can do about that. Make sure you only embed characters that you need.
January 30th, 2009 at 3:52 pm
Any idea how to break the text into a new line and add a new text field?
Please help. Thanks
January 30th, 2009 at 4:03 pm
In this you can see 2 text fields: one for the title and one for the description. Following the same methods, you can create as many text fields as you want.
January 31st, 2009 at 3:58 pm
FlashOtaku, how can i change the preloader using other preloader? is it possible to do it?
Thanks.
February 2nd, 2009 at 2:20 pm
You can use the SLIDE_PROGRESS event to see the the loaded bytes and the total bytes for each slide. By knowing those 2 values you can create any custom preloader.
mySlideshow.addEventListener(SlideshowEvent.SLIDE_PROGRESS, slideProgressHandler);
function slideProgressHandler(event:SlideshowEvent)
{
trace(event.slide.bytesLoaded, event.slide.bytesTotal);
}
February 3rd, 2009 at 6:09 pm
Hi there i have been reading through all the posts on your component, I have tried the tutorial and it works great but i want to know if it is possible to add dynamic text for each image in the image viewer, i am not a great expert in flash but i have made your tutorial work with all my images already, can you help.
February 4th, 2009 at 1:57 pm
Hi,
See this tutorial: http://flashotaku.com/blog/yet-another-image-gallery/
March 12th, 2009 at 5:47 am
Hello, is component is free? no water mark? work forever? not comercial links? thank you
March 12th, 2009 at 6:07 am
is possible change mouse pointer hand in Thumbnail and is possible turn on slideshow and buttons pause, play and stop? thank you
March 12th, 2009 at 9:41 am
Hi,
The component is free and you can use it in commercial projects as well. BUT no support is provided as of yesterday. If you need support, you have to purchase the commercial version: Slideshow, Thumbnail Scroller
March 12th, 2009 at 4:02 pm
Hello thank you, but before buying I need to know, is possible change mouse pointer hand in individual Thumbnail and is possible turn on slideshow and buttons pause, play and stop? and accept borders in individual Thumbnail ? thank you!
March 12th, 2009 at 4:19 pm
Hi Rafael,
Yes, you can do those things.
March 12th, 2009 at 10:21 pm
Hello, a function :
import com.flashotaku.thumbnailscroller.events.ThumbnailEvent;
myScroller.addEventListener(ThumbnailEvent.MOUSE_OVER,mouseOverHandler);
function mouseOverHandler(event:ThumbnailEvent)
{
myScroller.useHandCursor = true;
}
dont work in free component? not work for me.
March 12th, 2009 at 10:26 pm
It’s myScroller.handCursor = true;
March 12th, 2009 at 10:47 pm
hello! not work myScroller.handCursor = true; thanks
March 12th, 2009 at 10:56 pm
It works but you need to re-download the component from http://flashotaku.com/blog/thumbnailscroller-component-as3/ and then replace it in your project.
March 12th, 2009 at 11:12 pm
Hello thank you for attention, i re-download and apply
myT.addEventListener(ThumbnailEvent.MOUSE_OVER,mouseOverHandler);
function mouseOverHandler(event:ThumbnailEvent)
{
myT.useHandCursor = true; //if use myT.handCursor = true; cause error
}
Not Work :(
March 12th, 2009 at 11:16 pm
It was to work. Probably you didn’t update the component in your library.
March 12th, 2009 at 11:21 pm
Hello, I did not modify the example http://flashotaku.com/blog/thumbnailscroller-component-as3/ after download i open .fla and include script in top frame , :(
March 12th, 2009 at 11:25 pm
See these instructions on how to update the component http://flashotaku.com/forum/viewtopic.php?f=3&t=5
It’s the same for the free component.
March 13th, 2009 at 12:10 am
i install this new component in other machine and not work, well, thank very much por attention. bye
March 13th, 2009 at 12:17 am
It works for me and it works for other users. You must be doing something wrong.
March 13th, 2009 at 12:44 am
finnaly, i include myT.buttonMode=true;, work! thank you
June 11th, 2009 at 3:05 am
Hi, I installed the Thumbnailscroller and Slideshow components as instructed. I also followed this tutorial. Everything works until the actionscript part. I am getting an error saying: 1046: Type was not found or was not a complile-time constant: ThumbnailEvent. I am also not finding the ThumbnailScrollerAS3.swc at C:\Users\YourUserName\AppData\Local\Adobe\Flash CS3\en\Configuration\Components\FlashOtaku. Actually, I don’t have a FlashOtaku folder at this path at all.
Please instruct! Thanks!
June 11th, 2009 at 9:49 am
I’ve answered on the forum.
September 18th, 2009 at 3:58 am
Is there a limit on how many images we can add? I’ve updated the xml files with 51 images, however only 7 of them are being displayed?
Thanks!
September 18th, 2009 at 4:29 am
I figured it out. These components are fantastic. I cannot thank you enough!