Transitions

I’m new to flash but I’m not using it as an excuse :sigh: I’ve been working on an all flash web site wich is pretty much completed but I have one problem. I cant seem to figure out how to creat an effect in which if a viewer click on a button the page will slide down from below the navigation screen and if the user decides to click on another button the page will slide up and the new info will slide down. I saw some threads trying to explain this but I could get them to work since I’m new to A.S. also I had problems downloading the FLA’s that were attached which made matters worse :hangover: I would greatly appreciate any help. Thanks :cowboy:

sorry dude, i know this is major late, but for some reason i didnt get a warning on the Pm you sent me,

now to your problem, after reading your post it looks like pretty much the same idea of a door for a closing and opening transition,electrongeek hooked me up with a nice and simple fla that handles this problem without the use of hardcore variable code, so you could download that one , its called updatedoor.fla

http://www.kirupaforum.com/showthread.php?s=&threadid=14056&highlight=transitions

or if your intresting in the variable one check the rest of the fla’s i posted.

if you still have problems downloading the fla’s tell me which ones you want and we can arrange something. :wink:

sorry about the lateness of this reply.

Thanks for the reply, I was begining to loose hope :slight_smile: The fla. was exactly what I need. Thanks a million, I will work on it and let you know how I’m coming along. Thanks again its appreciated!!

Julius

which one did you download by the way the update doors one or the variables?

All of them, to see which one works best for me!

kool, tell me how you go :slight_smile:

Hey,
Thanks for the help with the transitions. I was able to make mine and they worked perfect with the help of the fla’s you sent me. I have another problem though, I made the photo album thats in Kirupa’s tutorial and it works fine but when I load it into my main movie it comes out messed up that is it shows only one picture and nothing else. I think it as to something to do with the AS thats in the photo album, I messed around with it and removed the _root tag, which yielded good results except that now I was getting an error that is the pictures were not loading. What can I do to fix this?

Julius

good to hear about the tranisition part, what fla did you use? the variables?? or other?

well i just looked at the photo album fla , and you said

I messed around with it and removed the _root tag, which yielded good results except that now I was getting an error that is the pictures were not loading.

I dont think taking away the _root tags is a good idea,these basically tell flash the direction to go to look for paths.

:: its not working might depend on a lot of things, it depends on where did you place the photo gallery?? if the its the main timeline , is it your in your menu fla or it is nested in a mc or is in a external movie?

: it can also depend on what tranisition method you used.

Tell me which tranisitions fla you used and ill try to help you out.

edit::: or you can post a fla

I used the transition with the “doors” closing then opening with a new movie clip. I guess the album is an external movie, because I just used a button on the main time line to call it. I use this code for the button:

on (release) {
loadMovie(“slideshow.swf”, “contents”);
}

The transitions work fine with every other button except for the album. whenever I click on the link for the album the doors dont open and close. It just loads the album, here is the code for the album, its note the same as in the tutorial:

slides_xml = new XML();
slides_xml.onLoad = startSlideShow;
slides_xml.load(“slides.xml”);
slides_xml.ignoreWhite = true;
//
// Show the first slide and intialize variables
function startSlideShow(success) {
if (success == true) {
rootNode = slides_xml.firstChild;
totalSlides = rootNode.childNodes.length;
firstSlideNode = rootNode.firstChild;
currentSlideNode = firstSlideNode;
currentIndex = 1;
updateSlide(firstSlideNode);

}

}
//
// Updates the current slide with new image and text
function updateSlide(newSlideNode) {
imagePath = newSlideNode.attributes.jpegURL;
slideText = newSlideNode.firstChild.nodeValue;
targetClip.loadMovie(imagePath);
}
//
// Event handler for ‘Next slide’ button
next_btn.onRelease = function() {
nextSlideNode = currentSlideNode.nextSibling;
if (nextSlideNode == null) {
break;
} else {
currentIndex++;
updateSlide(nextSlideNode);
currentSlideNode = nextSlideNode;
}
};
//
// Event handler for ‘Previous slide’ button
back_btn.onRelease = function() {
previousSlideNode = currentSlideNode.previousSibling;
if (previousSlideNode == null) {
break;
} else {
currentIndex–;
currentSlideNode = previousSlideNode;
updateSlide(previousSlideNode);
}
};

I would post the fla but its to big to load, tried every possible way to reduce it but to no avail:*( .
I hope by the information I provided to you, you will be able to help me further on this issue. Thanks again!!

Jester

so whats the problem , u cant get the photo album to work , or you cant get the doors to open and close for the album?

if its the problem with the photo album egeek went through this with a few people in another thread. seem a few people are having problems with it

http://www.kirupaforum.com/showthread.php?s=&threadid=10011&highlight=photo+album