PDA

View Full Version : AS Button Help!



Mohadeb
November 9th, 2004, 12:03 PM
I am using this tutorial for one of my websites.

Preloader and Transition for Dynamic Files

http://www.kirupa.com/developer/mx/preloader_transition.htm

The buttons that load a new movie are true flash buttons.

But what I want to use is a button like the attached .fla file...

The trouble I am having...

Is you give the button an instance name. In the code it calls out this button name and loads the external movie.

___________________________________________
b1.onRelease = function() {
if (_root.section != "images/home.swf") {
_root.section = "images/home.swf";
_root.transition.gotoAndPlay("closing");
}
};
____________________________________________

Put with a true flash button it works great. But when you use it with an overlay button in a movie that calls out a rollover and rollout it doesnt work.

Thank you for your help.

Mohadeb
November 10th, 2004, 04:12 PM
bump