Forum Moderators: open
For ex. "Home" then it loads the page as new uncached page.. but if i clicked on "Home" again anytime then it just brings the cached page so the php data never gets updated unless i do "REFRESH" or close and open new browser!
so how to overcome this?
thanks in advance
in actionscript 1 its
loadVariables("whatever.txt?" + int(Math.random * 10000), this);
actionscript 2 will require a different syntax which if you really want I will work out for you :-)
on (rollOver) {
gotoAndPlay(2);
}
on (releaseOutside, rollOut) {
gotoAndPlay(14);
}
on (release){
getURL("/pagename");
}
so where should I add what?
thanks again
If so cant see why he php is not being parsed at render time, not sure how flash comes into it really. Surely its down to the php page or even the browser settings?
Are you trying to parse information to the PHP pge from within flash or is it simply a standard open page command?
---------
am optimizing the page using mod rewrite, so for ex.
when the menu button is clicked i go to
"mobiles" which internally go to "mobiles.php?bla=1"
so i dont think it will work if i added random number to "mobiles"
This is exactly what am doing:
-------------------------------------
Flash button:
on (release){
getURL("/pagename");
}
-------------------------------------
goes to
-------------------------------------
.htaccess:
RewriteRule ^pagename$ pagename.php?cat=1
-------------------------------------
am using Flash MX 2004
we link to php pages here from flash without any problems.