PDA

View Full Version : gotoAndPlay different .swf file


nausea
05-07-2004, 01:48 AM
What I have, is a ScrollPane with a different .swf file in it. I have a button in that .swf that I want to have gotoAndPlay, or something similar, from a frame in the main .swf file.
How would I do this?

Thanks in advance.

Ricod
05-08-2004, 03:51 AM
You can adress the main timeline of your main .swf using _level0. (I`ve never worked with the ScrollPane, but I assume it`s not different from for instance another _level or holder mc)
So :
on (release) {
_level0.gotoAndPlay("my_frame");
}