ActionScript 2.0 :: Specifying Thumbs

Sep 17, 2008

I'm trying to get each of my thumbs to load an individual picture but I can't seem to get it working. I have this script that has a trace for each thumb but I don't know how to actually get the thumb images to load individual pictures.I've tried using:img1.onRelease = function() { as a way of talking to each of my thumb pictures but it doesn't work.

[code]...

View 1 Replies


Similar Posts:


ActionScript 2.0 :: XML Photo Gallery - Replaced The Original Thumbs With New Thumbs It Got All Screwed Up?

Jul 24, 2006

I was working with the XML Photo Gallery Thumbnail Tutorial on this site: http:[url]....

And I modified it for my own usage, making it a vertical gallery instead, and had no problems until I came upon the thumbnail images. When I replaced the original thumbs with my new thumbs (that I sized based on width, as it is a vertical gallery) it got all screwed up. The images are of all different shapes. So when it loads up, some of them had huge gaps in between them, and others were even overlapping. So I fixed it by making the heights of all the images the same, resulting in a working thumb gallery, but now half my thumbs are cropped off by the mask. I'm looking for a way to fix it where I still have the same spacing between the images, and that they are all the same width, but can vary in their height. Here's the section of the code I am using:

function thumbNailScroller() {
// thumbnail code!
this.createEmptyMovieClip("tscroller", 1000);[code]....

I'm also trouble figuring something out from the same tutorial, that I want to change. The tutorial uses these "Next" and "Previous" buttons. On the far right hand side, the half-circle buttons are what I assigned this to, but I don't really want them to have that function. I would rather have them function just like how the mouse functions when it rolls over the thumb gallery, except they scroll the thumbs up and down when clicked.

View 14 Replies

ActionScript 2.0 :: [F8] Can't Manage Thumbs?

Apr 24, 2006

Just want to put the thumbnails in a movie clip.Not any thumbs are appearing, there is a mc on stage, there are images and thumbs, there is a xml_file�

Code:
var gallery_xml = new XML();
gallery_xml.ignoreWhite = true;
gallery_xml.onLoad = function(ok) {[code]...

View 14 Replies

ActionScript 2.0 :: Add Square Behind Thumbs

Jul 24, 2007

Been looking around this forums (without result) how I can add a square to make a 1 pixel border around my thumbs. I've been using following gallery

[URL]

change to the original code off the gallery.

View 1 Replies

IDE :: XML Thumbs Not Scrolling As External SWF

Jan 12, 2009

I am attempting to run the XML Photo Gallery with Thumbnails from the tutorial, but contained within an empty movie clip of another swf. I've been trying to rebuild my website in Flash and I was attempting to utilize this external gallery to keep the file size down. The Test Movie of the thumbnail_initial.swf works perfectly on its own, but the thumbnails no longer scroll when I test the website.swf that I have loaded thumbnail_initial into. I created an empty movie clip (analog_mc) and placed it where I want the gallery to load. On the page containing analog_mc (timeline path is Scene1 / siteContent / analogFrame), I have tried both of the following code in the actions layer:

analog_mc.loadMovie("thumbnail_initial.swf");
and
loadMovie("thumbnail_initial.swf", analog_mc);

I get the same result with either: the gallery loads correctly where I've placed the analog_mc empty movie clip, the first three thumbs appear across the bottom, the Previous and Next buttons function, but the thumbnails do not scroll. I am using Flash CS3 on Vista, my AS skills are elementary as well as my XML.

View 2 Replies

ActionScript 2.0 :: Loading Thumbs 1 By 1

Sep 8, 2009

I'm trying to make a code to load my thumbs 1 by 1. It should start to load the next thumb, once it's ready with the previous one.

I'm reading my thumbs out of an xml. It seems like it's placing them randomly.

Code:
var numPics = galleryList.length;
function placeThumbs() {
var i = 0;

[Code]....

View 1 Replies

Actionscript 3 :: Flex 4 Slider With Two Thumbs?

Apr 20, 2010

how to make a custom hslider in Flex 4 (spark) with two thumbs? Since Flex 4 the thumbcount property of the slider component isn't longer available (at the mx component it was easily to set). I have to style the track and the thumbs.

View 5 Replies

ActionScript 3.0 :: Can't Seem To Get The Thumbs To Call On The Frames ?

Jan 14, 2009

I have a master movie clip with a movie clip embedded. This is to create a photo gallery. With in the master movie clip I have "buttons" or thumb nails of pictures to be displayed from the embedded movie clip (which are the pictures). I can't seem to get the thumbs to call on the frames where I want the movie motion tween to start to show a picture (the tween is to give the effect of fading in). Below is the code that I have (note that for the same buttons I have added some effect when the mouse rolls over and out of the thumb so disregard that part of the code)..

ActionScript Code:
thumb1.addEventListener(MouseEvent.MOUSE_OVER,img1Over);
thumb1.addEventListener(MouseEvent.MOUSE_OUT,img1Out);[code]............

View 4 Replies

ActionScript 2.0 :: Making An Autoscrolling Bar Which Contains Thumbs

Sep 7, 2009

n somebody point me to a tutorial in AS2 for making an autoscrolling bar which contains thumbs. It should scroll very fluidly on mouseposition. I have no idea how to create this.

View 2 Replies

ActionScript 3.0 :: How To Get YouTube Video Thumbs

Oct 31, 2009

I want to load YouTube video thumbnails in my as3 project, i have tried to load via :[URL], but it works in local good, however when i upload it to my website it doesnt load thumbs. is there an api that i can use to load thumbnails? i am using TubeLoc to load videos, but i didnt find a function to load thumbs in this api.

View 2 Replies

ActionScript 2.0 :: Position Thumbs In A Gallery

Aug 15, 2010

I'm using the code below to create a simple gallery of thumbs in a line with space between each thumbnail.[code]I have a rollover/out function that scales up/down the thumb outwards from the centre of the thumb.I was expecting the scaling thumbnail to "push" the other thumbnails left and right as it scaled...but it only shifts the thumbs to the right of it and the thumbs to the left do not move.I need code to allow a scaling thumbnail to push aside the other thumbs in every direction.

View 2 Replies

ActionScript 2.0 :: Position Thumbs In A Gallery?

Aug 17, 2010

I'm using the code below to create a simple gallery of thumbs in a line with space between each thumbnail.

ActionScript Code:
onEnterFrame = function () {
for (projIdx = 0; projIdx < projectsArray.length; projIdx++) {
//space between photoThumbs

[Code].....

I have a rollover/out function that scales up/down the thumb outwards from the centre of the thumb.

I was expecting the scaling thumbnail to "push" the other thumbnails left and right as it scaled...but it only shifts the thumbs to the right of it and the thumbs to the left do not move.

Imagine a 3 thumbnails in a horizontal line, I want the middle thumbnail (thumbnail 2) to scale from the centre and push thumbnail 1 to the left and thumbnail 3 to the right. But obviously I want this to work for x amount of thumbs.

View 4 Replies

ActionScript 3.0 :: NavigateToURL From Loaded Thumbs Using Xml?

Sep 26, 2010

I have loaded thumbnails using xml, and wanted to click on the thumbs and goes to a specific url, but failed so far.

here's my code:
private function loadXML(e:Event):void
{
xml = new XML(e.target.data);
//adding thumbs

[Code]...

View 9 Replies

ActionScript 3.0 :: Randomizing A Thumbs Grid

Mar 5, 2011

I'm trying to build an application that displays randomly thumbnails in a grid, but having problems with the random part. I'm displaying the thumbs in grid like this:

[Code]....

View 4 Replies

ActionScript 3.0 :: Antialias When Scaling Thumbs?

Mar 12, 2011

i'm trying to make a photo gallery but when i try to scale them, i get this distortions in the thumbs. i try to find how to fix this problem, searching in google, i found that i have to convert them to bitmap, but i can't make it work.

[Code]....

View 0 Replies

Actionscript 3.0 :: Randomizing Thumbs In A Grid?

Mar 5, 2011

I'm trying to build an application that displays randomly thumbnails in a grid, but having problems with the random part.I'm displaying the thumbs in grid like this:Code: Select all//building a thumbnail container for each one of the projects from the library

var thumbContainerMisc_mc:ThumbContainer = new ThumbContainer();
thumbContainerMisc_mc.x = (200+1) * x_counterMisc; //setting the thumbnail x
thumbContainerMisc_mc.y = (200+1) * y_counterMisc; //setting the thumbnail y

[code]....

View 1 Replies

ActionScript 2.0 :: XML Loading Thumbs In Grid?

Jun 29, 2006

The problem I have is that I can't make it to work: when I click the next button, the first loaded thumbs go away and the leftovers show up in the grid.

I justt want to show 30 thumbs a time, and in my sample I have extra 5 thumbs, but this could be any number.

View 1 Replies

ActionScript 2.0 :: Preloading Multiple Thumbs?

Nov 13, 2006

I have created this XML image viewer from multiple sources and Scotty's help . I have run into a problem where my thumbnails I load are quite large .swfs...and I need to preload them all until I run the grid_maker_01 function to display them. I have tried many things...but still am having a problem. I need to preload all the thumbs first, THEN display them.

View 3 Replies

ActionScript 2.0 :: Preload All Thumbs And First Image XML?

Feb 21, 2008

how to preload all the thumbnails and the first picture from an XML.

i figure it would be something like this place all thumbnails into a holder(thumbnail_mc) and getBytesTotal() and getBytesLoaded() then getBytesTotal() and getBytesLoaded() of the first picture which is in it's own holder(image_mc)add the getBytesTotal() together add the getBytesLoaded() together then create preloader from these

View 1 Replies

ActionScript 3.0 :: ThumbGrid, Loading Thumbs One By One?

May 9, 2009

i needed to load my thumbs one by one in order of first to last.

import fl.controls.ProgressBar;
var columns:Number;
var my_x:Number;[code]....

View 2 Replies

ActionScript 3.0 :: Getting Error After Thumbs Load

May 21, 2009

I am placing thumbs on the stage in a grid and i have few categories of thumbs, by default first category loads, and then you can choose between other categories.

in this case, removing preloader on line 91 causes an error, but preloader is there, i can trace it just fine (and like i said, it works (no error) when i dont simulate download, or wait for all the thumbs to load before switching to next category, so the code must be right)

View 2 Replies

ActionScript 3.0 :: Implementing Padding For Thumbs

Jun 6, 2009

i, am building an portfolio site and i have come a long way (still a beginner) but now i found an problem. After i load xml file for paths to portfolio assets i load actual jpg's and/or swf's. But i am stuck since i do not understand how to implement padding so thumbs will be spaced evenly.[code]but than how to position first thumb?

View 3 Replies

ActionScript 2.0 :: Displaying Thumbs With A Space Between Of Them

Nov 10, 2010

im doing a flash gallery following a tutorial of oman3d for a website im doing, and im looking the way for adding to the thumbs a space between them but i dont know how to do them .. here's the code

[Code]...

View 5 Replies

ActionScript 3.0 :: Thumbs For Video Files?

May 16, 2011

I'm working on AIR app, that makes different operations with local files and i need to display thumbs for selected video files (for example 1st frame). How can i do that for .avi, .flv, and .mp4 files?

View 2 Replies

ActionScript 2.0 :: Thumbs In Array For Gallery?

Apr 12, 2005

I need to get more control over the thumbnails.

gallXML.ignoreWhite = true;
gallXML.onLoad = gallery;
gallXML.load ("gallery.xml");[code]....

this has to be an array, so that I can give all thumbnails together an order. I thought this was an array, but I can't get control over this. When I trace 'thumbHolder', I get back only the last thumb. If I trace 'this', than I get the right one. i.e:

_level0.thumbnails.thumbnail4) */
thumbHolder._y = i * spacing;
thumbHolder.title = picHolder.attributes.title;[code].....

View 8 Replies

ActionScript 3.0 :: Limit Number Of Displayed Thumbs?

Apr 20, 2009

ive got this code of gallery.

Code:

import fl.controls.ProgressBar;
import fl.transitions.Tween;
import fl.transitions.easing.*;

[code]...

everything depends ( i think ) on callthumbs() function. Now its working ok - because the thumbs are displayed from last to first. It is because i want to display only newest thumbs. BUT i want to display limited number of them-only 3 last thumbs.

View 1 Replies

ActionScript 3.0 :: Sliding Thumbs Reverse Button?

Dec 16, 2009

I'm trying to make a site with a photogallery that has sliding thumbs in the bottom corner ("slidingOut_mc"). I've got them sliding from right to left with a simple tween that is infinite. The problem is that I have a left arrow and right arrow that I want to slide the thumbs in reverse (left arrow i.e. "back_btn") or at double speed (right arrow i.e. "forward_btn") on a roll over of the button.I used the ENTER_FRAME thing to get the mc to reverse with prevFrame when rolling over the "back_btn" but I can't get it to stop when I roll out.

This is what I have so far...//////

back_btn.addEventListener(MouseEvent.ROLL_OVER, backF);
function backF(event:MouseEvent):void{
slidingOut_mc.addEventListener(Event.ENTER_FRAME, everyFrame);

[code]...

That's the part that seems to work. I've tried to make a roll_out function in a few way but none work. I feel like I must need a removeEventListener event but I figure out the code with out being an error. Here was my best attempt at the roll out button.

back_btn.addEventListener(MouseEvent.ROLL_OUT, backOffF);
function backOffF(event:MouseEvent):void {
slidingOut_mc.removeEventListener(Event.ENTER_FRAM E, everyFrame);

[code]....

View 1 Replies

ActionScript 3.0 :: Load Thumbs In A Specific Order?

Aug 4, 2010

I have a gallery set up with three primary images. Clicking a primary image brings up it's specific subset of alternate views for the product.

I've managed to get the loading and placement down as I need it, but the images are not loading in the correct order. I've tried several solutions, the current one is that an array of each Sub Image is processed in order. It looks kinda of sloppy but image 1 loads, and when image 1 is complete, image 2 loads. After each image loads, it is put into another array. This array is used to resize and place the files. However when I do so, instead of the placement order being

item[0]
item[1]
item[2]
item[3]
item[4]

it keeps ending up like this:

item[4]
item[2]
item[1]
item[3]
item[0]

Here is the relevant code. When the following function starts with sArray, the items are confirmed to be in order.

Code:
function loadSubs(e:MouseEvent):void//LOAD SUBD
{
clearGallery();

[Code]....

View 14 Replies

Actionscript 2.0 :: Preload Bar Won't Disappear On Loaded Thumbs

Oct 19, 2011

I have a preload bar for some thumbnails loaded from XML that o matter ehat i try still remains after the thumb has loaded.

Code: Select all//preloader bar
preloader.onLoadProgress = function(target, loadedBytes, totalBytes) {
target.holderMain.createEmptyMovieClip("loadHolder",target.getNextHighestDepth,125,550)
target.holderMain.loadHolder.beginFill(0x000000,90);

[code]....

View 4 Replies

ActionScript 3.0 :: Dynamically Adding Loaded Thumbs?

Dec 9, 2008

I'm trying to create a portfolio with ten images that I needto be loaded and added on the stage.The problem i not to load theese images or adding themdirectlyt on the stage, but I want them to be added inside a thumbthat I've created as a movieclip.I've also created a for...loop so the thumbs dynamically areadded on the stage. To access them I've given them an instance-nameusing [object].name = "[name]" and I've also created an Array tokeep track of the names.

View 1 Replies







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