ActionScript 2.0 :: Cache Stopping The Site Displaying Properly?
Dec 5, 2010
Is there a way to stop my site being cached. Every time you refresh the page or revisit it the countdown on it reverts to the time it was when you first visited it.
View 9 Replies
Similar Posts:
Sep 3, 2009
I am at a loss as to why Firefox doesn't load right when it's loading from cache.
In my site, there are images that get loaded from an XML file immediately as a visitor enters the site. This loading starts and completes naturally when loading from a server... OR when I have the images loaded into cache and I navigate to the site with the browser's forward or back button. -It doesn't work when I press the browser's reload button. What gives? Is this a Firefox bug? I have Firefox 3.5.2 for Mac.
View 0 Replies
Sep 27, 2010
I'm noticing that my embedded font is not properly displaying when I browse to certain portions of my site with my other office pc's. The "about me" section of [URL] in particular. What's confusing is that the other portions of the site do display the font properly!?! I've uploaded the original .fla file to the server for anyone that's really interested in helping. It can be downloaded at [URL]
View 2 Replies
Jun 28, 2008
I have a movie, in it lies a button with which I jump to another position in the _root timeline. At that position is a stop(); command. The movie just wont stop while this is running in another mc1 deeper in the file :
Code:
stop();
onEnterFrame = function() {
c=Math.floor(Math.random() * (1500 - 0)) + 150;
var Interval1 = setInterval(function () {
b=Math.floor(Math.random() * (7 - 0)) + 1;
gotoAndPlay(b);
clearInterval(Interval1);
}, c); }
What this does in the mc1 is basically creating a random number between 150 and 1500 and a random number between 0 and 7, then jumping to a random frame (numbered from 1-7) after waiting for a random time (150-1500ms). My _root stops properly when I remove the code posted above. Why is this happening and how can I have a mc1 in my movie which waits for a random time and then jumps to a random frame, while I want to move around in my _root timeline? I should add, the mcs1 which wait and move to a random frame are non existent on the position I want to move to in _root. Do I have to somehow remove the wait and choose random frame to jump to function in mc1, when moving around in _root?
View 1 Replies
Apr 20, 2010
I'm using a flash rotating banner in my website which takes images and descriptions from an XML file.
I do changes to my XML very often... but in my local machine, the banner takes a day or two to get updated.
Although I can clear my local machine's cache, the problem still remains for other users who visit my web page..
is there a programmatic way in flash or in html to overcome this problem ? Maybe a server configuration?
PS: below code works fine, but it clears out the cache completely... i need to clear XMl cache after a specific time period..
var timestamp:Date = new Date();
xmlData.load("/flash/images.xml?cachebuster=" + timestamp.getTime());
View 2 Replies
Jun 21, 2010
I've got a customized xml driven flv player that I have output as an swf. It looks and works perfectly[url]...
However, when that very swf file is called into another swf file via the UILoader componenent, those modifications don't show up.[url]... The red text is now white and the orange fade-up blinks black first.
View 4 Replies
Oct 4, 2010
This one is really strange. The last letter of all my text in the actions window gets cut-off by the next letter (or space) and it is making my script very difficult to read.
View 3 Replies
Aug 18, 2011
Everything was working fine. However, today when I check it, the XML isn't displaying properly in Firefox. Yet it works fine in IE, and was working in Firefox yesterday. Would some of you guys mind checking it in Firefox, and letting me know wether it works ok for you's, and wether its just my installation
View 2 Replies
Jun 26, 2004
I'm having some problems getting the nodes to display the animation properly, each textField should be doing the animation effect. I'm not to savvy with xml, so I'm not sure If I have my xml structured properly or not. [URL].
View 14 Replies
Apr 7, 2011
I have a button that when clicked it displays a few lines of text. Some of the text is large, bold and some of it is normal and smaller size. The first time I click the button the text displays properly but if I click on it a second time then the text is messed up. I am new to flash and have tried several different things.
View 3 Replies
Apr 10, 2007
this is my xml file
Code:
<game>
<question type="image">
[code]......
View 2 Replies
Apr 14, 2007
I have some problems with Bitmap displaying properly loaded image, when providing variables as width and height in the constructor as opposed to numbers, example:
[Code]....
Running the app with this code cuts away half of the picture from right and half of the picture from the bottom. Since the BitmapData is filled with solid white background, the clipping is clearly visible. When line marked with [*] is commented out, and line marked with [**] is uncommented instead, the whole picture displays and all is just as expected. The only difference between those two lines of code is, that in line [*] are used some properties+variables, and constants are used in line marked with [**].
View 5 Replies
Jul 2, 2011
I have it up but the buttons that activate the motion tweens aren't functioning. Also it seems that some images are not being loaded.
[URL]
I published the FLV file and it made the HTML and JS files.
View 11 Replies
Jun 9, 2004
I am doing a projector presentation that has music and I want in the moment the client goes into my site (included in the cd) the music of the projector to stop alone, any idea how to make it?
View 1 Replies
Mar 10, 2011
I'm creating a banner advertisement in Flash. It pulls all information from an XML file. Images for each product are also loaded externally. Everything is working fine except for 1 thing.
I have an image separator i'm using as a background for each product container to lend a bit of separation to each product. But when I try to add it using code it's only added to the last item. Doesn't matter if it's 10 items or 2 items...it's only being added to the last one and i'm not sure why. Anyways, i've zipped up the associated files and put it on my webserver. I'm using the Tweener class and have included that in the archive as well.
Here's a link to the archive : Project Files
View 1 Replies
May 18, 2010
Am I using TwitterScript to retrieve Twitter data for inside a Flash site. Due to Twitter's crossdomain policy, I need to setup a php proxy...Firstly I made a simple one
<?php
$url = $_GET['url'];
readfile($url);
?>
but I then get this error
URL file-access is disabled in the server configuration
which is only resolved by getting my host to turn fopen() on, which I don't want to do.
Then I found this
<?php
function get_content($url)
{
$ch = curl_init();
[code].....
How do I get the XML data out of that string?
View 1 Replies
Nov 17, 2010
The latest versions of firefox and Safari both cannot display email links. For some reason they don't parse ou the "mailto:".
View 5 Replies
Feb 2, 2010
I've created a flash website and have split it up into different swfs and have added pre loaders so it loads more cleanly. When I preview the site the links open up the external swfs no problem, but once the site it uploaded the swfs don't load, it appears that the main movie restarts insted of the external swfs (only the contact button works because it's part of the main movie).The 4 buttons at the bottom of the main page go to frames with the follwing or similar action script
designplay.loadMovie("design.swf");
This frame also contains the clip (designplay) which the design.swf should load into. It appears the issue is with the paths, I've spent a long time trying to fix this and just can't get it.
[URL]
View 2 Replies
Dec 16, 2005
i am working on multi language site. all data is comeing from backhand. every thing is going very smoothly and suddenly I got problem. specail [] Character is not displaying in flash
View 11 Replies
Jul 28, 2009
Do FMS cores share the same FLV cache or does each core have it's own cache?
View 1 Replies
May 15, 2009
I'm creating my first website. I've managed to create a homepage. On the homepage is a enter site button, which once it is pressed starts thetimeline... I have an actions/labels layer which I am writing my code in. On frame number 'one' is my code below.
stop ();
enter_site_btn.addEventListener (MouseEvent.CLICK, buttonClicked)
function buttonClicked (event:MouseEvent): void
[code].....
View 5 Replies
Feb 18, 2009
I want it to while still easing into place like the iphone does. For example my stage is 550px. The drag and throw MC is 1650. That's 550x3. If the first image is showing starting at x axis 0 and you drag to the left it will ease into place stopping and showing the second image stopping the image at x axis 0. And the same thing scrolling to the next one and scrolling back. So the code is below and I've attached the movie that I'm working on.
[Code]....
View 8 Replies
Dec 25, 2011
flash pro. as 3.0.animation . almost no codes except ends of scenes having :
import flash.media.SoundMixer;
if(SoundMixer.areSoundsInaccessible() == false)
{
SoundMixer.stopAll();
}
[Code]...
i got this scene, with this specific bgm , individual frame layer. and the sounds at another layer. what i want is to stop the sound without stopping the bgm . (yes, i know the above code wouldn't work as it stops all sounds)
View 1 Replies
Jan 7, 2012
I am making a character walk. This code will make him wobble to the right and when thats done it will trigger him to wobble to the left and then call the function again to continue the loop.I can get the loop to work fine by calling the function but how do I STOP the function? Also I want to call it later on. Is there a way to start and stop a function?
function wobble()
{
var ws = .1;
var dis = 1;
[code]....
View 2 Replies
Feb 25, 2012
i have made a site in flash. stage size 955x600 i have exported it as fullscreen with no scale. the problem is that if i browse the site with a resolution of 800x600 (760x420 if i'm not wrong), the browser dont' add scrolls and its impossible to see the complete site. How can i fix this without resizing the site. i want the users to see with the proportions that i have now.. ijust want a scroll on the browser.
View 2 Replies
Nov 4, 2009
the flash4 published set of files, with a variety of skins tried, works well on the local drive, even when moved to a different folder structure. when index.html is opened on the remote web site, the browser (firefox3 and ie7) displays the player conrols and a rotating horizontal barber pole, green and black, but no flash video.some of the skins i've used are: SkinOverPlaySeekFullscreen.swf, nOverPlayStopSeekCaptionVol.swf and SkinUnderPlay.swf. all work locally but do not play the .flv file on the web site. no problem playing flv movies on the remote web site if the file set is created by dreamweaver.
View 8 Replies
Jul 28, 2011
Forgive if I am not explaining this very well- here goes. I have one major site with three other gallery sites that are related. From one of the gallery sites I need to create a button that takes you back to a specific page on the major site.
[Code]...
View 7 Replies
May 20, 2009
I was wondering if its still necessary to build a html site aswell as a Flash Site? Or is there a definitive and failsafe way to incorporate html into my flash site? SEO is a very important factor for me. I read this article: url...by Geoff Sterns in 2006, resulting in the following[code]
View 4 Replies
Dec 14, 2010
A client of mine has had 2 sites (both Flash sites) attacked over the last 12 months, so he's been asking: should he go for a static HTML site or stick with a Flash site? Is there ways to make a Flash site more secure?
View 1 Replies
Mar 3, 2012
I have some people making a site that uses PHP and mysql. You will be logging in first to the PHP site, but the Flash based component of it requires to use the same log in and password. Do they have to log in twice??????
View 1 Replies