ActionScript 2.0 :: XML Gallery In External SWF?
May 27, 2008
I have been using the modified version of Kirupa's XML Gallery as posted by 'Scotty' in post 19 of this thread...
http:[url].....I am hosting the gallery externally, and loading it using 'loadMovie' into an empty movieclip.
Index.swf > Home.swf > Homeslideshow.swf
I have got the slideshow edited to suit my needs, and it loads perfectly upon first arriving at the home page.However, the problem occurs when I have been on another page (which is another external swf - lets say 'Index.swf > About.swf) and then returned to the home page (and its slideshow).
The images do not seem to show up, however I can see the load bar and the captions loading fine. On the other hand, sometimes I find the images load, but almost as if the Swf has loaded itself again behind the one previously loaded.There is obviously something (probably minor!) messing up, so please find attached my source files.
View 7 Replies
Similar Posts:
Mar 16, 2009
In my "actions" layer I have a function that loads a gallery of a external file called gallery.swf. The swf loads successfully but I cant remove that. The only way to remove is to call removeChild(mLoader.content); I noticed that the movies loads without addChild.
But sometimes also calling removeChild(mLoader.content) the content of mLoader is not removed and still appears in the stage.
[Code]...
View 5 Replies
Jul 28, 2010
I have a website created all in Flash AS3 and I have a XML Photo Gallery created in a separate file and I am trying to load the gallery into a specific frame on my site.[code]...
View 6 Replies
Jul 28, 2010
I have a website created all in Flash AS3 and I have a XML Photo Gallery created in a separate file and I am trying to load the gallery into a specific frame on my site.
[Code]...
View 8 Replies
Nov 14, 2009
I'm trying to load a swf that contains a flash gallery in to a movieClip. The problem is that load the swf but the gallery isn't able to load it's images so i only get the blank swf. The funny thing is that when i use a UILoader at startup everithing, everything loads so it's ok, when i tell it to load on a click event it stops working. I have the following code ...
ActionScript Code:
b1.addEventListener(MouseEvent.CLICK,startLoad);
function startLoad(e:Event)
{
var mLoader:Loader = new Loader();
[Code],,,,
View 0 Replies
Mar 21, 2005
I am trying to create a preloader that will preload the images all at once that are in my XML gallery. I can get it to preload the swf but not the images that are in the /photos folder. This is the gallery, and the photos are named photo1.jpg thru photo5.jpg.[code]...
View 2 Replies
Feb 23, 2010
I have an external swf which is a basic (very) photo gallery. When I load this external swf into the main swf container it only displays the first image although it goes through the motions of getting the next image - only to again display the first image. In desperation I have put the swf, images and xml into the same directory as the container but no luck.... Run separately it does what it's supposed to.
View 6 Replies
Jul 26, 2010
I have a website created all in Flash AS3 and I have a XML Photo Gallery created in a separate file and I am trying to load the gallery into a specific frame on my site.
EDIT:Here is the code I am using:
[AS]var Xpos:Number = 152;
var Ypos:Number = 350;
var swf:MovieClip;
var loader:Loader = new Loader();
[code]....
When I have the XML file in the same folder as the gallery (which it has to be) Flash gives me an error and the gallery doesn't show up. When I move the XML file though the gallery itself loads into the correct spot but the pictures don't because the XML file isnt there to call them.This is the error it gives me when the XML is in the same file as the gallery:
"Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file:///ANTHONY/Portfolio/Ggallery.xml
at Ggallery_fla::MainTimeline/frame1()"
View 3 Replies
Mar 21, 2005
I am trying to create a preloader that will preload the images all at once that are in my XML gallery. I can get it to preload the swf but not the images that are in the /photos folder. This is the gallery, and the photos are named photo1.jpg thru photo5.jpg.
[Code]....
View 2 Replies
Jun 29, 2011
This is my code:
var loader:Loader = new Loader();
addChild(loader);
var url:URLRequest = new URLRequest("/clientes/clientes_.swf");
loader.load(url);
I'm trying to load an external gallery. It works fine, but, the external gallery needs two xml files to work. My gallery with the xml are located in the folder "/clientes", and main swf is in root. When i load the swf gallery, the main swf load the xml files from the root, not in the folder clients, and is that what I need. I need to find a way to load the client_.swf an his xml files, all from the clientes folder.
View 5 Replies
Mar 24, 2009
I have made a site in flash and left the gallery page till last.I have found a free gallery online and am trying to load the gallery.swf file from it to the stage of my main file.It works but the file does not play. It will just load the first frame and the images wont come up.the way that I am using the loading function is by: loadMovie("gallery.swf", galleryLoader);
galleryLoader is the instance name of my Loader Component found in Flash 8 component panel.Someone said to add: galleryLoader.content ._lockroot = true;
But it makes the gallery small I need it to an exact size.
View 1 Replies
Nov 20, 2011
The following code loads my "Gallery.swf" external file on HomePage_mc (Which is Page-1). But I would like it to load it on Gallery_mc (which is Page-6). How can I do that? The following is the code:
[Code]...
PS: There was a problem with a curly bracket. Now it is fixed but when I go to home page or any other page after clicking on the Gallery button, the Galley.swf but still playing on top of all those pages. How to fix it?
View 4 Replies
Dec 24, 2011
I have one swf that was made by Wondershare Flash Gallery Factory Deluxe program, and some other files comes with it.
The problem is that when it loads into my main swf doesn't appear into the movieclip that i target to the code but on the stage, on top of all others, i don't know exactly what happens, it seems not to be in the display list!!!
The point is that i'd like a back button showing in front of the gallery in order to be able to close it and go back.
View 1 Replies
Aug 28, 2009
I am loading an external swf photo gallery.Right now I am using a preloader to show up before the external swf is loaded. The preloader is in my main file.My problem is this - once the external swf is loaded, it still takes a couple of seconds before my photo gallery shows up.How can I avoid using 2 preloaders (one in my main file and one in the external swf)
View 1 Replies
Oct 15, 2010
I am loading a photo gallery as an external swf.So I have a preloader for the ext swf that loads.Then there is a 3 - 4 second delay before the % preloader for the photo gallery starts to load.I'm loading it via xml - is it taking 3 - 4 seconds to read the xml page before the image starts to load?
View 6 Replies
Jul 7, 2007
I purchased this template, and it was supposed to be as simple as creating a new folder containing the images I want and uploading it, but I can't get the movie to load it.[code]...
View 1 Replies
Jul 31, 2007
im trying to load an external movie clip named gallery.swf (which is based on xml) to be loaded into my main movie...
it seems my external movie clip is replacing the main movie. i want it to be loaded inside it not in place of it.
here is the code of the gallery.swf:
[CODE]var imageArray = new Array();
imageXML = new XML();
imageXML.onLoad = function ()
[Code].....
View 8 Replies
Aug 4, 2007
I amusing the great Kirupa Flash gallery and have tweaked it so that I only am using the thumbnail scroll box to link to external html or asp pages.The xml file all loads correctly, though when I pass the "link" to the getURL the output is the entire XML "link" node.[code]
View 11 Replies
Apr 9, 2008
Ive finished Kirupa's excellent Photogallery Tutorial and Im very happy with the result. I have exported the page as a SWF file and I now want to load it into my main page (essential in the design on my website). But when I do so the larger images do not show up! Strangely however, the title and the thumbnails are displayed - so the XML file is still being loaded. Additionally, the drop down menu I made also does not work.
[Code]...
View 1 Replies
Jun 22, 2008
I have a problem about loading external image gallery. the gallery loaded, but the image won't show...my files is like this : main.swf <---load--- pict.swf(is a gallery) <---load-- images.jpg.url...
View 2 Replies
May 17, 2010
The photos in my xml photogallery swf work fine. However, when I load the xml photogallery swf into my index swf, the pictures stop loading after picture 1
Code:
import flash.events.MouseEvent;
function loadXML(loaded) {
[code].....
View 1 Replies
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
Apr 1, 2007
Can I make this gallery advance on its own without a external button? I just want the images to automatically fade in and out with the user having to interact. This will be used for a large slide show. In a bind here so, This is the gallery tutorial code:
[Code]...
View 13 Replies
May 26, 2008
I am buidling a website in which i am importing external movie clips (swfs) using actions script 2.0 all of my imported movie clips so far work fine, but when it comes to import the xml gallery the who website goes in a loop. here is the script i am using to load the external movie clips.
this.createEmptyMovieClip("container");
container.loadMovie("xmlgallery.swf");
stop();
is very basic but it works for what i am doing. the question is HOW DO I LOAD THE XML GALLERY if this basic script doesn't work for it is there another way to do it?
View 2 Replies
May 17, 2010
last step in my interactive CD project.The photos in my xml photogallery swf work fine. However, when I load the xml photogallery swf into my index swf, the pictures stop loading after picture 1.AS 3.0 code for xml photo gallery swf (adapted from the tutorial)
Code:
import flash.events.MouseEvent;
function loadXML(loaded) {
[code].....
View 1 Replies
Mar 31, 2009
I'd like to take a gallery of images I'm bringing via amfphp and have one big preloader for all of them. So, once all the images are downloaded the loader bar is at 100%..Can I do this from an external swf loading in the gallery movie clip?
View 3 Replies
Aug 24, 2009
I found a tutorial that showed how to create an image gallery that loads external bitmaps. It also has some nice fade in/fade out effects using Tweener. I was wondering, what would I need to modify from my code to load MovieClips from the library instead of the external JPEGs.
ActionScript Code:
import caurina.transitions.Tweener;
var btn:Object;
[code]......
View 2 Replies
Dec 22, 2003
I was trying to use the photo gallery tutorial from this site the code was done by sbeener I wanted to use the same concept for adding external text for each image. So far I have only been able to figure out how to load the text but I have not figured out how to be able to change the text to correspond to the image.
[Code]....
View 6 Replies
Feb 20, 2008
I've built a flash photo gallery that pulls image urls from an external XML file. The gallery has different image catagories that load their own set of images.The user decided which catatgory they'd like to view by clicking an HTML button in the flash movies parent page...using javascript, this button click sends a variable to the root level of the flash movies with the new XML location...
Trouble is, onces the initial XML file is loaded, the movie has no need to refresh (and read the newly sent variable) ...*Unfortunately the catagory buttons MUST be outside the movie on the page...
View 4 Replies
Jun 4, 2009
I am using CS4 with AS 3.0... I want to implement both a freeware photo flash gallery and mp3 audio player that I found into my all-Flash website. Both of these require reading from an xml file to get their content. They both come with html embedding instructions, but I don't know about actionscript.
View 14 Replies