I need to remove a library item from the stage

Right now I have a button that brings a library symbol to the stage. Ideally, I want to be able to click on the symbol itself to make itself from the stage. Can anyone help me with this?

for example:
var sym:WhateverClass=new WhateverClass();
sym.addEventListener(MouseEvent.CLICK,clickF);
function clickF(e:MouseEvent):void{
e.currentTarget.parent.removeChild(e.currentTarget);

Similar Messages

  • I have iWork 09 with a family license. I am unable to install the software on my new Macbook Pro (the message is simply "Installation failed"). I wonder if I need to remove an old computer from the family license, and if so, how?

    I have iWork 09 with a family license. I am unable to install the software on my new Macbook Pro (the message is simply "Installation failed"). I wonder if I need to remove an old computer from the family license, and if so, how?

    Yes, gladly. I am trying to install on a 13" MacBook Pro with OS X 10.8.3. I insert the disk into the SuperDrive. The I work '09 window pops up with two icons: one Tim install and one that says "Read before you install iWork." I double-click on the "Install iWork '09" icon, and a window appears that says, "This package will run a program to determine if the software can be installed." I click "continue" and see "Welcome to the iWork '09 installer." I click on "Continue." The "read me" bullet on the left lights up, and I see "Read before you install. . . ." I click "Continue," then see the software license agreement. When I click on "Continue" again, I am asked to agree, and I do. The window then says, "Standard Install on 'Mackintosh HD" and indicates how much space the program will take.
    I click "Install," enter my password, and the installation begins. It goes through a validating phase and begins "writing files." It indicates that installation will take about 30 minutes (although that number fluctuates). After about four minutes it goes to "cleaning up." Then after just a few seconds, the "Summary" bullet on the left lights up and this message appears: "There were errors with the installation. You may want to try installing again." There is a large yellow triangle with an exclamation point in it, and a bold "The installation failed." Below that appears "The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance."
    At that point, a "Close" button is pulsating blue at the bottom of the window.
    Sorry for the tedious detail. Anything revealing there?
    Thanks!

  • How to effectively remove a loaded SWF from the stage?

    I can not figure out a proper coding to remove a loded SWF from the stage.
    Here is my set up.
    I have a layout segmented into labeled section. In the section labeled "products" I have a layout consisting of product images acting as buttons which bring a user to another labeled section "prdctsPopUps"
    In the "prdctsPopUps" section I have placed an instance of LoaderMax placed into an mc container. Placing LoaderMax into an mc container automatically resolved an issue of clearing loaded SWFs from stage when I come back to "products" section.
    I specified the variable in the "products" section with the following set up:
    var sourceVar_ProductsPopUps:String;
    function onClickSumix1PopUp(event:MouseEvent):void {
                        sourceVar_ProductsPopUps="prdcts_popups/sumix1-popup_tl.swf";
                        gotoAndPlay("prdctsPopUps");
    So each button has its own "....swf" URL and they all open fine and I can come back to "products" section without any issues.
    However inside the swf (which loads through LoaderMax which is placed into an mc) there are other buttons which bring a user to labeled section "xyz". Which also functions properly. It opens as it is supposed to be and without any previously loaded "...swf" on the stage.
    At the labeled section "xyz" there is a limited set of buttons repeating from section "products" which has to bring a user back to the same set up in the "prdctsPopUps" labeled section and open a corresponding "...swf" .
    However only the last opened "...swf" will appear in that section. Effectively the one which was originally opened from the "prdctsPopUps" section and not the one which was supposed to be opened from the "xyz" section.
    I can not understand why it would work from one labeled section and not from another. I can not figure out on which section which code/function needed to be placed.
    Here is the set up from a button from the "xyz" section whcih supposed to bring a user to the same "prdctsPopUps" section but to load a different "...swf"
    var sourceVar_ProductsPopUps_fromXYZ:String;
    function onClick_floralytePopUp_fromXYZ(event:MouseEvent) :void {
                        sourceVar_ProductsPopUps_fromXYZ="prdcts_popups/floralyte-popup_tl.swf";
                        gotoAndPlay("prdctsPopUps");
    Here is the code set up for the LoaderMax from the "prdctsPopUps" section:
    var loaderProductPopUps:SWFLoader = new SWFLoader(sourceVar_ProductsPopUps,
                                                                                                        estimatedBytes:5000,
                                                                                                        container:holderMovieClip,
                                                                                                        onProgress:progressHandler,
                                                                                                        onComplete:completeHandler,
                                                                                                        centerRegistration:true,
                                                                                                        alpha:1,
                                                                                                        scaleMode:"none",
                                                                                                        width:540,
                                                                                                        height:730,
                                                                                                        crop:true,
                                                                                                        autoPlay:false
    function progressHandler(event:LoaderEvent):void{
              progressBarPopUp_mc.gradientbarPopUp_mc.scaleX = loaderProductPopUps.progress;
    function completeHandler(event:LoaderEvent):void{
              var loadedImage:ContentDisplay = event.target.content;
              TweenMax.to(progressBarPopUp_mc, 1.5, {alpha:0, scaleX:0.25, scaleY:0.25});
    loaderProductPopUps.load();
    Is there something which needs to be imported, or specific function needs to be specified in a specific labeled section?

    actually, i think you'll need to use something like:
    var loaderProductPopUps:SWFLoader;
    if ((loaderProductPopUps){
    if(loaderProductPopUps.content)){
       loaderProductPopUps.unload();
    loaderProductPopUps= new SWFLoader(sourceVar_ProductsPopUps, //the value of sourceVar_ProductsPopUps allows to load mulitple SWFs from the products page.
                                                                                                         estimatedBytes:5000 ,
                                                                                                         container:holderMov ieClip,// more convinient and easier to manage if to place the LoaderMax into an empty mc (holderMovieClip)
                                                                                                                                                                         // if not will work as well. Then the line container:holderMovieClip, has to be replaced with container:this,
                                                                                                                                                                         // can be any size, can not be scaled as it distorts the content
                                                                                                         onProgress:progress Handler,
                                                                                                         onComplete:complete Handler,
                                                                                                         centerRegistration: true,
                                                                                                         //x:-260, y:-320, //no need for this is if used: centerRegistration:true,
                                                                                                         alpha:1,
                                                                                                         scaleMode:"none",
                                                                                                         //scaleX:0, scaleY:0,
                                                                                                         //vAlign:"top",
                                                                                                         width:540,
                                                                                                         height:730,//scales proportionally but I need to cut off the edges
                                                                                                         crop:true,
                                                                                                         autoPlay:false
    function progressHandler(event:LoaderEvent):void{
              progressBarPopUp_mc.gradientbarPopUp_mc.scaleX = loaderProductPopUps.progress;
    function completeHandler(event:LoaderEvent):void{
              var loadedImage:ContentDisplay = event.target.content;
              //TweenMax.to(loadedImage, 1.5, {alpha:1, scaleX:1, scaleY:1});//only need this line if corresponding values are changed in SWF loader constructor
              TweenMax.to(progressBarPopUp_mc, 1.5, {alpha:0, scaleX:0.25, scaleY:0.25});
    loaderProductPopUps.load();

  • Remove "content-length" item from the header of httpServletResponse

    Hi all,
    tomcat6.0, JDK5.0.
    I use tomcat6.0 as the web container and JDK version is 1.5.
    I found tomcat connector will add "content-length" item in all httpServletResponse header.
    But now I need generate some chunked http response.according the RFC, there should be no "content-length" item in the http header when response is chunked-encoding.
    So how can I remove the 'content-length" item from the httpServletResponse header?
    Thanks a lot!
    Rare

    one posting to a question, please:
    http://forum.java.sun.com/thread.jspa?threadID=5268921&tstart=0
    %

  • How to remove a dynamic symbol from the stage?

    I'm loading dynamically copies of a Library symbol with a button click. Question is, when I move around in the timeline, I don't want to see the symbols at certain points. Can I loop through the json file and remove each symbol from the stage? Or is there a better way of accomplishing this?
    Being new to Edge Animate, I'm also unsure as to the names of the symbols as they are placed on the stage. If I use the browser's developer tools, I can see that the divs are named Stage_90, Stage_91, Stage_92 etc. However doing something like the following does not seem to work:
    sym.$("Stage_90").hide();
    I appreciate the help. Thanks again.

    I got it. It should be:
    $("#region1").remove();  
    // # was missing.
    I actually added that to time 0 on the main timeline so when I got back there it removes the image.
    It's not working from the symbol yet but I guess I should eventually get it working from there instead.
    Thanks for your time.

  • Need to remove all app purchases from the last month.

    My son took my ipod and bought over 200 dollars worth of goods from the appstore can anyone help my remove them?

    You can try contacting iTunes Support and see if they will refund or credit you : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    To try and stop it happening again you can use Settings > General > Restrictions to turn off in-app purchases and to require your account's password to be entered for every purchase (the default is a 15 minute period during which it doesn't need re-entering).

  • Removing a movie clip from the stage - need help

    I am learning AS3 after using AS2 for a long time.  I'm making progress but need help.  I have a simple Flash website with the sections laid out the timeline with labels.  In one section called Media, I have a movie instance of a Flash movie gallery player.  It loads just fine but when I leave that section to go to another, the sound of the video is still playing.  Visually it's not seen but the sound still plays.  I suspect I need to put some sort of remove commamnd in the script but I'm having trouble getting the right result.
    I appreciate any help I can get with this.
    Thanks!
    BC

    See if the following posting helps...
    http://forums.adobe.com/thread/754549?tstart=0

  • OS10.6.8 -- i need to remove Helvetica Neue Family from the system...any ideas?

    I know deleting this is not the answer. Any other ideas.

    Helvetica Neue should be OK but if you see any of these get rid of them:
    Fonts known to cause problems:
    Helvetica Fractions, Times Phonetic and Alien.
    If you have them, delete them!
    More useful information here:
    http://www.creativetechs.com/iq/garbled_fonts_troubleshooting_guide.html

  • Removing a Video Stream From The Stage

    what I have:
    main.swf 1 frame
    btns load various external.swfs
    I have 3
    one swf (commercial.swf)has a slideshow inside using the SlideShowPro component Not the flv player
    problem: stream remains after swf is swapped out with new.
    AS code  main timeline
    var Xpos:Number = 0;
    var Ypos:Number = 0;
    var swf:MovieClip;
    var loader:Loader = new Loader();
    var defaultSWF:URLRequest = new URLRequest("swfs/home.swf");
    loader.load(defaultSWF);
    loader.x = Xpos;
    loader.y = Ypos;
    addChild(loader);
    // Btns Universal function
    function btnClick(event:MouseEvent):void {
        removeChild(loader);
        var newSWFRequest:URLRequest = new URLRequest("swfs/" + event.target.name + ".swf");
        loader.load(newSWFRequest);
        loader.x = Xpos;
        loader.y = Ypos;
        addChild(loader);
    // Btn listeners
    home.addEventListener(MouseEvent.CLICK, btnClick);
    bio.addEventListener(MouseEvent.CLICK, btnClick);
    commercial.addEventListener(MouseEvent.CLICK, btnClick);
    NOW
    home and bio.swf's have _mc's inside
    the commercial.swf has the slideshow pro component inside
    once commercial.swf is on stage after another btn is clicked the audio remains.
    slide show pro is being used not an .flvPlayer
    I need to know where the code to stop the stream goes in the main.swf or the swf with the slideshow component?

    I did get somewhere, I have a few different main.swfs I used as I was experimenting. I have one that uses  UI loaders to load all the static (no videos inside) swfs to the main timeline those work fine
    Also in that main.swf I have one loader being called by the loader class which also works. But I still had the stream remaining problem. I was able to add another set of event listeners that call the "unload and stop" method on the same buttons for my main navigation that call the gotoandstops to frames and they now unload the commercial.swf (which is the only swf I have using the slideshow pro component AND stop the stream as well.
    Here's what I have
    in main.swf
    gotoAndStop("home");
    btn_home.addEventListener(MouseEvent.CLICK, btn_home_click);
    function btn_home_click(evt:MouseEvent):void {
        gotoAndPlay("home")
    btn_bio.addEventListener(MouseEvent.CLICK, btn_bio_click);
    function btn_bio_click(evt:MouseEvent):void {
        gotoAndPlay("bio")
    btn_commercial.addEventListener(MouseEvent.CLICK, btn_commercial_click);
    function btn_commercial_click(evt:MouseEvent):void {
        gotoAndStop(12)
    // event listeners for unloads
    btn_home.addEventListener("click",afterClick);
    btn_bio.addEventListener("click",afterClick);
    function afterClick(e:MouseEvent):void {
        ldr.unloadAndStop();
    as layer of frame 12 only loader class
    var ldr:Loader = new Loader();
    var url:String = "commercial.swf";
    var urlReq:URLRequest = new URLRequest(url);
    ldr.load(urlReq);
    addChild(ldr);
    this method will unload and stop commercial.swf when the home_btn or bio_btn buttons are clickedI did not try this using the UI Loader
    So I now will either need to use just the loader class to call all the swfs (like a variable) what I had used before and have the afterclick function in the home and bio in all the buttons (which I will add later)
    I hope this helps as there has to be a solution.
    thanks again for all your help by the way.
    rd

  • Help. Need to remove item from the "open with" menu

    Does anyone know how I can remove an item from the "open with" menu?

    You could try removing the quicktime .pkg files from the receipts folder in the root library.
    The system has to go somewhere to determine eligible applications it can use to open a file.
    Each application would contain its base settings in its receipts file.
    Once you delete the receipt you should delete the application and reinstall it.
    The reinstall will write a new receipts file.
    The receipts file is used by your system when it repairs disk permissions.
    The system does not just add a setting.
    For example if you take a .png file and click on it and look at what can open it you may get a long list.
    If you choose "other" from the get info "open with" menu and have acrobat reader installed in applications, it will show as an application you can choose.
    That application, however, is not in the drop down list.
    If you choose acrobat reader and apply it to the file type, it will show as the default.
    If you then choose another application in the list and apply, Acrobat Reader disappears from the list.
    The system only shows files in the list that advertise to the system that they can read the file type.
    You have a system which is populating the list with legitimate programs that are compatible with the advertised file type.
    It is reading that advertisement for the quicktime application somewhere.
    The configuration is written to each file individually, you can choose to have a single file associated with a particular application or have it apply to all files of that type.
    Check in Spotlight for a copy of the application in another location.

  • How do you remove items from the start up disc

    How do you remove items from the start up disc?

    Freeing Up Space on The Hard Drive
    You can remove data from your Home folder except for the /Home/Library/ folder.
    Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
    Also see Freeing space on your Mac OS X startup disk.

  • Can I remove items from the Services menu?

    I think the subject line says it all: can I remove items from the Services menu? I have a number of items in the Services menu that I never use and I would like to make the menu shorter to make it easier to access the items that I do use.

    There are a couple of things you could try. There's an application called Service Scrubber that is supposed to do this. But the web page says it's for 10.4, though it says it might work on 10.3
    Alternatively, you can edit the Info.plist or Info-macos.plist file in each application bundle to remove its service from the Services menu. This post at Mac OS X Hints has a pretty detailed description of how to do it. I tried this on my iMac running 10.3.9 and it worked just fine.
    Don't know about the Service Scrubber app, but if you edit the plist files, you'll need to log out and log back in before the changes take effect.
    Also, if you decide to edit the files by hand, I'd suggest just renaming NSServices by adding an "x" to the front or something, rather than deleting the item completely. That makes the changes easier to reverse.
    charlie

  • Remove Powershell Pinned Item from taskbar for all users in 2008 R2 RDS server

    Im trying to remove the Powershell Pinned Item from the taskbar on a 2008 RDS server. I have setup a mandatory porfile from a 2008 SP2 server (because you cannot do this in R2 any more), Check the default user pinned items folder, check the registry for powershell.exe, loaded up the NTUSER.DAT file for default to see if any thing obious was there, tried some logon scripts that are suppose to remove pinned items and posted on several forums. This has to be one of the simplest dumb things i have ever worked on , and its been about a week. So how do i remove it?
    P.S.
    having the user click un pinn is not a solution
    yes i have checked C:\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch

    Hi Jeramy,
    The default pinned items are created the first time a user logs in. Modifying the default user profile won’t help here.
    The easiest option is to set the “Remove pinned programs from the Taskbar” to disable taskbar pinned items altogether. The default pinned items won’t show up, but the user won’t be able to pin anything else either.
    If you don't want to disable pinning altogether the solution is a little more complicated. One option is to remove the shortcuts “Accessories\Windows PowerShell\Windows PowerShell.lnk” and “Administrative Tools\Server Manager.lnk” from the common start menu folder. These shortcuts are copied to create the pinned items. If they aren’t present they can’t be pinned. This is not a supported option but it may work.
    Another option is to use IStartMenuPinnedList::RemoveFromList in a first run script to remove the pinned items. Not sure how reliable this would be due to the timing of when the default items are added compared to when the script would run.
    One other option is to use shell scripting to invoke the pin & unpin verbs on items:
    http://blogs.technet.com/deploymentguys/archive/2009/04/08/pin-items-to-the-start-menu-or-windows-7-taskbar-via-script.aspx
    This would need to be done when the user first logs in (since unpinning default items in the default user profile won't affect each new user account), but it also need to be timed after Explorer sets up the default pinned items as explained above.
    Hope one of these options work for you!
    ~Olga

  • User needs to delete a line item from old STO

    Hi all,
    User needs to delete a line item from old stock transfer order and would like to be advised what he needs to do to delete the line item from the STO.
    On the STO, Goods Issue done and reversed also. Delivery completed indicator not checked. I aslo found that the payment has been made for the line item 40 for Freight. Carrier charges. It seems that the payment has been made/cleared to the vendor.  I think Due to this reason they are unable to remove this line item from STO. They have attempted to delete or block an item that is not yet closed. All down (advance) payments made to date have been taken into account.
    Can you please advice how to resolve this problem?
    Thanks in advance..
    Regards
    Suresh

    Hi,
    Delivery completed tick is also there for STO PO. If you are not getting it then check settings. Also you can mark deletion indicator for that line item. Or minimise quantity to goods received quantity.
    For STO if delivery is made from delivering plant but Goods receipt not done in receiving plant then that material remains in transit. Can viewed with ME5t. In this case that line item cannot be delted or delivery completed.
    Still your client wants to complete these type also better to leave decision to business if they want to reverse delivery (Stock of issuing plant will increase) or make Gr ( Stock of receiving plant will increase) Although they can adjust later with physical inventry process and make stock in system to real physical stock
    Regs,
    Appie

  • Remove items from the Tools menu in the Service Manager console

    Hi. 
    I know I have see a post regarding this before, but just wanted to put it out these once again.  I'd like to remove items from the Tools menu in the Service Manager console - specifically My Notifications and Create Change Request.  This is because
    the former allows a user to create notification subscriptions in incorrect Management Packs, and the latter because we are not using Change Management yet.  Does anyone have any information on how to achieve this?
    Cheers
    Shaun

    how to customize tools tht are displayed in tool menu
    http://technet.microsoft.com/en-us/library/jj134147.aspx#BKMK_tools

Maybe you are looking for

  • Adobe Bridge CC will not launch

    Hi - I was doing a little cleanup on my Windows 7 machine and noticed that I still had Photoshop CC and Photoshop CC(2014). I uninstalled Photoshop CC. (Note that I also have Photoshop and Bridge CS6 installed.) When I then went in to Photoshop CC(20

  • Firefox will not 'save as pdf' for whole page, when the page is a large one. How can this be fixed?

    My Mac Desktop PPC (2002) is running 10.4.11. Firefox has no more updates beyond 3.6.24, which is what I'm running here. I want to save a NY Daily News live update page (large and with photos..) ..which is not 'infinitely large': this one is page 3..

  • Pleeease help! cant boot macbook pro running leopard!

    i am having a huge problem with my macbook pro running leopard. i was originally trying to partition my hardrive for windows with boot camp but that failed cause it "couldnt move files" so i ran disk utility with the installation disk to fix the hard

  • Vertical Rulers and Guidelines

    Are the vertical rulers and the guidelines used to help align objects gone in Pages 5.0, or is it that I simply do not know where to find them. Thanks.

  • Eclispe e4 application in part class open with scene builder time ERROR

    com.oracle.javafx.authoring.persist.FXMLDocument$FxmlParseException: Failed to load FXML file at com.oracle.javafx.authoring.persist.FXMLDocument.makeParseException(FXMLDocument.java:400) at com.oracle.javafx.authoring.persist.FXMLDocument.load(FXMLD