ActionScript 2.0 :: Image Viewer - Crank Clockwise To Scroll Images Forward And Counterclockwise To Scroll Images Backwards
Apr 4, 2004
here is some code for a rotating crank that controls an image gallery. refer to the "image viewer stops?" thread in the flash mx forum (sorry don't know how to link to a forum yet!) for more info. attached is the fla. i want to be able to crank clockwise to scroll images forward and counterclockwise to scroll images backwards. If i keep cranking, i want the images to continue to change, if i stop cranking, i want it to stp on that image. it doesn't sem tooooo hard, i'm just numb from tryig to figure it out.
I have about a dozen thumbnail images aligned in a 3 X 4 grid. The dimension of the stage is smaller then the 3 X 4 grid therefore I will need a vertical scroll bar to scroll through my images. In addition, whenever the user rolls over one of the images the edges would glow. Also, when the user clicks on one of the images, it will bring them to a separate frame. I was wondering how I would attempt to do this. Since I will be frequently adding new thumbnails, I heard that I should look into XML. If I am to do this using XML, I am confused as to how I would do this.
What I want to accomplish is to have a up and down scroll w/ thumb images. Once you press on a image the thumb gets bigger and have the option to close the big image and back to all the thumbs..
I recently wrote a small script to display an endless scroll for 360 degree images. The image is loaded dinamically so I can use it as a viewer for all the 360 degree images in the site's gallery. It works fine, but I found one image that appears truncated even though everything else works as expected. I found this [URL] that says: The maximum image size of a Flash 2 movie is 2880 x 2880 pixels The image that is giving me this problem is larger than that and it seems to be cut at 2880px widht. Can anyone confirm this? And if so, is there any way to override it since I'm using pure as? Despite the years working with flash, I keep finding these nasty surprises. Last time I learned about the 16,000 frame limit when working on a cd presentation... I wonder what's next.
What do I do to make this rotate the line_mc move clip in a counterclockwise rotation when I scroll the mouse wheel up instead of down. Currently it rotates the movie clip in a clockwise fashion regardless of which way I scrool the mouse wheel.
[Code]...
ps. is there anyway to get this thing to ease when it rotates... instead of the jerky rotation it does now.
I have 2 movieclips. ro used for rotating and rect the movie that will be rotated.
I want when clicking and draging the ro movieclip clockwise or counterclockwise, the rect movieclip is rotated clockwise or counterclockwise respectively.
I allow the rect to be rotated according to mouseX and mouseY.
but it dose not work as I need.
I'd like you to show me a trick to achieve that as I want.
Here is the code:
var xPo:Number; var yPo:Number; ro.addEventListener(MouseEvent.MOUSE_DOWN, mouse_down) function mouse_down(e:MouseEvent):void
I been checking out the tutorials on this site, very nice indeed must say but i didnt find any for the issue that im stuck with, on how to load images into a scroll bar. Is it anything like loading external text into scroll bars at all?
Is there any way to program XML to call on ALL the images in a folder and have them work in a flash slide show. Rather than identifiying them by thier specific names can a system be used to identify what order they are to be presented regardless of how many you add or remove from the folder?
in other words is their a way to make an XML viewer that is adaptive and not restricted to "specified" images in a folder. It will just display the all the images that are currently in that folder.
have a swf file calling an xml file w/ several images. I want the first image to load in the swf, then the additional images in the xml file to load invisibly in the cache while the viewer looks at the first image.he point is to create a seamless flow through a gallery, rather than having each iamge preload.
I have the following scrip below, where I call some images through an XML, and create a gallery that every 3 seconds it moves to left, passing the pictures automatically. But my images are of different sizes in width, the height is the same.
var dados:XML = new XML(); dados.ignoreWhite = true; dados.load("xml/" + _root.xmlport);
I am building a "simple" xml image scroller. my scroller doesn't even have easing, it just needs to load the images via xml and then I want you to be able to scroll to the right and see more of them. There are only 5 images total, but on the site I'm working on they need to fit in a small area. My XML parsing code doesn't seem to be the issue as its pretty straight forward:
I am having problems getting images to scroll in flash. I have the images in a movie clip being loaded into a scroll plane, that works but in order for me to get the images to show up in the scroll plane I have to export the movie clip and have it load on the first frame. I can't do this because I have a preloader and its messing up my preloader. Is there anyway I can load that movie clip later in the movie and still have it show up in the scroll plane.
when you press the next button the images scroll all the way to the end and when you press prev button it scrolls all the way back, but i do not want it to do that, i want to be able to press the next button to view the next 3 or 4 thumbnails and press next again to view more and so on, and same the the prev button to reverse the scroller.
I have a client that is looking for a autoscrolling loop of thumbnail images as seen at this site [URL]. I have the CS3 Flash, Photoshop Dreamweaver etc and am a very persistent (read stupid) self taught entry level website builder.
I was hoping to use the model script and make simple adjustments of file names and loading specs but it has gone beyond my simple understanding.
I have 64 images which need to load 50 pixels apart starting with a 50 pixels pace. The image sequence will loop. Each image is of constant 385 pixels deep but widths vary and I hoped AS could load them in sequence at 100% instead of using a finite number for the width. The attached file shows the gallery images at bottom right, loaded but all stacked upon each other with the last image uppermost.
Code so far: this.createEmptyMovieClip("container",1); var imagesNumber:Number = 64; var baseX:Number = 0;
here i have a jpeg pic to show you want i want to do. i was wondering if you could tell me how i can make a mask so that i can make images scroll at the top of the screen in that rectangle box and the arrows on the left and right scroll the images from side to side. how can this be done
I would like to ask if anyone could help me to make a scroll menu with external images in it.I found such a tutorial ( URL...) which discribes how to make a scroll menu with picture. I want to make nearly the same, just with external pictures.
I m trying scroll pannnel to show image and dynamic text both in scroll panne but when i select dymanic text in text option it comes outer from scroll pannel but static text is coming.
I m trying scroll pannnel to show image and dynamic text both in scroll panne but when i select dymanic text in text option it comes outer from scroll pannel but static text is coming.
I'm having trouble with the scroll pane component in flash...becuase my portfolio images are quite large I wanted to put them into a scrollpane to easily view the whole thing. the problem is that when I dynamically load them, there is a delay everytime I click on the "next" button to view the next image.
I am looking to make a flash 'gallery' in which you would use buttons to scroll through the images, much like this: [URL] Only using buttons to scroll, instead of the mouse position.
I am going to create a scrolling panel with quite large image. The height will be 400px and the width will be different from image to image.
If I do this in only flash the swf will be too large for use on the Internet. So I want to load the images from a xml-document. And this is my problem:
How do I load my images into the panel from an xml-document? And the width of my panel should be as long as the total width of the images are.
how i can make a mask so that i can make images scroll at the top of the screen in that rectangle box and the arrows on the left and right scroll the images from side to side.