I have a movie clip on the stage called folder_mc.
In the first frame of its timeline it has another movie clip called posterPDF_mc.
and the following actionscript to make the posterPDF_mc open a pdf file.
posterPDF_mc.onPress = function() {
getURL(“posterPDF.PDF”, “_blank”, “GET”);
};
I have other actionscript which jumps the playhead to a frame 10 when folder_mc is clicked.
The problem is that I want the posterPDF_mc button to only work once the playhead is at frame 10 and not on the first frame where you can see folder_mc.
Is there any way to do this… maybe putting the posterPDF_mc actionscript in the root timeline and then refering to the posterPDF_mc that is located in the timeline of the folder_mc movie clip…?
Much appreciated.