Absolutely, I am not a professional, so sorry if the question is silly.
I have the script:
for (var i:Number = 1; i <= 5; i++) {
mov1.nextFrame()
}
The result is that I see the initial frame of the animation mov1 and frame 5. I do not see frames that are played during the loop. I need a refreshing function for frame or movie clip mov1, which could be placed in the loop . Alternatively, a function of pausing the action script to a vertical refres (vsync).
i am working on somthing where i need to be able to refresh the xml. Is there a way to only make it refresh the xml on one frame and not the whole movie? The way i have it set up now it refreshes what i need to, but the rest of the data becomes undefined.
know how to either make a "back to galleries" button or refresh the galleries button (or is it called frames?) when its clicked again so that you don't have to click on another button then click on "galleries" button again just to refresh it.
*note: the pictures in the galleries page are clickable and do go to a different place, they just don't have the roll over hand yet.
my file was too big to upload so you can download my swf file here:
I have let's say 6 frames now, but will be adding more and want a different frame to load each time the browser is refreshed, randomly. I've done this in AS2, but need code for AS3.
I have let's say 6 frames now, but will be adding more and want a different frame to load each time the browser is refreshed, randomly. I've done this in AS2, but need code for AS3.
I had an issue with my index.html testing on IE and the preloader just stalls on "loading 0%". he told me that locally the progress event doesn't have time to load and to try uploading it to your server and see if it works. It worked just fine. Rah Rah Kglad.
So today I'm fine tuning the swf/ fla to clean it up. Reduced some picture sizes and deleted unused files and reduced the swf from 4000 KB to 350 KB Rah Rah Gene. replaced the swf in Dreamweaver and re-uploaded with Filezilla. Rah ah Filezilla.
Everything working great and my preload went from 23 seconds to less than 3. So I'm real happy except for one small issue. Firefox and IE both do this. If I hit the refresh button, it stalls on "loading 0%" once again just like it did locally.
If I hit the refresh several times it WILL refresh randomly....2 times refresh......10 times refresh etc.
[URL]
Spoke to my hosting company who said everything seems fine on the server. BTW he said Chrome did NOT have this issue Rah Rah Chrome.
I use "loadvars" to get the dynamic info for a flash homepage from a ".txt" file. How can I force browsers to download a fresh copy of ".txt" files every access?
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 have a canvas with its verticalScrollPolicy = "auto" and whenever I reload data into the canvas I want to set the position of the scroll bar back to the top of the page.
I have a scoreboard in flash which works great, but once go back onto the scores page at the end of the game it adds the text to each field again rather than refreshing the scores/names, therefore each item appears twice in each box..
Is there a correct way to dynamically update the scores each time I access the page ? I've tried creating a loop that sets the value of each text_box.text to ""; once I leave the page but that didn't work !!
I am using a Tab Navigator component in which there are three canvas components. When I click one of the canvas (or tab), a Pie Chart is displayed. Actually what happens is that on-click 1. the canvas sends an HTTPService whose url is set to a php file 2. That php file actually gets information from a database. Based on that information an xml file is created 3. Fusion Chart uses that xml file to display a pie chart
The database is being updated after some time. Is there any way the Pie Chart may get updated after every 3 minutes to reflect the modifications in the database? or Can I send the particular HTTPService again and again after every 3 minutes 'in background'? or Is there any good way to update the information in a particular canvas (or tab) of Tab Navigator?
In my flash application i have a button which should reload the webpage in which the flash application resides. However i don't know the code yet to be able to refresh the webpage when the button is pressed
so I made a simple game in one whole .as and link it as the main.as inside the .as I declared variables, generate random stuff, and as the game plays, the variables changed as well, until the end of the stage.what I want to know is, how to fresh start the whole things? once it's at the end of the game, it'll auto reset everything like it's being played for the first time.back in as2, I usually emptied the first frame, while declaring some fixed value in the 2nd frame and the rest of the codes in frame 3, so if I were to restart the game, I can just gotoAndPlay either the 1st or 2nd frame to reset all the vars as well as stages.
I am developing a standalone flash application using xml. Its kind of a slide show. There are 100 slides and all the content is coming from XML. The problem is when ever i want to make a change i.e in XML- lets say 99th slide, i have to close the swf and run it again to check the changes in the 99th slide. Is there any option to load the xml everytime when i click next button.
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.
I'm having trouble finding a workaround to get IE to play my SWF again after a user refreshes the page. Here is the part of my preloader code that isn't initializing:
I am having the (apparently common) problem, where my flash file won't update its XML source when I make changes. I've research this, and learned that I need to add a unique reference to the loader, to "fool" the browser into reloading the XML each time.
However, I'm not sure exactly where to put the unique variable. Here's my XML loading code.
I have a FLASH portfolio that opens up with 4 options. The 2nd option works. But if you click on the first or fourth option, instead of going to their respective scenes it goes to then 2nd options scene. Here is the kicker though - if you refresh the page Control+F5 everything works fine How come it only works after you refresh the page? here is link FLASH PORTFOLIO. Then click on personal portfolio link.
I dynamically load in a .php file from a server as XML.What I would like to happen is for flash to load the XML every 2 seconds or to whatever time span I choose.
Code:
var myXML:XML = new XML(); var XML_URL:String = "server.php?" + Math.random()*999; var myXMLURL:URLRequest = new URLRequest(XML_URL);
I am tying to find a way to refresh variables with new data. I am using PHP and MySQL to randomly assign new data to a variable when the script is called. This new data is passed to Flash as in a variable using these functions:
varReceiver = new LoadVars(); varReceiver.load("iat_config.php"); varReceiver.onLoad = function(success){
[code]....
So my problem is that every time I call my movie to go to this frame that contains this actionscript, it does not provide me with new variables. Another important variable I need to change every time the frame occurs is startTime = getTimer(); However, the variable startTime will stay they same and not change when the frame is recalled.