ActionScript 3.0 :: Controling An XML Based Scrolling Thumbnails?
Jun 20, 2009this is my code so far:
[Code]...
this is my code so far:
[Code]...
flash and actionscript but am a computer science student so code is ok. that said I wanna build a xml based scrolling thumbnails in an horizontal bar. each pic should have some effect when the mouse is over it + the scrolling bar should scrol left or right depending on the mouse pos+ the bar stops when am over a pic (with some conditions) I think this i all PS: I have only two days to do it
View 1 RepliesHaven't been here for a while and I'm really rusty using Flash. I looking for a tutorial or some information on how to scroll thumbnails by scrolling the mouse left or right over the thumbnails.
View 3 RepliesI have been working on a site that will display a portfolio for a friend of mine who is a photographer. I want to have thumbnails that can be scrolled on the bottom of the page, and an area where the thumbnail is presented when selected. I have the thumbnails appearing. I have them loading, however, I can't get them to scroll when the mouse moves to the left or right of the row of images. he file can be viewed at...[URL] Here is the code I used for the slideshow:
[Code]...
I'm building a site with flash (obviously) and it has multiple pages, now on one of these pages i wanted a scrolling menu with thumbnails that when you click them they take you to another page, but I'm not quite sure how to go about it. The methods I already tried haven't worked.
View 9 RepliesI need to develop a scrolling image bar, I have never ever used a 'scroll bar' in flash. What it needs to do is have around 10 thumbnail images, that you can scroll left to right to, then when you click the image enlarges?
View 1 Repliesjust watched Lee Brimelow's how to create a scrolling panel of thumbnails. I have no questions regarding the panel, but, rather, how do I add a link to each image of the scroll; so, when the user clicks one, a popup or new page opens showing not the thumbnail he clicked, but the real size image?
View 1 RepliesI followed a tutorial over at [URL] regarding scrolling thumbnails with the mouse pointer. Everything is working fine except the thumbnails are not stopping at the left and right x position that I have set. I'm tracing the x position of the thumbnail MC and it's showing that it's not changing, but the MC is definitely still moving. The code I'm using is:
Code:
panel.onRollOver = panelOver;
function panelOver(){
this.onEnterFrame = scrollPanel;
[Code].....
here is the source or the site reference path
[URL]
in that there is a xml phot gallery, i jus need the images to scroll within that panel.
I've created a two strips of Scrolling/Sliding Thumbnails, now one bar works, but the second keeps scrolling in a loop.I changed the instances names so that i can communicate with the Actionscript but, I placed both image bars on the main timeline, but i really have no idea what the actionscript means. I searched on the internet and i think i need to change the _root? into something else? [code]My second bar is called imgBar2, do i need to change the Var, aswell? to maybe myVar2?
View 3 RepliesI saw the xml gallery with vertical scroll and It kicks ***, since then, I�ve been trying to make it scroll horizontal but with no succes.
how to make the thumbnails in the gallery scroll horizontal instead of vertical?
I'm creating a gallery page for my site, and I need a side scrolling thumbnail display.
Basically it would have several thumbnails that would keep scrolling for ever (some how duplicating the content in a mask).
I have a photo browser that I am building, and so far itlooks good. It loads in however many images are listed in an XMLdocument to thumbnails, and then opens a larger window when youclick on them. The program basically stacks the thumbnails on topof one another in a movieClip, and you scroll through with a scrollbar or by dragging the thumbnails up and down directly. My issueis, once that movieClip gets to a certain size, Flash doesn't dealwith it well. Let's say I have 100 images I want to scroll through.If I stack them all up, and they are 150 pixels high with 25 pixelspadding each side, that's a 20,000 pixels high movieClip, and thatdoesn't fly. I thought about using a list component, but I need itto scroll smoothly, and not only a cell at a time.
Do folks have any ideas on how to do this? It's really keythat it scrolls smoothly, and that it can scroll by dragging photosdirectly up and down in the viewer. It's easy now because I canhave the dragging behavior attached to the thumbnail scroll, andnot each individual image, and I can move that one movieClip,rather than tracking the position of all the images
I am trying to build a slideshow with scrolling thumbnails and mouse control. I am fallowing a you tube tutorial. [URL] I have done everything that he says to do and I can not get it to scroll. He builds this in AS2 and I have changed my publish settings to AS2. The thing that confuses me is that he is able to get it to scroll before he puts the code in.
Attachments: Center Stage Salon Tour Slideshow.fla.zip (240.5 K)
I made a Photo Gallery using flex builder 3. I am having a MAJOR MAJOR issue though. Currently I have thumbnails scrolling by, when clicked the fullsize image shows up in the canvas above. Unfortunately I cannot get the thumbnails to loop around. Here is my current movement code.
ActionScript Code:
public function defaultMovement(e:Event):void {
e.target.x += 1;
if (e.target.x > 338) {
[code]....
I followed a tutorial at [URL]. I used this tutorial because I was interested in a continuously scrolling panel of Thumbnails instead of one that stops when you reach the end. Perhaps people know of another tutorial that accomplishes this and I can just use that one instead? While I can accomplish what he accomplishes, there was (I thought) an easy change. Instead of continuously scrolling I want the thumbnails to only scroll when the mouse is hovering over the thumbnails. You can see the current state of things at: [URL]. And the offending AS is below. I thought I could begin by telling the scrollbar to stop if myVar was equal to false, but I don't even know how to word that.
ActionScript Code:
_root.onEnterFrame = function(){
if(_root._ymouse<400 and _root._ymouse>480){
myVar=false;
} if(_root._ymouse>400 and _root._ymouse<480){
myVar=true;
[Code] .....
I have this project. It is an image gallery with scrolling thumbnails that when you click them will load the larger images. However, I can not get that part to work. The thumbnails load and scroll, but when I click them I get an error message.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at BannerVer3_fla:mcThumbsInside_6/imageLoadedThumbThree/BannerVer3_fla:gotoPage()[BannerVer3_fla.mcThumbsInside_6::frame1:124]
This is the AS3 for the thumbnail image.
Code:
var fader:MovieClip;
var photos:MovieClip;
var loaderThumbThree:Loader;
function loadImageThumbThree(url:String):void{
//Set properties for this loader
loaderThumbThree = new Loader();
[Code] .....
I am trying to make the bar in the Simple Flash XML Photogallery [URL] continuously loop and having a hard time. I don't really care if the mouse would control the thumbnails, just trying to have the thunbnails move left continuously. I have put two tutorials together and made the mouse control the thumbnails. I used the "Simple Flash XML Photogallery" and the "Scrolling Thumbnail Panel" from [URL] and came up with the file below. How to make this continuously loop or scroll. [URL]
View 1 RepliesI used the scrolling thumbnails to make a buttons that use attachMovie to load movieclips from the library to the stage. I think i have put it together correctly but nothing is loading into the holder.
i was doing testing on the first 2 thumbnails the first 2 chairs in the scrolling thumbnails
I wanted it to load movieclips from the library to the stage in a designated holder
here is the code i used for the scrolling thumbnails-
Code: Select allpanel.onRollOver = panelOver;
function panelOver() {
this.onEnterFrame = scrollPanel;
[Code].....
URL...Can anyone provide me with some code on how to make the scrolling thumbnails loop infinitely? So that when you reach the last picture on the scrollbar, it will loop to the first picture?
View 3 RepliesI built the photogallery (actually four!)[URL] with a main gallery that loads the four categories. I originally had the category names appear on rollover using hover captions.
[URL] Worked great! Now the client wants to nix the hover captions and add labels in text. I thought it would be a cinch to code but I am not getting anywhere with it. Here is the code I have...
[Code]....
I have added a movieclip "thumbTxt" to the library with a dynamic text field "tipText" in it. I would like to attach it to the thumbnail, add the label from the XML and position it above the thumbnails. I have tried attach movie and I am just at my wits end. I have googled and can't find a solution that works for me. I have a feeling it is something simple that I am just not seeing.
I've done some Action Script 2.0 before this, but never really moved outside of flash. meaning i can tween, animate, include buttons, so all the basics for a static website i can do, but now i'm currently doing some workplacement and am working on an xml based gallery.
I've gotten as far as being able to load a jpeg from a xml file into the swf. i also programmed a thumbnail panel. what it does so far is create as many thumbnails as there are nodes in the xml file. you can then scroll through them via mousemovement. what i can't figure out is how to load pictures into the thumbnails, seeing it is always the same movieclip but a different picture should be loaded in each one.
so here's some info on the code:
i create the thumbnails using the addChild Method. i add a movieclip called "thumbnail" from the library. like so:
for (var i:int = 1; i <= picamount; i++) {
createThumb();
function createThumb() {
[Code]....
I'm working on a flash module that basically needs to offer the ability for the user to scroll through a series of thumbnails in a carousel format. I currently have the following code which is creating my thumbails horizontally which is all working fine. [code]...
View 1 RepliesHow do I reuse the tween class in a scrolling thumbnails panel?
View 5 Repliesi want each image that opens up from the scrolling thumbnails below to have another set buttons relating to the main image. for instance:
[Code]...
numbers = buttons linked to another set of external images that are related to the big image. the problem is i don't know what controls the thumbnail/main image when i click on the scroller (i'm kinda lost in the code). so right now i have only one set of numbers regardless of which big image opens up.
I'm going to be building a site for a photographer and would like to be able to do something like the thumbnail navigation in this example: [URL] I'm assuming it's adding the thumbnails to the Display Object via an array based on an external XML file, and displaying them once their corresponding full-size images are loaded ... Perhaps it's building the nav simply by looking to see how many photos there are in a folder on the server (i.e. no discreet XML added for each shot). Not sure if this idea is even possible -- would like to hear from any of you if in fact it is.
View 0 Repliesi'm trying to setup a scrolling list of products but without the use of a scrollbar. It would be really thankful if someone would assist me in getting attached fla integrated with mouse based scrolling. So if the user moves his mouse to the upper corner of the product list then it would scroll up and vice-versa.
View 1 RepliesI've checked out a lot of the tutorials on this subject on the internet and they are overly elaborate, involving cameras, in previous versions of flash i would have just messed around with x and y values and xscales and y scales.Anyway my problems is I have a single bitmapdata image of perlinnoise 500x500 on a 500x500 stage. I'm trying to do this all in code.Now I have a few buttons at the bottom. ScrollLeft, ScrollDown, ZoomOut Etc.However when i make a listener to my buttons using Mouse Down im only getting a single increment of scrolling [code]When i click and hold the mouse on the button im just getting 1 pixel of movement, what i want to see is the scene move smoothly while i have the mouse held down.Additionally .scroll doesnt seem to work with floats?
View 9 RepliesI tried my best to search the forum before posting, but if this issue has already been addressed, I apologise in advance. My goal is to create a movieclip that will scroll vertically based on mouse movement, rather than mouse position.I've found many tutorials on the yugop scrolling menu, but my problem with this menu is that the scrolling continues even when the mouse has stopped moving, if the mouse position is on either side of the stage.
View 1 Repliescheck out: [URL] - great site
Does anyone know how this scrolling based on mouse position works?