Flex :: Enable The Caching Also When I Open It In The Browser?

Jul 8, 2009

I have the following problem, I have a flex application that works as a frontend in a client-server-application. In my application I have two sliders and a chart that moves when I drag the sliders, now when I have the following positions

slider 1: 10
slider 2: 20

a request is sent to the server and the response back to my flash. When I now change the sliders to

slider 1: 10
slider 2: 30

another request is sent to the server, because we have changed the position of slider 2. When I now turn the sliders again to the first position.

slider 1: 10
slider 2: 20

no request is sent to the server and the chart is moved correctly because the flash seems to know what he will receive, I think the application has cached the result. This effect only works when I open the flash application in the flash player. When I open it in the browser every slider position leeds to another request to the server. Is there a way to enable the caching also when I open it in the browser?

View 1 Replies


Similar Posts:


Flex :: Enable (open In A New Tab) For LinkButton?

Sep 13, 2011

I would like to enable the (Open in a new tab) option when a user right clicks a mx:LinkButton, take the address that linkbutton is supposed to go to and allow the user to click on (open in a new tab) and get to that address in a new tab. Is there an easy way to do that.

View 1 Replies

Actionscript 3 - Flex / Flash - Open The Swf In A Browser Window That Doesn't Have The Browser Control Bar Or Menu?

Oct 27, 2010

The title essentially is the question, how do I open the .swf without the browser's control bar junk? and maximize the window?

View 2 Replies

Flex - Open A Browser In PHP?

Dec 16, 2010

Im here to ask a probably dumb question again. This is related to my previous questions. I current found a way for flash/flex to send a video file(in byteArray) to php. Where php receives and writes it in the local sytem then sends it to the youtube server automatically trhu a script.This is all backend though I have no way to check if the video file was uploaded succesfully in youtube than to check it manually in youtube.

So im thinking of a new php script where it will receive and write the video file from flash. Then opening a browser window where it will automatically upload the video and at the same time track it thru the browser of its status using debug prints perhaps.

Im barely still learning php. I tried to do some research on this but found no success.

View 3 Replies

ActionScript 3.0 :: Prevent Browser Caching?

Sep 14, 2008

I periodically upload a revised main.swf. But I have torestart my browser when I retrieve the files from the remoteserver, in order to see my updated swf. The advice given on:"How to prevent caching of swf files"does nothing, in IE FF or Safari, with FlashPlayer v 9

View 20 Replies

Javascript :: Disable IE9 Browser Caching?

Oct 3, 2011

I have a Flash application that sends a getURL request for an image file every 60 seconds.

This works fine in all browsers except IE9 with Internet Option set to automatically check for newer versions of stored pages. I setup Charles proxy (http://xk72.com) to watch the requests being sent by my flash app and confirmed that the request is being surpressed by IE9 when the setting is set to Auto, but works fine if I change the setting to check everytime I visit the webpage. This, however, is not an option! I need this to work in all browsers regardless of how the options are set.

Even if I do a page refresh (F5), the ASP page does not reload. The only way to get it to reload is close the browser and restart it.

I have tried adding content headers to disable caching but it does not appear to work.

For Example, here is my request headers:

HTTP/1.1 200 OK
Date Sun, 02 Oct 2011 23:58:31 GMT
Server Microsoft-IIS/6.0
X-Powered-By ASP.NET
Expires Tue, 09 Nov 2010 14:59:39 GMT
Cache-control no-cache
max-age 0
Content-Length 9691
Content-Type text/html
Set-Cookie ASPSESSIONIDACQBSACA=ECJPCLHADMFBDLCBHLJFPBPH; path=/
Cache-control private


I have read the Microsoft blog (http://blogs.msdn.com/b/ie/archive/2010/07/14/caching-improvements-in-internet-explorer-9.aspx) which states that if I add the content headers, the browser should respect my request, but it obviously does not.

I don't think this is a Flash issue since the html page that holds the Flash object will not even reload.

View 1 Replies

ActionScript 3.0 :: Browser Caching In Flash

Oct 21, 2010

I have a Flash file that is linked to 14 xml files using the E4X method. To keep the network activity to a minimum, I have it set up so that the xml files don't load until the relevant button is clicked (rather than have them all load at the beginning). I've been told I could further reduce network activity by using something called browser caching. There seem to be methods called "conditional HTTP" and "304 caching" but I can't really find a coherent tutorial on how to add this to the code.

View 5 Replies

Flex :: How To Set Application To Open In Browser Windows

Oct 18, 2011

The things is, I've build an application in flex which suppose to be for web but when I'm running it through the Flash builder, it opens up flash player app instead of opening in a web browser. I've tried to do "run as webapplication" but failed.

View 2 Replies

ActionScript 3.0 :: Class To Checking Browser Caching?

May 31, 2010

Is there a way to check if the user has my site cached so it can tell my preloader not to run?Or is there an easier way to check this? I have a preloader, but once it hits 100% it makes a mess. It's not all that appealing. It works if you see it loading, but just to see the mess at the end is not aesthetically pleasing.Is there a way to have the Flash movie say, "Oh. You've already got this loaded? Skip animation." ?

View 5 Replies

Flex :: Possible To Open A URL In An External Browser From Within HTML Component?

Apr 20, 2010

I'm loading a webpage inside a HTML component in AIR. By default, when something is clicked the next page is loaded inside the HTML component itself. I want the links from that page to open in an external web browser.

View 1 Replies

Flex :: Open Multiple Pop Up Browser Windows From ActionScript?

Jun 1, 2010

How to open multiple pop up browser windows from ActionScript?

View 2 Replies

Flex :: Open Air Applications Inside Any Browser Window?

Jun 30, 2011

I've been searching around web and so far found many tutorials/docs on how to install or open air application from a web page. This just opens a new AIR-browser window and that's not what I'm looking for. I'd like it be opened inside a browser frame (even if downloaded first) much like a plain swf file.

I know air file is more or less plain zip, so maybe I could unpack it? What AIR features shouldn't I use for this to work?

View 1 Replies

Flash :: Child SWF Is Caching Even Though Browser Cache Is Disabled

Dec 17, 2010

I've got a parent SWF that loads in a couple child SWFs. Even though my browser cache is cleared -- it's disabled, in fact -- reloading, or even restarting, the browser doesn't trigger the newest version of the child SWFs to load into the parent SWF. I can even delete the SWF off the FTP server, and it still gives me the last version that was up there.

What's caching the child SWFs, and how do I force them to refresh on my end? I'm not too concerned about the end user, because once the site development is over, the SWF files won't change very often. (They're all loading in XML files that have the cache disabled via PHP cache control and expires headers.)

I'm primarily using Firefox on PC and Mac, but it seems to do the same thing on IE/PC and Safari/Mac. The PC is using my ISP's DNS, and the Mac is using OpenDNS... not sure if that has anything to do with it. The site is hosted on Rackspace Cloud.

View 1 Replies

ActionScript 3.0 :: Flash - Stop The Browser Caching The Old Version?

Oct 28, 2010

I put a swf file on a website, then I made some changes and replace the old version. However, some browsers seem to have some kind of cache to remember the last swf file, they only show the old version instead of the new one. What can I do to stop the browser caching the old version?

View 9 Replies

Javascript :: Manually Caching SWF/SWC In The Browser - Mimic Adobe's Signed SWZ?

Nov 14, 2009

I would like to take advantage of Adobe's Runtime Shared Library system for swc's, but I'm not sure how it ACTUALLY works, like the programming behind it. I understand that it allows you to load SWCs at runtime, but how does it do that?

I'm asking because I would like to try to mimic something like the Signed RSL "swz" system Adobe uses to cache the Flex Framework into the Flash Player, so if you ever visit a site that downloads the Flex framework for some flash website, then the next time, and forevermore, you don't have to download it again.

I can't do this because I'm using my own version of the Flex SDK from the Sandbox, and I have like 5 other swc's I'm using (Mate, RestfulX, etc.). I would like to be able to cache these things permanently, and only have them re-download them if they change.

How do I do that, or what should I read, other than the Adobe RSL docs and such? Can I use javascript or ruby to do this?

View 2 Replies

Flex :: Open A Browser Window To View An Image Created By An Application?

Aug 26, 2009

I have a flex 3 application that creates an Image from a canvas which the user draws on. I use the ImageSnapshot class to create the image

var imageSnap:ImageSnapshot=ImageSnapshot.captureImage(myCanvas);
var imageByteArray:ByteArray=imageSnap.data as ByteArray;

I want the user to be able to print or save the image. I can use the following code to print the image but flex does not provide good control over printing across multiple pages

var printJob:FlexPrintJob=new FlexPrintJob();
printJob.start();
printJob.addObject(myCanvas, FlexPrintJobScaleType.SHOW_ALL);

I would like to display the image in a browser window so that the user could print it using the built in browser functionality or right click on the image and save it. Can this be done without requesting server side code to do it?

View 3 Replies

Actionscript 3 :: Setting The Default Browser To Open Flex Apps In Flash Builder On Mac?

Sep 13, 2011

I just got my MacBook and am trying out the Flash BUilder on said platform. I've installed Firefox and Google Chrome on my MacBook but I can't seem to find a way to set which browser would launch my Flex apps whenever I hit the Run button inside Flash Builder. As far as I know, I can locate the Browser property on the Project Properties on my Windows copy of Flash Builder but I couldn't over here at my Mac. Any thoughts?

View 1 Replies

Regex :: Format Link In String To Open In Browser In Flex Mobile Project

Jan 12, 2012

I get Strings from a server that look something like this:
This is normal text followed by a link: [URL]
Links might also look like this: [URL]

This Strings are set as the text value in a spark TextArea. What I'd like to achieve is that
A. the text gets highlighted and
B. the user can click it and it opens in the systems browser.

Using the StyleableTextField throws a typerror on Flex 4.6. I tried the simplest HTML text like this:
StyleableTextField(newsStoryArea.textDisplay).htmlText = "TextArea <b>bold</b><i>italic</i>."
Which throws;
TypeError: Error #1034: Type Coercion failed: cannot convert
spark.components.supportClasses::StyleableStageText@fc3d0a1 to
spark.components.supportClasses.StyleableTextField.

View 2 Replies

ActionScript 3.0 :: Enable Browser Back Button With Flash?

Mar 11, 2009

Is there any way in actionscript 3.0 to enable Browser Back Button in flash website.

View 1 Replies

ActionScript 3.0 :: Enable Browser's Back Button With SWFAddress?

Jan 3, 2012

I have an SWFAddress plugged to my flex application, and all works perfectly, instead of Browser's Back Button.
 
When user presses it, no event dispatched.

View 2 Replies

ActionScript 3.0 :: Open The Windows Browser Before Open The .swf

Jun 6, 2010

I need to made a Browser windows before that i open the Flash movie, like this one: [URL] So i need somme kind of pop up to run when somme one opens the site, and then see the movie.

View 6 Replies

Java :: Enable Intranet Users To Take Screenshot Of The Current Page Via The Browser?

May 22, 2011

Is it possible to create a screenshot from the current page the user is on? (It's for an Intranet enviroment).

I know this is not possible with JavaScript alone, but is it possible with Flash or maybe an Java applet?

I have been searching around but I couldn't find anything.

View 3 Replies

ActionScript 3.0 :: Click On Another Greeting The Original Greeting Still Plays In Ie - Swf Caching Or XML Caching?

Dec 30, 2009

I have this PHP page that lists several people. When someone clicks on one of the people they are sent to another PHP page that has their video greeting in a .swf embedded into the page. This works by the php writing the path to the greeting video to the xml file that the .swf loads and plays.

Well in firefox it works perfect, but in IE when they try to click on another greeting the original greeting still plays. Its like the swf is caching the first greeting and refresh of the page does nothing to alleviate this. Is this a problem with the swf caching? or XML caching? or am I totally clueless?

[Code]...

View 1 Replies

Flex - Caching - Non-cached RSLs In Flex?

Jun 17, 2010

I have a project that is for several customers, the only difference is in the DB, everything else looks the same, except for the main page's text. That is loaded from an external swf file. I created a library, compiled it as an swc, imported it and using it as an RSL. The problem is that if once I've opened the page, and afterwards update the rsl (because changes in the text are needed), than it's already cached by the browser (not the flashplayer's cache but we shouldn't discuss this please!) and the updated swf won't be loaded. If I use it as an external, the page won't even start up (the browser says it's loaded, but it's blank, not even the loading progess bar of flex appear)

<local:MainPage includeIn="default" currentState="{MainPageState}" id="Page"
width="100%" height="100%" />

this is the code on the main page, if I comment this out, than the whole thing loads, even with the use of the "external" link-type. in the design view, I see the component, but I get a warning for the library:

Design mode could not load MainPage.swc. It may be incompatible with this SDK, or invalid.DesignAssetLoader.CompleteTimeout)

View 1 Replies

Flex :: Jsp - Caching Of Swf Files In Application

Aug 21, 2009

I've created a Flex application and the size of the swf file is ~900KB. My trouble is that the files are not getting cached. When I launch the application for the second time, the swf file is fetched again from the server. I'm including the swf file in a jsp, and I'm not modifying any HTTP Caching Headers. I assumed that the swf files will be cached automatically. Isn't it so? How do I forcefully cache the file? Do I need to provide anything in the MXML code or just a response.setHeader("Cache-Control","max-age=100"); is enough? Can anything be done from the flex side itself?

View 2 Replies

Flash :: Flex 3 And Player Caching?

May 7, 2010

i pass text strings from a configuration file into my Flex app, one of the strings i pass in is a mailto link which i use to allow users of my app to send me feedback. I recently needed to change this link however when i updated the link in my config file the change did not happen instantly in my Flex app. In fact i had to clear my cache (both browser and flash player) before the change showed up. This of course is fine for me but how can i be sure that users of the application also get the updated content? Is there a way to force a refresh of data loaded into my swf on other users browsers?

Finally is this an issue with my browser cache or the Flash player cache? Does the flash player only keep such data, like my email address, in memory while the app is in use and then clear once it is closed or does it cache this data for the next time the user wants to use the app?

View 1 Replies

Flash :: Caching Flv Data In Flex?

Sep 9, 2011

I am developing an eLearning application in Flex which shows flv movies hosted on a webserver. If the app has many simultaneous users the download demand is quite high because a lot of users need to download the (same) movie(s). Is there a way I can precache this data in my flex client like storing it in the browsercache or something so that for later sessions the bandwidth demand is less high?

View 1 Replies

Flex :: Caching Work In Web Application?

Jan 26, 2012

I'm new to Flex and want to learn about how to implement client-side caching for data that is repeatedly requested from the server.

Let's focus on a simple example to discuss caching. Take a Flex application having several screens, where each screen plots a line series (of x and y data). The user can switch between the screens, and each time a screen is visited or re-visited, numerical arrays for both x and y data are requested from the server. The values of the x and y data on the server, of course, never change.

I want to learn what techniques are available that could be used to implement caching in the browser or AIR application such that once the x and y data is downloaded the first time, the application pulls these arrays from cache when re-visiting this screen in the future.

View 1 Replies

Flex :: Caching - Get Builder To Use The Selected Framework?

Sep 2, 2009

I'm attempting to create a Flex Project that will cause the Flash Player to cache the Flex framework. Flex Builder comes with Flex SDK 3.2.0.3958 and setting the Framework Linkage to use Runtime shared Library (RSL) under Project Properties -> Flex Build Path will separate the framework from my main application and I see that my project's bin-debug directory contains framework_3.2.0.3958.swf and *.swz for distribution.Flex SDK 3.4 fixes a few bugs, so I configured it as another available sdk and set it as the default SDK. When I compile, I expect the bin-debug directory to contain framework_3.4.0.9271.swf and *.swz; however, Flex Builder is still writing framework_3.2.0.3958.swf and *.swz.

View 2 Replies

Flex :: Javascript - Caching Video Player

Jul 30, 2011

I've got the following Javascript for creating the HTML of video player. I use Javascript because this is the only way I can tell the player which video to play.

[Code]...

The problem is FlexPlayer.swf is loading every time and I need to cache this SWF file. Maybe I should use Javascript constructor but don't know how in this case.

View 1 Replies







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