ActionScript 1/2 :: Xml Thumbnail + OnRelease Function On Each Thumbnail?

Oct 11, 2009

Im trying to create via xml and a for() loop a thumbnails wiewer and each thumbnail have a simple onrelease function.....but my probleme is that my 'container' movieClip and 'BT' movieClip dont show when I export the movie...also when i trace()them the output is empty. maybe is because they are inside  x.onLoad(xml){} function ? At the end of the script you can remove // before the trace() function for ckecking in the output panel. here is my code:

xml file: TumbLoader.xml
<?xml version="1.0" encoding="ISO-8859-1"?><slideshow><photos thumbnail="thumbnail/1.jpg" /><photos thumbnail="thumbnail/2.jpg" /><photos thumbnail="thumbnail/3.jpg" /><photos[code]...

View 8 Replies


Similar Posts:


ActionScript 2.0 :: OnRelease - Cannot Scroll Thumbnail Until Roll Off The Click Thumbnail

Jul 10, 2007

I am making a gallery, which you can view here:[URL]ok, firstly, when you click a thumbnail, you cannot scroll them until you roll off the click thumbnail, and I'm not sure why. is it just a movieclip thing? or can I put some code in to re-get focus of something? ok, now for the two general questions:

1. When you roll over the thumbs, they go up, sometimes they flick back down though, even though you are rolled over them still. is this just because they are moving?

2. Does anyone know why when I add this:

[Code]...

View 1 Replies

ActionScript 2.0 :: Thumbnail's "onRelease" Function To Cancel The Parent "make Thumbnails" Function

Jan 20, 2005

The easiest thing is if you look at my swf: [URL] Ive built a dynamic photo gallery which works from an XML database. The database contains the various gallery titles, the photo image paths and their captions.

The first page of the gallery is a thumbnail index page (lots of small preview images of the photos). The thumbnails load up one by one, they are only 1kb each but there are hundreds so takes some time. If a user clicks on one, the thumbnail movieclip is hidden with (._visible) and the photo page is shown, also with (._visible).

The problem is, the thumbnails are still being loaded in the background, so the chosen photo is not downloaded+shown until all the thumbnails have loaded. What kind of code do I need to place on the thumbnail's "onRelease" function to cancel the parent "make thumbnails" function ive made?

View 2 Replies

ActionScript 2.0 :: Thumbnail Loop - Middle Thumbnail Represents The Photo In Target_mc?

Nov 28, 2007

I have made a image-viewer. I've this AS for the viewer:

Code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
function loadXML(loaded) {[code].....

Now i would like to make a loop for the thumbnails so they don't have a beginning or end(Now when i scroll to the right the thumbnails stop at the last thumbnail, i want it to begin at the first thumb again).I'm also trying to make that the middle thumbnail represents the photo in target_mc.

View 1 Replies

ActionScript 2.0 :: To Thumbnail, Or Not To Thumbnail ?

Jul 5, 2007

Yes, I'm making a photo gallery like everyone else. I'm making it so people can order pics from the site. There are going to be about 500 photos per album in 5 different categories. The photos can be shrunk down to about 60kb a piece. If I use the actual pictures as thumbnails, just scaled down, the total size of all the pics will be about 30mb. I know this is a lot.

Either way, the people looking at the album will most likely look at nearly all the pics so they will be using up bandwidth either way. Plus, if I use the actual pics as thumbs the user will not have to wait to see actual pic when it's clicked on because it's already loaded. A preloader is annoying to me. I do realize a preloader would be wise when loading the thumbs. Just dislike them after you click one for the big picture.

So is using shrunken thumbs a necessity or if the big pic is under a certain size it shouldn't matter if I use it for a thumb also?

View 1 Replies

IDE :: ThumbNailScroller Function - Adding A Thumbnail To An Image Gallery

Aug 2, 2008

I was reading your tutorial on adding a thumbnail to an image gallery. Im trying to use your thumbnail_final.fla inside another movie and is not working for me. I made a movie, in Scene 1 of this movie i have an empty movie clip(DisplayArea) and a menu button(Gallery) so that when i hit the Gallery button it load the thumbnail)final movie into the empty movie clip DisplayArea. Everything work except for the thumbNailScroller function. It load all the thumbnails and you can click them and they load the matching big picture and all but the scrolling function is not working.

[Code]...

View 3 Replies

ActionScript 3.0 :: Call A Javascript Function When Click On The Thumbnail?

Jul 10, 2009

[URL]

I have a slider that is working perfectly, only thing I am trying to now call a javascript function when I click on the thumbnail. I cant seem to get the array to work with the xml file...

View 2 Replies

ActionScript 2.0 :: Thumbnail - Images Skew When Loaded Up Using Loadmovieclip Function

Feb 22, 2009

images skew when loaded up using loadmovieclip fuction thumbnail images should load at resolution 150x150 but display at 150x175 cant find scaling as in my code (couldnt get scaling to work right with my looping function so left it out)

View 1 Replies

ActionScript 2.0 :: Buttons Inside MovieClips - Arrow And Thumbnail Function

May 5, 2011

It's just a simple navigation thing, with a strip of thumbnails that gets moved left and right with arrows that load a larger picture when each thumbnail is clicked. Basically I would like to move the strip of thumbnails across when you click the arrows, and then when you click a thumbnail it loads the full size image above the strip. This is my thought process for each thing that needs to be scripted.

For the arrow function:
- The arrow buttons need to tell the movieclip to move to the relevant frame WITHIN the movieclip where I have included the tween to the next set of thumbnails. I tried scripting this on the button itself as well as on the first frame of the actions layer and I couldn't get either to work.
- I initially had the buttons within the movieclip because then I could control when there is a left and right button, or just a right button or just a left button (i.e., still more pics to view, you can go back to the previous set of pics or onto the next set of pics, or you've reached the end of the row of thumbnails) but I couldn't get my button to do anything when it was inside the same movieclip as the thumbnail rows. I would prefer to have the buttons work inside the movieclip for the reason described.

For the thumbnail function:
- The problem here, I think, is that I have buttons within a movieclip that I am trying to get to load something to the stage. Here, I tried to add the script to the button within the movieclip as well as the first frame of the sctions layer but again that didn't work either.
- Another important function is going to be removing whatever is on the stage when you click another thumbnail. I guess each image could just keep loading on top of the previous image but won't that cause a problem with the depth of your layers?

View 1 Replies

Thumbnail Photos Are Too Big?

Jul 16, 2009

I am working on a flash photogallery. It is pretty basic, just consists of thumbnails. The larger images are on another page all together. I didn't write this script myself, I'm still learning. So i grabbed a flashmo file. It is flashmo_067.Anyways, i changed some things around. I made the images scroll with the mouse and i took out alot of the extra stuff in the gallery. I also changed the document size and the thumbnail size.I created thumbnails to the exact size i made the holder in the flash file. Yet when i pull up the movie, the images are doubled in size and are overlapping. I have looked at the actionscript a bunch of times and still cant figure it out. I changed the size of the thumbnail to be smaller but it just blows it up and makes it very pixelated. I cant seem to figure it out.

View 5 Replies

Way To Manually Set The Thumbnail Images?

May 26, 2009

We bought this Flash template to save time:to make this siteI knew a template would limit us (especially since I only know HTML/a little CSS), but of course, we need a few tweeks. To save time (and if anyone is interested), I have uploaded the source files so you can see the structure here:The flash file is set up like this:Fla file for all the image souces & layoutIndex.html File has some sort of fancy javascriptText.html file is the editable file where non-flash-knowing dingbats like me can just edit the text and POOF! Magic!I know I have bastardized them from the original and some stuff is probably wonky.The biggest problem is that the "thumbnails" that you click on at the starpage are auto-generated, cropping the top left 100x100 square. I don't know why this is the case, and honestly, I think it looks awful.

Is there any way to manually set the thumbnail images, so they are cropped artistically rather than randomly? I asked the template tech support and they told me to "make my images 100x100". I did that for the first blue logo, and it looks like CRAP! Sure, I have the icon I would like, but when someone goes to browse the gallery, they get a 100x100 icon displaying instead of a lovely fullscreen pic.

View 2 Replies

Thumbnail Enlargement On Mouse Over

Sep 6, 2009

Having a problem coding a mouse over small image to enlarge effect. I have a filmstrip of photos at the bottom of my page and want the user to be able to enlarge them slightly by rolling over them with the mouse. Id like this to happen as smoothly as possible. Having a real problem with something so simple.

View 2 Replies

Thumbnail Enlargement On Mouse Over?

Aug 25, 2010

Having a problem coding a mouse over small image to enlarge effect. I have a filmstrip of photos at the bottom of my page and want the user to be able to enlarge them slightly by rolling over them with the mouse.

View 7 Replies

ActionScript 3.0 :: Getting The Thumbnail Images To Pop Out?

Feb 2, 2009

I'm using an AS3 photoviewer from [URL] and I am trying to get the thumbnail images to pop out when rolled over.

View 5 Replies

Linking Thumbnail Photos To The Img?

May 14, 2009

linking my thumbnail photos to the img. photo using action script 2.0?

View 22 Replies

Thumbnail To Open In New Window?

May 20, 2010

I need to find out if its possible to click on a thumbnail and the image opens up in a new window? the image I have is not uploaded onto the web or anything like that.

View 1 Replies

Actionscript 3 :: Generate Thumbnail From A Flv?

Jan 13, 2010

Is it possible to generate multiple thumbnails from a FLV using only as3? The flv is on the same server as the swf so I'm not using any dedicated streaming server. I'd imagine that as long as the flv has load the video you'd be able to pull bitmapdata from a specific time of the flv. My idea is to pull around 8 images from every flv, convert them to buttons and use them as links to specific chapters in the flv. If this is not possible, would it work better with a dedicated streaming server like red5?

Edit: I'd also like to know how to do it if it's possible :) The idea is to not use the server. The thumbnails will only be used within the swif, so no saving to another location.

View 2 Replies

Flash :: Extracting Thumbnail From .flv

Apr 21, 2010

i was wondering, how can i extract thumbnail from a flash-video file, then display it in a listbox.the listbox is suppose to have many videos which i need to extract thumbnails from programatically with actionscript.the flash-player is going to be on the web, and the extraction must happen when the swf file is loading, therefore, the method must not be too time-taking.

View 4 Replies

Flash :: Make Thumbnail From Swf In Php?

Dec 25, 2010

I have to make thumbnails from banners in swf file format (flash 9). I want to use php, but if that's not possible anything which work in a linux command line is fine by me.

I tried to open them with ffmpeg-php, but it says: Can't open movie file /where/the/file/is

The file is there and is readable by the user.

View 1 Replies

ActionScript 2.0 :: XML Thumbnail Grid?

Feb 4, 2010

i have a grid of thumbnails (i loop through an xml file to create and display) this is working perfectly.I can trace out click commands on the MCs and load in an image just as you'd want to.I load the image into a thumbMC i created with some additional symbols in...Then i started thinking, it would be nice to have some kind of preloader for each image/thumbnail.I've implemented a MovieClipLoader and this is quite happily loading in the images and reporting when the load is complete, however i am completely unable to target my preloader symbols within this function, so am unable to either control the width of a loadbar, and also show/hide a loadLoop while the image loads.

View 0 Replies

ActionScript 2.0 :: Xml Thumbnail Looping?

Nov 23, 2006

I've been trying to crack this one for a while now, but no luck so far. Does anyone know how to make the thumbnails continously loop using the kirupa xml image gallery with thumbnails tutorial actionscript as a basis? I've searched the forum and found an open thread on this, but no conclusions.

View 2 Replies

ActionScript 2.0 :: Get A Preloader For Each Thumbnail?

May 28, 2007

I have thumbnails loaded through xml. I need a preloader for each thumbnail.

View 8 Replies

ActionScript 2.0 :: .jpg Thumbnail-on-fly Generation Lag?

Aug 16, 2007

I'm making a picture gallery program and making it so that it takes images and resizes them to fit the proper thumbnail size, using onInit from the clip loader object and _xcale/_yscale. The problem is, the first time the thumbnail scrolls into the visible area, massive lag results; the app freezes for a solid half second until the thumbnail bar resumes scrolling. This does not happen with smaller pictures: apparently, Flash is being stupid and is reducing the size, but not the resolution, of the images. Is there a way to solve this problem other than

a) loading each thumbnail on the visible stage at first, then immediately repositioning into the bar (this would multiply load time substantially) or b) a server-side jpg resizer?

View 2 Replies

ActionScript 2.0 :: Get First Frame For Thumbnail?

Jun 17, 2008

I am trying to create a video gallery with thumbnails, I referenced [URL].

its a great tutorial, Howevr my problem is that i want to stream flv files from http link, and for that I am putting null in the connection, i.e I am not making an rtmp connection as my files are not on my m/c.

now when i do this, im not able to grab the first frame of my stream.

ns.play(URL, 0 , 0), here 3rd parameter is len, which if 0 should play first frame..this will solve my purpose of thumbnail. but right now, its playing whole file in the thumbnail which i dont want.

get the first frame while playing flv from http url?

View 1 Replies

IDE :: Thumbnail To Larger Pic Display?

Nov 28, 2009

I am in desperate need of some assistance (again). I have created some thumbnail images (as buttons) that need to open to larger images once clicked.

Currently I have it set up to open a new browser window but this is not what I want.

Herewith existing code:
thumb1.addEventListener( MouseEvent.CLICK, goto_thumb1 );
function goto_thumb1(e:MouseEvent):void
{
navigateToURL( new URLRequest( "thumb1.swf" ), "_blank" );
}

I need the larger pic display to be restrained to the size 600x400 and preferably to load in front to the main website (like a popup).

View 1 Replies

The Thumbnail Moves Where It Is Supposed But Does Not Get Any Larger?

Apr 23, 2009

I am trying to use Actionscript and movie clips. I get my script to work but my thumbnail does not enlarge when clicked. It stays the same size. Here is the script that I am using:

[Code]...

The thumbnail moves where it is supposed but does not get any larger. I have been working on this for 2 days now and have almost lost my mind!

View 4 Replies

Loading Second Image From Thumbnail Array?

May 26, 2009

I have a page that I'm trying to build that has a scrolling image bar at the bottom but I want to also show the full size image in flash above the images that come up in the thumbnail array when you mouse over each image in the array. I found some code that makes the thumbnail array work but I have no idea how to display the second larger image on mouse over because its loading the images externally... what can I do? Feel free to email me back.

View 1 Replies

ActionScript 3.0 :: Thumbnail Scroll With MouseOver

Aug 4, 2010

What I am trying to do is the old thumbnail scroller that scrolles up and down or side ways using the mouse over. And Unlike AS2 where I used the tween and "gotoNext" to play the animation. Wanted to try full actionscript.

So what I have is a movieclip with all the thumnails loaded and I can animate it using the ENTER_FRAME, but what I wanted to do was run the animation only when you mouse over it.

The ENTER_FRAME method:
addEventListener(Event.ENTER_FRAME, loop);
function loop(e:Event):void
{

[Code]....

But this will only move the thumbnails and once doesn't loop.

View 2 Replies

Create Thumbnail Image At Runtime?

Jan 4, 2009

I am using Flash CS4. I insert and build a SWF file just fine. In the component inspector there is a preview entry but there is a note that says it is only for development not runtime. It says to use ActionScript and the Export option. I have used the Export Option to create the thumbnail image but I have no idea how to setup the ActionScript.

View 1 Replies

ActionScript 3.0 :: Creating A Thumbnail Image?

Sep 22, 2008

Is there a way to read in an existing image and write out a smaller, jpeg version?

View 8 Replies







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