ActionScript 2.0 :: [F8] Make Gallery Advance On Its Own Without A External Button?
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:
i was wondering if their was a way to load external files in advance and to integrate these in the loading progress of the flash file (in the beginning ... you know, with a load bar)i used and changed the photogallery of kirupa, and in the code i integrated a piece that positions every image depending of its size.i put it in the tag where "if" says that the file has loaded completely and the fade in may start.... wel, it works, but some times it doesn't position well. just like the image ain't loaded well. when you go to the next image and then go back it works.if you want to see it, here's the url
I have been fighting with Flash for the past week attempting to change my code so that when you click on the movieclip photo_mc, the playhead will advance on the main timeline. I have tried everything:
eg: (code on mc) on (release){ _root.gotoAndPlay("options");
The problem is that i want to make a button that when i click on it open the gallery AS popup in a separate hrtml page + all the configuration[code]...
I am attempting to make a small gallery of pictures that slide in from the right when i press the relevent button - which functions perfectly as it stands, here's the code structure on the main timelines 'actions' layer, but1, but2 etc are actual buttons and not MC's:
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.
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:
I'm new here, so let's introduce myself at first: My name is Bram, I live in Holland. I am 16 years old and currently working on a little project for school. In the project you can click on stuff, and that loads an external SWF. Here is how I did that:
[Code]...
Okay. That all works, but now I want to make a button that removes the external SWF (and brings you back to the original SWF). how to do that? If you need my FLA, tell me; i'll upload it. PS: I did use search, but couldn't find anything.
I'm trying to find out how to make a simple image gallery which changes image upon a mouse click on a button, when a button is pressed I want the image to slide in from the left into the viewable area and then when another image is selected I want the previous image that was viewed to remain in the screen and then the new image slide across over the top to replace the image.
I can get the images to slide across from the left upon a mouse click however I can't change the layer order so if image 6 is viewed and then I click to see image 1, the image will slide into place however it will be below image 6 so therefore not viewable.
I don't have an example of what I'm after but I hope my explanation was good enough, I've seen this been done in javascript but I have to use flash and am unable to replicate the effect I'm after
I've been searching for a way to do this without using html. For some reason i can't have my enter site button load the main movie from the splash page and go full screen at the same time. here is my full screen code: (where do I put my loadMovie script to make both events happen at the same time)
Ok- so the idea is that when you click a button it plays the movies assigned to the variables gallery & button to the frames mentioned. Then the variables are changed and then when another buttons is clicked it does the same - 'except it doesn't - it does it once then sits there I have to use variables because there's a lot more buttons..but i don't understand why it doesn't work - it seems such a simple and obvious thing to try and do - why is it so HARD???
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.
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]...
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.
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();
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]...
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.
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:
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.
Does anyone have a link to a tutorial that will show me how to make an image gallery that has an automatic slideshow with manual controls, a multi-page thumbnail bank with manual controls, and a preloading system that would be good for about 160 images at about 1024x680? I don't really know any useful actionscript, and I've managed to find a hodge-podge of tutorials but I don't know how to tie in all the parts to make what I want.This site in the gallery section is pretty much what I want, except for the color change and the animation:URL...
i am trying to make an image gallery with pan and zoom effect on mouse over ...now what i want is exactly like the below website plz remove space & see the website
I want to make a flv gallery (flv player on left and an xml thumbnail slider at the bottom) once clicking the image in the slider, the video asscoited to it should play in the player.[code]...
I'm making a game where every level is a separate swf. The problem is, when each level starts, it doesn't load entirely before displaying on the screen, and gives me unpredictable results. I also don't want load waits between each level.Is there some way to do all my loadMovie's at the start, loading them into some place where they wont actually be on the stage, and then calling them out one by one as you play each level of the game?
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.