Unload Multiple Compositions

Currently I have a pretty complex project with as many as 5 different compositions. I'm using Edge Commons and some bootstrapping trickery to load the 5 compositions (each one represents a complex screen). It seems like the more compositions I load, the slower the project runs. Is there a way to unload a composition (or at least kill any cycles spent on that composition) when I'm done using it? Basically I'm looking for the ability to set 1 composition to active so it gets all the computers resources, and then when it's not active then to get none of the resources.

create a package in PL SQL within your application
Script it using PL SQL to eather drop or truncate the tables depending on how you are loading the data
call the package from the app
buttons are as good a way as any

Similar Messages

  • How do I use edge commons composition loader to load multiple compositions with a next and back button?

    I am working on an interactive book and have set up each page as a separate composition in edge.
    I am using  the edge commons JS library to load multiple compositions into a main composition.
    You can see how this works here: Edge Commons - Extension Library for Edge Animate and Edge Reflow | EdgeDocks.com
    The way the edge commons tutorial is set up requires a button for each composition i want to load. I am interested in loading multiple compositions with a "next" and "back" button, and a "swipe left, "swipe right" gesture on the content symbol that each composition is loaded into. I also need the swipe features on the content symbol not to interfere with the interactive elements on the loaded composition.
    Please suggest a solution that will work without adding additional scripts beyond edge commons and jquery.

    Sort of. I'm using this code inside an action for a button symbol. But it doesn't work perfectly. Trying to debug it.
    Let me know if you have any luck.
    //Check to see if pageCounter already exists
    if (typeof EC.pageCounter === 'undefined') {
      // it doesn't exist so initialize it to first page
        EC.pageCounter = 2;
    //check if the page is only 1 digit -- patch for single digit
    if (EC.pageCounter < 9) {
       // it is, so we need to pad a 0 on the front.
      EC.pageCounterString = "0" + EC.pageCounter;
      //e.g.  01 ...09,11,12,13....115,222352,,....
    else {
      EC.pageCounterString = EC.pageCounter;
    EC.loadComposition(EC.pageCounterString + "/publish/web/" + EC.pageCounterString + ".html", sym.$("container"));
    EC.pageCounter = EC.pageCounter + 1;
    //TODO for back  -1

  • New Update (2014.1) - How to have multiple compositions on same page?

    With the latest update, it seems as though Edge now always assumes that the composition has an element ID of "Stage". Previously, I was able to have multiple compositions on the same HTML page by simply altering the default id of "Stage" for each composition to something unique. Any workarounds for having multiple compositions on the same page utilizing the 2014.1 update?

    You can use the following approach
    Dropbox - Multiple.zip
    <!DOCTYPE html>
    <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
      <title>Untitled</title>
    <!--Adobe Edge Runtime-->
        <meta http-equiv="X-UA-Compatible" content="IE=Edge">
        <script type="text/javascript" charset="utf-8" src="edge_includes/edge.5.0.0.min.js"></script>
        <style>
           .edgeLoad-EDGE-77458053 { visibility:hidden; }
            .edgeLoad-EDGE-77430105 { visibility:hidden; }
        </style>
    <script>
       AdobeEdge.loadComposition('2', 'EDGE-77458053', {
        scaleToFit: "none",
        centerStage: "none",
        minW: "0",
        maxW: "undefined",
        width: "550px",
        height: "400px"
    }, {dom: [ ]}, {dom: [ ]});
    AdobeEdge.loadComposition('1', 'EDGE-77430105', {
        scaleToFit: "none",
        centerStage: "none",
        minW: "0",
        maxW: "undefined",
        width: "550px",
        height: "400px"
    }, {dom: [ ]}, {dom: [ ]});
    </script>
    <!--Adobe Edge Runtime End-->
    </head>
    <body style="margin:0;padding:0;">
      <div id="Stage1" class="EDGE-77458053">
      </div>
        <div id="Stage2" class="EDGE-77430105">
        </div>
    </body>
    </html>
    -Siva

  • Multiple compositions as overlapping divs

    Hello,
    My first question on this forum and I could really use some help with this. Have been stuck on finding a solution, for well over a week.
    I am trying to overlap multiple compositions in an Adobe Edge Animate project (I am using Edge Animate CC 2014.1.1).
    Basically I am trying to achieve the effect shown in the image below (where the blue stage is my main stage - first composition being loaded, the red is the second and the green is the third):
    I added a link to my Edge Animate project files below (I modified the main.html file to accomodate three compositions).
    In raw HTML, this can be very easily achieved by using a <div> that is has "position:relative" (it would be the blue area) and nesting two divs with "position:absolute" inside it (the red and the green). My problem is getting the same effect in Edge and loading a composition in each of the two overlapping divs.
    In my Edge project, main file, I have three stage divs:
    <div id="StageA" class="EDGE-222475028"></div>
    <div id="StageB" class="EDGE-222542206"></div>
    <div id="StageC" class="EDGE-222622471"></div>
    StageA would be the main container div (blue), StageB the first nested one (red) and StageC the third (green) positioned at the right margin of the main container.
    I was not able to apply the same overlapping concept to Edge stage divs, as in my raw HTML example.
    How can I achieve this?
    Edge project files: https://www.dropbox.com/s/qj8jbrrrnbleozp/overlapping_multiple_compositions.zip?dl=0
    Thank you,
    Chris

    Can you share the actual project files, so that we can help you out?
    You may PM me the uploaded zipped file link, if you don't wish to share your project publicly here.

  • Multiple composite primary key in Master Table

    Dears ,
    I am try to find any solution about Multiple composite primary key by search in forum , but i didn't success ... i am try to built master detail , the master structure table built with multiple composite primary key , i know that apex 4.2 still support tow primary key , in detail table i solved the problem by depend on rowid , and now i can use multiple composite primary key in detail table , the problem with master table because it's support only tow primary key , there are any solution by manual process or any something else ?
    Thanks
    Abo Yahya

    Hi,
    I've never done this so all I can do is give some suggestions. It takes more effort because you are going beyond what APEX currently supports. That said, you might try searching the forum with this search string:
    key AND table AND instead
    Make sure the ANDs are capitailized in the search criteria. Also, look at this thread {thread:id=395870} and the forum thread asociated with this message {message:id=10542916}.
    Best wishes,
    Howard

  • Overlay multiple composition widgets

    Is there a way to overlay multiple composition widgets?  I am overlaying 2 blank widgets and within Muse it works but when I preview the webpage it doesn't work.  For example, the trim of the shirt can be changed to red, while the main shirt can be changed to blue. In design mode, I have overlayed a blank widget with a blank widget.  Widget A has the main shirt images in 3 different colors, while widget be has the trim in 3 different colors.  Is this possible?
    James

    Hi Jawad,
    Just realised that you posed this in the Machine Vision section so you're using IMAQ.
    When you look at the example below, you'll see this is just using two images.
    https://decibel.ni.com/content/docs/DOC-25452
    Inside the For Loops, the colours of each image array is being change on every iteration, then the two image arrays are combined into one.
    You should be able to edit this code by simply indexing another image array into the for loop, building this (along with the two other image arrays) into the final array.
    Good luck!
    Josh E
    Applications Engineer
    National Instruments UK & Ireland

  • 12c SOA multiple composite deployment using maven

    Hi,
    I am facing issue with 12c SOA composite deployment using maven. I execute the below command for deploying any composite.
    mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestMVNProj –Dcomposite.version=1.1
    Issues:
    As seen above by using above command m able to deploy single composte.But i want to deploy multiple composite belongs to  same application or Different something like below.
    AIM- mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestSOAProj1,Project2
    Is there any way to achive this please guide me far same
    In any senerio not only is soa composite.can any one guide me how to deploy multiple projects using maven scripts.
    Thanks in Advance
    Prabhat

    Hi Markus,
    I have tried it with profiling its works . thanks!!!! but some how still i was not able to achieve what i want.
    But thanks for you kind references i have done it by using and maven cmd line switch -pl .Now i can exclude.include modules  dynamically.
    For example;-
    <modules>
        <module>Mvntest1</module>
        <module>MvnDeploymentTest</module>
         <module>MvnDeploymentTest2</module>
        </modules>
    I have multiple module  in my parent pom.xml and if i want to deploy only top 2 of  them.
    # mvn pre-integration-test -pl +Mvntest1,+MvnDeploymentTest   (This only support maven version 3.2.1 and above)
    its working fine :-
    Note:- when we using -pl  if we want to include modules we can give module name with "+"sign and for exclude "- or !" we can give multiple module name separated with "," delimiters .
    THANKS MARKUS!!!!!
    **********************************Happy Deployments*************************************
    Regards
    Prabhat

  • Edge Animate 1.5 multiple compositions

    I read the following in the edge 1.5 api docs:
    As of Edge Animate 1.5, opening a page with more than one composition in it is not supported, but pages can be hand-authored to use multiple compositions.
    What exactly does it mean, that I can put only a single composition in a HTML page?
    If so, what is the "Hand-authord" solution that you offer? can you please elaborate a little bit in this issue?
    Thanks for the help,
    Yotam.

    I cannot tell if it is indeed a race condition. Can only report back my results of different methods I attempted in order to achieve communication between 2 or more compositions on a single html page:
    Adding the .oam packages via Dreamweaver Media > Insert > Edge Compositions, then using either Edge.getComposition("Comp2"); or Edge.getComposition("Comp2"); (in Actions panel of Comp1)... Fails to locate other composition.
    Adding the .oam packages via Dreamweaver Media > Insert > Edge Compositions, then using jQuery/DOM to get to Comp2 elements using var comp2= $("#Comp2", window.parent.document);  comp2.contents().find("blahblah"); (in Actions panel of Comp1)... Fails to locate the html document that is inside the Object element created by Dreamweaver. The only child contents() element of the Object is [object Text].
    Publishing compositions as Web (not .oam packages), adding the compositions using iFrames, then using jQuery/DOM to get to Comp2 elements using var comp2= $("#Comp2", window.parent.document);  comp2.contents().find("blahblah"); (in Actions panel of Comp1)... Then you have to play with HTML5 iframe sandbox settings. Works but is not so elegant.
    Publishing compositions as Web (not .oam packages), adding the compositions using the methodology explained in documentation section Advanced Topics > Multiple Compositions In A Page, which entails opening each composition's html file and adding specific code by hand to the Dreamweaver html file to  the <head> and then adding each composition's <div>, being sure to change the div's id (stage id). Then using jQuery/DOM to get to Comp2 elements (I have a text element called 'comp2DynText') using $("#stageTwo_comp2DynText").html( "some text" ); or whatever it is you want to do. This works however obviously requires manual changes and not using the easy to use package methodology.
    Bootstrapping. Did not try this, i think it more for people wanting to switch out (show/hide) one compostion with another.
    Hope that is helpful.

  • Multiple Composition windows in AE CC 2014.1 ??

    What happened with the possibiltiy to have multiple composition windows open at the same time? Am I just blinded by the sharp blue color or is it actually gone..?
    If so please put it back asap!!
    If I right click on the composition window tab you could get a "New window" option but it's not there anymore.

    I think that you're misremembering. It wasn't under the right-click context menu; it was under the menu that appears when you click the composition name itself in the panel tab. It's still there. All that has changed is that the active area for opening that menu is just the composition name, not the whole tab.

  • Edge multiple composition animations won't work in Chrome

    I am having problems when rendering a multiple composition in Google Chrome.
    What's happening eventually is that when I resize the browse window up above the 698px in height, the backgrounds on the website start to disappear, and they keeps disappearing one by one as long you keep resizing the browser.
    Here's the link to the website.: http://www.mvcreatives.com/fellini
    Any advice will be very much appreciated!

    Link provided by you is not working for me.
    Anyhow i guess you are facing this problem in a composition with  responsive scaling.
    Can you try out the workout suggested by Sarah here Responsive Scaling Makes Texts on The Buttons Disappear

  • Multiple Composition changes

    I have multiple compositions and after I was done, I went back to make a change in one compositions layer but it didn't take effect in my final composition? How do you make it recognize the change?

    If your changed composition is nested in the final then the change will show up. If it is not, it won't. It's that simple.
    Look at this flow chart of a fairly substantial animation I'm working on this morning. 200+layers. In the center column you can see Group 2, Group 3, and Group 4. These are all nested comps that use the same source footage. If I change any of the animations in either of these nested compositions, then the change will show up in the General V1 Composition. If I change any of the footage by editing it in an external app, it will change every instance of the footage in every comp. For Example, the top footage item (woman/ns....) in the right column is used in all 3 nested comp's but, if you look closely, the footage is also repeated in the general comp.
    I hope this helps.

  • Multiple compositions in v 1.5

    Hey there,
    i am still using v 1.5 and i wanna do a drop down menu and photo slider in one composition,
    can i use multiple compositions and how can i do that ?
    Anyone answer me please?

    Hi, webcoderdesigner-
    It's possible in Animate 1.5.  Here's a thread that will help:
    http://forums.adobe.com/message/5457595#5457595
    Thanks,
    -Elaine

  • Multiple compositions and vimeo with autoplay

    Hello guys i am using this code for rotate multiple compositions, :
    http://blogs.adobe.com/edge/2012/05/15/bootstrapping-edge-compositions/
    my questions is is there any way to start my first comp, when it finish , in the same div play vimeo with autoplay and when it finish , start a third composition ?
    Thanks very much.

    Any?

  • Unload multiple tables

    Is there a way to unload multiple tables from Apex? I need to download multiple tables and am trying to figure out a way to do it without doing it one by one. I saw a thread from a few months ago but did not see any replies. Did anyone figure this out?
    Thanks.

    create a package in PL SQL within your application
    Script it using PL SQL to eather drop or truncate the tables depending on how you are loading the data
    call the package from the app
    buttons are as good a way as any

  • How to load and unload Multiple External SWF

    hello there,
    i need help to figuring out how to load and also unload(removing) multiple external SWF.
    so here is what i;m trying to do,
    i want to load multiple external SWF and play it on my main SWF now i hove no problem with just loading multiple SWF and placing it in the display list .The problem came up when i tried removing those loaded SWF from the display list ,The problem exist because i have no way to refer to what i have loaded and placed on the display list,
    i used a single loader instance to load all that external swf,
    i do know that we have to remove all the event listener related to the external SWF that we want to remove and for this purpose i have crated a function called destroy which the main objective for this function is to remove all event listener inside the swf and also isolating all variable so it would be eligible for garbage collecting, here is what the code look like:
    // Create this in every object you use
    public function destroy():void
         // Remove event listeners
         // Remove anything in the display list
         // Clear the references to other objects, so it gets totally isolated
    sorry it just a kind of pseudocode cause this function will customize with it's own property i did this just for the purpose of simplicity and easy understanding..,
    so now back to main problem how should i solve this problem??
    i tried used an arraf to save all the loaded swf
         the array is just used to save the what the loader is loading but the adding to display method is using
    movieClipActAsContainer.addChild(e.target.content); //the event is from the Event.COMPLETE
    but i have a hard time using that arrya back and matching it to the one i got from the display list.
    please do help me,
    any suggestion would be greatly appreciated,
    and if can pleas show me a source code or pseudocode of what you're suggesting to me cause my english is not so fluent yet,
    thanks before.

    Hey EI,
    I had done this kind of project recently and for loading and unloading different swfs. I had used loaders specific to that filename and for removing I had used a single movieclip instance name and on clicking that specific loader request name that needs to be removed will be requested from the specific function. As mentioned below
    Loading SWF:
    ===============================
    swfLoaderIndia.load(swfRequestIndia);//This will load the request
    If you are inside a movieclip while requesting use below code
    MovieClip(this.root).addChild(swfLoaderIndia);//This will load swf on stage
    or else
    Stage.addChild(swfLoaderIndia);
    Unloading SWF
    =====================================
    If you are inside a movieclip while requesting use below code
    MovieClip(this.root).removeChild(swfLoaderIndia);//This will unload swf on stage
    or else
    Stage.removeChild(swfLoaderIndia);
    Above code will be in specific function which will be requested when the loading and unloading is required.
    I hope this helps you in your project.
    With Regards,
    Sagar S. Ranpise

Maybe you are looking for

  • Effects affecting font clarity

    When I use a effect for any object on a page [shadow ect.] all text on that page lose some of their clarity. This problem remains with the document even after exporting to PDF. Any suggestions?

  • Script to upload a file using SCP

    Hello, I made these two scripts to upload files to a remote server using ssh: up() { R=$(perl -le 'print map { unpack "H*", chr(rand(256)) } 1..2').$(perl -e "\$ext = \"$1\"; \$ext =~ s/.*\.(.*)\$/\$1/; print \$ext") scp "$*" myserver.net:/var/www/my

  • Where is there a list of definitions on error codes?

    I keep getting error -1309 when trying to export HD(720). I can't find a listing of error codes on any Apple sites. Where are these posted?

  • I need to re-download Lightroom 5 from the cloud

    A chatter from Adobe wants me to re-install LR 5 - the Cloud website has no way to do that - it doesn't know they guy had me trash/uninstall it - where do I get it from since The Cloud thinks everything is fine and I recently "update it"

  • Label and Button in VBox, how to dynamically insert something between them?

    I'm probably missing something simple here, but scratching my head. If I have a VBox with a label and a button in it, is there no way to insert a new child between the other two children ? Something like a way to get at "nth child"? or "insertAtIndex