Copy link to clipboard
Copied
Hi everyone smarter than me.
I have an online calculator which I use offline, here it is uploaded:
Complete Loan Comparison http://www.bizztools.net/2015/aaaOffline/files/comparisonrate.html
It works fine online, and it works fine when I just open the swf offline, but when I open the html file offline it doesn't behave properly.
I think it is having problems with this part as it just goes to the next frame which has a stop action and instead of heading to Scene 1, frame 1.
This used to work last year so perhaps it's a windows issue? I realise I am using Actionscript 2 andFlash player 8 which is very old.
var count = 0;
myDate = new Date();
month = myDate.getMonth();
year = myDate.getFullYear();
if (parseFloat(year)>e_year) {
gotoAndStop("expired");
} else if (parseFloat(year) == e_year && parseFloat(month)>=e_month) {
gotoAndStop("expired");
} else {
gotoAndPlay("Scene 1", 1);
}
Any suggestions?
Copy link to clipboard
Copied
don't use scenes for navigation with as2. use frame numbers or labels.
Copy link to clipboard
Copied
Hi Klad,
Thanks for replying, I wonder why it used to work but not now? I've always used scenes right from the start of Flash 3.
I'll try that and see how it goes.