Need help with Flash MX


I am a basic user of Flash. I had taken a basic introduction course in Flash 5.0 but recently I updated to Flash MX. But few of the Action Scripts I used to use in Flash 5.0 does not work in Flash MX for example.

I have a object named bar and when I click the button I want it to hide so I used the following code…;

I remeber I used this in Flash 5.0 but cannot use now . Just wondering anything wrong or did I miss anything.

Your prompt help will be highly appreciated.


Welcome to kirupaforum=)

Are sure “bar” is the instancename?