ActionScript 2.0 :: Make A CrossFading Slideshow Class
Dec 12, 2007I am trying to make a slideshow class, wich is nearly finished, but I have some problem with setInterval ( just a guess )
View 1 RepliesI am trying to make a slideshow class, wich is nearly finished, but I have some problem with setInterval ( just a guess )
View 1 RepliesDoes anyone have a tutorial that would show me how to create a crossfading slideshow from XML? Currently I have found one that worked but as you click around the website the slideshow jumps around in the pictures and does not work properly. Here is a link to the website that is currently up.
[URL]
The end result is going to be a "photo-stack" with each image layered on top of one another, all cycling through the list of images. So container 1 would start of showing image 1, then image 2, and so on. Container 2 would start with image 2, then 3, and so on. One the container gets to it's final image, it loops back to the first image. I've duplicated all the necessary functions and duplicated all required variables with different names so there shouldn't be any overlap, however when I run my SWF, only one of the galleries loads. If I try and load the galleries as external SWF's, only one gallery appears.
Here is my actionscript code:
Code:
var id, current;
var k = 0, p = 0;
var slide = 1;
[code]....
i have a question about text in a slideshow. i know how to make a basic photo slideshow with external images. but now what i want to do is add 4-5 paragraphs of text next to each photo (with possible scrolling). the text will be different on each photo.
View 1 Repliesthis is my code for photogallery.there will be 61 images loaded in this array.how can i make an AUTO button which will make a slideshow,showing all the images in array?
arrayrow = new Array()
arrayrow=[
["00.jpg","0","sajkad","hjsgadhj"],[code].....
I am trying to make a sound crossfading between the loops (an example would be: same as in a "Winamp" media player you toggle the Crossfading function in a Modern Skin and select a duration of it). Say I got a loop of 10 seconds, altho it is not perfect as its cut of the song without a proper editing tool. Any way I could accomplish it by using the ActionScript?
View 2 RepliesI'm attempting to recreate some flash transition effects with html/ajax. How feasible is it to do a full-page cross-fade?
View 1 RepliesI have a huge memory handling headache in a project I am working on. This is basically what the program does. I have a main shell swf that loads a xml document. This xml document points to a interface swf and many content swfs. The interface swf has my container, buttons, and preloader. The content swfs holds images, audio, and other interactions.
My shell loads a content swf and adds it to a container movieclip with in the interface swf. When a new content swf is loaded, it needs to crossfade on to the old swf.Each content swf is set up as such: all of the content is in a movieclip that is exported on frame 1. There is also a large string of text that sits on frame one that is loaded into the interface swf.
1 . I can't figure out how to load / unload the swfs to set them up for garbage collection while still crossfading them when they load.
2 . When I built a test to see if the swfs would unload correctly, It would not unload any bitmap data within the swfs.
My current code is below. This works fine functionality wise but nothing is removed from the memory. I can't figure out how to add an unload script without breaking the crossfade.
Code: Select allvar slide:MovieClip=null;
var isLoading:Boolean=false;
//buildSlide is passed a content swfs url
[code]....
I have this code for an auto slideshow(supposed to be with thumbs but i am not using them), how do i stop from looping after all the pics run once?
Code:
var delay:Number = 2500;
var init:Boolean = false;
[code].....
me step-by-step or send me a link for instructions to make the slideshow like this website
View 1 Repliesi want is a simple 4-picture slideshow for the site, and i already have it done. Thing is, i want it to loop indefinitely, but i can not achieve that unless i put this script into actions: stop();function delay () {nextFrame();}setInterval(delay, 6000); Thing is....that prevents the loop because of the stop command. However, i can't slow it down unless i do this.....I want 6 seconds in between looping pictures.
View 3 RepliesI want to make a complex slide show using xml,the description of the slide show is as follows; the thumbnail is moving back and forth according to the position of the mouse and when the mouse is over the image the image glows and scroll stops and clicked on that image the big image is shown in BIG IMAGE section.
View 5 RepliesI'm using the script below to slide pictures read from a XML file. My project got 12 slideshowz like this one loading differents sets of pictures. My question : I was wondering what I could change in every FLA the current location of the XML file to load in order to have only ONE .as script without any needs to duplicate and change a line in it every time. You would save me.
[Code]...
I'm fairly terrible at flash but can manage to use it for what I need it for. I need to make a slideshow with audio, I have roughly 2000 images to bring into the slideshow and I'm wondering if it's possible to auto-create the slideshow using what's in the library or am I forced to insert my images one at a time?
View 2 RepliesHow can I make a dynamic slideshow, which works only with next/previous buttons and has over image (part of the image) hyperlinks, which are positioned each time different (the position data maybe in XML?), depending on the image?
View 0 RepliesI have to make a slideshow in an existing thumbnail gallery. This is the class that manage the gallery[code]...
View 0 RepliesI want to make a slideshow that when you hold down the next button, it keeps cycling through the images, I tried a for loop but that went to fastwhen yo uclick the button it cycles through, but you have to keep pressing for it to change, I just want the user to be able to hold it downif you want a better understanding of what I am trying to do go to alienware's new case flash introif you go through the long intro and click the "click to see 3d model" that is essentially what I am trying to do, only instead of hovering your mouse over the image I want the user to just click the next buttonalso, is there anyway to allow the images to preload?
View 4 RepliesI am trying to create a Flash (CS4) website that uses buttons - when clicking on a button, a sound is played. I am trying to get the button to change color after it's hit. The button symbol was made from a dynamic text object. I've tried "b1.textColor = 'FFFFFF'". I get error 1119, "Access of possibly undefined property textColor through a reference with static type flash.display.SimpleButton".
View 1 RepliesI have a slideshow of images which a user can cycle through with the next button, but I want it to stop on the last frame/image so they can then use the previous_btn to go back? this is my code,
[Code]...
How to make a cool homepage content slideshow like this one[url]...
View 2 RepliesI've currently made a slideshow. I'm able to switch images in the slideshow with back and next buttons, however, I want it to autoplay properly. I've found a script that seems to work, but it switches images very rapidly.I want each image to stay on screen for 3 seconds before it changes.Here's the script i'm using
function updateFrame (inc) { // send slides to new frame newFrame = _root._currentFrame + inc; _root.gotoAndStop(newFrame);
updateStatus();
[code].....
What i would like to know is following:I got 10 images inside swf's, named from 00.swf to 09.swf, how do i make another movieclip, load them, display them in a slideshow where they fade from image to image randomly, and when the image is not shown, it should be unloaded. I used .swf file because i got effects on the images.
View 1 RepliesHow can I make my gallery work? Initially I have a menu (scroller-voetsjoeba) in where I say
for(var i=0;i<_global.gallery_xml.firstChild.childNodes.le ngth;i++){
menumc=menucontainer.attachMovie("menuButton","but ton_mc"+i,i);
menumc.id = i;[code]....
and so far it works fine - I get my firstImage.....I can also get the slideshow to work but not as intended, only in the first category "life", and that's really my problem......How can I make the slideshow work accordingly to my xml file, so that if I click a menubutton in the scroller it correspondes with the correct id and so on?
<?xml version="1.0" encoding="UTF-8"?>
<menu>
<gallery name="life">[code]...
I'm using kirupa's flash and xml tutorial to make a fading in slideshow. I was trying to modify some of the code so that the image will also fade out before the next one fades in. Here is my code:
[CODE]....
I'm very newbie in Flash so I'm asking to have patience I'm trying to make my own slideshow WITHOUT buttons and WITHOUT preloaders. The idea is to preload all images from outside then to convert them to MovieClips and then using transitions between them run the slideshow.My question is: How to convert preloaded images to clips in order to avoid reloading images each time in every frame and make the slideshow without blinking? GIVE ME SOME ADVICE, PLEASE! you can download whole project without images (you can use yours instead to see how it work). This is slightly modifyed code of THIS tutorial that I'm using in my project:
[Code]...
I have been trying to create an automatic slideshow at a click of a button. I have tried a few ways using timer class to show images(stored in an array) for a few seconds but i can't seem to get it working. Below is the code that i am trying to get it working..if there is any kind soul out there,
[code]...
I'm making a presentation and want to make the text of the slides appear on command.This is what I wrote on the actions layer.
1.) First frame
bg_mc.addEventListener(MouseEvent.CLICK, playSlide);
bg_mc.buttonMode = true;
function playSlide(event:Event):void[code]........
On the actions layer there's a stop "stop();" before each new layer starts. But it doesn't work. I tried to paste the code in any order but still nothing. I works on a sample fla file I got.
Forgetting about my last post: This code currently makes it so each picture will fade from white. What I'm trying to do is make the slideshow so that each picture transitions into each other, instead of from white.
p = 0;this.onEnterFrame = function() { filesize = picture.getBytesTotal(); loaded = picture.getBytesLoaded(); if (picture._alpha<100) { picture._alpha += 10; }};[code].....
task:already have the component - slide show.need to make the next effect for changing pictures :
the wave goes through the screen, hides one picture opens another.the problem is - wave changes it's geometry while moving , there could be several subwaves in wave.how can this be done (simply) ?
I've created a slideshow that works great. Even the first image clicks thorough to a page. But it errors 1009 and the rest dont work. Here is the error I get[code]...
View 6 Replies