That's the question already there in the headline- is there a way to trigger a "full reload"? I have a problem with a file that's heavy on XML-loading and -interpreting and MC duplication and whatnot...
...and no matter how much retouching and restructuring and refining (and other words that start with "re") I put into it, after about 20 minutes it slows to a crawl, presumably because of a cache overflow.
So I figured I'd just find a way to completely reload the FLA- preferrably while passing values to itself so it knows what options and values the user had selected and what screen he was on.I guess the last resort would be a plain HTML-reload / refresh... but that is really only the final option... I'd prefer the user would not notice too much of the reload- at least not through the inconvenience of having to navigate through menus again to get to where he was...
I have a blank container mc into which I am loading JPGs after you click on a button. There are 10 buttons in the movie, each associated with a different JPG.This container_mc is part of a function called on the main Timeline.The Flash movie is 1 frame on the main Timeline. This code works correctly on the first JPG when I click on a button for the first time), but then when you click on a different button I believe it just uses the dimensions and coordinates of the first JPG. How can I reset or refresh (unload, reload) this function so it works correctly every time I load a new JPG?
//after full size image loads into detailthumb_mc, //resize image so that neither width nor height is > 150, tben recenter onClipEvent(load) { var maxWidth = 150;
I have a flex application that has a home button. I need to reset the application when this button is clicked. I can't use navigateToURL or ExternalInterface.call("window.location.reload"); as its not acceptable to reload the swf file.
I've been developing a Flash application that will be running on a touch screen monitor installed in a hospital. The touch screen is run by a Windows machine. I'm afraid I don't know much about the Windows world. I'd like to have my Flash application launch in Flash Player every time the cpu is rebooted so the client never has to worry about manually doing it.
it's possible to reboot the system using a button from flash after the viewer has watched the flash presentation? From Visual Basic, executing the command "Environment.Exit(-4)" will shutdown and restart the program. This actually exits the control program and the watchdog program that is running in the background then restarts the main program. �The -4 is not particularly important, but it is currently designed to look for an exit code with a negative value.Is this possible to execute the "Environment.Exit(-4)" command using AS3?
I have an XML loader which loads data into my project, Then i modify the data and save it using PHP. (I can see that the XML data has changed) Then i restart the app by going to the URL again, And reload but the data stays unchanged untill i reboot IE. Why does this happen? do i have to release the XML file or something? That it now reread from memory?
Just new in forum and just new in as3 programming. All i want to do is to make some physics simulations (i'm physics teacher...). So i made my first sim with the following code, just to simulate a simple motion with constant velocity. It works ok, except the part i need to reset the display by the means to start the motion all over again (reset button). Then the motion starts but the traces of the previous motion remains on stage. I tried the null command (sp=null) but the sim could not start again because the sp nedded to be non-null...
I have an issue with adding a reset button to my drag and drop movie clips.The problem is, if a student drags a movie clip to a wrong location on the SWF file I want them to be able to hit a reset button that would take them the same SWF that they opened and what would showup would a clear page for them to restart their drag and drop exercise.I know how to make the button for this just want the proper action script to be able for user to start over with no movie clip symbols on the page.
Anyways, I started playing with flash applications a while back, and had a folder on my desktop to keep all the finished ones in, and eventually windows deemed it a default flash folder. I used to run the apps in SWF max, until I finally got flash to load them up in the player again, so I uninstalled that. I also went ahead last night to tidy up my files, and among that, I moved the folder with my flash games from my desktop to a sub folder in my documents. Now however, when I log back into the computer after a reboot, a folder called "Flash Games" (the name of the folder I kept them in) keeps creating itself. The only contents is its Desktop.ini file, the contents of which are:
[.ShellClassInfo] IconFile=C:Program FilesSWF.maxSWF.max.exe IconIndex=4 InfoTip=My Flash Folder: Your default folder with flash movies
So ultimately, I figured well it wasn't windows deeming it the default flash, but that silly program I'd already removed. (There are no traces of it in my program files anymore either) I have not as yet went through both registry and the rest of the computer to remove those traces yet, but I doubt there will be many, it was a portable program.
I install Flash 10 from the Adobe website for Firefox and everything appears to install just fine. In fact, Flash 10 works fine. Until........ I reboot. After reboot Firefox goes back to Flash 9.0.45.0 (9.0 r45). Which is evident by looking at the addons in Firefox.
I've tried completely uninstalling all versions of flash and even deleting registry entries for Flash 9 that I could find, and then re-installing. I've also tried a stand-alone installer. It always installs fine, but then always reverts back to 9 after reboot.
reset in google yields only its use for timers.However I have code bg.reset() which I suppose puts the background back to the beginning of its timeline.
I've now had two occurances of SWFVerification not enabling itself when the values are added to the application.xml for a client app.We've enabled it with an empty dir and any player will still get through.I tried to add a "not-really-the-player.swf" to confirm that it will reject all other connections, and they still get through.I've tried reloading the Application, and that also has had no effect.In a previous instance, only after the VHost is restarted, will SWFVerification start to work.This presents a rather large issue for us - as we host 100s of other client application connections on multiple boxes that do SWFverification, so it's not simple to just "reboot" these boxes.
With out getting into a ton of background I am wondering if there is a command that will reset all the variables in a swf at once with out having to do them individually?
I've googled and searched my books and can't find anything. Another option I could see is having the current flash reload, that would set everything back to the start but I couldn't find how to do that either.
I have an animated logo swf file that loads and runs once on the home page every time the page loads. The logo has been updated to appear in three different colour schemes. I want one scheme to load and when the page is refreshed or revisited, one of the other colour schemes to load in its place. They can appear in any random order, just a different one to the one that played before reloading.
I have a form, when the user clicks reset, I want the flash file to reload so everything is back to it's intial settings.I should point out, its not on a server, it's just a local file, so I don't think I can use the .load function.
I have a simple flash website it is in AS3. Inside the website is a portfolio with a link to "print," "web," and "motion." When they click on motion, I have another swf that runs -- so far so good -- however, if they click off the "motion" page to look at any other page and then decide to go back to the "motion" page the swf no longer runs. The code I'm currently using is below. The swf that runs from the "motion" page is a component that I bought that is in AS2. Prior to buying it I asked the developer if it would work in AS3 and was told yes. I have posted these questions to the developer and have received no answer.
i'm working on a project that uses php and xml to link my database information with flash. I've successfully allowed flash to read the xml contents. I need to randomise the data i retrieved from the database, so my xml content will change everytime i refresh the browser. However, i realised that the flash content didn't change like the xml content. The script to read the xml is written on the 1st frame of my 1st scene. Is there a way to read the xml again everytime i refresh the browser or re-enter the scene?
I've searched the internet for hours looking for a solution. Seems like a few people have posted the same problems I am having but no solutions.
I have a flash project that contains a preloader. The project can be seen in this header[url]...
The flash animation plays fine when first loaded. However, when IE is RELOADED or REFRESHED, the animation gets stuck on the first frame I believe. The bizarre thing is that is works perfectly in FireFox after reloads.
I have tried multiple different embedding solutions and nothing fixes it. I suspect it could be the action script on the preloader. It is a one-frame preloader, and then the animation begins.[code]...
Currently I am using this code to play a selection of .swf files using the keyboard.[code]Now I would like to detect the end of, say, 1.swf to load into a different swf, does anyone know how best to acheive this? I have tried a few tutorials with no success!
After searching the internet I found myself back here for the right answer. I've updated an swf for a client andin IE it won't reload without clearing the cache files. I know this is a common problem, but I couldn't quit figure out the best way to go about fixing it. I'd like to just add some actionscript to the swf if possible.
I have a problem with action script.How can I reload/update xml file per 5 minutes in actionscript?isn't there someway i can do to complete the script?[code]...
I have an html form within a flash site. The form is php processed. fix the php file so that after processing the form, the php returns the user to the flash page and reloads the html form. I tried a window.location in the php to send to the page but that did not work. It results in a white rectangle within the html code area (maybe frame but I'm not sure). How can I get just that html form reloaded? I do not want to load the entire page using a URL because that is too slow and I cannot replicate the flash state. BTW, below is a stripped down version of the code to simplify.
Tell me how to reload the movie itself, same like we embed a swf file on a web page, click browser's reload button so the flash movie reset to its original state?
But I want to do this from within the movie, when user click "reset" button, all the previous created instances will be released from memory. I can delete each object manually, but lots of work involved, also not sure if the resources are really free.
I'm trying to show a loop of SWF/JPG files in an existing SWF file. A timer decides when to load the new file and the external files are showing and scaling correctly during the first loop, but when the loop has run once I get really odd values on the external files with the Loader.height and Loader.width properties. The files have the following height values during the first loop: 278, 286, 278 and 787. During the second loop they all of a sudden have the following values, and of course don't scale correctly: 101.05, 786.8, 101.05, 2165.15.[code]...
I am making my own video player and am adding an SD/HD feature which will basically be moving to a replica page with the relevant definition video on it. I was wondering if it is possible to have it so when this is done, and the new frame loads the FlV will load at the same position as the previous one when the button was pressed?
I'm a AS3 beginner and are trying to make a nowplaying script for a local station where I do some work as volunteer.
The xml script that is created looks like [code]...
What I wanted to create is that flash takes information from the xml, the artist for example and compares this every 15 second with value it already has. If it's equal then do nothing else unload xml and movieclip and reload the new one.
I am doing a tutorial from [URL] and I have a question. How can I have this swf reload the image every five seconds? the file name stays the same, but the image changes every 5 seconds and I would like the swf to show the updated images.
I'm pretty new to flash and was hoping someone could offer some guidance with shared objects.hen the user refreshes the page by either refreshing or moving to another page the movie replays which is not the desired action.