Loading a new child container within TabNavigator

Hi all,
I use the TabNavigator in Flex 3 to navigate trough
individual modules.
Now, what I need is a hint on how to load a new module within
a selected selected child from the TabNavigator (hope this makes
sense!)
The attached code shows that an individual module is loaded
in the second tab.
That module should change to another module (but still inside
the second tab).
Any ideas on how to accomplish that? The neccesary code
should be handled from the first loaded module in the second tab
("MyChallenges").
Please let me know if anything above does not make sense
:)

So you want to execute the load of module 2 from module 1?
You could dispatch a custom event, with the handler unloading
module 1 and loading module 2. The handler would be in the main app
<Script> block.

Similar Messages

  • How to get the entries in a jar/zip file contained within a jar/zip file?

    If I want to list the jar/zip entries in a jar/zip file contained within a jar/zip file how can I do that?
    In order to get to the entry enumeration I need a Zip/JarFile:
    ZipFile zip = new ZipFile("C:/java_dev/Java_dl/java_jdk_commander_v36d.zip");
    // Process the zip file. Close it when the block is exited.
    try {
    // Loop through the zip entries and print the name of each one.
    for (Enumeration list =zip.entries(); list.hasMoreElements(); ) {
    ZipEntry entry = (ZipEntry) list.nextElement();
    System.out.println(entry.getName());
    finally {
    zip.close();
    Zip file "java_jdk_commander_v36d.zip" contains two zip entries:
    1) UsersGuide.zip
    2) JDKcommander.exe
    How to list the entries in "jar:file:/C:/java_dev/Java_dl/java_jdk_commander_v36d.zip!/UsersGuide.zip"?
    The following code:
    URL url = new URL("jar:file:/C:/java_dev/Java_dl/java_jdk_commander_v36d.zip!/UsersGuide.zip");
    JarURLConnection jarConnection = (JarURLConnection)url.openConnection();
    zipFile = (ZipFile)jarConnection.getJarFile();
    would point to "jar:file:/C:/java_dev/Java_dl/java_jdk_commander_v36d.zip", which is no help at all and Class JarURLConnection does not have an enumeration method.
    How can I do this?
    Thanks.
    Andre

    I'm not sure I understand the problem. The difference between a zip and jar file is the manifest file; JarFile is extended from ZipFile and is able to read the manifest, other than that they are the same. Your code
    for (Enumeration list =zip.entries(); list.hasMoreElements(); ) {
    ZipEntry entry = (ZipEntry) list.nextElement();
    System.out.println(entry.getName());
    }is close to what I've use for a jar, below. Why not use the same approach? I don't understand what you're trying to do by using JarURLConnection - it's usually used to read the jar contents.
    String jarName = "";
    JarFile jar = null;
    try
        jar = new JarFile(jarName);
    catch (IOException ex)
        System.out.println("Unable to open jarfile" + jarName);
        ex.printStackTrace();
    for ( Enumeration en = jar.entries() ;  en.hasMoreElements() ;)
        System.out.println(en.nextElement());
    }

  • Remove / unload external swf file(s) from the main flash file and load a new swf file and garbage collection from memory.

    I can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?
    This is the error message(s) I am receiving: "TypeError: Error #2007: Parameter child must be non-null.
    at flash.display::DisplayObjectContainer/removeChild()
    at index_fla::MainTimeline/Down3()"
    import nl.demonsters.debugger.MonsterDebugger;
    var d:MonsterDebugger=new MonsterDebugger(this);
    stage.scaleMode=StageScaleMode.NO_SCALE;
    stage.align=StageAlign.TOP_LEFT;
    stage.addEventListener(Event.RESIZE, resizeHandler);
    // loader is the loader for portfolio page swf
    var loader:Loader;
    var loader2:Loader;
    var loader3:Loader;
    var loader1:Loader;
    //  resize content
    function resizeHandler(event:Event):void {
        // resizes portfolio page to center
    loader.x = (stage.stageWidth - loader.width) * .5;
    loader.y = (stage.stageHeight - loader.height) * .5;
    // resizes about page to center
    loader3.x = (stage.stageWidth - 482) * .5 - 260;
    loader3.y = (stage.stageHeight - 492) * .5 - 140;
    /*loader2.x = (stage.stageWidth - 658.65) * .5;
    loader2.y = (stage.stageHeight - 551.45) * .5;*/
    addEventListener(Event.ENTER_FRAME, onEnterFrame,false, 0, true);
    function onEnterFrame(ev:Event):void {
    var requesterb:URLRequest=new URLRequest("carouselLoader.swf");
    loader = null;
    loader = new Loader();
    loader.name ="carousel1"
    //adds gallery.swf to stage at begining of movie
    loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader.load(requesterb);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader);
    loader.x = (stage.stageWidth - 739) * .5;
    loader.y = (stage.stageHeight - 500) * .5;
    // stop gallery.swf from duplication over and over again on enter frame
    removeEventListener(Event.ENTER_FRAME, onEnterFrame);
    //PORTFOLIO BUTTON
    //adds eventlistner so that gallery.swf can be loaded
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    function Down(event:MouseEvent):void {
    // re adds listener for contact.swf and about.swf
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    //unloads gallery.swf from enter frame if users presses portfolio button in nav
    var requester:URLRequest=new URLRequest("carouselLoader.swf");
        loader = null;
    loader = new Loader();
    loader.name ="carousel"
    loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader);
    loader.x = (stage.stageWidth - 739) * .5;
    loader.y = (stage.stageHeight - 500) * .5;
    removeChild( getChildByName("about") );
    removeChild( getChildByName("carousel1") );
    // remove eventlistner and prevents duplication of gallery.swf
    MovieClip(root).nav.portfolio.removeEventListener(MouseEvent.MOUSE_DOWN, Down);
    //INFORMATION BUTTON
    //adds eventlistner so that info.swf can be loaded
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    function Down1(event:MouseEvent):void {
    //this re-adds the EventListener for portfolio so that end user can view again if they wish.
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    var requester:URLRequest=new URLRequest("contactLoader.swf");
    loader2 = null;
    loader2 = new Loader();
    loader2.name ="contact"
    loader2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader2.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader2);
    loader2.x = (stage.stageWidth - 658.65) * .5;
    loader2.y = (stage.stageHeight - 551.45) * .5;
    // remove eventlistner and prevents duplication of info.swf
    MovieClip(root).nav.info.removeEventListener(MouseEvent.MOUSE_DOWN, Down1);
    //ABOUT BUTTON
    //adds eventlistner so that info.swf can be loaded
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    function Down3(event:MouseEvent):void {
    //this re-adds the EventListener for portfolio so that end user can view again if they wish.
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    var requester:URLRequest=new URLRequest("aboutLoader.swf");
    loader3 = null;
    loader3 = new Loader();
    loader3.name ="about"
    loader3.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader3.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader3);
    loader3.x = (stage.stageWidth - 482) * .5 - 260;
    loader3.y = (stage.stageHeight - 492) * .5 - 140;
    removeChild( getChildByName("carousel") );
    removeChild( getChildByName("carousel1") );
    // remove eventlistner and prevents duplication of info.swf
    MovieClip(root).nav.about.removeEventListener(MouseEvent.MOUSE_DOWN, Down3);
    stop();

    Andrei1,
    Thank you for the helpful advice. I made the changes as you suggested but I am receiving a #1009 error message even though my site is working the way I wan it to work. I would still like to fix the errors so that my site runs and error free. This is the error I am receiving:
    "TypeError: Error #1009: Cannot access a property or method of a null object reference."
    I'm sure this is not the best method to unload loaders and I am guessing this is why I am receiving the following error message.
         loader.unload();
         loader2.unload();
         loader3.unload();
    I also tried creating a function to unload the loader but received the same error message and my portfolio swf was not showing at all.
         function killLoad():void{
         try { loader.close(); loader2.close; loader3.close;} catch (e:*) {}
         loader.unload(); loader2.unload(); loader3.unload();
    I have a question regarding suggestion you made to set Mouse Event to "null". What does this do setting the MouseEvent do exactly?  Also, since I've set the MouseEvent to null do I also have to set the loader to null? e.g.
    ---- Here is my updated code ----
    // variable for external loaders
    var loader:Loader;
    var loader1:Loader;
    var loader2:Loader;
    var loader3:Loader;
    // makes borders resize with browser size
    function resizeHandler(event:Event):void {
    // resizes portfolio page to center
         loader.x = (stage.stageWidth - loader.width) * .5;
         loader.y = (stage.stageHeight - loader.height) * .5;
    // resizes about page to center
         loader3.x = (stage.stageWidth - 482) * .5 - 260;
         loader3.y = (stage.stageHeight - 492) * .5 - 140;
    //adds gallery.swf to stage at begining of moviie
         Down();
    //PORTFOLIO BUTTON
    //adds eventlistner so that gallery.swf can be loaded
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    function Down(event:MouseEvent = null):void {
    // re adds listener for contact.swf and about.swf
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    //unloads gallery.swf from enter frame if users presses portfolio button in nav
         var requester:URLRequest=new URLRequest("carouselLoader.swf");
         loader = new Loader();
         loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader.load(requester);
         } catch (error:SecurityError) {
         trace(error);
         this.addChild(loader);
         loader.x = (stage.stageWidth - 739) * .5;
         loader.y = (stage.stageHeight - 500) * .5;
    // sure this is not the best way to do this - but it is unload external swfs
         loader.unload();
         loader2.unload();
         loader3.unload();
    // remove eventlistner and prevents duplication of gallery.swf
         MovieClip(root).nav.portfolio.removeEventListener(MouseEvent.MOUSE_DOWN, Down);
    //INFORMATION BUTTON
         //adds eventlistner so that info.swf can be loaded
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         function Down1(event:MouseEvent = null):void {
         //this re-adds the EventListener for portfolio so that end user can view again if they wish.
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
         var requester:URLRequest=new URLRequest("contactLoader.swf");
         loader2 = null;
         loader2 = new Loader();
         loader2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);    
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader2.load(requester);
    }      catch (error:SecurityError) {
         trace(error);
         addChild(loader2);
         loader2.x = (stage.stageWidth - 658.65) * .5;
         loader2.y = (stage.stageHeight - 551.45) * .5;
    loader.unload();
    loader2.unload();
    loader3.unload();
         // remove eventlistner and prevents duplication of info.swf
         MovieClip(root).nav.info.removeEventListener(MouseEvent.MOUSE_DOWN, Down1);
    //ABOUT BUTTON
         //adds eventlistner so that info.swf can be loaded
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
         function Down3(event:MouseEvent = null):void {
         //this re-adds the EventListener for portfolio so that end user can view again if they wish.
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         var requester:URLRequest=new URLRequest("aboutLoader.swf");
         loader3 = null;
         loader3 = new Loader();
         loader3.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader3.load(requester);
    }      catch (error:SecurityError) {
         trace(error);
         addChild(loader3);
         loader3.x = (stage.stageWidth - 482) * .5 - 260;
         loader3.y = (stage.stageHeight - 492) * .5 - 140;
         loader.unload();
         loader2.unload();
         loader3.unload();
         // remove eventlistner and prevents duplication of info.swf
         MovieClip(root).nav.about.removeEventListener(MouseEvent.MOUSE_DOWN, Down3);
         stop();

  • How to use a current delta Infosource to load a new Infoprovider

    Hi everybody,
    We have had the 0FI_GL_4 delta Datasource working since several years ago. Currently the information is loaded into a General Ledger ODS and it is working fine.
    Now, because of new requirements for the BCS component, a new ODS was created and new fields were added to that Infosource. We want to load the new ODS using the delta load and the initializations already created. The question is: how could we use the same delta load? What is the right procedure to start? We have thought about making a full load in the new ODS but how can we be sure the new ODS is in the right point to use the same load that is working currently for the first ODS? May be we have to stop temporarily (while the full load is done)the delta queue but we don't know how to do this for the 0FI_GL_4 Datasource.
    We have BW 3.5 and R/3 4.6C
    Thanks a lot for your ideas.

    Michael,
    I encountered the Timestamp datatype with a client who was using a enteprise application where that vendor used a Timestamp column as a way to track delta changes. btw: this datatype was developed in Sybase to to used in replication and hence SQL Server inherited it. It is "depreciated" in SQL Server BUT SSIS supports it. So much for the history lesson...
    In order to "see" the timestamp column (DI does not even see these columns in its metadata) and to use it for CDC (change data capture) I created a view on the source system side for each table that contained Timestap columns. I basically created a column in the view that was a converted integer, i.e. CONVERT(INT,column_TS)   AS Column_TSi, and then imported the resulting column to load from the source system and to use for CDC.
    My client hosts applications so there are dozens of source systems with hundreds of tales with a Timestamp column. The "trick" works well.
    Rick

  • How to set default value to relationship filed(ess~my~fam)new child

    Hi Experts,
    i have a standard ESS Application for Family members/dependents for Malaysia(essmyfam)-->New child
    When i click on new child a view gets opened withcontains relationship field with dropdown.Kdsvh is the field that is binded to dropdown.By default downdown is empty,when i click on dropdown it contains some values(Legitimate,adopted,others).
    my problem is node binded to dropdown(selectedinfotype) contains many attributes.so how can i set default value as others from values that dropdown contains.
    Code i tried
    In wdinit of Vcperfamilymydetail component
    wdContext.currentSelectedInfotypeElement().setKdsvh(wdContext.nodeSelectedInfotype().getSelectedInfotypeElementAt(3).getKdsvh());
    Error: Indexoutofbond exception
    Reply is Highly appreciated..
    Thanks
    Shikore
    Edited by: kishore shikore on Aug 18, 2009 6:09 PM

    Hi Kishore,
                    you can set the lead selected value while adding the vales to drop down. let say u are getting the data from model node say "Test".
    use the below code in doinit method:
    int size = wdContext.nodeTest().size();
    for (int i-0;i<size;i++){
    ITestElement test = wdCOntext.nodeTest().getTestElement(i);
    ISelectedInfotypeElement element = wdContext.nodeSelectedInfotype().createSelectedInfotype();
    element.setKdsvh(test.getKcsvh());
    wdContext.nodeSelectedInfotype().addElement(element);
    if("Others".equals(test.getKdsvh())){
    wdContext.nodeSelectedInfotype().setleadSelection(element.index());
    Hope it helps
    Thanks and Regards

  • Button to load only a few frames within the timeline

    I am new to AS3 and was doing a little bit of research before diving in.
    I wish I could just create external swfs to load with each button, but the CMS system that I am uploading to won't allow it~
    so I HAVE to make the thing into one swf, but the file size is too large.
    Is it possible to make a button that loads only a few frames within the timelime? and the next button will load another few?
    this is what i found and it says i can't:
    http://stackoverflow.com/questions/791422/how-to-stop-flash-file-swf-from-loading-actionsc ript-3

    loading a swf file is an all or none issue.  once you start loading a swf, you can't stop it from proceeding to a complete load unless you unload the entire swf.

  • Image caching. Loading only new images

    we develop huge game and it takes some time to load on startup because of tons of assets. Once per week or 2 weeks it is updated to new version which might bring few new assets or update previous ones.
    So now we are trying to find the way that will allow flash to load only new/updated assets and the rest to fetch from cache. But we haven't succeeded yet. Does anybody have any idea?

    thanks for the responce. Unfortunatelly, my English is not perfect. You mean sending to flash (flashvars) a variable containing a set of images to load so those ones that are not in the list are to be taken from cache?

  • Change loaded movie from child

    Hi,
    I am new to AS3. Here I want to ask how to change the loaded movie from child?
    Here is my working code, but it doesn't works...
    Root:
    var contentMovie:MovieClip = new mcMain;
    contentMovie.name="content_mc";
    addChild(contentMovie);
    Child Content:
    changecontent_btn.addEventListener(MouseEvent.CLICK,LoadContent);
    function LoadContent(event:MouseEvent):void
       parent.contentMovie = mcNew;
    When I try to run, Flash shows the error "1119: Access of possibly undefined property contentMovie through a reference with static type flash.display:DisplayObjectContainer."

    use:
    var contentMovie:MovieClip = new mcMain();
    contentMovie.name="content_mc";
    addChild(contentMovie);
    Child Content:
    changecontent_btn.addEventListener(MouseEvent.CLICK,LoadContent);
    function LoadContent(event:MouseEvent):void
    // the next line doesn't make any sense but if it did, this is how it should be written
      MovieClip(parent).contentMovie = mcNew;

  • One-to-Many:  New child not showing up when parent retrieved

    I have a one to many relationship. The parent contains a collection of children in a arraylist.
    A new child record is added independent of the parent, via a uow.
    The parent is retrieved.
    The new child doesn't show up.
    So the question is Does the parent first have to be retrieved and the child added to the parent. The child is not and should not be privately owned. The child is not dependent. If the parent goes away the child should still exist.

    "This last part" (as you describe it) is necessary. In a nutshell, you manage the object model (including both directions of a bi-directional relationship) and TopLink updates the database accordingly.
    This usually isn't a big issue. I.e., if you have a "addB(ClassB b)" method that looks like this, then you don't have to worry about managing the whole relationship all over the place:
    public void addB(ClassB b){
    bs.add(b);
    b.setA(this);
    At commit time the cache and database should be updated properly when you add a "b" to an "a".
    I have seen cases where the developer actually ended up not mapping the 1-M relationship in the model and had a "virtual" 1-M relationship. They would add a target to the "virtual" 1-M as you describe (just set the owner, i.e., tell the "b" it belongs to a particular "a". Then, they created a QueryKey in the Mapping Workbench in the Class "A" called "bs". Then they could build expressions and queries using "anyOf" through the "bs", even though it wasn't really mapped! I guess the point is that if you don't want to have to maintain that collection in code, and if it's not used in the application, then don't map it! Just create a QueryKey from A to B so that you can build the expressions as if it was there.
    - Don

  • ModuleViewLoader - does it load modules into child application domains by default ?

    Is the Cairngorm 3, "ModuleViewLoader" loading modules into child application domains by default, or we have to do it our self like this:
    public function init():void{
         var childDomain:ApplicationDomain = new ApplicationDomain(ApplicationDomain.currentDomain);
      modelLoader.applicationDomain = childDomain;
    <module:ModuleViewLoader id="moduleLoader"
                      moduleId="{ moduleId }"
                      moduleManager="{ moduleManager }"
                      skinClass="com.adobe.cairngorm.module.ModuleViewLoaderSkin"
                      visible="{this.visible}"
                      width="100%" height="100%">
         <module:loadPolicy>
              <module:BasicLoadPolicy/>
         </module:loadPolicy>
    </module:ModuleViewLoader>
    I think it's important to know regarding unloading the modules.
    Thanks,

    Hi Adrian,
    We are following the behaviour of the Flex ModuleManager:
    We use the applicationDomain provided by the user when available
    Otherwise we create a sub applicationDomain from the current domain.
    Here is an extract of the ParsleyModuleInfoProxy
    private function createDefaultApplicationDomain(applicationDomain:ApplicationDomain):ApplicationDomain
                // If an applicationDomain has not been specified and we have a module factory,
                // then create a child application domain from the application domain
                // this module factory is in.
                // This is a change in behavior so only do it for Flex 4 and newer
                // applications.
                var tempApplicationDomain:ApplicationDomain = applicationDomain;
                if (tempApplicationDomain == null && moduleFactory)
                    var currentDomain:ApplicationDomain = moduleFactory.info()["currentDomain"];
                    tempApplicationDomain = new ApplicationDomain(currentDomain);
                return tempApplicationDomain;
    We will update the documentation to highlight the fact that a sub ApplicationDomain is created by default.
    Thanks.

  • Reader is stuck on one file and wont load a new file why?

    reader is stuck on one file wont load a new file why?

    Hey george,
    Could you please let me know if you are using the latest version of Adobe Reader i.e. 11.0.10
    What OS version are you using?
    Have you opened the file on the web or within Reader itself?
    You might close the file, launch Reader and go to Edit> Preferences> Security(Enhanced) and uncheck 'Enable Protected Mode at startup' option.
    Let me know if this sorts your problem.
    Regards,
    Anubha

  • SOA suite: configure a new oc4j container, licensing and support

    Hi
    We have a SOA suite installation (10.1.3.4).
    Default installation is containing a OC4J_SOA running the esb, bpel etc.
    Now we have a java ear (java web service), and would like to deploy this to a dedicated oc4j container.
    So we want to configure a new oc4j instance named oc4j_jws.
    Actually, we have already done this, and it is looking good.
    Now I only want to make sure the configuration of a new oc4j container is not violating any licensing and support agreements.
    We have soa suite license.
    I believe a soa suite license allows for configuration of additional oc4j containers.

    The adding of oc4j instances is at least well documented within the Oracle Application Server Administrator's Guide:
    http://download.oracle.com/docs/cd/B31017_01/core.1013/b28940/reconfig.htm

  • Firefox is unable to load any new websites

    Every now and then after running normally for some time Firefox is unable to load any new websites. Instead I get the message "Verbinden..." (I use the German version of firefox). Internet Explorer works as usual when this happens. If I then close firefox I am unable to restart because the Firefox process is still running. Instead I have to stop Firefox running in Task Manager and then restart firefox. It usually works ok for while until it crashes again.

    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Check the connection settings.
    *Tools > Options > Advanced > Network : Connection > Settings
    *https://support.mozilla.org/kb/Options+window+-+Advanced+panel
    If you do not need to use a proxy to connect to internet then try to select "No Proxy" if "Use the system proxy settings" or one of the others do not work properly.
    See "Firefox connection settings":
    *https://support.mozilla.org/kb/Firefox+cannot+load+websites+but+other+programs+can
    See also:
    *"Hang at exit": http://kb.mozillazine.org/Firefox_hangs
    *"Firefox hangs when you quit it": https://support.mozilla.org/kb/Firefox+hangs

  • Order by the names in hashMaps which are contained within a collection

    Hi All,
    Is there a way to order by the names in hashMaps which are contained within a collection?
    Collection-->hmp1(nrPerson1, nameB);
    hmp2(nrPerson2, nameC);
    hmp3(nrPerson3, nameA);
    Now what i need to display is (nrPerson3,nameA), (nrPerson1,nameB), (nrPerson2, nameC)...
    Any suggestion will be greatly appreciated!
    Shuaibing

    I just set the TreeSet with the values as you suggested, but the results seems to the same as usual, Can you check the following codes? I think I need have to give a initial parameter for the TreeSet constructor, but I do not know how to write the Comparator.
    public String getIntermediaryCO(){
    Contact contact=new Contact();
              Collection colnNrContactsInterCo=contact.getAllIntermediaryCompany();
              //test
              TreeSet treeSet=new TreeSet();
              HashMap hmpForOrder=new HashMap();
              if(colnNrContactsInterCo!=null && !colnNrContactsInterCo.isEmpty()){
                   Iterator iter=colnNrContactsInterCo.iterator();
                   while(iter.hasNext()){
                           HashMap hmp=(HashMap)iter.next();
                           hmpForOrder.put(hmp.get("name"),hmp.get("nrContact"));
              treeSet.add(hmpForOrder.keySet());
              //print the ordered, unique set
            Iterator iterator = treeSet.iterator();
            while( iterator.hasNext() ) {           
                System.out.println( "the list of sorted intermediary companies' names="+iterator.next() );
              //test
    public Collection getAllIntermediaryCompany(){
               Collection colnContacts=new ArrayList();
               ContactCov contactCov=new ContactCov();
             try{
                    String sql="SELECT DISTINCT NR_CONTACT from CONTACT_TYPE where CD_CONTACT_TYPE=5";
                    jdbc = new JDBCConnection("1");
                    rs=jdbc.executeQuery(sql);
                    if(rs!=null){
                         while(rs.next()){
                                   String nrContact=rs.getString("NR_CONTACT");
                                   VOContact voContact=contactCov.getContactByNrContact(nrContact);
                                   if(voContact!=null){
                                        HashMap hmp=new HashMap();
                                        hmp.put("name",voContact.getName());
                                        hmp.put("nrContact",nrContact);
                                        colnContacts.add(hmp);
                  }catch(Exception e){
                      logger.error(e.toString());
                   }finally{
                       try{
                            if(rs!=null)rs.close();
                            if(jdbc!=null)jdbc.close();
                       }catch(Exception e){}
               return colnContacts;     
            }     

  • Troubles loading URL's into container

    Hey all... I need help... Read the black parts first...
    I'm trying to load links into this container:
              var swfContainer:Sprite = new Sprite();
              addChild(swfContainer);
              swfContainer.x = 238;
              swfContainer.y = 167;
    This is my homepage:
              var homeLoad:Loader = new Loader();
              var homeurl:URLRequest = new URLRequest("map(2).swf");
              swfContainer.addChild(homeLoad);
              homeLoad.load(homeurl);
    This is my first link, which is supposed to load a new swf into the swfContainer:
              info_btn.addEventListener(MouseEvent.CLICK, onClick);
              function onClick(event:MouseEvent):void {
              homeLoad.unload();
              var infoLoad:Loader = new Loader();
              var infourl:URLRequest = new URLRequest("quiz.swf");
              swfContainer.addChild(infoLoad);
              infoLoad.load(infourl);
    However, the link isn't working, and i keep getting this error:
    1061: Call to a possibly undefined method addEventListener through a reference with static type Class.

    I only see this with a listener: info_btn
    My first guess is that Flash doesn't know what that is. If it is an on-stage instance, double check it's name.
    If it isn't, and you're creating the instance from the library at run tim, you first need to create an instance of it, like:
    var info_btn:Info_Btn = new Info_Btn();
    addChild(info_btn);
    info_btn.addEven.....yadi yada
    also, if you are doing that, and the instance and class names are identical (both all lowercase, etc), this can cause Flash some trouble.
    Can you post an example?
    HTH
    -Ted

Maybe you are looking for

  • Belated costs during a make-to-order/sales order controlling process

    Hello Experts, We implemented a make-to-order process where we collect actual costs of a repackaging process. The cost object of that process order is the sales order item (VBP, Vertriebsbelegposition). So far that cost collection works absolutely fi

  • Disk I/O problem

    Hi! I have a problem when i migrating from my old server to new one.. Old server: Windows 2003 SP2 + Oracle 10gR2 CPU Pentium 4 2.4 RAM 2 GB DISK 2 x RAID 1 (one for systen and instance another for data files) On this system i have disk I/O about 35

  • Accessing A DB From A JSP

    Hi, I've been using the code at the bottom of this message to access a database. I've been having some trouble though when the user stops the browser session mid way through a page loading. Occasionally it can cause the web server to crash. I'm guess

  • Stop & playback a video

    Hi, I'm making a player that should be able to playback sequencies of video(that means start and end time of a sequence have to be set with setMediaTime() and setStopTime(). I call setStopTime on a started player. Is that ok?). Sometimes the player s

  • Yeti Mic & Playback issues - CS5

    Hi all, I am currently testing out my boss' Blue Yeti USB mic for video interviews we will be doing in the near future. Per the instruction manual, I have changed my system preferences to default to the Yeti. When my headphones are plugged into the Y