ActionScript 2.0 :: Create Several Xml Image Galleries?
Jan 3, 2009
I'm in the midst of creating my very first portfolio site completely in Flash. I followed the tutorial [url]... to create a nice looking gallery. Now, my problem is that I need to create two other galleries for the same website. All three galleries will be on three different pages. The actionscript doesn't seem to work if I try top use different folders and file names, and I can't even make a second gallery in a separate .fla file so I can access the gallery externally via movieclip. I've gone through countless threads on different forums to try to find my answer, but nothing seems to work.
View 9 Replies
Similar Posts:
Apr 30, 2007
I have seen many tutorials on how to create xml-driven, thumbnail-based image galleries, but I am looking for one which can do a "Before and After" photo effect. I'm designing a realtor's website and want a "before and after" gallery to show work being done on some homes, before construction and after construction. So, basically, you have two photos, same size, overlaying each other, and use maybe an Alpha fade to "merge one photo into another"? Something which slowly fades one into another, not just something which does a complete Alpha fade out, then a complete Alpha fade in.
View 4 Replies
Mar 15, 2009
I need a simple way to use xml and create a multiple gallery inside 3 main galleries so basicly like this: (Everything would be in the same page, list view, when clicking into one it would open it)
GALLERY 1 (Will include numerious galleries)
-Example 1
-Example 2[code]....
Basicly when clicking the link it would hover the pics with a scrolling effect in the flash file (that all should be sorted out)
View 3 Replies
Sep 30, 2008
When displaying mutiple image galleries (3 galleries with 15 images each) is it advisable to load multiple xml files or is it smarter/easier to include all the info in a single xml file?
View 9 Replies
Aug 28, 2008
I have a Flash component that links to a gallery, and I understand that I can create buttons to point to multiple galleries. (waiting too long for support from the suppliers).The User Guide says that I can use the following to create the connection:
myThumbnailer2.loadGallery(24);
That won't work, and it says that I need to include it in an onclipevent. I have no idea what i am doing and I was hoping someone could tell me what to script to get the text button I created to run this.
View 11 Replies
Sep 25, 2009
I've created a photo gallery that dynamically loads images into a movieclip entitled 'gallery'. Right now the images are listed in an array. is it possible to make an Array of Arrays so that I could load different Arrays for different image galleries? Is this somewhat how it would work? Lets say I were to switch to a section entitled 'landscapes' which we will pretend is the array "var a:Array = new Array();" for now.
ActionScript Code:
var a:Array = new Array(
"a1.jpg",[code]....
View 4 Replies
Jan 12, 2010
I am loading some separate .swf image galleries in my main .fla; when you go to different sections the image galleries still stay there. How do I make them go away? When you click on the background it takes you to another spot on the timeline and the gallery should disappear, but it just stays there.
View 9 Replies
Mar 1, 2010
how to make image resizing galleries using AS
View 2 Replies
Apr 18, 2010
I am making a set of image galleries which will have looping background music. What are your opinions about the recommended method to bring music in? I am happy with the attachSound and loadSound methods, but wondered whether attaching a soundtrack.swf using loadMovieNum would be better. If so, I only know how to stop and start the music, not pause it and restart where it left off, which is important if I add a narration. Sound Objects seem more versatile because they let you use "position/1000", but from what I have found on the forums I have searched through, I may have to load the swf into a Movieclip or perhaps use _level somewhow?
Here is the code, which works well, but does not "pause" the music, it just stops and starts at the beginning. Code is in the root timeline of my soundControls_mc (play/pause button).
[Flash 8 - AS2]
loadMovieNum("includes/number10.swf", 100);
soundOn = true;
this.onRelease = function() {
if (soundOn == true) {
unloadMovieNum(100);
[Code] .....
View 2 Replies
Aug 18, 2010
I'm trying to create a gallery where each thumbnail you can click loads a different set of images (and unloads or removes the previously loaded gallery).
View 9 Replies
May 8, 2010
I am trying to load different image galleries into a container flash file. Each image gallery will be in a speparate swf that can be loaded/unloaded from the main swf. I get the first gallery to load and function fine, using the following code:
var ldr:Loader = new Loader();addChild(ldr);ldr.alpha = 0ldr.y = 110ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, loaded, false, 0, true);ldr.load(new URLRequest("folio.swf"));
[Code]...
View 25 Replies
Oct 16, 2006
Have set up a file which preloads all of my images from an XML before displaying. However I'm having problems, one is the preload bar flashes slightly at the start, then is visible as I scroll through each image in the galleries. I've attached my fla file >> here <<
View 12 Replies
Jan 16, 2010
I'm trying to create a simple image player that tweens from one image to the next every 5 seconds. The data is being pulled from xml.
So far, I have managed to load the image onto the stage, but am now stuck as to how to get it to remove the child showing, the add the next child every 5 seconds.
My Code:
Code:
var tweenTimer:Timer;
var imageLoader:Loader;
var xml:XML;
[cod]...
View 1 Replies
Jan 13, 2004
What would you use to create buttons which when pressed load an image in an image area within the same flash document?
View 1 Replies
Feb 16, 2012
I would like to create a image and content slider in Flex. There are many jquery plugings available [URL].. but i can't find an alternative for Flex.
View 1 Replies
Aug 26, 2011
I'm using an xml menu and have the code in a .as that loads as2 & as3 swfs, but I can't load these externally created image galleries (externally because I created them using another software).I want to load 1 of these galleries into a movieclip when I click a button, and load another one when clicking another button, of course the first one should unload first.The Image galleries I have are: carrera, Col_Imanes, Cons_Base, Cons_Hapas, Cons_Imanes, Gallery, and 1.[code]...
View 4 Replies
Jan 6, 2006
[URL]
I used the XML gallery w/thumbnails in the tutorial section of this site. It worked great, but my client cant see it! She is on DSL, i think it may be taking too long to load. Does anyone know how this movie loads? Does it load ALL of the thumbnails when the movie starts? If thats the case, i can see why she might have some problems. I just checked, I have 24 thumbs that are saved without any compression (60k a piece). Thats almost 1.5 megs. Can someone with lower than a cable connection give this site a quick look? There will some other bugs, the site isnt finished yet.
View 5 Replies
Aug 3, 2008
I have two buttons on stage, to load pictures from gallery 1 (gotoAndPlay ("slider1")) and gallery 2 (gotoAndPlay ("slider2")) respectively. I changed the variable in _root.xmlfilein the second set (slider2)mybtn1 loads gallery1 without any problemmybtn2 loads only one picture from gallery2, nor the text is loaded.
View 1 Replies
Apr 6, 2010
I have a several galleries that I will be loading via several xml files. Gallery1 will load on start and the other galleries will load through buttons using their instance names (i.e. "gallery3" button will load "gallery3.xml"). Currently I have a function + listener (called "home") to initiate gallery1 on start, a function + listener (called "goSection") to initiate the other galleries via button instance name, and a function that loads the gallery (called "fileLoaded") with the listener located in the "home" and "goSection" functions. There is a lot more code in the fileLoaded function that controls the thumbnail and full size images functionality that I am excluding because its probably not necessary for my problem. Im not sure the most efficient way to set this all up so I unload the existing gallery before I load a new gallery. Ive tried to use removeChild and removeEventListener on urlLoader without much success.[code]...
View 1 Replies
May 22, 2007
I now have another issue that is preventing me from making this thing work properly. I have attached a zipped file of both the XML and the Actionscript. And here is the link to see what is happening at this point. Here's what I'm needing to do:I have 15 images. 5 images need to rotate in a single movie clip inside my flash movie. So I have 3 movie clips rotating 5 different images. The 15 images are in the XML file in three different categories (this will make sense if you look at the XML).I have the gallery kind of working, but the rotation of the images is not working properly. Again, I think all of this will make sense as to what I'm trying to do by looking at the XML and the link above.
View 8 Replies
Feb 25, 2010
I bought a template and althought I'm usually ok with Flash, I cant put my head around this one.I've got a category section that should link each time to a different catalogue (galery), see screenshot attached. Well after 2 days of trying, I think is fair to say that I dont know how to do it.
There is the following in the Action Layer of the main movie clip:
Code:
_root.link_gall = 1;
_root.photo = 1;
_root.D = 0;
And if I check the AS for the button of each category like "Water Colour", I found this:
[Code]...
View 1 Replies
Mar 30, 2010
I downloaded and am using kirupa's flash gallery with xml. It works/looks great. but i'd like to have it behave a little differently. i've seen sites where the thumbnails continue to change their alpha indicating they are loaded and loading while i'm viewing an image. are there any tutorials/samples out there for that? i simply want to see how it would all work together. maybe having 10 thumbnails and an image using xml.
View 1 Replies
Apr 27, 2010
I have uploaded flash galleries I created in bridge CS4 to my site in dreamweaver. I used an iframe within a divtag and everything worked great in the previews, but once I upload the site to my server, the galleries are not showing up.
This is the code from my index file:
<html><head>
<title>index</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
[Code] .....
View 1 Replies
Oct 18, 2010
1. How to get the height and length downloadable images into a movie clip?
2. Help write the gallery without the use of thumbnails to the gallery to upload images of real size, and then decreased to the size of movie clip
View 2 Replies
Oct 8, 2009
I have a SlideShowPro component on my stage and some buttons I've made which I want to load the different galleries when clicked. I've tried tons of different ways of writing it, but just can't seem to get the code right.
Code:
//ENABLE GALLERY BUTTONS
function albumChange(event.Event, url):void {
my_ssp.xmlFilePath=url;
[Code] .....
View 2 Replies
Jan 16, 2011
I saw many examples in jquery compenents which takes image urls from HTML DOM. But flash photo galleries always need xml configuration files as i have seen till now. I need flash compenents which doesn't need any configuration settings from server. If it is possible to do that flash can get image urls from DOM or even by javascript. Is there such as flash photo gallery compenents ?
View 1 Replies
Sep 18, 2009
I've created a photo gallery that dynamically loads images into a movieclip entitled 'gallery'. Right now the images are listed in an array. how would I make it so that different arrays could be loaded for different image galleries on the site? For example clicking a certain button would tell the movieclip to load different sections. It would load an array that goes
[Code]...
View 2 Replies
Dec 10, 2009
I've created a simple thumbnail gallery script that my students can use for portfolio projects. I'm also making it available for public download along with video tutorials in how to use it. I had developed a nice AS2 script, but those days are over and I've been hammering away at AS3 with pretty good success, but am still learning.I have a workable gallery, but if I add a second gallery on a different frame, all the functions and variables of the second gallery conflict with the first one. I'm missing some simple way to reinitialize the gallery. It may be that I need a Gallery Class but this is just a hair beyond me right now. Can anyone take a look and point me in the right direction? Files can be downloaded from URL...The actionscript files are external and brought in with an include action.
View 2 Replies
Feb 14, 2006
I have just started to learn more about XML in Flash but so far it's all a bit confusing. I have this photo site that I'm working on at the moment and I can't figure out how to load dynamically specified photo galleries. I load in my XML on the first frame of the root timeline with this script:
[Code]...
View 1 Replies
Jul 13, 2006
Right now, I have a successful combo box that loads an external jpg to flash from a folder where I store all my images. However the information that is given about the pictures are all in the flash code. I have an xml document, and I was wondering if there's any way I can load information from the xml file rather than supplying it in the flash code,
this is currently the flash code:
--------------------------------------------------------------------
combo_cb.addItem("0001 The Assasain", 1);
[code].....
View 3 Replies