ActionScript 2.0 :: FLA Reload / Reset / Reboot Itself?

Oct 6, 2005

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...

View 3 Replies


Similar Posts:


ActionScript 2.0 :: ClipEvent - Reset Or Refresh (unload, Reload) This Function So It Works Correctly Everytime Load A New JPG?

Sep 1, 2006

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;

[code]....

View 2 Replies

Flex :: Reset/reload A Flex Application Without Refreshing The HTML Page Or Reloading The SWF File?

Jan 12, 2011

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.

View 5 Replies

Self Launch Flash App On Reboot?

Dec 3, 2009

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.

View 5 Replies

ActionScript 3.0 :: Reboot System From Flash?

Sep 21, 2009

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?

View 3 Replies

ActionScript 3.0 :: XML Loader Requires Browser Reboot

Jun 25, 2009

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?

View 1 Replies

ActionScript 3.0 :: Reset The Display By The Means To Start The Motion All Over Again (reset Button)

Jul 13, 2010

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...

[CODE]...

View 2 Replies

ActionScript 1/2 :: Make A Reset Button And Add Script To It To Reset All Of The Drag And Drop Movie Clips?

Apr 13, 2011

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.

View 3 Replies

Program Uninstalled But Folder Keeps Creating Automatically On Reboot

May 23, 2010

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.

View 2 Replies

Professional :: Firefox Reverts Back To Version 9 After Reboot

Sep 23, 2010

Windows 7 Pro 32-Bit
Firefox 3.6.10
 
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. 

View 1 Replies

ActionScript 3.0 :: Bg.reset() Can Only Find Reset Used For Timers?

Dec 28, 2010

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.

View 3 Replies

Media Server :: SWFVerification Without Server Restart/Reboot?

Oct 12, 2011

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.

View 1 Replies

ActionScript 2.0 :: Reset All Variables - Command That Will Reset All The Variables In A Swf At Once?

Nov 25, 2009

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.

Anyone know?

View 2 Replies

Reload The New Swf?

Nov 4, 2009

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.

View 1 Replies

ActionScript 3.0 :: How To Reload Swf

Nov 17, 2009

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.

View 10 Replies

Professional :: Can't Get Swf To Reload

Feb 12, 2010

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.

[Code].....

View 2 Replies

CS3 Reload Xml When Browser Refresh

Apr 12, 2009

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?

View 2 Replies

Load A Different Image On Reload?

Aug 17, 2009

I am trying to load a different image on my banner on reload.....

View 5 Replies

Flash :: Can Not Play On Reload

Mar 10, 2010

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]...

View 5 Replies

Professional :: Detect End Of Swf & Reload Another

May 17, 2010

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!

View 1 Replies

Professional :: How To Reload Swf In Browser

Jul 30, 2010

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.

View 1 Replies

ActionScript 1/2 :: Reload XML File In It?

Jan 10, 2011

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]...

View 2 Replies

Php :: Javascript, HP Reload After Alert Without URL

Jan 24, 2012

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.

[Code].....

View 2 Replies

ActionScript 2.0 :: Possible To Reload Movie Itself?

Jul 10, 2008

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.

View 8 Replies

ActionScript 3.0 :: Reload SWF / JPG From XML File?

Oct 27, 2009

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]...

View 0 Replies

ActionScript 2.0 :: Reload FlV In Same Position?

Apr 19, 2011

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?

So like a

ActionScript Code:
currentFrame

but for an Flv?

View 4 Replies

Actionscript 3.0 :: Compare XML And Reload?

Jan 21, 2010

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.

View 10 Replies

ActionScript 2.0 :: XML Only Displays After A Reload?

Feb 13, 2008

I don't get this, my menu shows the menuItems after i reload the page, not the first time.

on frame 1 i have

Code:
xmlSettings = new XML();
xmlSettings.ignoreWhite = true;
xmlSettings.onLoad = loadXML;

[Code]....

How can i make sure the menuItems are show on first load?

View 1 Replies

IDE :: How To Get SWF To Reload Image Every Five Seconds

Mar 19, 2009

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.

View 4 Replies

IDE :: .swf Reload On Page Refresh?

Jun 24, 2009

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.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved