ActionScript 2.0 :: Showing Two Thumbnail Scrollers At Once
Jul 31, 2006
I am building a Flash file that has two thumbnail scrollers, and I'm having difficulty with it. The basic way it's supposed to work is like this. I have a t-shirt, and want to put a graphic on the t-shirt. The t-shirt is already loaded with no problem. I load the thumbnail script so I can pick from available graphics to place on the t-shirt. Fine so far. Now I want to show the back of the t-shirt, and select a different image for the back.
I've tried this two different ways:
1) Have them in different layers of the same frame, so that I can hide the inactive layer without erasing the info for that layer. The problem with this is that it seems something in the second instance of the thumbnail script is overriding the ability of the first instance to work properly. As you'll see here, the thumbnails load fine either way, but you can only change the picture if you hit "flip product": [URL]
or
2) Have the front and back in different frames. This seems to work better, but now it refreshes the initial image every time it flips between the frames rather than keeping the image that had been chosen: [URL].
So basically I'm curious how I can either
1) Keep the second instance from interfering with the first if in the same frame; or
2) Disable the refreshing of the initial image.
View 2 Replies
Similar Posts:
Feb 2, 2009
I'm creating a flash site, AS2, with a video as the background.I'm using a stage listener with a onResize() function to re-size and position my video according to the stage size.My problem is that now the browser will show no scroll (I assume that's because it "thinks" there is no content outside of the browser), but I want it, at a certain minimum size to stop resizing the video, and display scrollers on the browser.
View 6 Replies
Aug 12, 2009
I'm a self learning flash programer. Currently having trouble on a xml photo album for a friend's website. The rest of the site is working like a charm, except for a few glitches here and there. My real problem is that i can't put the thumbs on the stage. I'm using this code to do it.
[Code]....
View 7 Replies
Nov 17, 2009
I have redesigned my site from a flashmo template and all is fine except for my thumbnail string not loading/showing in any browsers or even in my dreamweaver & flash previews.
my site is [url]... if you press on the 'decor' button you'll see the place where the thumbnails should be coming up and loading - but all it shows is a permanent loading sign on the first thumbnail and nothing else.
View 14 Replies
Jan 11, 2009
I'm trying to create a video gallery that has thumbnails. But I want the thumbs to be the first frame of the video. Is there any way to extract the first (or any other) frame and display it as bitmap data without having to download the entire .flv file?
View 4 Replies
Sep 5, 2005
check out this link: [URL]the embed tag for the swf on this page sets the height and width to 100%. This disable scrollbars in the browser. But the flex store has made it so that scrollbars appear within the swf to be able to see the whole stage in smaller browsers.
View 1 Replies
Apr 19, 2007
Has anyone found a solution to having multiple scrollers work on the same page? I tried applying different instance names on all components but that didn't work either. The AS below only allows for one scroller to work.
[Code]...
View 1 Replies
Aug 15, 2005
I was unable to find any good tutorials or hints on terrain scrollers that isn't random.. like a huge world, and a map that points where on the map you are.
View 4 Replies
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
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
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
Feb 9, 2003
i was wondering if there are any text scrollers (like this), except for static text rather than dynamic? i like the antialiasing of static text, but would like to be able to scroll at the same time.
View 3 Replies
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
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
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
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
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
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
May 14, 2009
linking my thumbnail photos to the img. photo using action script 2.0?
View 22 Replies
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
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
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
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
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
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
May 28, 2007
I have thumbnails loaded through xml. I need a preloader for each thumbnail.
View 8 Replies
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
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
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
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