ActionScript 2.0 :: Can't Hide Picture Border On A Gallery

Oct 23, 2009

I have added 3 staggered backgrounds behind each picture that act as a tri-color border around the image, named borderOuter, borderMiddle, borderInner. When i click on the thumbnail, i would like the border to disappear. [code]...

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Make A Picture Gallery And Use Buttons That Move You From Picture To Picture And Backwards?

Apr 22, 2002

I want to make a picture gallery and use buttons that move you from picture to picture and backwards, but I don't want to tell button 1 to go to frame 2 and button 2 to got to frame 3 and so on (I hope you know what I mean)Can I use on button on a separate layer with the same action set? I tried something like that, but it didn't work:

on (release) {
thisframe =+1
}
[code]........

but it didn't work. I'm kind of new to any action script other than gotAndPlay, easy functions and all that.

View 2 Replies

ActionScript 2.0 :: XML Gallery Dynamic Border?

Jun 27, 2005

Just thought I'd see if this is possible with the XML Photo Gallery.1. Is it possible to create a dynamic border for the loaded image depending on the size of the image being loaded? 2. Is it possible to move the Y position of the caption text box depending on the height of the loaded image? ie if the image is 200 pixels high, then the text box should be positioned at 220 pixels.The current code I have which loads the images then automatically scrolls through them is:

Code:
delay = 6000;
// -----------------------

[code].....

View 1 Replies

ActionScript 2.0 :: Add Border Around Thumbnail In XML Gallery?

Jul 31, 2005

I have a cool xml gallery designed by Scotty. I was wondering what actionscript could I use to add a gray border around each thumbnail and whenever the user rolls over the thumbnail, the border turns to white? Has anyone done this sort of thing before with an XML gallery? [code]...

View 1 Replies

ActionScript 2.0 :: Gallery Resize Border Loading Swf

Dec 15, 2005

Currently I am using the gallery that has been posted on a link on Kirupa.com where it uses XML and loads in my case .swfs into a border that resizes according to the size of what is loaded. The reason I am using .swfs is because I plan to somehow make it so that the artwork being loaded can be zoomed in on once they are loaded, how I am not sure quite yet. Anyway, I was wondering if anyone could please tell me why that sometimes the .swfs load once or twice and then when clicking on other artwork thumbnails they do not load at all. THis just happens for the swfs and not when I would use the jpegs instead of swfs. The swfs just do not seem to be loading as planned, sometimes one or two load sometimes none. Was wondering if someone knew why this is happening and could please give me some help if possible, maybe pertaining to actionscript?[code]

View 1 Replies

ActionScript 2.0 :: Get A Border OnRollOver In Thumbnails Gallery?

Jul 20, 2007

get a border onRollOver in my thumbnails gallery. I've tried the photo and thumbnails gallery and played with stringy's files to accomplish this but still haven't been able to get it to work.

View 14 Replies

ActionScript 2.0 :: XML Flash Gallery With Resizing Border?

Feb 3, 2009

I'm have set up a photo gallery using the 'Kirupa Xml and flash gallery tutorial' and I wanted to use this but implement the border resizing function featured in the galleries on in the 'Howd he do this? Resizing slideshow' thread.

Here is the code for my gallery:

Code:
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;

[Code].....

View 4 Replies

ActionScript 2.0 :: Adding Fancy Border To Scotty's Image Gallery?

Feb 16, 2007

I'm encountering a weird glitch when I try to use a more complex image border: the image container and the text caption both jump into place at the last moment. A bad effect. All I've done is add two more variables, "w2" and "w3" to the code:

Code:
var w = container._width+spacing, h = container._height+spacing;
var w2 = container._width+space2, h2 = container._height+space2;
var w3 = container._width+space3, h3 = container._height+space3;
border.resizeMe(w, h, id);
border2.resizeMe(w2, h2, id);
border3.resizeMe(w3, h3, id);

The only way I can find to keep the border shapes in correct proportion is to create 3 different border clips and apply the "resizeMe" easing function to each of them.

View 3 Replies

Actionscript 2.0 :: XML Gallery : Hide Previous Or Next Button?

Dec 14, 2009

[URL] I've added some stuff like : a preloader, and caurina tweener (as well as I could... )and now I would like to continue to learn by hiding the previous button on first load and then hiding next button on last photo i've tried to paste this code at a thousand different places but nothing happens.

Code:

Select allif(whoIsOn = 0) {
previous._alpha = 0;
}

Here is the whole code :

Code: Select allimport caurina.transitions.Tweener;
holder._alpha = 0;
loader._xscale = 0;

[code]....

View 2 Replies

How To Create Picture Gallery In Flash

Dec 3, 2009

I want to create a picture gallery in Flash. I want small thumbnail images all around the edges of the canvass (canvass will be a rectangle). When the user clicks on the thumbnail I want the image to be displayed in the centre of the rectangle in its full size. How do I create such a picture gallery? Is there a simple tutorial? Or simple template I can use anywhere?

View 1 Replies

ActionScript 3.0 :: Removing Picture In Gallery?

Aug 9, 2009

I have a movieclip that when click call function moveW()The function work if I didn't add the command to change frame, but when I add command to change frame the function move to different frame before removing the pics. Does anyone know how I can fix this?this is the function:

function moveW(event:MouseEvent){  var i:int = 0;  for (i=0; i<=count; i++) scene.removeChild(arr[i]);  arr=[];
count=0; 

[code].....

View 1 Replies

Make A Picture Gallery Run Automatically?

Feb 16, 2010

I have a gallery that shows pictures when yo hit a next and previous button, but id like to make it go automatically.[code]...

View 6 Replies

ActionScript 2.0 :: Loading First Picture In XML Gallery?

Aug 13, 2005

The XML gallery I have has a pop-up window that appears after selecting a thumbnail. What I'm trying to accomplish is for the first picture in the gallery to load into the pop-up window, which is now always shown on the stage. I was able to make it so that the pop-up is always visible, but one thing I couldn't figure out is how to make it so that the first picture in the gallery loads into the pop-up box WITHOUT the user selecting the thumbnail first?I think it has to do with this code:

Code:
portfolio_xml.onLoad = function(success) {
if (success) {
var gallery = this.firstChild.childNodes[index];
galleryInfo.text = this.firstChild.childNodes[index].attributes.title;

[code]....

View 3 Replies

ActionScript 2.0 :: Make A Picture Gallery?

Nov 28, 2005

I just tried to do a picture gallery.But It has to have around 21 pictures.In 3 sections(this is around 7 pictures per section)

I would like to look like file 1. It must have 21 buttons (on which when you click to see the picture bigger) on the same window,now there are only 13.[url]...

View 1 Replies

ActionScript 3.0 :: Created An XML Picture Gallery?

Feb 19, 2009

So i have created an XML Picture gallery in AS3. Everything is made in two files:

1) The main file Gallery.fla that has only one layer and has just a stage color applied to it
2) and Gallery.as taht contains all the code and functions.

And now that it all is created i would like to create a preloader, but i am having problems doing it. Have been solving this issue for a week, reading lots of tutorials etc. no luck so far. I even tried creating a seperate .fla file that contained only a preloader, that simply loads an .swf movie - which was my Gallery.swf but no good - it is not working like that because i am using an XML file in that Gallery.swf .

[Code]...

View 4 Replies

IDE :: Gallery - Next Picture By Simple Click?

Jun 7, 2009

I want to make a gallery where the next picture to be displayed by one left click.

View 1 Replies

ActionScript 3.0 :: Picture Gallery Generated With XML?

Aug 27, 2009

I have created a gallery with pictures that is generated from an XML file. When I look at it on Flash, it works perfectly; However when I upload it to a web server, the images don't appear. The files I have uploaded includes the XML file, the pictures folders, the html and the swf file as well as a swfobject.js.

View 9 Replies

ActionScript 2.0 :: XML Gallery - Click To View Or Hide Thumbnails

Jul 14, 2009

anyone know where i can find a AS 2 xml gallery similar to how this one works, with the slideshow, and click to view or hide thumbnails.[URL]

View 9 Replies

Make A Video/picture Gallery In Flash?

Jul 31, 2009

how to make a video/picture gallery in flash? If not in flash then something else. I just need like a video gallery that i can put into flash!

View 11 Replies

Loading Picture Gallery - Preloader Frame

Feb 26, 2010

I am building a web site and I have the main movie, which loads a picture gallery (another .swf file) using "loadMovie();" and then the problem comes in - my gallery movie has a preloader which after finishing is supposed to move on frame 2 of the gallery movie, but instead of that it moves to frame 2 of the main site...

This is the main movies button code loading the gallery:
on(release) {
gotoAndStop(5);
Gallery_Sub.loadMovie("../Flash/murals.swf");

Here is my preloaders code on the frame 100:
_level0.gotoAndPlay(2);

And at last my gallery movie's code on the preloader frame:
stop();
percent = Math.floor(getBytesLoaded()/getBytesTotal()*100);
if (percent == 100){
_level5.gotoAndPlay (2);
}else{
_preloader.gotoAndPlay(percent);
}
I tried using loadMovieNum(); but somehow it didn't work as well.

View 3 Replies

ActionScript 3.0 :: Picture Gallery With Multiple Pages?

Sep 27, 2010

Working on a picture gallery with multiple pages. The basic idea of what I'm trying to do is I get a list of all thumbs, separate the list in groups of 20 and then add all the groups to a MC that slides left and right when the user presses a left or right button.This is the code I've written:

Code:
if ((totalPics % 20) > 0)
{

[code].....

View 2 Replies

Flash :: Professional - Centering Xml Gallery Picture

Sep 17, 2010

I have a website that I would like to make a little improvement. The website is functioning quite well except one little small thing. The xml gallery image is not centering. At the moment it is aligned to the top left corner. I would like to center all images no matter what size they are, but I don't know where to find the action script that centers the content in XML. Here is the website, so you can see what I am talking about: [URL] how to make a pop up window that you can see the image even larger and go up and down to see the details?

View 7 Replies

Professional :: Create A Picture Gallery On Flash?

Jan 29, 2011

Is there a simple way to create a picture gallery on flash?I literally want to have an image in the middle of the screen and use buttons on the left and right to scroll through the pictures?

View 1 Replies

ActionScript 3.0 :: Jumping Back To First Picture, Gallery?

Oct 31, 2009

i'm making a photo gallery in flash AS3. I have two buttons, prev and next, what i want is when you are at the last image end press next, you jump to the first image. I have tried to google it and searched for an answer, but cant find anything. This is my code so far.

picture.stop();
rbutton.addEventListener(MouseEvent.CLICK,
clicknext);
lbutton.addEventListener(MouseEvent.CLICK,
clickprev);

[code]...

View 1 Replies

ActionScript 2.0 :: Add A Gallery When The End-user Clicks On A Picture?

Jul 27, 2011

I am editing a template made with as2, flash8 and its controlled externally by a html file. I want to add a gallery when the end-user clicks on a picture. The main problem is the structure of the template. Its like that: There is a symbol named "pages" and in that there are 6 frames which one represents a page of the website except the main menu which is in another symbol. In the 4th layer 3rd frame there are 6 movie clips which are instances of another symbol named "p1_3 copy 2" which is a button and an instance of another button named "but_picts". One of those movie clips i want to make it a link for my gallery. So we there is the movie clips with the following actionscript attached:

ActionScript Code:
onClipEvent(load) {
loadMovie(_root.url + "_portfolio1.jpg", this.cont);
url=_root.url7;

[Code]....

View 2 Replies

ActionScript 2.0 :: Picture Gallery And Thumbnail Doubts?

Jan 27, 2004

Here's the situation: I'm making a script that will dynamically load JPG's from a file and will eventually display each JPG's thumbnail them side by side. I've got the code going and would like to know any suggestions for corrections.

[Code]...

View 14 Replies

ActionScript 2.0 :: Little Xml Gallery - Open Pop-up Window With Big Picture

May 10, 2006

I'am searching for a gallery with thumbnails which will load from xml file, and each thumb will open pop-up window with big picture. Does anoyone have fla for something like that or tutorial ? I had searched ultrashock and this forum, but every gallery is much more complicated than that what i'am searching for.

View 2 Replies

ActionScript 3.0 :: Flash XML Picture Gallery On Server Bug

Jun 17, 2010

i made a pic gallery that loads pics from xml file.. when I open the gallerys .swf itself on my server it works fine.. when I open the website .swf file on my server it looks fine... but, when I open the flash-generated .html file and try to open my gallery on my web site it sometimes shows me only a couple of pictures... sometimes none. also, when I open it up on my computer, it works fine...

btw: the gallery is stand-alone and I load it in my flash web site through the code ->

Code:
var ldr = new Loader();
var url:String = "MY GALLERY.swf";
var urlReq:URLRequest = new URLRequest(url);

[Code]....

View 14 Replies

ActionScript 3.0 :: Playing External Swf Files In A Picture Gallery?

Sep 18, 2010

I am trying to make a picture gallery where each image is contained in its own .swf file and loads with a button click.The gallery works fine but I would like for each image to transition in and out,or play the timeline of each swf.I have a stop action in the middle of each swf so the image tranisitions in and then stops but when another button is clicked it immediately loads the next image and doesnt play the rest of the tmeline and transition out. Here is the code I used to load the swf files.

stop();
var movieName:String;
function movieLoad(event:MouseEvent):void[code]........

View 3 Replies

ActionScript 2.0 :: Script For Mouse Scrolling Picture Gallery?

May 2, 2010

I have a script for a scrolling picture gallery. I know it works, but I want to know how the script makes it work. What the script does it make it so that when you have your mouse on the far left of the flash canvas, the picture gallery scrolls fast to the right, and if your mouse is close to the middle but on the right slightly, the picture gallery scrolls slowly left,

The script is:
onClipEvent ( enterFrame )
{[code].....

I think it means that the move direction of the gallery is to do with (something) divided by the width of the stage, then - 0.5, then x by 5,and if this calculates to be less than 0 and (something) calculates to be less 0, then... I don't get how it chooses which direction to move after that.I also know the picture gallery has some sort of physics engine perhaps, but I'm not entirely sure..In short... I'd like to know how this code works.

View 0 Replies







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