There is no preload() in DPL?

Hi list,
I can only find Database.preload(..) in gettingStartGuide, so there is no preload method in DPL or SHOULD I enable using DPL, any best practices?
/Jack

1. I am now using DPL to persistent entities, and how
can I connect to Database or JE cache?To get the Database object (in the com.sleepycat.je package), call PrimaryIndex.getDatabase or SecondaryIndex.getDatabase.
To configure the cache, or any other JE environment property, use the EnvironmentConfig. See the javadoc for how to set the cache size.
2. "it is better to load them individually (using the
regular DPL API) rather than to call preload", I am
not much clear about this. Say my project is a J2EE
web application, you meant that loading the "hot"
entities when servlet is on-loading? And any idea to
control the amount of cache, say top 10000?Do you know what specific data will be hot? Do you need to ensure that the hot data is loaded in the cache before the web app is online? If the answer is yes to both questions, then you can try loading the specific data that you think will be hot, using the normal DPL API (PrimaryIndex.get or SecondaryIndex.get).
I suspect that if you are developing a new web application, then you do not need to worry about preloading yet. After you have measured performance, you may find that you need it.
There are several FAQs on cache management. To get started I suggest searching for "cache" on the FAQ page:
http://www.oracle.com/technology/products/berkeley-db/faq/je_faq.html
Mark

Similar Messages

  • Cs4 as3 preloader

    Hi,
    Is there a surestarter preloader in AS3 with CS4? Meaning here, showing a progress bar or percentage value before loading the main swf, right away at the start of the  loading.
    I tried 3 different versions:
    1- I used the code from a video (and accompanying files), and simply changed the content.swf to my own swf file (rename my swf content.swf), so that the original code would load my swf instead of the original content.swf. (original content.swf was too small to see anything before loading, because my loading speed is too fast).
    Here is the code from the original preloader (loads a small swf which then loads the main swf file):
    var l:Loader = new Loader();
    l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loop);
    l.contentLoaderInfo.addEventListener(Event.COMPLETE, done);
    l.load(new URLRequest("content.swf"));
    function loop(e:ProgressEvent):void
    var perc:Number = e.bytesLoaded / e.bytesTotal;
    percent.text = Math.ceil(perc*100).toString();
    function done(e:Event):void
    removeChildAt(0);
    percent = null;
    addChild(l);
    and here is the link to the file:
    http://www.raidcanada.com/preloader-org-test.html
    2- used the code suggested, which does the preloading directly in the main swf file:
    stop(); 
    //Import the required assets
    import flash.display.*;
    //Stop the playhead while loading occurs
    this.stop();
    //Create a listener to call the loading function as the movie loads
    this.loaderInfo.addEventListener (ProgressEvent.PROGRESS, PL_LOADING);
    /*This is the main function, basically it grabs the total and loaded bytes,
    calculates a percentage, and displays it by stretching the bar and adjusting
    the textfield display. If your bar/textbox instancenames are NOT lbar/lpc,
    you'll need to adjust this code to match your instance names*/
    function PL_LOADING(event:ProgressEvent):void {
    var pcent:Number=event.bytesLoaded/event.bytesTotal*100;
    //Stretch the bar
    lbar.scaleX=pcent/100;
    //Display the % loaded in textfield
    lpc.text=int(pcent)+"%";
    //If the movie is fully loaded, kick to the next frame on the main timeline
    //You may wish to change the gotoAndStop(2) to a gotoAndPlay(2)
    if(pcent==100){
    this.gotoAndPlay(2);
    This one doesn't work either, and if you refresh the page, you get only the bar, instead of refreshing the main swf.
    http://www.raidcanada.com/test/test-2.html
    3- use the code suggested to replace the preceding version:
    stop();
    addEventListener(Event.ENTER_FRAME,checkLoad);
    function checkLoad(e:Event):void {
    var pcent:Number=this.loaderInfo.bytesLoaded /this.loaderInfo.bytesTotal*100;
    lbar.scaleX=pcent/100;
    lpc.text=int(pcent)+"%";
    if (pcent==100) {
    removeEventListener(Event.ENTER_FRAME,checkLoad);
    this.gotoAndPlay(2);
    This one loads correctly (without the percentage or progress bar) and the refresh is OK.
    http://www.raidcanada.com/test/test-1.html
    The idea is to have this page load correctly showing a percentage sign and a progress bar until the loading is complete for this page:
    http://www.raidcanada.com/entete-multi-hiver-1-test.html
    Every time I test the swf directly in Flash CS4 with the simulated download, I get the progress bar and percentage correctly.
    I also tried with Firefox and get the same results.
    FLAs are at:
    http://www.raidcanada.com/test/test-1.fla
    http://www.raidcanada.com/test/test-2.fla
    and screenshots of FLASH (showing the progress bar in "test movie" with simulated download):
    http://www.raidcanada.com/test/screenshot-test-1.jpg
    http://www.raidcanada.com/test/screenshot-test-2.jpg
    Am I missing something?
    THank you in advance

    Hi,
    I am using Internet Explorer 8, version 8.0.7600.16385 with Windows 7 Ultimate or Firefox 3 version 3.5.9
    If I flush the cache and load the page:
    http://www.raidcanada.com/entete-multi-hiver-1-test.html
    It takes about 5 seconds with a blank screen before I get the main swf displayed.
    If I load the page: http://www.raidcanada.com/test/test-1.html
    It takes about 1 second with a blank screen before I get the main swf displayed. The main swf file is much smaller.
    I also did a lot of tests, and still the same problem. Temporarely, on the production site, I ended up installing a static Image saying "Loading", without the code, which then loads the large swf. But some customers are seeing the "Loading" for 14 sec to 24 seconds, depending of the swf file.
    I know the code suggested is probably working with CS3 and AS2, but I need to make it work with CS4 and AS3, because my other code is all in AS3, built with CS4. As I said before, if I make a simulation, the simulation is perfect.
    Thanks

  • Flash preloader freezes when refreshed in IE7

    Ok, I know there are a lot of known issues with IE7 and
    active content, but this is a new one to me, and I am really,
    really hoping someone may know what is causing this...
    I have a small online web site set up in HTML, but I have the
    portfolio section set up in flash .swf, and naturally, there is a
    preloader for this .swf file.
    I already have a java script code to override the "click to
    activate" issue with IE7, so that issue is taken care of. The
    preloader works fine initially in all browsers and that includes
    IE7, BUT if the user navigates away from the portfolio using the
    top nav bar, and returns to the portfolio, the preloader freezes at
    what looks like 99% as the image i used is completely colored in.
    In order to advance, the user must then right click on the flash
    movie and select "forward" to get to the frame containing the
    content. This only happens in IE7, clicking links back and forth
    does not create adverse effects in any other browsing setup.
    I have the preloader set up on frame 1 of Scene 1 in multiple
    layers, and i have the bottom layer labeled "content" where on
    frame one, it is an empty keyframe, and then on frame 2 of that
    layer I have the main_mc movie clip with all navigation and content
    placed, and all layers above that have been converted to empty
    keyframes on frame 2.
    Here is the AS3 code I am using for the preloader on frame
    one of the main stage:
    stop();
    this.loaderInfo.addEventListener(ProgressEvent.PROGRESS,
    onProgress);
    this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);
    function onProgress(e:ProgressEvent):void
    var loaded:Number = e.target.bytesLoaded;
    var total:Number = e.target.bytesTotal;
    var pct:Number = loaded/total;
    loader_mc.scaleX = pct;
    loaded_txt.text = "loading portfolio..." + (Math.round(pct *
    100)) + "%";
    function onComplete(e:Event):void
    gotoAndStop(2);
    I have also tried:
    function onComplete(e:Event):void
    nextFrame();
    but that has caused no difference with the issue.
    Any Ideas, tips or tricks?? I am a recent graduate looking
    for a job, and I feel like this issue has potential to hold me
    back...thank you to anyone in advance.

    If your using javascript to ebmed the movie, try this
    yourswfName.swf?t= new Date().getTime()
    if php
    yourswfName.swf?t= php echo date("Y-m-d H:i:s")
    I call it a cache buster, you can make a function and have it
    append to the swf file name. it is some caching issue with ie7 and
    flash player 9 so your adding a timestamp to the end of the file
    name, making the browser reload the video.
    also if the video is already loaded, and the user comes back
    to the page. It could be already loaded. Then there is no need for
    the preloader. Mabey put something in your code that says if bytes
    loaded == bytes total skip preloader and just play.
    hope that helps ya

  • Extreme Preloading Problems

    could really use some help, i've searched the topics and
    haven't found anything that relates, so here goes...
    visit
    HERE
    all preloaders on this main page work fine, now if you click
    products, then speakers, then access...there is a preloader here
    that loads the external swf but the bar isn't working.
    alternatively if you visit
    HERE
    and go to speakers, then access...the preloader bar here
    works fine, so what i'm wondering is why would it not work when
    contained within another flash movie.
    here is the action script for this preloader:
    FRAME 1
    AccessPreloaderBar.setStyle("themeColor", 0xD51729)
    AccessPreloaderBarListener = new Object();
    AccessPreloaderBarListener = function (eventObject) {
    AccessPreloaderBar._visible = false;
    AccessPreloaderBar.removeEventListener("complete",
    AccessPreloaderBarListener);
    AccessPreloaderBar.addEventListener("complete",
    AccessPreloaderBarListener);
    AccessPreloaderBar.mode = "polled";
    AccessPreloaderBar.source = "_root";
    FRAME 2
    AccessPreloaderBar.mode = "manual";
    AccessPreloaderBar.setProgress(0, 100);
    AccessPreloaderBar._visible = true;
    AccessPreloaderBarListener = new Object();
    AccessPreloaderBarListener = function (eventObject) {
    AccessPreloaderBar._visible = false;
    AccessPreloaderBar.addEventListener("complete",
    AccessPreloaderBarListener);
    AccessPreloaderBar.mode = "polled";
    AccessPreloaderBar.source = "AccessLoader";
    AccessLoader.contentPath = "access.swf";
    AccessLoader.scaleContent = false;
    AccessLoader.autoLoad = true;
    stop();
    I'm a designer new to flash, this code is from a
    tutorial...needless to say i know next to nothing about
    actionscript
    thanks to anyone who can help
    quinn

    Welcome to the discussions forum colinatascoli.
    To me, I seem to be following logical steps, and I would prefer not to have to scrap all settings that have been in use for 4 years and start again,
    You haven't done anything wrong and you did follow logical steps, but the "replace an existing base station" function has never worked for me either.
    When things like this don't work right away, sometimes you're better off scrapping all your settings rather than spend time trying to figure out what's wrong. The good news is that your previous Extreme still works so you can copy all its settings, even if you have to enter them all again manually.
    I'm a bit confused about your configuration. Is your router different from your Extreme? Assuming that's the case, you were right to power your router off and on, but some ISPs require more than that. Is it possible your ISP is using access provisioning? See this KB article: AirPort Base Station: ISP provisioning may prevent Internet connection via broadband (cable or DSL)
    Also, if you're using an external router, such as if your gateway equipment is a combination modem / router, your Airport's connection sharing should be set to "off" (bridge mode).
    Try powering your external modem / router off for a longer period of time. The reason for the power down is to give it enough time for its memory to reset - some require only a moment, but I've heard of some that require several hours. Some have a tiny reset button. Still others have an internal battery that has to be removed.
    Hope this helps!

  • Preloader without loading bar

    I'm pretty new to this. I've created a flash movie as the
    header in a html/css web page. After searching extensively, I'm in
    need of the action script code that will allow me to create a
    pre-loader that loads just a static jpeg as the rest of the swf
    loads. None of the tutorials seem to address what I am looking for.
    In short, I do not need "a loading bar, a percentage preloader and
    a text field that shows how many bytes of your SWF movie have been
    loaded so far and the total file size" just a static jpeg that
    shows until the swf loads.
    Nothing I've tried seems to work when I test it.
    Currently I have:
    this.onEnterFrame =function(){
    var total:Number =this.getBytesTotal();
    var loaded:Number = this.getBytesLoaded();
    var percent:Number = Math.round(Number(loaded/total)*100);
    myString.text = percent.toString()+ "%";
    if(loaded >= total)
    this.onEnterFrame = null;
    delete(this.onEnterFrame);
    this.gotoAndPlay("Scene 2", 1);
    Any help would be greatly appreciated.
    Thanks

    the best tutorial for preloaders is here:
    www.gotoandlearn.com
    It includes a percentage and preloader bar. Since you don't
    want the preloader bar, just make it without that part of the
    instructions. The tutorial video will help you understand the basic
    functionality behind it all which will allow to customize.
    so ya, just choose the preloader tutorial, theres an advanced
    preloader tutorial also, but I haven't looked at that one. You can
    also download the source files from the site, but I still recommend
    going through it step by step as he explains a lot of stuff.

  • Sound preloading doesn't work in Air for iOS?

    I have a set of  sounds preloaded using load() method in Sound class in my game and it works fine when testing on my pc(windows 7). But when I deployed the game to iPad2, it seems like Air is only loading the sound files when play() method is actually called and not when load() method was called. There's a small lag when first playing a sound on my iPad2.
    Is this default behavior of Air for iOS? Is there anyway to preload sounds?
    I'm using Air 3.4 and Flash CS6 professional and the sound files are not embded but in an included folder.

    It seems to me as if pages that partially fill in autofillable fields cause the problem.
    Previously on IOS7 and before this was not a problem.
    Autofill seems to work for me if no values are filled in by the (initially loading) webpage.
    Resetting the ipad did not help on this issue.
    Neither did removing the stored pw-information help. IOS asked me to re-save the id and pw but that did not change the situation and the problem still remains unresolved.

  • Cfml preloader, is it possible? please assist

    Hello;
    I have a page on a site that is mostly images. One big image cut up in pieces with a couple of cfwindows going in them.
    I want to preload the page before it appears because it looks terrible when it is loading up. Is it possible to use a pre-loader for an html page to do this? Better yet is there an html preloader out there?
    I am trying to use this code, but it is not cutting it.
    <script type="text/javascript">
    _cf_loadingtexthtml="<div align='center'><img src='hig_progcircle_pending.gif'/>";
    _cf_contextpath="";
    _cf_ajaxscriptsrc="/CFIDE/ajax";
    _cf_jsonprefix='//';
    _cf_clientid='CAEFC4EBBACACC9E9920EB79DFC39CE9';
    </script>
    anyone have a better idea or even know if what I want to do is possible?
    thank you.

    I think I know what you mean.
    You want all the images to load on the client before "showing" the client the page, so the user experience is pleasant.
    It would all be JS, this page has an example along the lines of what I'm thinking.
    http://articles.techrepublic.com.com/5100-10878_11-5214317.html
    Basically preload the images using image objects
    using the onload event for the image object fire a function to set the .src value of your img tags to the image urls.
    Byron Mann
    [email protected]
    [email protected]
    Software Architect
    hosting.com | hostmysite.com
    http://www.hostmysite.com/?utm_source=bb

  • DPL for Java API

    Are there any plans to port DPL from BDB JE to the Java API of BDB?

    no there is not.
    thanks
    mike

  • Constant freezes, shut offs, no preloaded or downloaded ringtones n notifications tones

    First, I was losing charge, come to find out my charger was dying and now dead.
    That much is corrected.
    But now, there are no preloaded ringtones, very few ringtones that I downloaded, or notification tones.
    My alarm did NOT turn on this morning and I made certain it was set!
    When I click on setting for sounds; notifications or phone ringtones the same error message appears on both:
    "Sorry!
    The application Settings (process.com.android.settings) has stopped unexpectedly. Please try again.
    Force close button."
    How do i fix this?

    bluemoonangel wrote:
    First, I was losing charge, come to find out my charger was dying and now dead.
    That much is corrected.
    But now, there are no preloaded ringtones, very few ringtones that I downloaded, or notification tones.
    My alarm did NOT turn on this morning and I made certain it was set!
    When I click on setting for sounds; notifications or phone ringtones the same error message appears on both:
    "Sorry!
    The application Settings (process.com.android.settings) has stopped unexpectedly. Please try again.
    Force close button."
    How do i fix this?
    Hi there!  
    I can provide a recommendation to ensure we get the phone in working order!  
    I'm glad you have been able to correct the power/charge issue. 
    Have preloaded ringtones ever been present in the phone? If so, when did you notice them missing? That with the fact your alarm didn't work leads me to believe there is a conflict somewhere in the software, for this I suggest a hard reset. Its usually not the first thing I like to jump in to, but in this case I feel it's the best option. Then after the reset, the phone will reboot and ask you to sign into Google/Gmail, this will bring back your contacts and calendar events.  You will want to set up the apps again and the home screens. The SD card does not get touched, so you're golden with your media files.
    Please advise your outcome with the master/hard reset.
    Thank you and have a great day!

  • Flash movie doesn't load properly in IE only

    I have a simple flash movie which transitions through text and photos. I have a preloader (AS3) on frame 1, which sends the playhead to frame 2, after the movie has loaded 100%. For some reason, in Internet Explorer, the preloader bar will load all the way, but fail to move the playhead to frame 2, so it'll just sit there, with the preload bar at 100%. However, this does not happen every time. For instance, right now, the flash movie will play when I initially go to the website, but when I click on another page, the same flash header (same swf on each page) will just show the preloader bar but will not play the rest of the movie. Reloading the page doesn't help. Closing the browser and reopening it doesn't help. Clearing the browser cache doesn't help either. So, the flash movie will play correctly on the first page of the website I go to (whether it be the home page or another page) but then when I go to any other page which has the flash movie, it won't play, just sits there with the preloader bar showing. And then when going back to the initial page I entered the site on, the flash movie no longer plays there, either. I haven't seen this problem in any other browser than Internet Explorer (6 and 7). I've checked in Firefox on Mac and PC and Safari on Mac. I'm using flash player 10.0.22.87 on my Mac and PC. The flash movie was made in Flash CS3, for flash player 9, actionscript 3 code.
    So, to see the problem, go here in Internet Explorer: http://demo.matthewpavkov.com/adairsolar. Wait for the movie to load and start playing. It works. Then, navigate to one of the other pages and you'll see that the same swf will not play. Navigate back to the home page, the swf does not play.
    Here is the preloader code:
    import flash.display.*;
    this.stop();
    this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, PL_LOADING);
    function PL_LOADING(event:ProgressEvent):void {
        var pcent:Number=event.bytesLoaded/event.bytesTotal*100;
        lbar.scaleX=pcent/100;
        lpc.text=int(pcent)+"%";
        if (pcent>=100) {
            this.gotoAndStop(2);
    Also, if I remove the preloader actionscript code, the flash movie plays correctly. You can see that here: http://demo.matthewpavkov.com/adairsolar/no-preload
    The .fla is available to anyone who wants to take a closer look.

    mjjp,
         In may just be that in IE, the ProgressEvent never fires -- because your content is already cached.  See what happens if you add the following new lines (very end of the code sample):
    this.stop();
    this.loaderInfo.addEventListener(
      ProgressEvent.PROGRESS, PL_LOADING
    function PL_LOADING(event:ProgressEvent):void {
      var pcent:Number=event.bytesLoaded/event.bytesTotal*100;
      lbar.scaleX=pcent/100;
      lpc.text=int(pcent)+"%";
      if (pcent>=100) {
        this.gotoAndStop(2);
    if (this.loaderInfo.bytesLoaded >= this.loaderInfo.bytesTotal) {
      this.gotoAndStop(2);
         See what's going on?  This way, even of the ProgressEvent handler never fires, you're still comparing the bytesLoaded property against the bytesTotal property.
    David Stiller
    Adobe Community Expert
    Dev blog, http://www.quip.net/blog/
    "Luck is the residue of good design."

  • New Tab Page - thumbnails are not using the files from cache folder, but they want a connection to their origin website.

    Hi there,
    each time I visit a website, FireFox saves a thumbnail of all these sites for the "New Tab Page". Those thumbnails are cached in the 'thumbnails' Folder . That's so far ok for me.
    The problem is:
    Every time if I use the "New Tab Page" (...after shutdown & reopening the browser and only with 'mousehoover' on any thumbnail) all the thumbnails on that page don't use the cached thumbnails from the local profile folder.
    This means:
    Instead of using the cached thumbnail-files all(!) these thumbnails dials to their origin websites without(!) a mouseclick on any of these thumbnails (...see jpg pictures) !
    I'm using the "Clear history when Firefox closes" with the following options:
    privacy.clearOnShutdown.cache - true
    privacy.clearOnShutdown.cookies - true
    privacy.clearOnShutdown.downloads - false
    privacy.clearOnShutdown.formdata - true
    privacy.clearOnShutdown.history - false(!)
    privacy.clearOnShutdown.offlineApps - false
    privacy.clearOnShutdown.passwords - true
    privacy.clearOnShutdown.sessions - true
    privacy.clearOnShutdown.siteSettings - false(!)
    So, i can't believe that this homedialing of pinned and unpinned thumbnails should be a normal function.
    1. Screenshot: thumbnails in the New Tab Page
    2. Screenshot: the same thumbnails in the Cache Folder "thumbnails" (...also they are there after shutdown of Firefox)
    3. Screenshot: Dialing to the origin websites (...after restart of Firefox)
    The Browser Version is Firefox ESR 31.2.0 and in the installation are no Add-ons, which are - for example - prefetching linked websites.
    I would like to use the "New Tab Page" without 'homedialing', so the question is:
    How can I force the thumbnails to use the cached thumbnail-files ?
    or
    How can i disable the 'loading of content from their origin websites' already on mousehoover ?

    There is a preload pref available that you could try to disable on the <b>about:config</b> page.
    *browser.newtab.preload = false
    You can open the <b>about:config</b> page via the location/address bar.
    You can accept the warning and click "I'll be careful" to continue.
    *http://kb.mozillazine.org/about:config

  • I can't accessed system recovery options after the repairing process was interrupte​d.

    although it's not my PC, i'm still concern about it (it's actually a public computer in our library). I actually tried to repair it using the system recovery options of windows 7 with thinkvantage technoliogies  but i interrupt it because maybe someone will caught me and i will be mistakenly be liable. and the result is after i restared it, it restarts over and over again, with BSOD appearing for a split second. i tried to use disable autorestart on system failure feature, and i saw the BSOD. but the real issue is i can't go through the recovery options, only until the part when i'm asked to select a keyboard input method, then the next part is this message: "You must log in to access System Recovery Options. If you are having trouble logging in, please contact your computer administrator for assistance. Click OK to restart the computer." anyway, this is the BSOD says: 
    A problem has been detected and windows has been shut down to prevent damage to your computer.
    If this is the first time you've seen this stop error screen, restart your computer. If this screen appears again, follow these steps:
    Disable or uninstall any anti-virus disk defragmentation  or backup utilities. Check your hard drive configuration, and check for any updated drivers. Run CHKDSK /F to check for hard drive corruption, and then restart your computer.
    Technical in formation:
    *** STOP: 0x00000024 (0x00000000001904, 0xFFFFFA800690D840, 0XFFFFFFFFC0000102, 0x0000000000000000)
    I hope this problem will be solved as much as possible.  thank you in advance. and i also don't know what model of this Lenovo all-in-one PC is. but i think this is 3318F9U, and its i forgot its BIOS version, and i don't know how to access it. and also, i'm not sure if there's a preloaded Superfish in this all-in-one PC, maybe the vulnerability started it. because i recently read an article regarding the Superfish's vulnerability.

    Hello and welcome,
    Please remeber that this is a peer-to-peer forum (users helping each other) not the Lenovo support site.  There is some Lenovo presence, but  if you need urgent support, please try your local support office:
    Philippines
    THINK-branded products
    Tagalog, English
    1-800-8908-6454 (GLOBE subscribers), 1-800-1441-0719 (PLDT subscribers)
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Need help with coding for HTML5 Video with Flash fallback

    Hello, need help with my coding in Dreamweaver CS5.5 for HTML5 video with Flash fallback. Not sure if the coding is correct. Do I need anything else Javascipt etc?

    The reason you see a blank page is because it's trying to load the file that is pretty humungous and there is no preloader. So, you see a white screen till it complets loading.
    Also, the reason why its loading a SWF file and not any of HTML5 type video is because your doctype declaration is XHTML1.0 and not HTML5.
    Change the 1st line in your .html file from:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    to:
    <!DOCTYPE html>
    Then see if your HTML5 video types load with <video> tag.

  • Document viewer in 5800

    As seen in specification for 5800 there is documnet viewer. But while opening any .doc or .xlc or .ppt i cannot open it. Isn't there any application preloaded to open office documents. If not, kindly suggest if any freeware application is available or not.

    5800 Xpressmusic smartphone have preloaded office document viewer as well as other good stuff out of the box. all u have to do is install these (provided you are connected to the internet).
    n82 v30.0.019 Nokia N82 (08.01)
    n73 music edition

  • Javascript rendered flash problem

    Hi,
        I'm doing something kind of funky to facilitate some functionality.  I've got a client that has some camtasia style demos he wants to play of his product.  Problem is he wants the demos to play on top of the website and then have the ability to click a button to turn off the demo.  Now I've done that and it works great locally but when deployed to the server the flash based demo doesn't play until the entire object is downloaded.  In reality that's probably how it's working locally as well.  
        You can see the results by going to http://www.wbsus.com/beta/  click on the "view video demo" on the left side there in the circle.  A small submenu will popup click on one of the first two and you'll see what I mean.  If you wait long enough for the entire demo to download it'll start.  There IS a preloader in this swf but it's not firing because the flash object doesn't play until the entire swf is downloaded.  Locally the preloader fires up just fine.
    Below is a snippet of the code used to add a demo to that page dynamically via javascript.
    document.getElementById(
    "DemoMenu").style.visibility = "hidden";
    var 
    newdiv = document.createElement('div');
    newdiv.setAttribute(
    'id', 'ReceivingDemoII');
    newdiv.style.zIndex = 820;
    newdiv.display =
    "block";
    newdiv.style.position=
    "absolute";
    newdiv.style.top=
    "0px";
    newdiv.style.left=
    "30px";
    newdiv.style.visibility=
    "hidden";
    newdiv.style.backgroundColor=
    "#FFFFFF";
    document.body.appendChild(newdiv);
    html=
    "<input type='button' value='Close' onclick='closeReceivingDemoII()' />";
    html+=
    "       May take up to 90 seconds to load demonstration.<br/>";
    html+=
    " <OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' WIDTH='1024' HEIGHT='790'>";
    html+=
    "<PARAM NAME=movie VALUE='" + returnPlace + "Demos/wbsreceiving.swf'>";
    html+=
    "<PARAM NAME=quality VALUE='high'>";
    html+=
    "<EMBED src='" + returnPlace + "Demos/wbsreceiving.swf' quality='high' WIDTH='1024' HEIGHT='790' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>"
    html+=
    "</OBJECT>";
    html+="<br /><br />";
    html+=
    "<input type='button' value='Close' onclick='closeReceivingDemoII()' />";
    newdiv.innerHTML = html;
    document.getElementById(
    'ReceivingDemoII').innerHTML = html;
    document.getElementById(
    'ReceivingDemoII').style.visibility="visible";
    So I dynamically create the div.  Append it to the DOM.  Add the inner html that defines the object.  "returnPlace" is a field that may or may not depending on where the site is hosted,(localhost, production,beta), return a prefix like in this case http://www.wbsus.com or http://www.wbsus.com/beta.   This was done to assure that the object path was complete.  
    So after all that.  The demo plays, it just sits and waits for the entire demo to download and then the object starts to play.   It's like active-x is keeping it from playing until the entire object is downloaded because there is a working preloader in this flash object.   Behavior is the same in Firefox and I.E..  Thanks for any and all help!
    Randy

    Kind of right but the solution was a bit odd but it works and that's l I care.   The solution was to put a javascript delay in making the div visible.  If the div is rendered immediately like the code in my original post does, the object for some reason is not allowed to activate (play) until it is completely downloaded.  If however the div is rendered as hidden, and then a delay happens and then the div is made visible.  The browser has enough time to render the div and then recognize that there's an active-x component there, and take the appropriate action when the div is activated (made visible)  so I added
    currentDivToPlay = "(whatever was just built)"
    setTimeout(
    'turnOnGeneralDemo()', 700);
    and the function
    function turnOnGeneralDemo(){      document.getElementById(currentDivToPlay).style.visibility=
    "visible";}
    With the delay for the browser all works well.

Maybe you are looking for

  • Denominator (Divisor) for Conversion of Sales Qty into SKU

    Dear Friends, In our scenario system is converting Confirmed quanity (for ex 57.4 Hrs) (Schedule lines--->Sales--->Confirmed quantity) into Required Quantiy( 0.080 MMN) (Schedule lines--->Sales--->Quantities--->Required Quanity) as per the conversion

  • Export query into Excel.

    Hi all,          I have a client who is trying to export a query to the MS Excel and when she does this and opens it in Excel the font is all in Chinese. It should all be in English. Has anyone had this issue before or heard of anything like this?

  • Infotype Changes Log Report

    Hi, I'm trying to trace the changes made infotypes using the report RPUAUD00, if some changes made in the Infotype 0000, 0001, 0002 then the changes are not traced in report. I have checked the viewV_T585A,V_T585B,V_T585C . I need to know why the cha

  • Print Invoice "Object Blocked"

    when the user trying to print the invoice it is givng an error that the object is blocked. the error contains invoice number and the application  3 and output type. i am not able to think where to start investigation, thanks for your support

  • Persisting Configuration in Config.xml, Using Administration MBeans

    Dear Friends, I am facing a problem on persisting the configuration, using the administration Mbeans. I am using weblogic 6.1 sp1 version. And i am running weblogic in production mode. i have made the AutoDeployEnabled=false in my config.xml file. In