-
From one to the other??
Hello.... I have 2 diffrent flash movies.
menu.swf <<This is a menu on the left hand side of my site
thumbs.swf <<This is a thumb viewer in the middle...
Now the menu.swf has 3 buttons and I would like it to pass the code over to thumbs.swf but im not sure how... this is the code each button contains
on(release)
{
_root.thumbsmc.switchGallery("structure.gallery.0" );
}
on(release)
{
_root.thumbsmc.switchGallery("structure.gallery.1" );
}
on(release)
{
_root.thumbsmc.switchGallery("structure.gallery.2" );
}
Now, I know I have todo something with the ""LocalConnection Object"" But I am pretty new to all this and would aprehsaite any help that anyone can supply. Thank you
~Mike
-
Slinky Designs
you need to use from what I remember this code:
sender movie:
myButton.onRelease = function() {
myLocalConnection = new LocalConnection();
myLocalConnection.send("incoming message", "onReceive");
myLocalConnection.close();
}
receiver movie:
myLocalConnection = new LocalConnection();
myLocalConnection.onReceive = function() {
mcName.gotoAndStop(2);
}
try that
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|