Groups | Blog | Home
all groups > flash actionscript > april 2004 >

flash actionscript : Works in .exe but not in .swf... WHY?


allie
4/17/2004 7:56:40 PM
Hi, I am making a presentation that has these pop-up tabs that contain
information. I am using a movieclip as a "button shielld" so the user can't
click through the tabs to the buttons below. It works beautifully in the .exe
and when I test the movie by clicking control+enter. It is not working at all
in the .swf file that is generated. The problem is that I need to run the swf
through a program that puts the logo of the drug that the presentation is
advertising in the menu bar instead of the flash logo. Below is the code I am
using on the frame where I have the mc (named button_shield) located. Any ideas
why this wouldn't work? Thanks!

button_shield.onRelease = function() {
// nothing, it's a shield
};
button_shield.enabled = false;

allie
4/17/2004 7:59:24 PM
allie
4/17/2004 8:28:52 PM
Here's a little more info:
I started building this in Flash 5 and switched to MX to use the button shield
funtionality. Now, there are some other things that worked before that aren't
working now (but again, only in the swf when opened externally, not when you
publish preview or view the exe). For instance, a scroll bar that checks and
increments the y position of the movie clip it's scrolling. Is there a cure for
this type of malfunction? Or is there a way to use a button shield type of
function in Flash 5, so I can keep the functionality I had working before?
THANKS!
AddThis Social Bookmark Button