Forum Moderators: open

Message Too Old, No Replies

linking external scenes? help!

         

aelithe

1:25 pm on Oct 10, 2005 (gmt 0)

10+ Year Member



Hi, i'm new here and still discovering actionscripting, i'm kindof stuck in a problem:

the subcontents of my main flash file are all created in different swf files, and when i click a button in the main file, the external swf is loaded in an empty movie clip

now my problem is, i have this link in my main site that has to access a specific scene in one of the external movieclips when i press it, but i don't know how i'll be able to do it...

the site structure is like this:

MAIN FILE
- Link 1
-scene1
-scene2
- Link 2
-scene1
-scene2
- Link 3
- links directly to Link1:scene2

the code i used for accessing the links is this:

on (release) {
//load Movie Behavior
if(_root.contentPane == Number(_root.contentPane)){
gotoAndStop(65);
loadMovieNum("aboutKNN.swf",_root.contentPane);
} else {
gotoAndStop(65);
_root.contentPane.loadMovie("aboutKNN.swf");
}
//End Behavior
}

but i don't know how to link directly to a scene inside aboutKNN.swf, i'm really stumped, so if anybody can help me out w/ a sample code, thanks a lot! =)