The company I work for has a Flash site. This Flash site used to work very well and employs simple AS2 commands to navigate.
Recently, We had to update the enquiry form (from a cgi script called from an html form to a separate php form). The only change was to change the .html suffix in the getURL statement to .php. The problem is that now, when the buttons are clicked in the main Flash page, you are taken to the next ‘block’ in the root timeline and not to where the AS tells the movie to go.
Below is an example of the AS used in the navigation banner symbol which has always worked:
on (rollOver) {
gotoAndPlay(3);
}
on (rollOver) {
play();
}
on (press) {
_root.gotoParam = "planners"; //The page or block to link to
_root.play();
_hide.play(); // original creator put this here, can't see what it does!
gotoAndPlay("planners_menu");
_root.navigation.gotoAndStop("nav_planners");
_root.navigation.other.play();
_root.navigation.about.play();
_root.navigation.multimedia.play();
}
The main timeline has the gotoParam commands at the end of each ‘block’ to take you to the correct block referenced from the navigation.
Unfortunately, the whole thing appears to be ignoring the gotoParam commands and simply carrying on along the timeline in a linear fashion. I can see no problems with the AS as it is unaltered from the fully functional version without the url change, and I am drawing blanks wherever I turn.
The debugger tells me that everything is working fine.
There are no compile errors flagged on publishing.
There are no font issues.
Any ideas?
Thanks