|
-
 Originally Posted by dawsonk
'genova' has a button on the first frame of the main timeline, instance name 'close_btn' (no code on this button)
This code goes in the file that loads 'genova'.
Code:
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(this);
function onLoadInit(mc:MovieClip) {
mc.close_btn.onRelease = function() {
mcLoader.unloadClip(mc);
};
}
g1_btn.onRelease = function() {
mcLoader.loadClip("genova.swf",3);
};
Thanks Matey it worked perfectly well ! really nice 
Now I was wondering ... i would like to know if:
1- I can make the picture in the main site go to specific frame in genova.swf without have to pass by the first one.
2- I need to have genova.swf opening and blocking the use of the buttons in the main site when its still open unless user closes it with the "X" button.
Thanks again
Cheers
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
|