flash help
- Started
- Last post
- 5 Responses
- skonge
I have 4 sections to a site. When a button is clicked for a new section is click i want to transition out of the section you are in and into the next one. Any links or advice is appreciated!
- unfittoprint0
don't use sections.
use a movieclip and load the different section into it....
....or have different section MC's on stage and use an alpha transition loop...
something like
changeAlpha = function(section1, section2){
moviealpha = section1._alpha
moviealpha+= -moviealpha/4
section1._alpha=moviealpha
section2._alpha= 100- section1._alpha
}fade= function(section1, section2){
clearInterval(alphaLoop)
alphaLoop = setInterval(this, "changeAlpha", 30, section1, section2);
}//a button event example...
triggerButton.onPress= function(){
fade(Contacts, Portfolio)
}
- tomkat0
hah! that's it.
unfit..you're still awake? also a night shifter..?
- unfittoprint0
________________0:45 here
bedtime in . . . . . 9 . . . . . . . 8 . . . . . . . .7 . . . . . . . . . . .6. . . . . . . . . . . . . 5 . . . . . . . . . 4 . . . . . . .. . . . . . .. . . . . . .3 . . . . . .. .. .2 . .. . . . .zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz...
- skonge0
unfit is the master! i'll see if i can wrap my brain around that one.
- tomkat0
good night.
01:45 here..