Is This Worth Flashing? Yet Another Portfolio Design By Flash Gordon

When I use transitions in and out I use variables to store which page it’s going to after you click the button.
For instance say you are on your profile page. You click the portfolio page button that has an action like this:

[color=darkgreen]on(release){
pageTo = “portfolio”;
gotoAndPlay(“profileOut”);
}[/color]
Then just a simple if statement at the end of the [color=darkred]profileOut[/color] transition out like this:

[color=darkgreen]if(pageTo == “profile”){
_root.content.gotoAndPlay(“profileIn”);
}else if(pageTo == “portfolio”){
_root.content.gotoAndPlay(“portfolioIn”);[/color]
[color=darkgreen]if(pageTo == “contact”){
_root.content.gotoAndPlay(“contactIn”);[/color]
[color=darkgreen]if(pageTo == “links”){
_root.content.gotoAndPlay(“linksIn”);[/color]
[color=darkgreen]}[/color]

Obviously you have to fix the pathing of the movies, but I hope ya get the idea.

Not really. Do you have a different swf for each transition or what? ‘Fix the pathing’?

I just have a single timeline with the transitions. Each transition has a framelabel of portfolioOut or portfolioIn for the respective transition in or out.

When I said fix the pathing, I meant link the _root.content, ect. ect. to the where the timeline with the transitions are located. Ex. If you have the timeline with the transitions located in a movie located on the main timeline called content, it would be _root.content.gotoAndPlay(“profileOut”);

I’m sorry if this is kinda cryptic, I’m really bad at explaining things :frowning:

Thanks Wanyo but I need to work with externally loaded files to keep the load time down. I can’t do it all on one timeline.

Ah, OK. I didn’t realize it had a double meaning! :slight_smile:

Yeah I love that kinda thing. Clever slogans make me want to buy stuff so I try to use them.

BTW: I put some music on the site and slightly sped up the button rollovers. Tell me what you think.
www.paddyduke.co.uk/v2

Sounds are pretty good, the music fits pretty well, too. I still would move the text down on the buttons though. Too close to the top.

I like the space at the bottom of the buttons. Thanks to Ultrashock for all the sounds and music. Can anyone help me with my coding problem? I may have to try Wanyo’s method.

text is clunky and crammed. I like the lines for the BG though

I just recently made a site using the same method with externally loaded movies. It’s more about the variables than the actual timeline. I just find it easier to have all the transitions on one timeline. I think if you used something like:

[color=darkgreen]on(release){
loadMovie(“OutTransition”);
}[/color]

and then at the last frame of the transition

[color=darkgreen]if(page == “portolio”){
loadMovie(“portfolioInTransition”);
}[/color]

You could generally work it for any externally loaded setup. You may need to use [color=darkgreen]_global[/color] on your variables to make sure you can access all your variables easily. I wish I could explain it to you better. How do you have your externally loaded movies and buttons set up? Maybe I could help write the right code for it if you need.

Each external file (section) contains both in and out transitions. The buttons are in the first swf and then there will be a home button in each section. There are five sections in all: main (buttons), profile, portfolio, contact and links. Thanks for all the help. I’ll link to you when I’m done.
Paddy

YO!!! Howdy Pads,

I dig your new version, its looking fab animated…

the first mask doesnt look right cos it reveals both the box and the title text, need to change that so it doesnt look like a flat image

its gonna be cool, much cleaner than ure current one! :thumb:

Thanks Billy/Dave. What the hell is your name?