Repeating Flash On Reload
Is there any way to stop a flash file (okay, I admit it - SWiSH file) from reloading itself everytime either the visitor returns to the index page, or if they just refresh it?
Thanks.
FlashKit > Flash Help > Flash MX
Posted on: 08-03-2004, 12:50 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
How To Make SWF To Reload From The Start, Every Time User Reload/revist The Page.
Hi,
How can i make my flash SWF file to reload from the start every time when a user visit the site.
Like i dont want it to be saved in cache, i want to reload it from the start every time, because i have seen that once it is saved into cache, it just starts from the cache when we visit the site. So, i dont want it, i want it to reload again and again from the server whenever user visits.
I used the following meta tag:
<meta http-equiv="pragma" content="no-cache">
But it seems to be not working as the way it should. As when i re-load the page, the preload bar shows 100% loaded.
ANy idea???
Amir
Dynamic Image Reload Is Cached. Need Fresh Reload.
I'm calling a basic image from the web, but the image is constantly updated. When the end user clicks to reload, it displays the same cached image. How to I force it to reach out and get the updated image?
Not too savy with actionscript yet and could use some help.
FYI, this is a standalone exe flash file, not a browser embeded movie.
Thanks in advance.
Flv As A Banner : Avoiding Flv Reload On Page Reload
Hello.. I'm tring to create a looping sfw banner containig a looping playst of flv on my new website...
I think I understoode how to do that..
My biggest problem, is that I wish the flv avoid reloading every time that the page is changed..
I don't know if I ì ve been clear...
I'm sure that checking this page will help understanding the problem:
www.kurageart.eu
hope you can help!
thank you
Repeating Flash Move
I wanted to create a movie which repeated itself seamlessly. I carefully arranged the animations, so that the start and end of the movie were exactly the same. But it wouldnt work! :-(
The problem seems to be that the movie forgets to show its first ½ seconds when it repeats.
Is flash supposed to act like this? What am I doing wrong?
- Kasper Hviid
Flash 5 Repeating A Clip
I need to repeat an animation as soon as this one ends but if I place a gotoAndPlay action in its frame it won't work. It does with a Stop() in the following frame but then I can't start it over again.
Repeating Background In Flash
How do you create a repeating background in flash. I guess its by applying a bitmap fill to a rectangle vector shape however it seems very difficult to get it to the right size.
TY in advance
Mark
HELP How Do I Reload W/ Flash
I am attempting to finish up a Interactive Campus Map, however I am unable to figure out how to add a refresh button to the page, I realize that the browser provides one but I'd like to add one to the map so that the page can be reset in a Flash Player. I need the equlivient of a javascript Refresh Page like this or something [ history.go(0) ]. If you have any Ideas let me know. Also if you like to look at peoples work and give suggestions then plaes check out the map. It's really still beta but that will change over the weekend.
<http://wwwstage.valpo.edu/maps/flash>
Thank you in advance
Reload Flash?
I am having trouble with stopping a level1 movie from level2 on a particular project. I know this worked on other projects, does this sound like I need to re-load flash? It seems to be ignoring the button script
on (release) {
_level1.Stop();
}
Seems simple enough, I have never had to reload Flash before.
Reload A Flash
I have a flash that read a XML file and create moviclip nad that.
I like to reload entire flash so it load XML and that again.
Is that any easy way to do that?
Reload Flash
I use Flash for my news on my website. But flash doesn't refresh the text, even if it is a new updated text file. The only way I can do this is if I go to options and delete temporary files. But for less expirenced users, I was hoping I could do it with a button from the flash application or just automatically without having to change settings, delete files or do any other basic function.
Thank You.
HELP FLash Movie Keeps Repeating Itself. How Do To Stop It?
Hi,
I have just began building a flash site for an a-level assignment but the animation keeps repeating itself on the homepage. The animation is not set to loop and I cant work out how to make it stop??
View the webpage at
http://wightimage.users.btopenworld.com/Homepage.swf
Any help is really appreciated.
Thanks,
Tom
tom99@zoom.co.uk
Repeating Animation Using Different Graphics Flash 5
I want to do a loop where it is using the same animation sequence, but will call on different graphics. Like ABC first one is A and after that comes C and so on. A is a graphic and C is a Graphic
Is there a way to do this in Flash 5
Stop Flash Movie Repeating
Hi, I'm added a Flash movie to my website, but it loops forever. How can I stop it looping in HTML?
Any help would be appreciated .
Help- Flash Keeps Repeating The Wrong Images
I created a simple flash program similar to the one on this website dynamitedigital.net - a solid image displays, then a small checkerboard of the new image begins to appear over top and then large squares fill in to complete the new image. To accomplish this, I took the 'new image' and broke it apart and 'painted' large separate tiles. I then made keyframes so that one at a time the large tiles would appear on top coming from the left to right and complete the image. This works great and plays fine when I play the movie from the program, however when I try to test the movie the first 2 tiles display properly and then it repeats the same 2 tiles over and over. I can try to put this up on a server if it will help explain the problem. I am going crazy trying to figure out what is wrong since it plays fine when i play it from Flash, its when I try to 'test the movie' that it repeats the same tiles over and over. Any help?
Opener.reload Through Flash?
I have a JSP page(ProjectOptions) that pops a new window with an SWT(Create) in it. This SWT(Create) does a loadVariable to another JSP(Save) which saves the data to a db. While the data is saving an SWF(Saving) appears in the popped up window completely covering Create. After the save is finished i need to refresh ProjectOptions. Please advise on how to do this...
I've tried:
-----------
from Saving.swf--> getURL("javascriptpener.opener.reload(); void(0);");
on(release) in Create.swt-->getURL("javascriptpener.opener.reload(); void(0);");
neither refreshed ProjectOptions.jsp
Please Help me!
Maybe I should try the FSCommand? How would i go about that?
getURL("FSCommand:javascriptpener.reload();")
-OR-
fscommand("some stuff in here");
thanks,
trancin
[Edited by trancin on 03-20-2002 at 08:46 AM]
Do Not Reload Flash Header Help?
Hi!! i have a flash animated header on an html/php site. what i would like to do is have the header NOT reload, and NOT replay the entire animation upon refreshing, or changing pages. Normally i could just create 2 headers, one with the full animation, one with the looped animation. But on this specific project it isnt possible because it is a dynamic site, and my index.php reloads depending on the content. I would love it if somebody could lead me in the right direction on how to achieve the solution. I hope i explained this properly. thanks in advance!!
Reload Flash Movie
Is there any way we can reload the movie?
I am creating a small car racing game. On click of reset button I want the race to start again. i.e : play the flash movie again from starting.
One way to do this is, I need to take all the cars back at orginial position, clear all the variables etc. OR restart the flash movie? Is it possible to restart ther flash movie?
Flash Reload Issue
I'm having an issue with a Flash movie inside an HTML frame and the frame being reloaded by javascript. I have a DHTML open window button in the same frame as the reload button. If I hit the reload button, the Flash movie frame reloads and the Flash movie goes back to Frame 1, as is expected. If I click on the open window button, close the window, and click on the reload button, the Flash movie frame reloads, but the Flash movie goes to Frame 2. Is there any reason why the Flash movie does not reload to Frame 1?
Safari + Flash + SQL + Reload = 0
On this site: clearviewgalleries.com the site works fine until you hit "reload". Then it loses the database connection and you get no images or text (activity shows a call to an undefined image). I've tried reloading the PHP/XML file and that works... It's just the Flash. It won't work again until you empty the Webfoundation cache (same as emptying the cache and restarting Safari). I have another site, radioitalyusa.com that uses almost the same scripts and HTML but doesn't fail. The only differences are the Flash itself and that the Clearview site uses an external SQL server while the Radio Italy one uses the same box (or at least the external call is done outside SQL). They are on different hosts - iPower for ClearView and Yahoo for Radio Italy. Any help would be greatly appreciated! I've dug through all the code and Googled the problem, and I can't find anything that would cause this.
Reload Flash Movie?
I have created a simple flash that can allow user to drag and drop items (button) around.
I have another button call 'Erase' button, once it is being clicked, all the moved items will return to its original position when the flash movie was loaded.
How do i do this?
Have To Reload Page To See Flash, Why?
I'm using PHP to send variables in the URL so that my Flash movie that is embeded in an HTML page shows a different frame according to which HTML page is called. However, each page has to be reloaded for the Flash to show, b/c on first load it is blank. I've checked all the syntax but can't find the problem. Has anyone every encountered a problem with having to reload a page to see the Flash? Any help would be appreciated. Thank you.
Don't Reload My Flash Menu?
Hi,
I have a flash menu which also includes a submenu. Now with swfobject i have the menu in a webpage.
The problem i have is each time a menuItem is clicked the flash menu reloads and the menuItem with submenu isn't shown.
How can i solve this??
Have To Reload Page To See Flash, Why?
I'm using PHP to send variables in the URL so that my Flash movie that is embeded in an HTML page shows a different frame according to which HTML page is called. However, each page has to be reloaded for the Flash to show, b/c on first load it is blank. I've checked all the syntax but can't find the problem. Has anyone every encountered a problem with having to reload a page to see the Flash? Any help would be appreciated. Thank you.
Flash Mp3 Player & No Reload
Hi,
I have a flash mp3 player above my site (http://www.reasonfreaks.com/reasonfreaks/index.php)
But i want that it not reloads on every page load. Is their a solution to fix this problem but not with <frames> because i hate to work with frames on my site.
Anyone an idea how i can fix this reloading problem?
Cheers
Kris
Ie7 Flash Reload Problem
Has anybody noticed ie7 is caching pages with flash differently. I use a flash header for navigation around my site. However, if you log in you can see that your merely viewing a cach copy of the page you just visited. You need to actually refresh the page to update what it shows you. This problem doesnt exist on firefox or ie6 though.
www.milliondollarcribz.com
user: guest
pass: asdf
to see what im actually talking about. any suggestions on what i should do? i figure i might have to do some kind of page refresh to fix it but that seems silly and id rather not.
How To Avoid Flash Reload
Hello,
I have been facing problems with the following actionscript. My main task is to avoid the flash movie to replay once a user clicks back button or visits the flash movie page. but this script is only working with Mozilla Firefox 1.0.6 Version browser and Its not at all working with the IE6 Browser.
PLEASE HELP!!!
Here is the script :
I have a movie with 90 frames :
if (_framesloaded == _totalframes) {
gotoAndStop(90);
}
==========
For the above script its working fine in Mozilla, but IE has issues. its reloading movie from beginning
Also, I used to use the following script with old Flash Versions and it used to work perfectly :
if (_framesloaded == 185) {
gotoAndStop(185);
}
==========
I dont understand , whether there is any alternate way to avoid the flash movie replay... Please help, this is really really urgent.
Thank u
Nazeer
Flash 8: Full-browser Non-repeating Backgrounds?
Hey everybody,
I don't know whether anybody here's been to http://conclaveobscurum.ru/ before, but if you'll notice, the site's background doesn't appear to tile, yet continually re-fills the browser window upon re-size while still loading quickly. Could somebody give me any idea as to how that's done?
Thanks,
TheRiddler
Illustrator To Flash Repeating Library Items
Hi All,
After a long time away from flash i'm back on it! I've forgotten all my actionscripting ways and back at I haven't got a clue but remember a few things. I've got a animation to do in a short amount of time. I'm animating a bird flying. I wanted to do the artwork for the elements in illustrator because it has a lot of brushes I want to use. I then want to copy individual elements to flash e.g a feather then use that same element again and again to make up the wings in flash. My question is will this save me space in the file size using the same library item over and over again? They will overlap and be moved from frame to frame to create the animation.
Thanks
dp
Flash Menu In PHP: Will It Reload Every Click?
Hey everyone...
I've made a homepage (not finished yet)... but started thinking. i'm programming in PHP, and every link will call e.g. "index.php?id=1"...
This means that there's a new page on every click. But will this mean that flash will restart the movie every time? I have made a preloader, and I don't want it to start over... will it do this?
I know it will open the Flash-file faster because it has already loaded it, but it would be nicer if it would just stay on the same place in the movie...
- thanks
Flash Player Not Playing On Reload In IE
Hey Everyone,
I have a weird problem and I'm hoping the answer has been posted here before but I just can't find it. I have a flash slideshow builder and it's pretty nifty. It produces this flash player that plays the slideshow and in Firefox, Safari and sometime IE it works beautifully.
However, on some PCs, in IE it plays fine the first time but clicking on play twice (to reset and then play again) or reloading the web page causes the player not to play. It loads up fine as far as I can tell but it just won't start playing.
On my buddy's laptop, same version of IE, flash, windows, it plays fine every time, but on most PCs on IE I can reproduce this bug.
Here's the player:
http://vmix.com/viewSlideshow.php?ID=45
I get the feeling it's something missing/wrong in the embed/object tag...but it seems like a flash issue that the play button doesn't work.
Thanks so much for helping out!
-Ian
[F8] How Do I Not Reload Flash When Page Is Reloaded?
I have a flash animation playing in a table on a ColdFusion page. It is a rather long movie (45 seconds) and I have a stop action at the end of it. The final frame has several navigation points into the site.
Is there a way, that I can tell flash not to reload the page if the pages is being reloaded from within the site or by someone using tthe back button? I'm pretty new at this and any help would be appreciated.
Thank you,
Peter
Forcing A Fresh Reload Of Flash
Hi there,
I have made a flash homepage and have a problem with computer showing the latest version. At home all works fine. If i update the .swf file on the server the new version is displayed. However at work each machine remembers the .swf file in the cache locally on the machine and hence no updates are shown. Is there a way perhaps in the html coding to force the browser to reload the .swf file regardless.... or even better, compare the version on the harddisk and if a newer exists, to download and display that?!?
Many thanks for any assistance.
Lul
[F8] Flash Won't Play On Page Reload In IE
I'm trying to embed a swf into a page on a website we are creating. The swf plays fine in Fire Fox, IE will load the swf once and play just fine, but if you leave the page and go back, the swf is there but it no longer interacts with the user. I'm using the basic code that Dreamweaver 8 uses to insert a swf file, here is the code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="586" height="340" id="census_map" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="census_map.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />
<embed src="census_map.swf" quality="high" bgcolor="#ffffff" width="586" height="340" name="census_map" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
I've even tried to expire the page as well to force the browser to download every time and this is no help.
I can't seem to find anyone else with this problem.
Flash Menu Reload Problem
Hey all! Well i'm new here and searched the forum and didn't exactly find my question so i'll ask it here. I have this menu that's completely on the timeline (bad practice i know) and i want it to stay in certain states. See here:
Basically when a user clicks on one of the items in the submenu (like office or tables) i don't want the menu the reload. I want it to stay in the same state. Any suggestions? Oh and thanks for reading those that did!
Flash 8 Image Load/reload
hi
We are currently trying to create a map of manila city using flash, so far we have created the centre of the city to a high standard but want to extend and do the full city. the problem is the size of the map is about 20 times the size of the one we have already made meaning that it may need to be broken up into seperate images. Does anyone know the best way to do this? and also the code required for loading/unloading images that are in-use/not in-use.
Cheer
Russell
Flash Wont Reload With New Php Info
Hi all,
I have flash reading a database properly, but for some reason my flash file is 3-4 loops behind my php generated info.
here is a link for you to view
http://photos.reynoldsdesignstudio.com/
keep hitting refresh the code on the top is the echoed info for flash but generally it is not the same as whats being displayed in the flash file.
here is my flash code
ActionScript Code:
var myLoadVar:LoadVars = new LoadVars();
myLoadVar.cacheKiller = new Date ().getTime ();
myLoadVar.load("nav.php", myLoadVar, "POST");
myLoadVar.onLoad=function(success:Boolean){
if(success){
_root.createTextField("myText",2,10,30,240,18);
_root.createTextField("imageNum",3,10,5,240,18);
myText.text=this.Name;
myText.textColor = "0x"+this.titleColor;
myText.selectable = false;
twnAInMenu = new mx.transitions.Tween(myText, "_alpha", mx.transitions.easing.Regular.easeIn, 0, 100, 36);
myTextFormat = new TextFormat();
myTextFormat.font = "thaFont";
myText.embedFonts = true;
myText.setTextFormat(_root.myTextFormat);
imageNum.text = "Image Number: "+this.imageNumber+" - View Image";
imageNum.textColor = "0x"+this.titleColor;
imageNum.selectable = false;
twnAInMenu1 = new mx.transitions.Tween (imageNum, "_alpha", mx.transitions.easing.Regular.easeIn, 0, 100, 36);
imageTextFormat = new TextFormat();
imageTextFormat.font = "thaFont";
imageNum.embedFonts = true;
imageNum.setTextFormat(_root.imageTextFormat);
linkButton.onRelease = function(){
getURL("gallery.php?id="+myLoadVar.ID);
}
}
else{
trace("error");
}
}
php code
ActionScript Code:
//connection here
$headerSelect = "SELECT ID,header,title,textColor,fileNumber,headLeft,headRight FROM photoTable WHERE header="y" ORDER BY RAND() LIMIT 0,1";
$header = mysql_query($headerSelect) or die(mysql_error());
$headerImage = mysql_fetch_array($header);
$upperTitle = $headerImage["title"];
$upperTitle = strtoupper($upperTitle);
echo "&Name=".$upperTitle."&ID=".$headerImage["ID"]."&titleColor=".$headerImage["textColor"]."&imageNumber=".$headerImage["fileNumber"]."&";
$random = rand();
does anyone know why flash wont pull the same info from the db as the rest of the "html" content site
thanks
eric
How Do I Not Reload Flash When Page Is Reloaded?
I have a flash animation playing in a table on a ColdFusion page. It is a rather long movie (45 seconds) and I have a stop action at the end of it. The final frame has several navigation points into the site.
Is there a way, that I can tell flash not to reload the page if the pages is being reloaded from within the site or by someone using tthe back button? I'm pretty new at this and any help would be appreciated.
Thank you.
Flash / Web Page Reload Question
On the main page of my web site I inserted a Flash object that plays an mp3 file automatically.
Problem is, when the user clicks on a link to go to an html sub-page then returns to the main page (using the browser's back button or the "Home" button I provide), the audio clip plays all over again. I do not want this.
How can I get the AS code on the main page to execute only once per session? I do not want the mp3 to keep auto-playing every time the user goes from a sub-page back to the main page. Only when a user formally closes their browser then reopens it and returns to the main page at a later session should the mp3 file play again. Thanks.
Reload Database Values To Flash
hi. hope anyone had this problem before. i can get all datas in flash from database by calling a PHP file and list them in flash. the problem is i need to reload the values again after clicking an update button. it updates the values in the database but im still getting the same values in flash even if the php file is called again when the button is pressed. ive notice that i have to close down my browser and reload the page before i can get the new values from the database.
Flash - > Browser Without Page Reload
Hey there!
I'm just curious, is there any way... Or how could I get a Flash File to call a Javascript Function / Send a Variable back to a browser which Javascript could read?
Basically working on something where as, currently at any moment during the web page is open Flash receives a variable.. Needs to process that, then call a Javascript Function in the page or if this can't be done, sends a variable back to the page which javascript will listen for every 500ms or something like this...
Anyone know please ?
Flash On Server Needs To Reload To Work
i created a gallery that gets the pictures from an outside source through xml. it works fine on my computer but on the server i have to reload the page at least once becuase the first time it doesnt show me the scroll face and this happens in mozila an IE.
here is an examp:http://www.tamisivan.com/temp/yoram/centralAsia.html
any Idea?
Flash Menu In A Php Page Don't Reload?
Hi there,
I have a flash menu in a php page with the href links
ActionScript Code:
conceptBtn.gotoURL = "?category=concept";
helpBtn.gotoURL = "?category=help";
etc
Now it looks like the flash menu is being reloaded each time a menubutton is clicked. As my flashmenu consists of a simple slide-in submenu navigation, it doesn't show the slide-in animation.
How can i prevent this or fix this???
My getURL function looks like,
ActionScript Code:
function goto() {
trace("HREF: "+this.gotoURL);
_root.gotoAndPlay(this.gotoFrame);
if (this.gotoURL != undefined) {
getURL(this.gotoURL, "_self");
}
}
i also tried setting a flag endAnime variable on the timeline and then
ActionScript Code:
function goto() {
trace("HREF: "+this.gotoURL);
_root.gotoAndPlay(this.gotoFrame);
if ((this.gotoURL != undefined) && (endAnime == true)) {
//getURL(this.gotoURL, "_self");
trace("Endanime is true");
}
}
But i didn't work
Repeating Backgrounds Within 100% Width/height Flash Files.
Working on a new clients web site, and we have decided to go all flash instead of flash/xhtml hybrid. Now I know how to use CSS to repeat a 2px background across the page.
What I would like to do, and am trying to figure out for this flash site is how to do the same thing as I could in CSS. That is make the background 2px wide and 1600px tall (or whatever), then make that repeat in the background.
The content within the flash file will not scale, with the site, only this gradient background.
Help is appreciated. Cheers,
/absent/
Repeating Backgrounds Within 100% Width/height Flash Files.
Working on a new clients web site, and we have decided to go all flash instead of flash/xhtml hybrid. Now I know how to use CSS to repeat a 2px background across the page.
What I would like to do, and am trying to figure out for this flash site is how to do the same thing as I could in CSS. That is make the background 2px wide and 1600px tall (or whatever), then make that repeat in the background.
The content within the flash file will not scale, with the site, only this gradient background.
Help is appreciated. Cheers,
/absent/
FUll Screen Flash Site With Repeating Background
Hello-
what is the best way to make a SWF that will expand to fill the entire browser and also automatically repeat it's own background elements to fill the browser? for example, the working area of the SWF is 930x600.. but it has background elemtents that should repeat beyond it's own borders. I can't simply do it with HTML backgrounds because the elements must be positioned very precisely and the borders must match up.
thanks
-scott
|