Bennington.purcell
05-09-2007, 04:16 PM
Hey everyone, i am trying to get this flash cd projector to work.
I had major problems with getURL on the mac, but then i realized it was just firefox (so i am ignoring that) but the other things is that i want to make buttons check if there is an internet connection, if there is i want to get the documents from the internet, if not i want to use the ones on the cd.
on(release){
addressVars = new LoadVars();
addressVars.load("http://www.domain.com/var.txt");
addressVars.onLoad = function() {
if (con_var == YES) {
getURL("http://www.domain.com/file_new.pdf");
} else {
getURL("/files/file.pdf");
}
}
}
This is just for the PC, the Mac, i can't make local files work at all...
I am not sure if this is posted in the correct category, but i hope so.
Does this make sense??
I had major problems with getURL on the mac, but then i realized it was just firefox (so i am ignoring that) but the other things is that i want to make buttons check if there is an internet connection, if there is i want to get the documents from the internet, if not i want to use the ones on the cd.
on(release){
addressVars = new LoadVars();
addressVars.load("http://www.domain.com/var.txt");
addressVars.onLoad = function() {
if (con_var == YES) {
getURL("http://www.domain.com/file_new.pdf");
} else {
getURL("/files/file.pdf");
}
}
}
This is just for the PC, the Mac, i can't make local files work at all...
I am not sure if this is posted in the correct category, but i hope so.
Does this make sense??