How to unload this external .swf from the timeline?

OK, so I found out how to get the external .swf in my parent using this code.

function wordbookopen(event:MouseEvent):void

{

var myLoader:Loader = new Loader();                     Create a new instance of the Loader class

var url: URLRequest = new URLRequest ("SB_wordbook.swf"); in this case, the two sovereigns are in the same folder

myLoader.load (url);                                     load the SWF file

addChild (myLoader);                                     Add this instance to the display list, adding to the stage at 0,0

dictionaryhome. Visible = true;

alwayshome. Visible = false;

backBT.visible = false;

nextBT.visible = false;

WB.visible = false;

}

Now, I want to delete using another button

dictionaryhome.addEventListener (MouseEvent.CLICK, wordbookclose);

function wordbookclose(event:MouseEvent):void

{

???????????????????????

}

Whenever I try to use the variable myLoader it says access of undefined myLoader property

I can put a blister on it so this is...  Please help, I think it's the last ACE # obstacle that I have before I can actually start doing some work!

See you soon

Well it worked!

I used code snippets to get stuff inside and out and modified to work on two separate buttons! JOY m :)

Tags: Adobe Animate

Similar Questions

  • "Outlook Backup Michael is not valid Office Add-in" message keeps popping up whenever I open or close outlook. How to get this annoying message from the road? __

    Since I installed Outlook 2007 Personal Folders Backup tool I have problems with Outlook. I seriously regret evert tried to use it. I have unintalled using Control Panel, programs, uninstall a program, but it appears something is always there guard tha crashing my outlook. Now, every time I close it I get this message «Outlook stop working...» Windows is looking for a solution"and it is simply reboot once again. Anyway, I can't even close the program. It's a mess. I then tried to reinstall the tool, but this does not solve the problem. I might try to reinstall all Office 2007, but this means I have to re-create all my Outlook categories still once, rules and etc... Can someone, please, help me get my Outlook 2007 works well again?

    Hello

    Please check with the experts of the Office and Outlook here:

    Discussions of Questions General Outlook
    http://www.Microsoft.com/Office/Community/en-us/default.mspx?DG=Microsoft.public.Outlook.General&lang=en&CR=us

    MS Office discussion groups
    http://www.Microsoft.com/Office/Community/en-us/FlyoutOverview.mspx
    And here:

    Microsoft.public.Outlook discussions
    http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?DG=Microsoft.public.Outlook&cat=en_us_81f401b3-b3fe-4e8d-B291-066f30b63ec8&lang=en&CR=us

    Office newsgroups
    http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?DG=Microsoft.public.Office.Setup&cat=en_us_642d5640-c1ba-43C3-A224-b3ec1473346c&lang=en&CR=us

    I hope this helps. Rob - bicycle - Mark Twain said it is good.

  • Delete / external swf or the files in the flash file main to unload and load a new swf file and memory garbage collection.

    I can't delete / unload the example swf files external when the carousel.swf (portfolio) appears and press the button about the content overlaps the carousel (portfolio). How can I delete / unload an external swf file in the main flash file and load a SWF, so that at the same time remove garbage collection memory operation?

    This is the error messages I receive: "TypeError: Error #2007: child parameter must be non null.»

    at flash.display::DisplayObjectContainer/removeChild()

    " to index_fla::MainTimeline/Down3().

    Import nl.demonsters.debugger.MonsterDebugger;

    var d: MonsterDebugger = new MonsterDebugger (this);

    stage.scaleMode = StageScaleMode.NO_SCALE;

    internship. Align = StageAlign.TOP_LEFT;

    stage.addEventListener (Event.RESIZE, resizeHandler);

    is the charger for the portfolio page swf

    var loader: Loader;

    var loader2:Loader;

    var loader3:Loader;

    var loader1:Loader;

    resize the content

    function resizeHandler(event:Event):void {}

    resizes the portfolio page to Center

    Loader.x = (stage.stageWidth - loader.width) *. 5;

    Loader.y = (stage.stageHeight - loader.height) *. 5;

    resizes on 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");

    Charger = null;

    loader = new Loader();

    Loader.Name = "carousel1.

    Adds gallery.swf in the scene at the beginning of the film

    loader.contentLoaderInfo.addEventListener (IOErrorEvent.IO_ERROR, ioError);

    function ioError(event:IOErrorEvent):void {}

    trace (Event);

    }

    try {}

    Loader.Load (requesterb);

    } catch (SecurityError: error) {}

    trace (Error);

    }

    addChild (loader);

    Loader.x = (stage.stageWidth - 739) *. 5;

    Loader.y = (stage.stageHeight - 500) *. 5;

    stopover gallery.swf duplication and more on enter frame

    removeEventListener (Event.ENTER_FRAME, onEnterFrame);

    }

    PORTFOLIO BUTTON

    Add 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 add 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);

    discharge of entry gallery.swf frame if users press portfolio in nav button

    var applicant: URLRequest = new URLRequest ("carouselLoader.swf");

    Charger = 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 (SecurityError: error) {}

    trace (Error);

    }

    addChild (loader);

    Loader.x = (stage.stageWidth - 739) *. 5;

    Loader.y = (stage.stageHeight - 500) *. 5;

    removeChild (getChildByName ("about"));

    removeChild (getChildByName ("carousel1"));

    delete eventlistner and prevents duplication of the gallery.swf

    MovieClip (root).nav.portfolio.removeEventListener (MouseEvent.MOUSE_DOWN, down);

    }

    INFORMATION BUTTON

    Add 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 adds the EventListener for portfolio so that the end user can re-post 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 applicant: 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 (SecurityError: error) {}

    trace (Error);

    }

    addChild (loader2);

    loader2.x = (stage.stageWidth - 658.65) *. 5;

    loader2.y = (stage.stageHeight - 551.45) *. 5;

    delete eventlistner and prevents duplication of the info.swf

    MovieClip (root).nav.info.removeEventListener (MouseEvent.MOUSE_DOWN, Down1);

    }

    ON THE BUTTON

    Add 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 adds the EventListener for portfolio so that the end user can re-post 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 applicant: URLRequest = new URLRequest ("aboutLoader.swf");

    loader3 = null;

    loader3 = new Loader();

    loader3. Name = "a connection"

    loader3.contentLoaderInfo.addEventListener (IOErrorEvent.IO_ERROR, ioError);

    function ioError(event:IOErrorEvent):void {}

    trace (Event);

    }

    try {}

    loader3. Load (requester);

    } catch (SecurityError: error) {}

    trace (Error);

    }

    addChild (loader3);

    loader3.x = (stage.stageWidth - 482) *.5 - 260;

    loader3.y = (stage.stageHeight - 492) *.5 - 140;

    removeChild (getChildByName ("carousel"));

    removeChild (getChildByName ("carousel1"));

    delete eventlistner and prevents duplication of the info.swf

    MovieClip (root).nav.about.removeEventListener (MouseEvent.MOUSE_DOWN, Down3);

    }

    Stop();

    You call unload() on objects that you cancelled - where the error.

    You should do something like:

    {if (loader2)}

    loader2. Unload();

    }

    As for the null value passed into the function - null is a default value. In this way, you can call the low past nothing:

    Down()

    Or you can use it as a handler in which case it will be called by the Auditor:

    Down (mouseEventInstnace);

  • How to get an external SWF to start playing only when the preloader is finished?

    Yet another dilemma with my external swf.
    How can I get the external SWF only start playing once the preloader has finished loading the entire file.
    Currently when the SWF file is it already started playing in progress through the file.
    Any suggestion would be appreciated... my code is fixed as follows:

    After a hunt more through discussion of other people, I think I have the solution (not sure if it is the best way, but it seems to work). My new code is detailed below, including:

    MovieClip (myloaderDB01.content) .play ();

    Then I had to change my external SWF by the first blank frame and put a stop();
    Now when the preloader does its job the external SWF plays until it is supposed to - YAY.
    Hope this helps others...
    Any other suggestions out there with regard to a better way to do this work would also be appreciated.

  • + Configuration LR to work out of the Photo files on external drive from the beginning very +.

    Hello!

    I have LR is trying to see how the workflow.

    I'm working on a project, I need to select the final images to use in the project of as a value of a year of photos.

    My main interest is using LR at the moment.

    I have all my files on an external drive.

    + First step is to import and then adding them to a catalog on my internal drive.

    + I select 'building intelligent insights' so I can work in offline mode

    Then from there, the process of selection and Keywords, etc..

    Does this sound right?

    ~ If I have other projects, I would create a separate in my computer for each project catalog?

    ~ would be metadata that I added in LR only incorporated on the files I use LR?

    I want to say is,

    If I was to go in my external drive from the desktop and place an image,

    What is metadata?

    Thank you!

    Sounds good.

    I suggest working with a single catalog only.

    LR does not change the imported originals - non-destructive workflow.

    You can write changes to a sidecar XMP file: basics of metadata and the actions in Lightroom

  • This e-mail from the thunderbird support team or a fake email?

    I received an email informing me that my account is almost full and giving me instructions on how to renew my account. I just want to check if this e-mail is really a mozilla thunderbird support or is a fake email.

    the content of the email:

    Subject: [[email protected]] alert low storage limit
    Date: Thu, October 15, 2015 17:00:08-0700
    From: < [email protected] > Service account
    Answer: [email protected]
    To: [email protected]

    Dear [email protected],

    1969-2000 MB

    We noticed that your e-mail account has almost exceeds its limit. And you will not be able to send or receive messages any time now,

    Click here to renew your account.

    NOTICE:
    failure of the renewal of your e-mail account. It will be permanently disabled.

    Thank you
    Service account

    n ' has not clicked on the hyper suggested link again.

    The wording of the messages from the 'provider' is a little off. It may be a phishing attempt.
    Contact your e-mail provider using the details found on an old Bill or use a previous contact address you have used successfully in the past.
    DO NOT CLICK ON LINKS IN THE MESSAGE-UNSUB



    The messages appear to come from - [email protected] , but the reply address is another area - [email protected].

    The address of this last was reported as scam
    http://scammed.by/scam.php?id=77518


    Your question

    This e-mail from the thunderbird support team or a fake email?

    Thunderbird support is not a provider of e-mail and does not send a message like this. I suspect that it is a scam.

    TB - 38, 3 Win10-PC

  • How to open a new tab from the address line?

    How to open a new tab from the address line?

    You will need to hold down the ALT key and press ENTER to open the link in a new tab without the use of an extension cord.
    By default the links always open in the same tab.

    You can search the Addons site for an extension if you want to change this default behavior.

  • I would like to have at least 1 of my toolbars that are displayed at the bottom of my browser open screen. How can I move a toolbar from the top to the bottom of the page?

    I would like to have at least one of my toolbars that are displayed at the BOTTOM of my browser open screen. How can I move a toolbar from the top to the bottom of the page? I don't want to do this by using an extension, and when I read about the extension, I really have not seen how it would move the toolbar to the top-down any browser page open.
    Thanks in advance for the supply, the answer and the procedure to get this accomplished.

    You can't drag an entire toolbar to the bottom of the window. The Bar of the Addon is a "toolbar", drag whatever you want from the Palette to customize or a toolbar up to the bar of the Addon.

  • How to copy and paste text from the page of the book one photo to another.

    Hello, I downloaded this software 2 days ago, and I had so much fun with it. pls I need help on how to copy and paste text from the page of the book one photo to another. Second, how to copy my photo book completed pages project to another laptop computer for printing. Thank you

    Wow! I solved the first problem, I clicked on 'ctrl c' to copy and "ctrl v" to paste. yipppppeee! now am loving this software d most just need help with the second question now

  • How do you remove Trojan horse from the Windows\system\svchost.exe file located?

    How do you remove Trojan horse from the Windows\system\svchost.exe file located? I worked on this problem for 5 days. I've tried everything except wipe the hard drive completely and starting over. Windows xp pro sp3

    I bought a new diagnosis program and quarantined the virus once it has been identified. I tried to remove the virus in several ways, but it comes back. The best way that I thought would work enter safe mode and by changing the attributes of the svchost.exe file and then delete and checked the registry AWI hwo to the Web site, but it continues to be problematic.

    Hello

    During the uninstallation of antivirus/antispyware/security programs always check for an uninstall
    tool and/or removal instructions special to avoid leftovers.

    List of tools to clean/uninstall anti-malware programs
    http://answers.Microsoft.com/en-us/protect/Forum/protect_start/list-of-anti-malware-program-cleanupuninstall/407bf6da-C05D-4546-8788-0aa4c25a1f91

    Uninstallers (removal tools) for common antivirus software
    http://KB.eset.com/esetkb/index?page=content&ID=SOLN146
    ------------------------------

    Here's what I use and recommend: (these are all free and very effective versions.)

    Avast and Prevx proved extremely reliable and compatible with all I have
    launched on them. Microsoft Security Essentials and Prevx have also proven to be very
    reliable and compatible. Use MSE or Avast and Prevx, Prevx 3 but not all.

    Avast Home free - stop any shields is not necessary except leave the file system, Web,.
    Operational network (Script and behavior are also recommended in Ver 6 +).

    Prevx - Home - free

    Windows Firewall

    Windows Defender (is not necessary if you use MSE)

    Protected IE - mode

    IE 8 - SmartScreen filter WE (IE 7 phishing filter)

    I also IE always start with asset if filter InPrivate IE 8.
    (It may temporarily turn off with the little icon to the left of the + bottom
    right of IE)

    Two versions of Avast are available 6.x and 4.8 x

    Avast - home - free - 6.x stop shields you do not use (except files, Web, network, &)
    Shields of behavior) - double click on the icon in the Notification area - real time Orange - click on the
    Shield that you want to stop - STOP. To stop the Orange icon to show an error indicator-
    Click on the Orange icon - top right - settings - click on the status bar - uncheck shields you
    disabled - click OK
    http://www.avast.com/free-antivirus-download

    Avast 4.8 x - home - free - stop shields, you don't need except leaving Standard, Web,.
    and the network running. (Double-click the blue icon - look OK. - upper left - Shields details
    Finish those you don't use).
    http://www.avast.com/free-antivirus-download#TAB4

    Or use Microsoft Security Essentials - free
    http://www.Microsoft.com/Security_Essentials/

    Prevx works well alongside MSE or Avast

    Prevx - home - free small, fast, exceptional protection CLOUD, working with other security
    programs. It is a single scanner, VERY EFFICIENT, if it finds something come back here
    or use Google to see how to remove.
    http://www.prevx.com/   <-->
    http://info.prevx.com/downloadcsi.asp?prevx=Y<-->

    Choice of PCmag editor - Prevx-
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

    Also get Malwarebytes - free - use as scanner only. If you ever think malware and that
    would be unusual with Avast and occasional Prevx running with the exception of a low level cookie
    (not much), to UPDATE and then run it as a scanner. I have a lot of scanners and they
    never find anything of note that I started to use this configuration.
    http://www.Malwarebytes.org/products/malwarebytes_free

    I hope this helps and happy holidays!

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • HOW CAN I DOWNLOAD MY CONTACTS FROM THE COMPUTER TO THE IPOD?

    HOW CAN I DOWNLOAD MY CONTACTS FROM THE COMPUTER TO THE IPOD?

    Follow this link

    http://www.ehow.com/how_5591557_transfer-contacts-iPod.html

    Simple google search.

  • How to connect & activate external speakers to the Windows 7 desktop PC

    How to connect & activate external speakers to the Windows 7 desktop PC?

    Can't get PC to recognize external speakers

    Hello

    Thanks for posting your query on the Microsoft Community.

    According to the description, I understand that the PC recognizes not the external speakers.

    This could be due to hardware conflicts.

    I suggest you to refer to the suggestions of Fahimulla K replied on March 4, 2010 and check if that helps.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-pictures/Windows-7-wont-recognize-my-external-speakers/60865d58-1742-4AE8-b0f1-c623f2285907

    Hope this information helps. Please let us know if you need any other help with Windows in the future. We will be happy to help you.

  • How to upgrade an ESXi host from the command line

    Sorry for bumping an old thread. I'm new to ESXi. I'm under ESXi 5.5 build 1331820 and I am at a loss how to apply patches.

    Preferably, I would like to apply all the relevant patches through console (SSH). Can someone give me pointers how to do this? Thank you

    Moderator note (a.p.): branched to a new discussion of software patch to version 1331820?

    Welcome to the community,

    on how to patch a ESXi host from the command line, please see for example http://kb.vmware.com/kb/2008939

    Basically download you the latest hotfix package and install it using the command esxcli . That said, please make sure that your hardware is supported by the patch that you want to apply (see http://www.vmware.com/go/hcl). You can also do before installing the patch, is to do a "dry - run" to know what . VIBS are removed and which are installed by the patch. To do this add -dry - run to the esxcli command line.

    In the case where something goes wrong, you can revert to the previous state by pressing SHIFT-R , while the ESXi hosts begins the start-up.

    André

  • How can I transfer a file from the operating system to a backup of the production running VM virtual machine?

    Problem:  After I do a backup one using ghettoVCB on a local VMFS volume, I have a virtual machine that I can start something happened to that running.  However, sometimes I just need a file from the OS level, which means that I would need to start to get them, but then I have an IP address conflict.  I can't imagine a way to have the NICs turned off and still be able to move the file.  If I change the IP addresses, the software that I need to create the file that I need to transfer no longer works because, although there no need of constant connectivity to the seller, it is locked to the public IP address.http://communities.vmware.com/images/emoticons/sad.gif

    Material:  I have two 4 ESXi hosts to work, each with local VMFS volumes.  They share a private vlan common and a vlan common public.  They each ssh, ftp, wput, wget, and rsync available.  I have a Windows 2003 Server VM which also hosts a NFS and the VI client and other VMWare tools.  It also has private and public interfaces as do virtual machines that would be to make and receive the OS files.

    Question:  How can I transfer a file from the operating system to a backup of the production running VM virtual machine?

    Thank you!

    Yes Mr President, make sure you set the network on this virtual machine to be connected to the 'Internal' vswitch, you set up before turning the power on to the virtual machine.

    -

  • How can I remove an application from the App Store in the section update application?

    How can I remove an application from the App Store in the section update application?

    You can not delete Apps from the update tab. It's just a list

    The list is just for information purposes. Finally, they are deleted from the list on their own.

Maybe you are looking for

  • Ipiel-la3 rev: 1.01 bios update (P6150NL)

    Hi I'm refurberishing a hp pavilion 6150nl desktop for one of my dear friends. The machine is running with a 5.07 bios and I see some errors in this version of the bios. Wrong order of the four ports of sata for example. The hp site says that there i

  • Pavilion dv7-6195us: How can I get a Windows 7 ISO to my OEM license?

    Hi all! I expect to download a Windows 7 Home Premium 64 bit ISO from Microsoft, but I'm having trouble. Since I bought my laptop HP with Windows preinstalled, the Microsoft site I cannot get an ISO. It forces me to contact my manufacturer instead. H

  • 14 - r232TU: pilot Wifi installation problem

    Hi, I installed Windows 7 ultimate (64 bit OS). But I donot find any driver wifi and webcam for my laptop. Help, please.

  • Betacam 3D

    Hello everyone. I have a HP Pavilion G6 2136tx. I would like to know if my laptop has 3d capabilities or not.

  • fan runs fast

    Fan on XP is running to fast and loud