i have one example flash stack galery fla file. i modified it as i need. But i have some problems with preloading, and getting the title of the files from XML. i tried too many things to make it works and failed. First problem is getting the title of the file from XML and printing it at dynamic text area. And the other problem is the bigger one at preloading. i tried to get the file size when all the images loaded and i think i cant, and while trying to show a preloading movie clip i cant add it to the stage and cant control its frames. i will attach all the files, you can extract all files in same folder.URL...
I am trying to build a gallery where the thumbnail loads and then you hit the thumbnail and it opens the image full size. I don't want to have it resize.
I have a xml photogallery that I'm loading into an empty movie clip in my main movie. I can preload each image seperatly but would like to have a preloader that preloads either all or a certain percentage of the images and then starts the gallery. I've provided the code below. I'm using mx 2004. Here's a link
Code: function loadXML(loaded) { if (loaded) { xmlNode = this.firstChild;
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)
how would I go about preloading these images right before they can be accessed and so it doesn't screw up (i.e.) press back button too many times fast and the pictures don't animate..would it be something where I would preload every image separately and have if else statements.
I've built a flash XML gallery (using the kirupa tutorial) and i would like to change one thing: instead of having to wait between each image for a loading (even if it can be real quick) i'd prefer preload all images before, in the way the mcLoader class does (progressively). I've triyed some things like assigning a massLoad of the images on first frame, or loading (on first frame too) all images in a mcLoader hidden under the movieclip which loads the pictures found in the XML but none worked. I've triyed to change some lines in the code but it was a disaster too, as long as i don't really understand all the code (but only globally).
I'm building a Flash photo gallery, and I came up with a solution using Flash and XML which is very, very similar to the one in this tutorial: [URL]. The catch is, I'd like to preload all of the images listed in the XML array before showing the first picture. Simply using _framesloaded will obviously not work; I searched around a bit on Internet, but I haven't yet found a solution. I thought I might try using an external script in PHP or javascript and use fscommand() in Flash, but I wanted to post here to see if anyone could think of another (simpler) way.
I'm using a txt file that contains variables for image locations and text descriptions for a gallery. I'm currently using the following code to load the info: loadVariablesNum("info.txt", 0); Works great until I put in on a website. Is this a preloading issue?
I've made this photo gallery but I'd like to add some extra things but don't know how to do it. #1 - a preloader for the image loading, #2 - make the image to show gradually like fading in in the box.
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?
What I want to do is to make a gallery based on the tutorial gallery here (thumbs), but I want the user to be able to choose different galleries from within the movie. I figured that I could make a loop to cycle through the galleries, then nest another loop inside it to cycle through the pics, captions and thumbs. While I wrote, I constantly tested the output with trace commands, but when I tried nesting the loop I lost all output.. I'm pretty new to both Flash and Actionscript, so if theres an obvious solution I havent been able to see it.. This is my temp XML file:
Im using a dock gallery fx from flash xml components. But for some reason when I preview in browser the dock gallery scales out of the swf area. This doesnt happen if i change the p[ublish setting to match movie. But if the publish setting is set to perscentage gallery scales.
i am trying to add extra images to the photo gallery attached. I would have thought it is easy and it seems so. I add an extra image to the gallery. I publish it. The html file shows the extra image in the gallery but the swf doesnt. driving me crazy, cant work it out?
I've made a gallery slideshow before but wasn't as intuitive looking back at it now and I want to start fresh on this new project. I would like to convert a jQuery lightbox style gallery into a flash XML based AS3 image gallery with categories. I don't want to code the FLA, I want separate AS files.
This is a school project for my website. I would use jQuery and I have more experience with it but this project needs a flash component. I'm just not sure where to start and looking for some advice on how and where I could find resources. I want it to be minimal as I can make it;
- 8 thumbnails to a "page/section" with more flowed into page 2 or 3 etc. (or a srcoller)
- a few buttons for categories
- images fading in full size with a description when hovered over and a close button
- preloader (simple bar)
Esentially something like this > http:[url].........works which is using http:[url].... for the thumbnails. That might be ambitious but I'd suffice with a simple fade effect.I've downloaded some galleries out there but most of the code is messy or outdated.http:[url]... this is alright, but all the code is done in the FLA. I might break it into AS files but it depends.
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.
I have a flash site that I'm working with that has an xml photo gallery as one of it's menu items. the photo gallery has three pages, all three containing thumbnail images that once clicked, load the larger image. The larger image dissolves in covering the page with the image. Once you click the larger image it dissolves out returning you to the gallery.
What I want to to do is to change the first page of this gallery to a video gallery, or player, leaving the other two galleries as image galleries. I tried simply replacing the images listed in the xml document to flv files and the flv file does not load. I simply want to know what it is I need to do in order to change this one page so that I can embed videos on it.
I've attached the Action script that loads the xml gallery in .txt format
i am trying to put some things together following the tutorials on this site. I did the tutorial 'Photo Gallery Using XML and Flash'and I followed it step by step and uploaded it with all the necessary files onto my remote server (xml file, Gallery folder, fla, swf, and html) - however, when I test the movie with flash, it seems to work fine (except the description test, my question to that later), but when I test it online it shows only the first image (but displays the correct number of images in the gallery); even when clicking the next button, it keeps loading the first image the first image. In other galleries (I use the structure for multiple galleries for my portfolio) the first image never loads at all.
Also, about the description text, in between the <caption> and </caption>, can I use <strong> and <em> and <br /> to change the appearance of my text? All it says is 'null'.If you want to look at what I mean check out my portfolio in the making. The problem with the first image displaying only is under 'paintings' and both the projects in 'design - packaging'. The second problem (no picture loading at all) is on some of the buttons in 'design - identity' (where I have not changed the description text of the tutorial yet). Again,
have a question about loading new photos into a already populated image gallery.So I have my gallery set up so first loads my stage pics. What I would now like to do is load different set of images via the click of a button.So for example the loaded gallery already has all thumbs loaded and the user can click on them to view the full size image. next instead of the user having to close this gallery to allow a new gallery to open with a different set of pictures I would like to have a button. This button will unload the existing thumbs from the gallery and load in new ones.
I've got a website with three links to three different thumbnail galleries. When I click the link to a gallery that has a lesser number of thumbnails, it fills the difference in numbers in with thumbnails from the previous gallery.
i have my portfolio website which is a 1.5mb big flash presentation and i thought about making a preloader.the problem is that making a preloader for the entire site will take too long to load. i have tried that.
so i thought about making a preloader for each "page" or section of my presentation. for example- just for syneron, or just for m-systems (with each of them have a few diferent pages in the presentation, but their size is managable).
the problem is that i cant find anything is the preloader code that will let met control what frames to preload (for example, frames 100-200).
I've made preloaders before, but only by having a preloader.swf that loads the content.swf.Is it possible to have an swf preload itself, so to say?I suppose the swf doesn't start until it is read into memory completely, or am I wrong?
I have a preloader that loads an external swf. That external swf calls an xml file that takes a few seconds to process and load the images within the xml.
My issue is that the preloader is "lying" to me when it reaches 100% because once it loads the external swf there is still a few second delay before the images within the external swf display.
Logically that makes scene to me because the external swf bytes don't include the bytes of the images that it calls for.
SO,...
How do I get the preloader to count to 100% only when the entire external swf and all of its contents are loaded in?
I need both the XML and SWF to be fully loaded and available. The problem I have at the moment is that the swf loads and after a slight delay the xml content appears (this is more noticeable at lower bandwidths).I need for both to appear at the sametime. Is there a way of constructing a preloader that takes both swf and xml bytes together ie getBytesTotal for both swf and xml.
While the main movie is already visible and usable, I want to load some additional SWF's (not to large though, like 20-50kb) underwater... so not visible and they won't be appearing to people unless they click a certain button. It is not certain that people will actually go to view them, but I want to make sure that some parts are immediately visible (so already loaded), in cache so to speak.
I have an FLV embedded in a SWF, and it preloads whenever a user visits the page it's on. Is there a way to prevent it from preloading, or force a user to click play before it loads?
i have my portfolio website which is a 1.5mb big flash presentation and i thought about making a preloader. the problem is that making a preloader for the entire site will take too long to load. i have tried that. so i thought about making a preloader for each "page" or section of my presentation. for example- just for syneron, or just for m-systems (with each of them have a few different pages in the presentation, but their size is manageable).
the problem is that i cant find anything is the preloader code that will let met control what frames to preload (for example, frames 100-200).
I am currently building a flash site which uses dynamic images throughout using loadMovie("picture.jpg", mc_name) to load them into various movie clips. This all works fine and the site is starting to look good, the only problem i have is with preloading. I have the main swf file and everything contained within it preloading with a progress bar at the start which works fine. When the movie loads the main homepage image slowly fades in, however as the loadMovie("home.jpg", homepic) is on the same frame as the homepage, if you don't have the image in your cache then you miss the fade completely in the time it takes the image to load.
As a result i am wanting to preload this (and a few other) images during the initial preloader if possible, that way i can prevent this problem from occurring. Unfortunately from what i understand i can't run loadMovie from within my preloader actions as they're in a different frame so i'm really not sure how to do it, given the image is external