Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flash General Questions > Other Flash General Questions

Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Old 07-01-2005, 11:37 AM   #1
billingsgate
Cartoons & Animation
 
billingsgate's Avatar
 
Join Date: Jun 2005
Location: while (_root = USA) {_global.china.hongKong = myHome;}
Posts: 291
Default LoadMovie and turn off buttons below

I have a movie with numerous buttons around the stage. There are also a couple of invisible buttons which have an onRollOver function to trigger some sounds.

Clicking the buttons uses loadMovie to load various external SWFs into a container which is on top of much of the stage. In each external SWF are more buttons which control functions within that movie. Only one external SWF loads at any time.

The problem is, when the external SWF loads, the buttons beneath it, although they are now unseen, retain their functionality, including navigation and the onRollOver triggered sounds. Thus they interfere with the buttons in the external SWF.

Is there a simple way to load an external SWF so that it completely turns off any interactivity underneath it?

I apologize if this is a dumb question.
billingsgate is offline   Reply With Quote
Old 07-01-2005, 01:49 PM   #2
oldnewbie
Banned by AS.org Staff
 
Join Date: Mar 2002
Posts: 10,533
Default

Add an invisible button (with no script) covering the whole stage area, on the lowest layer of all the loaded movies, maintaining any other buttons on higher layers. It will override all underlying buttons, but won't do anything else since it has no script. You can even turn off the pointing finger icon with the following....

my_invisible_btn.useHandCursor = false;
oldnewbie is offline   Reply With Quote
Old 07-01-2005, 03:58 PM   #3
billingsgate
Cartoons & Animation
 
billingsgate's Avatar
 
Join Date: Jun 2005
Location: while (_root = USA) {_global.china.hongKong = myHome;}
Posts: 291
Talking

Merci bien for the ingenious and extremely simple solution. Works perfectly!
billingsgate is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:03 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.