Is it possible to load multi applet whose version is different ?

Is it possible to load on same browser multi applet whose version of
JRE is different (1.3.1 and 1.4.2) at same time?
These applets are loaded <OBJECT> tag.
If Not, is there documentation written above things are specification.
Thank you for advance.

Thanks for your help.
I've changed the classes totally...
Now I don't have that problem anymore...
The problem was that every time I've clicked the play button,
it created a new instance of SoundPlayer class.
Now I have only one instance of the SoundPlayer class, and
then I'm just calling its methods like play, pause, stop, volume,
pan, etc...
But here is the new problem:
Error #2037: Functions called in incorrect sequence, or
earlier call was unsuccessful.
I heard somewhere that Sound Object can have only one song in
it, for every other it needs a new instance of Sound object...
EDIT:
I've found that in Flash docs:
Once load() is called on a Sound object, you can't later load
a different sound file into that Sound object. To load a different
sound file, create a new Sound object.
mloncaric

Similar Messages

  • How to load an Applet on a panel, within another Applet

    Hi,
    I want to know if and how it is possible to load an applet/application on a Panel within another Applet/Apllication.
    Who can help me?
    tnx

    You want to use an applet inside an other applet?
    Applet extends Panel
    you can take the source of the second applet, and instead of extending Applet extends Panel, and call the init method from the first applet.
    Hope this help

  • Is it possible to load applets if ki imsi iccid are known?

    is it possible to load applets if ki imsi iccid are known for a sim? if the sim is given by a mobile operator. how to connect to such a card using jcop/javacard.

    bilal,
    is it legal to post answer here ?
    anyways i am posting here for knowledge only,hope nobody will do any mis use.
    u have generate KI from ICCID & IMSI(ICCID & IMSI u can read from SIM file system)
    for KI generation , u can find any s/w from internet search,which will generate KI from ICCID & IMSI using broute-force attack,
    then replace KI of ur SIM with generated KI,
    thats it,ur job is done :-)
    now u can connect to CM as u have ADM 0 privileges for SIM.
    cheers
    Divyesh.

  • Is it possible to LOAD and INSTALL applet during pre-personalization?

    Hi Friends..
    Currently, i use JCOP card
    I want to know the other way to LOAD and INSTALL applet not through CardManager..
    I mean, is it possible to LOAD and INSTALL applet during pre-personalization time?.
    Thanks in advance

    Hi,
    i want to LOAD and INSTALL Applets while pre-personalization phase..
    No, i don't want to defer the LOAD and INSTALL..In the past, we have used the pre-personalisation phase to load KDC keys onto a card and remove the ISK and set issuer specific identifiers (IIN and CIN) etc. You could also load your applet at this time if you wish. You can also load the applets at personalisation.
    How do you plan on doing the personalisation phase? If you were to use a GP scripting environment for example, the CAP files are embedded as a part of the install scripts and only loaded onto a card when you begin executing your personalisation scripts. Since I assume you will be using the small desktop printers mentioned in a different thread, you may be better off integrating the applet loading into your personalisation code (printer integration) so you do not need to double handle cards.
    Actually, is it possible to LOAD and INSTALL applet if we don't authenticate to the CardManager?..There are ways to load and install an applet without explicitly calling INIT UPDATE and EXTERNAL AUTH, but you still need to be authenticated to the card manager, otherwise anyone could manage card content. You can use install tokens and delegated management (which are all outlined in the GO Card Spec).
    Cheers,
    Shane

  • ClassFormatError when attempting to load an applet from within a JSP

    Greetings everyone.
    I have a problem that i seem unable to solve.
    I've created a web application. I'm using Java 1.4.2_05 and Tomcat. Right now i'm trying to load an applet from a JSP and i'm getting an error that, try as i might, i can't understand why it happens.
    Here is some detailed info:
    The applet's code:
    package smpb.myapp.controllers;
    import java.applet.Applet;
    import java.awt.Graphics;
    public class GUIApplet extends Applet
         public void init()
         public void stop()
         public void paint(Graphics g)
                  g.drawString("Hey hey hey",20,20);
               g.drawString("Hellooo World",20,40);
    The JSP's code:
    <%@ page language="java"
                   import="java.util.*"
                   session="true" %>
    <%
         String name = (String) request.getSession().getAttribute("userName");
    %>
    <html>
         <head>
              <title>Login</title>
         </head>
         <body>
              <h1><p align="center">Application</p></h1>
              <br>
              Welcome <%= name %>! Thank you for logging in!
              <br><br><br>
              <applet align="middle" code="smpb.myapp.controllers.GUIApplet.class" codebase="./" archive="MyApp_applets.jar">
                   Your browser does not support this feature.
              </applet>
              <br><br>
              <a href='<%=request.getContextPath() + "/LogOut"%>'>Log Out</a><br>
         </body>
    </html>-------------------------------------------
    When i reach this JSP the applet fails to load and i get the following error message at the java console:
    Loading applet ...
    Initializing applet ...
    Starting applet ...
    Connecting http://127.0.0.1/MyApp/MyApp_applets.jar with no proxy
    Connecting http://127.0.0.1/MyApp/MyApp_applets.jar with cookie "JSESSIONID=A8EECE5E39458739C760D8907762C507"
    Last modified time and/or expiration value is not available.  Jar file will not be cached.
    Connecting http://127.0.0.1/MyApp/MyApp_applets.jar with no proxy
    Connecting http://127.0.0.1/MyApp/MyApp_applets.jar with cookie "JSESSIONID=A8EECE5E39458739C760D8907762C507"
    Connecting http://127.0.0.1/MyApp/smpb/myapp/controllers/GUIApplet.class with no proxy
    Connecting http://127.0.0.1/MyApp/smpb/myapp/controllers/GUIApplet.class with cookie "JSESSIONID=A8EECE5E39458739C760D8907762C507"
    Last modified time and/or expiration value is not available.  Jar file will not be cached.
    Connecting http://127.0.0.1/MyApp/smpb/myapp/controllers/GUIApplet.class with no proxy
    Connecting http://127.0.0.1/MyApp/smpb/myapp/controllers/GUIApplet.class with cookie "JSESSIONID=A8EECE5E39458739C760D8907762C507"
    java.lang.ClassFormatError: smpb/myapp/controllers/GUIApplet (Bad magic number)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:157)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:561)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1856)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)
         at sun.applet.AppletPanel.run(AppletPanel.java:298)
         at java.lang.Thread.run(Thread.java:534)
    Exception: java.lang.ClassFormatError: smpb/myapp/controllers/GUIApplet (Bad magic number)-------------------------------------------
    The JSP is in the root directory of the web application's path right along with the jar file. The jar file itself has the following structure:
    Archive:  HelpDesk_applets.jar
      Length     Date   Time    Name
            0  05-17-06 12:17   META-INF/
          106  05-17-06 12:17   META-INF/MANIFEST.MF
            0  05-10-06 17:14   smpb/
            0  05-10-06 17:14   smpb/myapp/
            0  05-12-06 16:50   smpb/myapp/controllers/
          794  05-12-06 17:15   smpb/myapp/controllers/GUIApplet.class
          900                   6 filesNow, i've tried loading the very same jar file that i use in the JSP through a static HTML which is virtually identical to the JSP i presented and everything works just fine. I've checked and rechecked to see if all the permissions to access the jar file were accurate, i checked to see if Tomcat had it's MIME settings correctly configured so that there was no chance that the files were being corrupted during the load (as that is a usual cause for the problem, or so i've gathered) but to no avail. I've searched the web, including these forums, and found similar problems but no conclusive solution. I can't seem to figure out, at all, what could possibly be wrong. Does anyone have any ideas? I've tried to be as thorough as i could from the start, so, any help would be deeply appreciated.

    Hi mshah101,
    This can happen if the applet is compiled using an higher version of java and the browser is pointing to an older version (even if minor version number is higher)

  • Load DiscovererPlus Applet

    In an Apex application, I need to call a workbook from Discoverer Plus.
    I currently use the url :
    http://<host.domain>:<port>/discoverer/plus?cn=<value>&opendbid=<value>
    My problem is that the page that calls Discoverer goes to the "Connect to OracleBI Discoverer" screen and the discoverer applet loads in another window.
    Is it be possible, to only load the applet and not have my Apex page load the discoverer connect page?
    Thanks
    Max

    Hi,
    You could try:
    http://<host.domain>:<port>/discoverer/plus?cn=<value>&opendbid=<value>&framedisplaystyle=embedded
    Rod West

  • Remote loading Multi-versioned application & ApplicationDomains & communication

    Hello,
    let's have an application A that loads application B using SWFLoader. Is it possible to have A and B compiled with different Flex SDKs and have the applications in the same ApplicationDomain?
    I want to communicate between the applications, for example add some event listener to SystemManager of B. If I use loadForCompatibility=true, I get coercion error (of course - ApplicationDomains are different and we have two SystemManagers, so flex has no idea which one to use).
    Any ideas how to achive the communication?

    I would be lovely if Adobe created some demo for remote loading multi-versioned application using runtime shared library, with some event communication between applications

  • IE Specific problem loading signed applet java 1.5

    Hello,
    I am having troubles loading our signed applet under IE 6.0 (only tested version atm).
    Firefox loads it without trouble, though the <object> tag that launches each is different.
    Every time I try to launch the applet, it prompts me to install the java runtime environment. I currently have 3 different versions of the java 1.5 runtime on my machine and the Java Control Panel is set to default to the most recent (1.5.04).
    Regardless of whether I choose 'Install' or 'Don't Install' a rectangle with a red X appears in the top left corner of the window. Nothing happens if I choose 'Install'. I did install through that prompt once. I don't know why it keeps asking me.
    I have enabled the console before loading the applet, and there is absolutely NO output there. The applet is not loaded at all. I am not prompted to accept or deny our certificate. I have also tried disabling as much as I could security-wise in IE.
    Any help would be greatly appreciated. I've been searching the net for 2 days and haven't come across anything that fixes this problem. Almost everything I have found has indicated at least some console output at least.
    Here is the javascript code I am using. createVCRTarget is called on a button click. I guess I should also mention that this was working some months ago, but it is possible that it was before I installed Service Pack 2. All of my Windows security updates are installed. Also, you should be able to see in here that I also tried using an applet tag. That didn't work either. Nothing loaded when I tried that, the little Active-X icon was in the top left instead of a Red X. That was my first attempt with an applet tag ever though, so it may not have been correct. I think it is obsolete anyways?
    function createVCRTarget() {
         createWindow('valid.package.path.VCRLauncher', 'vcr.jar, targetsdk.jar, xercesImpl.jar, cidero-common.jar', 'VCRTarget', '300', '110');
         return true;     
    function createWindow(classid, jars, title, width, height) {
      var agent = navigator.userAgent.toLowerCase();
      var newWin = window.open("", title, "width="+width+",height="+height+",scrollbar=no,status=no,statusbar=no,resizable=no");
      newWin.document.write("<html>\n");
      newWin.document.write(" <head><title>" + title + "</title>\n");
      newWin.document.write(" <style type=\"text/css\">body { margin: 0; padding: 0; }</style>\n");
      newWin.document.write(" </head>\n<body>\n");
         if (agent.indexOf("msie")==-1) { // not IE
        newWin.document.write('<object classid="java:'+classid+'"');
        newWin.document.write('          codetype="application/java"');
        newWin.document.write('          archive="'+jars+'"');
        newWin.document.write('          width="'+width+'" height="'+height+'">');
        newWin.document.write('</object>');
         } else {
    //          newWin.document.write('<applet archive="'+jars+'" code="'+classid+'" height="'+height+'" width="'+width+'">');
              newWin.document.write('<object classid="clsid:CAFEEFAC-0014-0001-0005-ABCDEFFEDCBA"');
    //          newWin.document.write('               codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_5_0-windows-i586.cab#Version=5,0,0,0"');
              newWin.document.write('               codebase="http://java.sun.com/update/1.5.0/jinstall-1_5_0_02-windows-i586.cab#Version=5,0,0,0"')
              newWin.document.write('               width="'+width+'" height="'+height+'">');
              newWin.document.write('<param name="code" value="'+classid+'" />');
              newWin.document.write('<param name="archive" value="'+jars+'" />');
              newWin.document.write('<param name="type" value="application/x-java-applet;jpi-version=1.5.0" />');
              newWin.document.write('</object>');
      newWin.document.write("</body>\n</html>\n");
    }Thanks in advance,
    -Tim

    I see now that you are forsing IE to use jre version 1.4.1_5 but you provide a codebase
    pointing to the 1.5 jre.
    It doesn't matter though what you use evan if you use the htmlconverter if the jdk
    you'll get wrong values for codebase and/or IE is not able to download the cab
    file.
    The only way I was able to install the jre through clsid and codebase browsing a
    page with IE was to download the cab file with mozilla (if you know the correct url to it).
    And then host the cab file yourselve.

  • Java security dialog freezes Java & browser when loading signed applet

    Hi,
    I have a slightly unusual scenario: I have two signed applets. One is developed by me and another one by somebody else. Let's call them Applet A and Applet B.
    Here is what hapens:
    1)Applet A loads
    2)Security dialog for Applet A - "yes, trust this vendor"
    3)applet A loads applet B with the following code taken from this sample:
    http://www.java-tips.org/java-se-tips/java.applet/have-an-applet-launch-another-applet.html
    Class appletClass = Class.forName(appletToLoad);
    Applet realApplet = (Applet)appletClass.newInstance();
    realApplet.setStub(this);
    setLayout( new GridLayout(1,0));
    add(realApplet);
    realApplet.init();
    realApplet.start();
    4) Applet B loads
    5) Applet B security dialog shows up, but it is gray. From this point on, nothing resonds. The java console is gray, all browser windows are frozen, the dialog is gray and frozen. I can move it around, but it leaves trails.
    The only hint that I have is that the last security dialog is a modal dialog, but it seems like it's pushed twice, possibly causing a deadlock?
    This is what I see in the trace file:
    security: Certificate has been verified with Root CA certificates successfully
    security: No timestamping info available
    basic: Modality pushed
    basic: Modality pushed
    Usually a "Modality pushed" is followed by a "Modality Popped".
    Does anyone have any idea how I can go about resolving this problem? This is not an issue if I manually import the certificate for Applet B into the java cert. store.
    Thanks.

    Were you able to figure out the problem? I have the same issue and it is killing me. Please share with me anything you found.

  • Urgent - Is it possible to Load a DLL in ABAP ?

    Hi All,
       Is it possible to Load a DLL from ABAP ? If so how ?
    Thanks
    Sunil.M

    Hi sunil,
    1. Its not possible for DLL,
      but if its Activex EXE,
      (ie. OLE concept is there),
    2. then it can be done.
    regards,
    amit m.

  • Is it possible to load same vi in several subpanel ??

    Hi,
    Is-it possible to load same vi in several sub-panel on a vi ????
    Eddy DUCHENE
    12 F Chemin de Boutary
    69300 CALUIRE ET CUIRE
    [email protected]

    Well - as far as I know, that is not possible.
    If you try it with just two subpanels and the same vi to place in the subpanel, you once get error 1145 (LabVIEW: Cannot open VI because it is already in a subpanel control.).
    One way you could code a similar functionality was the usage of a tab-control. You could place your "views" on 5 tabs, make the tab-registers invisible and access the single tabs using a drop-down.
    Using LV8.0
    Don't be afraid to rate a good answer...

  • Is it possible to load a non-standard image using some Java API?

    Hi,
    My "problem" is:
    1. I have an image called "mediterranean_sea.IMG" (non-standard image format)
    2. I need to process it (histogram, palette, etc).
    3. I'm wondering if it is possible to load this image an process it using some Java API.
    4. I've tried to do this using JAI but I think that this API only works with TIFF, PNG, JPEG, etc.
    Any idea?
    Thanks in advance,
    Roger

    [url http://forum.java.sun.com/thread.jsp?thread=468188&forum=31]Cross-post

  • Is it possible to load a PDF into the ipad Photos app?

    I deal with documents that then have to be sent to a specific site that only accepts .doc, .docx, pdf.
    I can't e-mail them, because the site must access iPad so that the documents are correctly received and accounted for.
    That site can only access the iPad's Photos, nowhere else.
    Is it possible to load one of these three formats into the ipad Photos app?

    Thanks Diavonex, but that doesn't work (see my question).
    I can easily produces JPGs and load them into Photos, but the site in question can't access them ( it only accepts .doc, .docx, PDF).

  • Is it possible to load a dump file collected from sql server to orcle 10gR2

    Hi..
    As a part of data migration from legacy systems , we need to migrate only required tables from Sql server to Oracle 10gr2 .
    At present client is telling that he will give it as dump file.
    My question is , Is it possible to load the dump file collected from sql server to oracle 10gR2?
    Thanks in advance ..

    yes, it is.
    Using for example SQL Developer Migration Workbench even allows you to create unload scripts for the desired SQL Server tables and it also creates the DDL scripts for you to create the Oracle tables similar to the SQL Server table AND it alows creates the SQL*Loader scripts that allow you to load the SQL Server generated dump file into the Oracle db.
    Here the link:
    http://www.oracle.com/technology/tech/migration/workbench/index_sqldev_omwb.html
    If you do not want to use this utility, you can also use SQL*Loader to load the content of the SQL Server dump file into the Oracle database; but in this case you have to write the whole SQL*Loader control scripts on your own.
    Edited by: kgronau on Sep 16, 2009 1:54 PM

  • Is it possible to load a URL on stage?

    Hi,
    I'm using Flash CC-Action Script 3, is it possible to load a URL onto the stage?

    Thanks. I think our IT department will handle it since they do html/java/and
    all that stuff except for action script/flash. I am a little desperate
    though. I need to have this at least display a working clock for know and
    the phone list, which will display fine once I get to it. Can you be so kind
    and look at my horrible action script and help me get the clock to work
    continuously and show minutes under 10 with a "0"?  I just need to have
    something to show for our Annual Management meeting.
    Thank you sincerely for your time.
    Code:
    import flash.events.MouseEvent;
    import flash.text.TextField;
    import flash.text.Font;
    import flash.text.TextFormat;
    import flash.display.Sprite;
    import flash.text.*;
    import flash.filters.BitmapFilter;
    import flash.filters.BitmapFilterQuality;
    import flash.filters.BlurFilter;
    import flash.display.Bitmap;
    import flash.display.Loader;
    import flash.net.URLRequest;
    var link:URLRequest = new URLRequest("http://simplegreen.com/");
    //ADD CONTAINERS
    var containerStage:Sprite = new Sprite();
    containerStage.tabChildren = false;
    stage.addChild (containerStage);
    //DATE TIMER
    var my_date:Date = new Date();
    var my_timer:Timer = new Timer(1000);//create a new timer that ticks every
    second
    my_timer.addEventListener(TimerEvent.TIMER, onTimer);
    my_timer.start();
    //MONTH AND DATE
    var months:Array = ["Jan", "Feb", "Mar", "Apr", "May", "June", "Jul", "Aug",
    "Sept", "Oct", "Nov", "Dec"];
    var days:Array = ["Sun", "Mon", "Tues", "Wed", "Thurs", "Fri"];
    var todayIs = (days[my_date.day] + "," + " " + months[my_date.month]  +" " +
    my_date.date + " " + my_date.fullYear);
    trace(days[my_date.day] + "," + " " + months[my_date.month]  +" " +
    my_date.date + " " + my_date.fullYear);
    //Text Loader
    var textLoader:URLLoader = new URLLoader();
    textLoader.addEventListener(Event.COMPLETE, textLoaded);
    textLoader.load(new URLRequest("assets/phoneList.txt"));
    var ampm:String = new String();
    var zero:String = new String();
    if (my_date.hours<12) {ampm = "AM";
    else{
    ampm = "PM";
    while(my_date.hours > 12){my_date.hours = my_date.hours - 12;
    if(my_date.minutes < 10){zero = "0" + my_date.minutes;
    else{
    my_date.minutes;
    function onTimer(e:TimerEvent):void {
    //my_date = new Date();
    trace(my_date.hours + ":" + my_date.minutes);
    var myDateTextBox:TextField = new TextField;
    myDateTextBox = new TextField();
    // myDateTextBox = todayIs;
    var dateStyle:TextFormat = new TextFormat;
    dateStyle.color = 0xFFFFFF;
    dateStyle.size = 48;
    dateStyle.font = "myriadMm";
    dateStyle.align = "left";
    var myTimeTextBox:TextField = new TextField;
    myTimeTextBox = new TextField();
    myDateTextBox.text = String(days[my_date.day] + "," + " " +
    months[my_date.month]  +" " +  my_date.date + " " + my_date.fullYear);
    myDateTextBox.width = 600;
    myDateTextBox.x = 70;
    myDateTextBox.y = 70;
    myDateTextBox.setTextFormat(dateStyle);
    //Add it to the stage;
    containerStage.addChild(myDateTextBox);
    myTimeTextBox.text = String(my_date.hours + ":" + my_date.minutes + " " +
    ampm);
    myTimeTextBox.width = 600;
    myTimeTextBox.x = 70;
    myTimeTextBox.y = 117;
    myTimeTextBox.setTextFormat(dateStyle);
    //Add it to the stage;
    containerStage.addChild(myTimeTextBox);
    //Event Listeners
    phone.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame);
    function fl_ClickToGoToAndPlayFromFrame(event:MouseEvent):void
    trace("directory ready");
    simpleGreen.addEventListener(MouseEvent.CLICK,
    fl_ClickToGoToAndPlayFromFrame_2);
    function fl_ClickToGoToAndPlayFromFrame_2(event:MouseEvent):void
    navigateToURL(link, "_self");
    videoDirectory.addEventListener(MouseEvent.CLICK,
    fl_ClickToGoToAndPlayFromFrame_3);
    function fl_ClickToGoToAndPlayFromFrame_3(event:MouseEvent):void
    trace("Video Player is Ready");
    function textLoaded(evt:Event):void
    info_txt.htmlText = textLoader.data;
    With warmest regards,
    Mary Crotteau
    Graphic Design Specialist
    Sunshine Makers, Inc./Simple Green

Maybe you are looking for

  • How to share videos to iTunes???

    What's the best workflow to share videos from iPhoto to iTunes? It seems QuickTime is the best way as it has the Share to iTunes button right in its toolbar. However, with iPhoto '11, it looks like I have to Reveal the file in Finder in order to open

  • How do I download Adobe X for Mac to my new Mac?

    How do I donwload Adobe X for Mac to my new Mac?

  • Restoring facebook account on my ipad

    i cannot delete the facebook account on my ipad because i dont know the password. how can i restore my own facebook account to my ipad?

  • Recovery files restored

    I used recovery manager to backup my data then i went through the restore process and i have a shortcut on my desktop what am i supposed to do with this i cant seem to access any of the files but they are all there help

  • My Mail 6.6 Won't Apply Bold or Italic to text

    My Mail 6.6 Won't Apply Bold or Italic to text – even if I switch from Rich to Plain Text in the Format menu. What is causing this? It used to work just fine- I'm running OSX 10.8.5, on an iMac 3.4 GHz Intel Core i7. Thanks for any solutions!