[fmx] Pageflipper assistance needed

hi…i’m currently in the process of making a pageflipper (originally from here) but i seem to not make any progress anymore…

i want the flipper to close on a button action and after it’s completely closed make it perform another action, namely letting another movieclip gotoAndPlay!..the flipper is loaded into another movieclip…so it’s possible the buttons will not work properly…

flipper.fla for the flipper

i’ll also provide the function i’m working with:

function goIpodFromPage() {
trace("poop1");
_root.model_mc.gotoPage(1);
trace("poop2");
 
if(page==0){
_root.main.ipod.gotoAndPlay(2);
trace ("hij doet t")
 
}
}

any help would be appreciated…and if you need any other information i’ll be happy to provide…

thanks in advance!