Refresh
hi all i wondered if any one can help me? ive noticed that when i upload new content to my site it does not refresh automatic. all you see is the old site please help its quite annoying. http://quickmagic.co.uk
FlashKit > Flash Help > Flash Newbies
Posted on: 08-22-2004, 03:48 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
On Refresh Page, Flash Doesn't Refresh Loaded Vars?
Hi my flash app loads random vars from a php script and shows the vars, but on refresh page the flash still contains the same vars as before? How do I reload the php script again and get new random vars into my flash app?
Mads
Refresh.... ?
just wondering, but is there a way to refresh your movie while it is playing.. maybe some type of actionscipt.. ?
Refresh?
my flash movie uses an external text file. it all loads file on the internet, but when i change the text file the flash movie doesnt change. even if i refresh the page. is there a way to get flash to get the lastest file each time you visit the site? thank you for any help
Can I Refresh The Mcs?
i have game - a jigsaw puzzle - now the pieces all are formed based on the picture in imagemc - now i put in one image per frame and named the frames (puzzle1, puzzle2, etc.)
and i put a stop(); command on each frame
now it will only use the first image - even if i do imagemc.gotoAndStop("puzzle2"); since it started with the first image - the pieces stayed with that image - - but if i take the stop(); command of the first frame of the imagemc - and the pieces start with the second image - then it works!
so is there a way i can refresh the pieces using actionscript?
i mean to do the imagemc.gotoAndStop("puzzle2"); and then refresh the pieces to the new pic?
please advise!
thanks
Yechiel
Refresh
hello,
I have a button, when I click on it, I want the movieclip to refresh, what is the code for it? Can someone help me?
Thank you
ASP Refresh
Hi,
I am trying to load variables from an ASP file in a constant interval. When it connects for the first time flash shows the right value. But in the subsequent connections, it still shows the same old value. That means the value retrieved for the first time is stored in the memory. I delelted the variable in the flash, but failed. Still the same old value.
How can i refresh ASP inside flash or how could i connect to ASP in intervals?
XML Refresh?
Quick question.
I have a swf I ulpoad in a movie clip trough a button. The swf file contains XML code.
I have the option to unloaded to then reload it againg when pressing a button. When I reload it the movie clip works strange.. it skips and stuff like that. Is there any code that needs to be flushed when unloading? like xml ports or something like that? and how can I clear anything of that sort?
Thanks?
sample at http://66.206.8.168/test
Product line -- debsh--- then Deltalight to unload and debsh again... notice?
Swf Refresh?
Does anyone know if there is a way to refresh an updated swf movie (not just the html) without having to go to 'Internet Options' and delete manually the swf version stored by the browser?
How Can I Refresh This
Hi flashers,
How can I refresh a dynamically loaded txt directly after loading a
new text in the txt file on server.
I got it in a movieclip and looping to reload the file from server each second but it does not refresh and display the new text.
Does anyone have an idea on how i could have this done the way to upload a new txt on server and that the new text will show in the movie clip.
Hope someone can help me out.
Thanks,
Sky
Swf Refresh?
Hi everyone,
I've been trying to figure out if there is a way to refresh an updated 'swf' document (not just the html) without having to go and manually delete the file saved by the browser from 'Internet Options'.
love
z
Refresh
how does one refresh the browser from the release state of a button?
Refresh
how can i refresh from swf - lets say a url every day at 12:00pm (the target it s easy but the action for the time-clock, and how can i connect it with the target)?
Refresh
how can i refresh from swf - lets say a url every day at 12:00pm (the target it s easy but the action for the time-clock, and how can i connect it with the target)?
Refresh
how can i refresh from swf - lets say a url every day at 12:00pm (the target it s easy but the action for the time-clock, and how can i connect it with the target)?
Refresh
Using actionscript, how do you refresh the browser when someone clicks a button?
Refresh( ); ?
hey, is there a way of refreshing the flash movie.
I have a flash document with 1 frame, and i have data coming in to flash but the problem is it only reads the variable in once, so this is why I want to refresh the flash movie so that the data being displayed is up to date with the varable in javascript.....
any idea people
XML Refresh
Hi.
I'm making a small CMS with a friend, we use PHP5, XML and flash 8.
The problem is that when something is saved the flash doesn't refresh the data, so the only way to see that is done is to close the browser and enter again... is there any way to refresh a xml? unload it and load it again? to not cache? what ever.
Thank you.
Refresh Refresh
Hi,
I have a html page which contains a flash movie. The movie is an image gallery which loads images using xml.
Sometimes the page loads fine and other times the movie is just blank, as though it is sticking?
If I press REFRESH, the movie loads fine?
I don't want to have to add a note asking the user to hit refresh if the movie doesn't load?
Anyone offer some advice please, I have read of people experiencing similar problems but have been unable to find a fix?
Thank you
How To Refresh Xml On Mac?
hi everyone!!
im having some troubles with refreshing xml on a mac. when i update the xml and image file on the server, the mac will still display the old image. i know its working because it works on a PC however i was just wondering if anyone else has had this problem?
this is the code im using:
Code:
urlPath = "http://www.myurl/"
myMP3_xml = new XML();
myMP3_xml.ignoreWhite = true;
myMP3_xml.onLoad = function(sucess) {
if (sucess) {
loadImages();
};
};
function loadImages(){
bannerURL1 = myMP3_xml.childNodes[1].childNodes[0].childNodes;
_root.main.buttonLoaderTop1.loadMovie(urlPath + banner1Name);
}
myMP3_xml.load(urlPath + 'imagesXML.xml');
Cheers!
Refresh
Does anyone know of any actionscript I could add to a button that would refresh the whole swf file?
Refresh
how do you refresh either the main page or the main swf?
this doesn't seem to work :
getURL("javascript:location.reload();");
thnx
Refresh
I have “start” frame and “finish” frame; when I press button located on start frame it go to the finish frame, and there I receive a lot of code through the included file #include “name.as”, i.e. code draw lines, make calculations etc. So I putted second button on finish frame that would me back on start frame and start again whole process. But when I press back button that has joined code
Code:
on (release){
gotoAndPlay(‘start”);
}
it execute code but things that was draw before stay on the scene instead what I would like to disappears and I start again whole process.
I try with updateAfterEvent() but it still don’t work, I try and refresh() but still nothing, or maybe I don’t know use it properly? I removed all values from input text so they are empty only table that been draw by function CreateTable("MyTable", 50, 120, 100, 14, rati, 6, myData, this); stand a fulfilled, why?
I’m waiting for your help,
Thanks in advance,
JUGO
Refresh
I have a clock, using the dynamic text, showing hors, min, and sec... the only problem is that it doesn't refresh. I add the script in a layer action in the first frame... it's in all movie, but the minutes and seconds doesn't refresh.
Here i leave the script i used:
ActionScript Code:
min = myDate.getMinutes();
if (min < 10) {
min = "0" + min;
}
sec = myDate.getSeconds();
if (sec < 10) {
sec = "0" + sec;
}
t = myDate.getHours() + ":" + min + ":" + sec
Refresh Swf
Is it possible to refresh swf file so it starts again just like when it's started? I ask this because I made little game, but no matter how I try, I can make Game Over screen, because Flash player then jumps to the first frame even thought I have stop(); in G.O screen and if it is not enought it shifts all my symbols and stuff maybe 300 pixels to the right, even I haven't even programmed it! And one interesting thing, it stays in G.O screen maybe second or two before it moves to frame 1. I have one interval what haves NextFrame(); in it, but I tried clear it, it still tricks with me. Very strange thingy...
Thanks if you can help me some way
IE Refresh Bug
Hi
I'm becoming crazy here. I cant figure out why my movie hangs after refreshing on IE. It worked under any other browser I have test it.
On my first frame I have a simple preload function that work the fist time you load the site, but if you refresh the page, it wont pass the first frame.
Maybe it could be something with linkaged classes, exported on the first frame, but even if I uncheck this option, the problem persist.
It looks like that the PROGRESS event is never dispatched because the movie is all ready on cahe.
Checkit out at:
cyzone.com/portal/close2/principal.asp
Here my code:
Attach Code
stop();
import flash.display.Sprite;
import flash.display.Stage;
import flash.display.MovieClip;
import flash.events.*;
import com.tezzutezzu.gui.LoadingWheel;
function prueba (event:TimerEvent):void {
wheel.setLoading = true;
play();
}
var wheel:LoadingWheel = new LoadingWheel(" ", 16, 0xeb2779);
wheel.x= stage.stageWidth/2;
wheel.y= stage.stageHeight/2;
addChild(wheel);
this.loaderInfo.addEventListener(Event.INIT, initApplication);
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, showProgress);
//this.loaderInfo.addEventListener(lash.events.Event.COMPLETE , miPlay);
function showProgress(theProgress:ProgressEvent):void {
var percent:Number = Math.round((theProgress.bytesLoaded / theProgress.bytesTotal )*100 );
//trace(percent + " %");
if (percent > 99) {
wheel.setLoading = true;
play();
//trace("Application fully loaded !");
}
}
function initApplication(myEvent:Event):void {
wheel.setLoading = true;
play();
trace("Application fully loaded !");
}
Refresh Help
i am having trouble with xml. i am trying to work it so that if the variable that comes from the xml file changes to a certain number it will automatically change the movie clip i have on the movie. I have also attached the fla and xml file, thanks for the help
Refresh
I use flash mx 2004 and I was wondering whether there was any actionscript that would refresh the swf. Like it would automatically do when you refresh a webpage.
__________________
http://www.balatonproperties.co.uk
http://www.balatonguide.co.uk
XML Refresh - Tried Everything...
ok, so i searched on Google and searched on Kirupa and every answer I found, I tried...but no luck...so please help:
i have a flash calendar that loads its data from an XML file which is generated through PHP. The XML file is generated just fine and everything works (because I tried in FireFox and no problems)...BUT
in IE (I'm using 7, havent tried 5, 6, or 8 yet), once the calendar is loaded, if any changes are made to the database, which PHP uses to generate the XML, they arent displayed on refresh.
Things I've already tried:
1. all the header methods
Code:
<META HTTP-EQUIV="Expires" CONTENT="Tue, 01 Jan 1980 1:00:00 GMT">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
2. Adding a random timestamp variable to the php file that is called which displays the calendar to fool the browser into thinking its in GET mode and pulling the file from the DB again.
ie. calendar.php?nocache=1204171390
3. in the Actionscript in the Flash
Code:
calendar_xml = new XML();
calendar_xml.ignoreWhite=true;
calendar_xml.load("calendarxml.php")
calendar_xml.onLoad = xml_handler;
Any other thoughts? Advice?
PS - I HATE IE!
Refresh
Hi guys !
I have a problem here I can't resolve it !
I have a hybrid site with a flash header.
In my movie I have a little intro and
then ends with main interface.
My problem is that when I give refresh
in browser it plays the movie again,
the intro so I just wants when someone
refresh the browser to jump to the last
frame in the movie.
Any advice would help.
Thnx very much !
What Would The Refresh Actionscript Be...
I have created a screensaver and it calls on the XML to go to http://www.myurl.com/whatever.txt and display the info. But when I upload a new whatever.txt it still displays the old one. I know I need to use the ?random=...but where? Is this correct:
on (release) {
getURL ("{docurl?random=.getTime()", "_blank");
}
Please help! I'm going bald now...:-)
HI-SCORES - How To Refresh ?
Ok ! here's the problem :
I have on my site some online games - the users of the site are playing quiet often and i have decided to put an hi-score keeper ...
Basicly, it gets the "score" variable from a TXT file, compare them to the new score, and if the new score is better, send the "score" variable to a php page that will re-write the txt file !
in a different frame, i have a hi-score reader that "reads" the hi-score txt file, and refresh it ( reading a refresh txt file with dummies values in it ) and then read the "hiscores" and so on ..
All of this works fine ( the writing of the new score...) except that my Flash file doesn't refresh the TXT file : it keeps loading the values the txt file had when it first loaded it, even if those values had been modified !?!?!? I have to erase the internet temporary files and reload the page for it to read the new values !!!! which is not that great for an hi-score system !!!
Does someone have the solution ??? ( i tried calling the TXT with the ?+number trick but it's not working ! )
Please !!! Help !!!
Thanks !
How To Refresh The Scene?
I want to make a button in the scene, when I press the button, it will auto refresh the scene/movie in first frame
Can action script do that?
XML Refresh Problem?
Howdy
I have a small flash newsfeed movie getting Well-formed XML off a MySQL backend via ASP. It all works, both in the local dev env and remotely... when you run the movie in the flash IDE but NOT when its sitting on a webpage in IE5.5.
When I say it doesn't work... I'm lying. It all works the first time, when you load. But, theres a button on there that should refresh the news items and reload the whole show.
This refresh DOES WORK in the Flash IDE but not on the webpage. Do you think this is because the web page is running locally (if you know what I mean) and its an MS caching thing???
Cheers
Refresh Headache
Dear all,
I have created a button with the script:
on (press){
loadVariablesNum ( "machine.asp", 0, "GET");
_root.msgbox = _root.temp;
}
_root.msgbox is the name of a dynamic text box while temp is a variable outputted from the ASP page. The ASP page contains code to generate a random number which would place it in the temp variable. It will then Response.write the temp variable.
Thus what i am trying to do is, evrytime i press the button, the textbox would be updated with the temp variable. (each press will change the value in the textbox)
However, i face a refresh problem. I need to press at least twice before a new number would appear, or else it would always return me the previous values.
Any help is appreciated. Thankz
Refresh Event...
I know this works, but I am wondering if anyone knows how to take say an add banner and have multiple ones in the same position. Then everytime the user clicks the refresh button or leaves the scene and comes back it is a new banner. I am just curious how it is done if anyone is willing to help me out!
Scroll Refresh?
Can't figure this out. I have buttons that load different text files into a dynamic text field. Everything works good except when published. The text file loads at top line in Flash Player...no prob. When viewed in browser, text won't load at top line. It loads where ever the last position was in the previous scroll (ex, if I scroll down 8 lines in text file and reload next text file, it loads at line 8??). I've tried "textfile.scroll = 0" AND "scrolling = 0" on the buttons with no luck. Any help on this one? Thanks.
Refresh Problem
I was asked by a client to make a flash menu for their e-commerce web site. They are using Miva Merchant to control the site. The problem is that when a link in menu is clicked the page refreshes thus restarting the flash movie. My question is, is there a way to make flash remember where it was in the movie even after a page refreshes?
Weird Refresh
I made this small gallery site for a friend, and the weird thing is when you go to the gallery page, you cant see the thumbnails until you refresh once or twice. I cant find anything wrong in the html or flash...what gives?
Thanks Dave
home.earthlink.net/~berkeys
Auto Refresh
hello,
I am making a small chat using flash and php..
what i am trying to get done here is to make the chat refresh every 10 seconds say... I can make it refresh if the user clicks my TALK button.. but... i want it to automatically do it incase the chatter does not type anything for a while.. any ideas on how to do this (and i dont want to use the html meta tag, i just want to reload the content out of my DB not the whole HTML page.
Hope you can help,
Happy New Year,
Drew
ActionsMC Won't Refresh
I'm building a game, and I've put all the actionScript in a separate actionsMC, just outside the stage. It is in frame 2 of the root timeline. I've duped the actionsMC and it's code to frames 4 and 6 to allow for a total of 3 levels of play. The problem is, when I beat the frame 2 section of the game and move on to frame 4, the actionScript does not execute from the begining of code that's in the actionsMC - it just picks up where I left off in the frame 2 level.Any ideas?
Refresh Combo Box
Im using the combo box that came with flash mx and want it to refresh after it is selected, so it will change back to a white background.
thanks JZ
Browser Refresh
can flash tell the browser window to refresh from within flash? Or do I have to use an FSCommand to call a javascript?
Anyone know the easiest, most browser compatible manner to have flash tell the browser that it is in to simply refresh?
Thanks in Advance.
Flash Refresh
hi i just wanna ask is there a script that i can stop a person from refreshing the flash movie, i mean like when a flash is playing the person cannot refresh while the movies is playing, another word i like to stop the viewer from refreshing the flash, they can refresh from their explore but the flash movie will not refresh and keep going
Refresh Problem
I have this news ticker that reads its info from a text file. (I downloaded it from Flashkit)
When I run the web page from my local machine, Change the info in the text file, the info in the ticker updates automatically. When I put the same stuff on a web server, it doesn't update. Refreshing the browser doesn't help, only restarting the browser does. I also tried somw html metatags for the browser not to cache the page, but it didn't help. Is there a way to solve this?
Thanx in advance!
Ghalied
Bg Change On Refresh
Is there a quick and easy way to change a bg photo (or mc) randomly in a flash mc if the user refreshes the site? I'd like to have a different background image each time the user visits - chossen randomly from a handful of images.
Thanks in advance for you thoughts.
Blue
Any One No How To Refresh A Page
sorry if my spelling is bad
any one no how to refresh a webpage from a flash file.
I have looked all over befour posting here.
I want to refresh the browser window after a button has been pressed in my flash file.
Hope you can help
thanks
Brian
Refresh Datas
hi, i'm trying to make a flash/php chat, using a database...everything is working well,but the reload of datas: if i send a message, this one is inserted in the database, i call my php page after sending the message by using a loadvariables, but the new message doesn't appear...or i have to wait let's say five or ten minutes, and then if i click to send a new message, the old ones appear...someone can help me please..? if u need to see what i'm talking about, u can go there: http://www.draguicity.com/chat/chat.swf
thx a lot
|