How to cache swf files to reduce load time?

Hi,
We are using the XML data connection for our swf files. Some of our swf files are large and may take a minute to load. Is it possible to cache the swf files so they load in a shorter amount of time? If so, how would I go about doing this? Thanks!

Jim,
There is no option as such in Xcelsius.
We used SAP BI Query as a source for our dashboard and we had similar issue, we then cached the SAP BI Query to reduce the load time....it worked really very well!!
Try doing something similar in the source system...
-Anil

Similar Messages

  • How to cache swf files via browser

    I notice that games on facebook ara caching lot's of swf files in browser temparary folder, I'm wondering how this is done, I'm new to web techs :> Somebody help? Thanks a lot.

    AndrewYuCWA1987 wrote:
    Thank U
    but what i attend to do is:
    - swf resource is need, and there're a lot
    - they're on the server first
    - when loading swf needed, access loacally file first, if there's none, get remote swf resource from server
    - after load from remote, cache swf files locally for the next application runs
    How can this be done?
    all the above happens by default unless a user clears their cache or has not browser cache- which you can't control.
    I met sand box issue when I apply URLRequest api, and I've looked into game's on facebook and other SNS platform, caching is the
    common way to build a game, there's a "loader.swf?v=XXXX" there, and if I copy it to file system and run it, surely it's doing URLLoading and trigger a sand box trouble like I do, but when it's applied in the browser, or say in the way it's originally used, it worked,
    So I doubt there's something I can do to implement the goal I've imagined, question is, how ) ;
    appending a changing query string (?v=XXX) to a url is a common way to prevent browser caching by making the browser think each of those swfs are different by virtue of the changing query string.

  • How to use swf file for Spark Skin

    Hi all
    I have little confuse about how to use swf file with Spark Skin,
    in Flex3 , i use Flex Skin Design Extension for Flash to deal with skin ,
    so basically , I just create a swf file and import to the project , then everything is ok
    but , seem that not working in flex4 , spark skin.
    1` I can't find the Flex Skin Design for the FlashCs4
    2` I try to use FlashCs3 version to import the skin art to the project , but seemed not working.
    3` I Google and check the Flex4 Help , seemed Spak skin need the Skin-Class , which I don't know how to use that with swf file
        what I have searched is how to use FXG , or some jpg file in that skin class, none of them are use swf file.
    so , is there any way that let user use the swf file to deal with the skin?
           is the Flex Skin Design can use in Flex4?
    Thanks

    Hello,
    I'm new to Flex, but have come to it from Flash Pro.  I'd like to know the same thing.  I think I found the answer here:
    http://www.flashallys.com/blog/spark-button-skinning-with-flash-symbols/
    However my question is now: Is this a good approach to use?
    99% of the googling I've done tells me to skin components with fxg files.  I've tried that by creating graphics and exporting from flash, but using swfs containing lots of graphics is much faster so I'd rather use that.
    The other thing I've done is to create custom components using these helpful tutorials:
    Creating component in flash:
    http://www.webkitchen.be/2008/12/12/video-tutorial-make-flex-components-with-flash-cs4/
    Dealing with Resizing with method overrides for your flash component:
    http://www.psyked.co.uk/flex/creating-flex-components-the-easy-way-for-flash-ide-converts. htm
    This allows me the flexibility of Flash Pro design with the layout, transistions, data binding etc from Flex.
    So my question is: Is this approach (skinning spark components with swfs, and using custom swc components made in flash) a bad idea for any reason?  E.g. does it create slow mobile apps?
    Cheers
    Chris

  • Reducing Load Times / Design Architecture

    I'm designing a flash site with a Dynamic Gallery (loading images from a XML file). what can I do to reduce load time at the beginning, or limit loading times to individual images?
    I've seen designs which loads another SWF file on top of the current one. Is this feasible?
    Any details would be greatly appreciated.

    If loading the images is the goal of the file, then the quickest way to do that is to concentrate on the images.  Any way you load them, they have to be loaded.  Be sure they are optimized for the web.  If the gallery intent would allow for it, have the images loaded on request, using thumbnails or other button-like interfaces.  Or maybe load different sections at a time.  Or load so many at first, then load the rest in the background so that there's something to look at while the rest load.
    I don't know what purpose you have in mind for loading another swf into the file, so I can't offer any ideas there.

  • How to find the file that delete from time capsule?

    How to find the file that delete from time capsule?

    I mean I saved JPEG file in Time capsule and unfortunately delete the file. Can I get it back
    IF.... .no other backups have occured since you deleted the file, you might be able to retrieve it using an application like Disk Warrior. It's about $100 as I recall, and there are no guarantees that it will work.
    DiskWarrior 4 - The Disk Utility for Mac  Disk Repair, Mac Directory ...
    Any of the free or low priced utilities that you might see or try will not be able to retrieve a deleted file from a Time Capsule.
    If any backups have occured since you deleted the file, the deleted file has almost certainly been overwritten. No way to retrieve it in that case.

  • How to control swf file loaded in flash builder project?

    Condition :
    1. I have a swf file presentation.
    2. A flex mobile project using flash builder 4.6 with its default SDK.
    What i want :
    1. Include those swf file into my flex mobile project and interact with those swf like i run it on flash player for PC. Shown here >>
    http://prntscr.com/1pmio
    What i've tried :
    1. Call swf file using swfloader and it work(on my pc). Here is my code >>
    http://prntscr.com/1pmjdl
    Problem :
    1. I cant interacted with swf file presentation. If i click on screen, it get error code >> "Error #2025: The supplied DisplayObject must be a child of the caller" and another error. Here is error warning >>
    http://prntscr.com/1pmkcr
    I dont want to upload the swf file into a web and load it remotely because i want the swf file available offline. Im newbie in flex, please tell me clearly. i have downloaded Flex in a week video training but gets nothing. searching for another problem which may same, but i didnt get any answer.
    Please Help.
    Message was edited by: blackquipment for image fix

    Some loaded SWFs may not be compatible with Flex.  Try making a simpler SWF (like one that just draws a circle where you click) and see if it can be loaded and interacted with.
    -Alex

  • Calling method from SWF file wtih javascript, when swf file is not loaded in any browser

    Hi There,
    I have a question regarding flex and javascript integration:
    1. We have created certain components and bundle them in swf. these swf file uses webservice to connect to backend code written in java.
    2. We have deployed swf file and backend on the same tomcat server.
    3. Backend server send some datapoint to UI and plot graph and displyaed to user.
    4. Now if user generate graph from datapoint and want to export it, we are tranferring image of that graph from UI to backend. No issues in this process.
    5. Now the question is. let say user has not open any swf file in browser and backend scheduling job want to generate the graph. How we will connect to swf file.
    6. Is ther any way we can connect or call method of swf from java/jsp/html/javascript code in this scenario without loading swf file in browser??
    Please help me!!!
    Thanks
    Sonu Kumar

    Both test sites work just fine for me.
    The "Update plugin" message is exactly what would be displayed if no .swfobject file at all was found... so it may not be the "version11" thing but rather, perhaps something else is messed up with the .swfobject file.
    File can be found in both folders:
    http://www.pureimaginationcakes.com/test/Scripts/swfobject_modified.js
    http://www.pureimaginationcakes.com/Scripts/swfobject_modified.js
    and file does download when downloading the html page (just check the cache).... but for some reason it doesn't seem to be working.... Hummmmm????
    Adninjastrator

  • How to play .swf files ?

    I have some .swf files on my WIndows PC that I want to play.
    The instructions on a website said to:
    ". . . play your flash files using the Adobe Standalone Flash
    Player. For this you will first need to Download the Windows Flash
    Player 9 Projector content debugger from the Adobe Site [Freeware].
    There is NO installation needed. Just open the downloaded
    .exe and open your .swf from within the Projector.
    In order to associate all .swf files to open using the
    Projector, right click the .swf file and "Open with" option. Once
    there, choose the location of your Projector.exe and you are done."
    This worked ONCE. The next time I logged on, the computer
    could not play the files.
    I'm thinking that this is because the programs referred to
    were not running.
    So - how do I (i) find the programs on my PC and then (ii)
    create shortcuts so I can run them when I want ? I prefer not to
    have them automatically load at startup.
    Thank you.
    Bob

    Flash Player is a browser plugin. It's not designed to work as a standalone app for opening FLV or SWF.  The standalone player EXE is a different animal.
    Folks who don't own Flash Professional aren't going to have a standalone player.
    For windows users, the Standalone player installer is in the archived players technote here:
    http://kb2.adobe.com/cps/142/tn_14266.html
    However, it's not an application. It's just an EXE. You have to launch it, then use File> Open to open the local SWF.   You can also keep it on your desktop and drag/drop SWF content to it.

  • How to call swf file within another swf file using xml

    hii,
    I am facing some problem to call a swf file via xml when this xml file loaded it calls another swf file which includes a new xml file. now if i call this nested swf calling without xml it works but in case case of xml it is not showing the result. i m confused. how to nested xml file calling done in as2/as3. i need some logics. thanks in advance

    This is the AS3 forum and your posting involves AS2 code.  You should repost in the AS2 forum...
    http://forums.adobe.com/community/flash/flash_actionscript
    Aside from that, your problem might lie in the following lines...
    _root.createEmptyMovieClip("sub_container1", 1);
    loadMovie(sub_SWFPath[1].attributes.url, "sub_container1");
    You create the new movieclip, sub_container1,  in the _root, but you do not assign the loadMovie to load into that same movieclip (unless you have a _lockroot = true assigned in your sub-swf).  In any case, you should repost in the AS2 forum to pursue resolution.

  • How to cache .fmx files

    Hey all,
    I need to cache .fmx files that contain images inside.
    using Oracle 10g Application Server R2.
    webcache is configured already
    can I cache .fmx files or at least cache the images inside them?!!
    kind regards..

    Jim,
    There is no option as such in Xcelsius.
    We used SAP BI Query as a source for our dashboard and we had similar issue, we then cached the SAP BI Query to reduce the load time....it worked really very well!!
    Try doing something similar in the source system...
    -Anil

  • Help needed in accessing the url from which a swf file has been loaded

    Hi All,
    Can anyone help me out in finding the url of the swf file
    from which it has been loaded? The purpose of the url is, I am
    loading some flv files using relative path. I just want to achieve
    the same by appending the relative path to the parent swf url from
    where the parent was loaded.
    I am a newbie to AS3, So please don t mind if this is a silly
    question.
    Can anyone help me on this.
    Thanks in advance,
    Prabakaran Srinivasan.

    Hi,
    Thanks for the reply. I think the option you gave is only
    applicable when the AS3 class comes in the DisplayObject hierarchy.
    I want this information in an AS3 class which does not extend any
    of the Sprite or its super class hierarchy. Can you let me know the
    possibility of fetching the value from such a class which i
    specified???
    Thanks,
    Prabakaran Srinivasan.

  • How to get SWF files to play in Dreamweaver CS5

    I designed an interactive memorial page for my company in flash catalyst 5.5. According to the tutorial, it should be simple to insert into a webpage in Dreamweaver. Insert, media, SWF.
    When I try to preview it in internet explorer, there is a blank square where the object is supposed to be. I do get an Adobe Shockwave symbol in the center but that is all. My flash player and shockwave are both updated. I can't imagine what could be going on with this. I am fairly new to web development and have no formal training but my boss is growing impatient.
    Please HELP!

    Wow...more learning here I see. My goal at the moment is to start a root directory. As it stands now, I have only 1 set of files in the DW "sites and servers" (Remote ftp site) I am reading that I need to also have what I think is called a "root" directory where I keep all my images in my PC. I have never done this. I go to DW and add 1 picture at a time, whether in this new slide show or any images I want to insert. I usually go to my off site server, copy the http and insert.
    I am reading that I need to create a local file (folder) on my PC that somehow "links" everything. So when I go to insert this image, it then transfers it to the remote server.
    I am not even sure what a SWF file is. I think it is a code as you say that somehow has all the image names in it that eventually get inserted. Again, I am still learning.
    In another thread in this forum I have been asking questions regarding the public_html issues. I have seemed to have solved that by adding this text into the "Host" file box in the server configuration. Never was there. Now I know why I had to always delete this tag.
    I have a folder in my PC that contains the slide show pictures. I have an identical folder in my remote server. So it plays now in both DW preview and the live site. Now my issue is I am unable to add pictures. It is like I have "done" this particulat SWF file and that code wont allow me to "add" to it. Hard to say what the deal is. I can preview these 2 new images in DW and they are in my PC folder and he remote folder, but the live version is short these 2 images now. So my only thought is to make a brand new SWF file and start over adding one picture at a time.
    I read your comments about how you do it, but it is still not sinking in. I do not understand this whole file upload thing, or this complete "package" transfer. In DW you start by making a flash media with a name. The you go and add 1 image to it at a time. I cannot see an option in the square box with the "F" logo where you can dump a whole slide show there.
    I do not want to seem too dumb, as I try to grasp as best as possible, but if you can explain in specific steps, even if it is a "test" 2+ images slide show, it would help.
    I am going to read the help files tonight because my first challange is to get a root folder added to DW. I think this is the utmost importance as I do not have one now. My files are scattered eveywhere in my PC. It is I "pick" images from everywhere to add to the website. Although my remote has all the images I am using (and plenty more i am not)
    Hopefully, after 10 years of having this site given to me in DW format, I will start to understand it as time goes on. A gift from a Digipen student who had a task of building a website, which he made for me.

  • How to get swf file of any mxml file in flex1.5

    hi all,
    can anybody tell i have one mxml file now when i run this i
    file server generate swf file dynemically ....now my requirement is
    i need that swf file
    so how can i get that swf file from which location i get this
    file......
    plz tell me aasp
    thanks in advance

    Rather than letting the server compile the SWF at request
    time via the URL, you can pre-compile the SWF using MXMLC. Without
    telling you anymore there's information in the docs and an article
    on the Flex devnet about using MXMLC.

  • Swf files do not load correctly anymore...

    I maintain a site with many online  tutorials (www.edutorials.gr) that i record with various desktop recording software and export them in swf format. The last few months some of these tutorials do not load correctly, and freeze after few seconds.
    These swf tutorials originally played ok (Few months ago)
    The other swf tutorials continue to play ok
    I used the same software for recording and exporting in swf format most of the tutorials for the site
    I have tried to open the problematic swf files with various browsers and flash players (both on line and locally in my pc) and they always behave the same
    Here is (http://edutorials.gr/drupal-admin-settings1) a swf file that freezes and
    Here is (http://edutorials.gr/gimp-fire-smoke) another one that continues to behave ok
    Any ideas why this happens? I don't have a clue

    Maybe the .swf files have become corrupted. Have you tried replacing the files on the server? If you pull the file from the server and play it locally does it play correctly?

  • How to remove swf file after some time?

    Hi all,
    I am working in flex 3.5 . i have loaded one swf file in mxml, i want to make invisible after some sec's. for that what i have to do. pleae anyone help me.....

    SetTimeout?

Maybe you are looking for

  • Is there a way to select a specific area on an image to denoise?

    I can only denoise and entire image and would like to be able to select for example the background of a bird flying and not the bird for denoising.

  • Help on XSLT mapping

    I have a following XML which I have got after  doing some XSLT transformations. The problem is that in XML Spy the Output is perfect however when the same is done in XI I get the following problem. Could you kindly help me out in correcting this issu

  • Why is my PDF getting rasterized when i place/open it?

    I have this issue where whenever i place or open a pdf or layered file in InDesign it will automatically rasterize it.  Is there a setting that does this?  My other computer retains the transparency when i open a pdf or layered file so i'm guessing i

  • Script Task to Create a ".CSV" file and save it on SFTP.

    I have a sql query that is being pulled from a variable. Using this variable I want to create a .csv and save it on SFTP. I do not want to use any third party tools. I really appreciate if anyone can help me with the code. I do not know coding.  

  • Join table with additional state

    I have two entities: A: @Id String acronym; B: @Id String name; and I need to create a relationship between these tables adding a new attribute: @Entity @SecondaryTables( {           @SecondaryTable(name = "A", pkJoinColumns = @PrimaryKeyJoinColumn(n