ActionScript 2.0 :: Dynamic Thumbnails From XML?

May 29, 2007

I am building a dynamic thumbnail gallery, where each image links to a fullsize version. (Sounds simple so far, but wait!) The thumbnails are created dynamically - an xml document provides the image path and description. I create a movie clip for each one on the fly, then load the appropriate image into it.

My problem is when I try to convert each movieclip into a button which loads the fullsize image. Each button loads the same image- the last one in my xml document. If I try placing "img[i]" inside the onRelease function, it comes up undefined. Here's that bit of code:

var thisimage=img[i];
eval("thumbnail"+i).onRelease = function()
{
// do something
loadMovie (thisimage,_parent.emptyclip);
}

And here is all the actionscript:

var xpos=0;
function loadXML(loaded) {
if (loaded) {

[code]...

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Create Dynamic Thumbnails From Video

Jul 23, 2010

is there a way to create dynamic thumbnails taken from a streaming video?

View 9 Replies

ActionScript 2.0 :: Dynamic Thumbnails Loading 3 Per Line

Jun 1, 2005

Who knows how to get this kinda menu: [URL] to only display a certain number of items per line? (I'm referring to flash file down the page a little that says "Choose Thumbnail" on it. The source code for this flash file can be found on page 2 of this tutorial)

As you can see, it currently has 4 thumbnail images, and all 4 of them are displayed on 1 line. But what if I wanted to tell Flash to only put 3 per line (thus 3 on the first line and 1 on the second). This thumbnail image menu is dynamically loading data from XML, so if I wanted to add more images to the XML file, I wouldn't want these extra images added to the same line as they would run off the page! I need them to load under the existing ones..

View 3 Replies

ActionScript 2.0 :: Dynamic Set Mask - Stop Loading To Other Thumbnails

Dec 19, 2009

i have a problem with setmask. in my current project i used a thumbnails which are loaded via xml. if user click on those thumbnails then in the stage a movieclip loades an image correspondent to the thumbnail and the loaded image will ba mask itself on the background image that is loaded previously. for that purpose i used onEnterframe in the onRelease function of the thumbnail. but the problem is that when user click on thumbnails it will do the all the jobs but stop loading to other thumbnails.the code is below:

[Code]...

View 0 Replies

ActionScript 2.0 :: Linking Dynamic Thumbnails To Fullsize Jpgs?

Jul 29, 2004

building a dynamic gallery using PHP and mySQL. So far I am able to load the thumbnails from my database, and create an onPress event for each thumbnail. I can get a static .jpg to load, but I can't get the thumbnial to link with the corresponding fullsize image dynamically.

Basically I have loaded the filenames from the database into two arrays: thumbnails[] and fullsize[]. I know the database is working perfectly, I can load the fullsize images or the thumbnails into the thumbnail placeholders.

View 3 Replies

ActionScript 2.0 :: Display A Dynamic Grid Of Video Thumbnails

Apr 3, 2006

i want to display a grid of video thumbnails, whose parameters are loaded from XML. the number of TNs is variable but the area in which to display them is of a fixed size. i'd like the number of rows/columns AND the TN's size to vary to fill the available space, whilst maintaining the TN's aspect ratio e.g. display area is 200w x 300h and there are initially 10 TNs (which are 4:3 ratio, say): 3 columns and 4 rows of TNs 62 px x 46 (i think) but if the number of TNs goes up to 30, or down to 3, i want the code to adapt, to give me a 6 x 8 grid or a 1 x 2 etc.

View 4 Replies

ActionScript 2.0 :: Create Dynamic Thumbnails For Forward / Back Scrolling?

May 24, 2010

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 Replies

ActionScript 2.0 :: Dynamic Gallery - Swap Images OnRollOver Thumbnails

Sep 18, 2007

What would be the best way to swap images onRollover inside a thumbnail gallery dynamically loaded into contentMain?

View 9 Replies

ActionScript 2.0 :: Can't Get Kirupa Scrollbar To Scroll With The Generated Thumbnails + Dynamic Content

Feb 4, 2009

Mainly been making websites all these years, but in my last year at school i started to get interested in Flash Actionscript. I've been at home for over a year in 2008, unemployed. I got back to school in September 2008 but quit the education as it wasn't for me. Now I'm looking to get a job, but I need a showcase, so I'm building my portfolio at the moment.

I'm currently working on my portfolio which i wanted to make in Flash using XML generated content. I got as far as getting the content generated in my prototype. Now I'm trying to build the real thing. I currently got a scrollbar on the left which contains the thumbnails. I used the custom scrollbar from [URL] ([URL]). The content in it is generated with xml and actionscript though.

[Code]...

View 2 Replies

ActionScript 3.0 :: Scroll Thumbnails By Scrolling The Mouse Left Or Right Over The Thumbnails?

May 9, 2011

Haven'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 Replies

IDE :: Tutorial 'Adding Thumbnails' / Reload Other Thumbnails Again?

Jan 19, 2010

I used the tutorial "Adding Thumbnails" to build a fotoshow. Adding another xml-file I have the problem,that I cannot reload(?) the thumbnails correctly.[code]Then I do not see any thumbnails,if(!) the new thumbnail list contains fewer elements than the old one and if the old thumbnail list was scrolled over the hit_right field before.It is seemingly necessary to reset the internal state of the movieclip. But how can I accompish that?

View 1 Replies

ActionScript 2.0 :: When Click The Link To A Gallery That Has A Lesser Number Of Thumbnails It Fills The Difference In Numbers In With Thumbnails From The Previous Gallery?

Dec 5, 2007

I've got a website with three links to three different thumbnail galleries. When I click the link to a gallery that has a lesser number of thumbnails, it fills the difference in numbers in with thumbnails from the previous gallery.

View 1 Replies

ActionScript 3.0 :: Thumbnails From Xml?

Jun 21, 2009

I want to read thumnails from xml into clip miniatury_mc... and move them with easing up and down after prsssing up arrow or down arrow... everything looks nice but I don't know how to loop clip miniatury_mc the reference clip to mine is on site[URL]..

View 4 Replies

Way To Change Thumbnails

Jun 18, 2010

I am very much new to the photography game and even newer to building a website, for which I have been staring at my computer for hours upon end. So in the end I decided to spend a few bucks and splash out on a template from [url]... but now I am struggling with the small thumbnails on the main page. I was wondering how can I change them so that I can either have thumbnails of some form of significance rather than some randomness. You will see what I mean when you get to the website. (Its still a work in progress if that!!)

I had given up on this website until I came across this forum. I had started on making sliding thumbnails with a gallery. Is there anyway of incorporating this on the website? I really like [url]...website and wondering if if there is a tutorial out there to make something similar since I have done the gallery and slide thumbnail..i just have no clue how to get the photo on the first page and the writing etc.

View 3 Replies

Xml Thumbnails With Intervals?

Jun 18, 2009

I'm having some issues with a thumbnails scroll that I found in another forum. I was able to modify it to fit my needs, but now I want to incorporate a interval that plays my next image without having to click on the buttons. I have tried several methods but nothing seems to work. here is the code:
 
descriptions=true;
alert._visible=false;
var ease = 5;

[Code].....

View 4 Replies

IDE :: Thumbnails Are Not Loading?

Jan 14, 2009

I have a movieclip with a scroll pane. also a mc which i named a class with a 'delete' button and an image holder inside it. (linked as chosen_thumb_mc)For some reason, the thumbnails are not loading? I cant find out why because it says the code is correct.... Can anyone see what is wrong with my code?

Code:
var ThumbArray:Array = new Array();

ThumbArray[0] = ["70317", "name70317", "2"]
ThumbArray[1] = ["28076", "name28076", "3"][code].....

View 2 Replies

ActionScript 2.0 :: Get The Thumbnails To Appear 3 In A Row?

Feb 6, 2004

I have downloaded a dynamic gallery from flashkit. I have tried to modify but cant. What i need to do is to get the thumbnails to appear 3 in a row, then the next one i loaded in a row under. When say 2 rows are loaded the scroller appears. In the gallery alla pics are loaded in one row. This shouldnt be a problem for you actionscipters

View 1 Replies

ActionScript 3.0 :: Get XML Thumbnails To Scroll?

May 11, 2009

Below is my code for an XML AS3 video player with thumbnails. My question is how can I get the thumbnails to be scrollable if I have more that 3 thumbs without enlarging my stage area?[code]

View 1 Replies

Scrolling Menu With Thumbnails ?

Jul 23, 2009

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 Replies

Scrolling Image Bar (10 Thumbnails Around)

Aug 13, 2009

I 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 Replies

ActionScript 3.0 :: Thumbnails Can Not Scroll

Jan 12, 2010

I am trying to fallow this awesome tutorial but I keep getting stuck on this one part. Here is the link for the video

[url]...I am able to do everything fine until the part where you make the thumbnails scroll and stop when the mouse is over them. Mine does not move at all. I feel like I am doing everything he says but still I can not figure it out.

View 7 Replies

ActionScript 3.0 :: Getting Thumbnails Over Rtmp?

Aug 19, 2010

I'm trying to get some thumbnails to appear depending on where I pause in a video. It works fine when I do not use rtmp - but I get a 2132 error when I try and do the same over rtmp.

I've read up a bit and it seems that I need to allow video sample access. So I tried the following code, but had no luck:
 
nc = new NetConnection();nc.client = this.client;nc.connect("rtmp://theserver.com/vod/_definst");
nc.client.videoSampleAccess = "publicdomain";

View 1 Replies

Flash - Generate Low Res Thumbnails?

Aug 12, 2011

I am trying to create an image gallery similar to Androids "Gallery" where it is a horizontal scrolling list of images. I am doing this with an HBox and Bitmap objects wrapped in a UIComponent. The problem is I am trying to do this for mobile and having many full size images open in memory causes problems. I have been trying to have the images load right as they are scrolling into view and unload once they are out of view, but the loading/unloading while scrolling requires too much cpu and causes a very choppy and poor UI. What I am looking to do is be able to load several low quality versions of the images in memory so I dont have to do as much loading/unloading. I have tried decreasing the height/width but it dosnt seem to have an effect on memory usage.

View 4 Replies

ActionScript 2.0 :: Thumbnails To Loop When They Hit End?

Aug 14, 2009

I'm building a slideshow with scrolling thumbnails. i'd love for them to loop- start back at 1 once they hit the last (54) image [url]...[code]...

View 0 Replies

ActionScript 2.0 :: Can't Click On Thumbnails

Feb 16, 2010

I have created a gallery in flash and the thumbnails load and scroll perfectly, the only problem I'm getting is I can't click on the thumbnails. I have made a function which is supposed to trace the word 'clicked' when I press the loaded thumbnail, but for some reason it doesn't work.[code]

View 9 Replies

ActionScript 3.0 :: Preloading XML Thumbnails?

Jul 8, 2010

I have also endeavoured to make my first XML slideshow & thumbnail slider and I am faced with a preloading problem....ie how do I preload my thumbnails???I have successfully loaded them as follows:

Code:
var urlRequest:URLRequest = new URLRequest("slideshow.xml");
var urlLoader:URLLoader = new URLLoader();

[code]......

View 3 Replies

Scrolling Panel Of Thumbnails?

May 2, 2009

just 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 Replies

Actionscript 3.0 :: Thumbnails To Loop When They Hit End??

Apr 11, 2010

I've searched the forums and seen topics on how to stop the audio playing from a video when you navigate somewhere else. However none of these solutions seem to work for me.

I have my buttons on the root timeline, and all my pages are seperate movie clips which are added to the timeline with labels. I tried the [code]...

but i also have audio streaming on the whole site so when i navigate to a page the audio stops. I'm not sure what else to try.

View 1 Replies

ActionScript 2.0 :: Thumbnails In A Grid?

Sep 28, 2005

I'm doing a grid of thumbnails, loaded from an xml file. So far I've got them in a straight line, weith this code:

Code:
numPictures = _root.picturesXML.firstChild.childNodes.length
picturesPerRow = 7

[code].....

View 4 Replies

ActionScript 2.0 :: Fluid Thumbnails From Xml?

Feb 13, 2006

I've made up a mock gallery using the standard xml and AS coding (not too dissimilar to the Kirupa gallery tutorial) which is all fine and dandy. The new fwa website (here) pages the thumbnails with respect to stage height and width (with the holder area being a proportion of the total stage area). I have been able to set up a Stage.onResize function so that a potential holder mc will vary in size as the stage is dragged around.I'm not sure how to go about actually getting the thumbnail images (or any loaded data) to list depending on how large the holder is. In truth I'm not sure where to start. Am I on the right track using a holder clip to load into and set up a switch statement that assesses the holder width with respect to the width of thumbnail loading in or am I on completely the wrong tack and should be looking at using a datagrid?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved