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();

Similar Messages

  • How can I remove a mailbox address from the "From" drop down box in a new e-mail my old e-mail address continue to populate as the sender address

    How can I remove a mailbox address from the "From" drop down box in a new e-mail my old e-mail address continue to populate as the sender address

    Hello,
    Try Mail>Preferences>Accounts icon>Account Information tab>Click on the Outgoing SMTP server drop down, choose edit Server list, highlight the old one & click Remove.
    (Such convolution is worthy of Windows® in my estimation)

  • How do you remove back up data from the memory storage? my storage data states that i have over 80gb of data used for back ups and i dont know why as i use a external hard drive as a time machine .now my 250gb flash storage is nearly full

    how do you remove back up data from the memory storage? my storage data states that i have over 80gb of data used for back ups and i dont know why as i use a external hard drive as a time machine .now my 250gb flash storage is nearly full.. HELP!

    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as  Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.
    See this support article for some simple ways to free up storage space.

  • How can I  remove my credit card from the automatic billing for my account?

    How can I remove my credit card from the automatic billing for my account?

    The following has instructions for changing iTunes payment method: http://support.apple.com/kb/ht1918

  • How do I remove my credit card from the account

    how do I remove my credit card from the account

    How do I remove my credit card...: Apple Support Communities

  • How-can-i-remove-my-skype-name-from-the-sign-in-sc...

    Guys this is absolute rubbish feature of the login application where people's login names get recorded in the dropdown menu. Is there any more permanent way of getting rid of this annoying privacy intrusive "feature"? I would like to have a profile with a username that is not going to appear at airports and my grandma's laptop after I log out of skype and no I do not want to go digging for app files to remove my entire history on each and every machine I use as suggested by your help files. Could you please advise if I'm missing something here?
    https://support.skype.com/en-gb/faq/FA11070/how-can-i-remove-my-skype-name-from-the-sign-in-screen-i...

    Unfortunately, the option to remove that feature is not available.  
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
    SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
    | skypefordummies.blogspot.com | 

  • How can I remove my email address from the lock screen?

    How do I remove my email address from the lock screen? My dad bought me a new laptop after mine was stolen from my house on New Year's Eve. I'm a little tighter on my security now and when I turn on my laptop the lock screen shows me my name and my email
    address. If my laptop gets stolen again, I don't want my email address to be displayed for someone to use or sell as I'm extremely picky about what I'm giving out my email for. If there isn't a way to hide my email address, I'm going to demand a "downgrade"
    from this Windows 8 s**t and back to the more user-friendly and less confusing Windows 7. (And for the record, I hate Windows 8. With a passion.)

    Hello,
    The TechNet Wiki Forum is a place for the TechNet Wiki Community to engage, question, organize, debate, help, influence and foster the TechNet Wiki content, platform and Community.
    Please note that this forum exists to discuss TechNet Wiki as a technology/application.
    As it's off-topic here, I am moving the question to the
    Where is the forum for... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • How do you remove old email addresses from the invitee drop down menu in Calendar

    How do you remove old email addresses from the invitee drop down menu in Calendar

    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Caches/com.apple.iCal/Previous Recipients.plist
    Right-click or control-click the line and select 
    Services ▹ Reveal
    from the contextual menu.* A folder should open with an item selected. Quit the application if it's running. Move the selected item to the Desktop, leaving the window open. Relaunch the application and test. If there's no change, quit again and put the item you moved back where it was, overwriting the one that may have been created in its place. Otherwise, delete the item you moved.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • How do I remove already updated apps from the update area?

    How do I remove already updated apps from the update area?

    From ; Terence ONeill - UK
    KILLING ADOBE PHOTO DOWNLOADER AND TRAY ICON.
    Easy ! I use Comodo Pro Firewall.
    1) Click on DEFENSE box.
    2) Click on "View Active Process List"
    3) Look down the list of processes. Find APDPROXY.EXE.
    4) Click it, then click "Terminate and Quarantine"
    5) ALL DONE ! No more icon in tray and the program is killed.
    APDPROXY - This is lurking about, you can find it on SEARCH from the START button. BUT, you cannot delete it or move it and MSCONFIG does not work. You can disable it as many times as you like - it will keep coming back.
    SOLUTION ! Download CCleaner, it is a great little program and free.
    Using this you can click on TOOLS, then STARTUP. A list of programs are shown which are enabled at STARTUP. Disabling does not work, just click on APDPROXY and click DELETE. It`s GONE !
    All over in a flash - no more ADOBE PHOTO DOWNLOADER.

  • HT204053 HOW DO  I REMOVE A MAGAZINE SUBSCRIPTION FROM THE APP STORE ?.

    how do I remove a magazine subscription from the app store that I purchased but would like to cancel?

    There are instructions on this page for managing and stopping auto-renewing subscriptions : http://support.apple.com/kb/HT4098

  • How do I remove an old username from the app store when using the update function

    How do I remove an old username from the app store when using the update function.
    I purchased my Mac used.  The former owners username prepopulates when I try to perform the updated function on the app store.  It does not allow me to use a different user name.    I have created my own username and password.  I have even been able to purchase items from the app store, it's just when I use the update function it does populate with my username.  Any help is appreciated.

    The first thing to do with a second-hand computer is to erase the internal drive and install a clean copy of OS X. You — not the previous owner — must do that. How you do it depends on the model, and on whether you already own another Mac. If you're not sure of the model, enter the serial number on this page. Then find the model on this page to see what OS version was originally installed.
    1. You don't own another Mac.
    If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc from the Apple Store or a reputable reseller — not from eBay or anything of the kind. If the machine has less than 1 GB of memory, you'll need to add more in order to install 10.6. Preferably, install as much memory as it can take, according to the technical specifications.
    If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for some MacBook Air models. For early MBA models, you may need a USB optical drive or Remote Disc. You should have received the media from the previous owner, but if you didn't, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To boot from an optical disc or a flash drive, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    If the machine shipped with OS X 10.7 or later, you don't need media. It should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    2. You do own another Mac.
    If you already own another Mac that was upgraded in the App Store to the version of OS X that you want to install, and if the new Mac is compatible with it, then you can install it. Use Recovery Disk Assistant to create a bootable USB device and boot the new Mac from it by holding down the C key at the startup chime. Alternatively, if you have a Time Machine backup of OS X 10.7.3 or later on an external hard drive (not a Time Capsule or other network device), you can boot from that by holding down the option key and selecting it from the row of icons that appears. Note that if your other Mac was never upgraded in the App Store, you can't use this method.
    Once booted in Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive.
    After partitioning, quit Disk Utility and run the OS X Installer. You will need the Apple ID and password that you used to upgrade. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    Then run Software Update and install all available system updates from Apple. To upgrade to a major version of OS X newer than 10.6, get it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.
    If the previous owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Apple customer service has sometimes issued redemption codes for these apps to second owners who asked.
    If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able to  authorize it immediately under your ID. In that case, you'll either have to wait up to 90 days or contact iTunes Support.

  • How do I remove my iWeb pages from the Home folder so I can publish to a new host?

    I have moved my MobileMe site to a new service (GoDaddy).  The basic transfer went very smoothly.  With one tiny hitch:  the new URL text.
    IWeb places web  pages in folders, each folder being a  "site." The name of the root folder automatically becomes a "pointer" to the web site -- and part of the URL text.
    My current root folder  is named DavidChartrand -- me.  So..... when I published everything over to GoDaddy the text "DavidChartrand" was attached to my URL. 
    Instead of seeing www.davidchartrand.com in the URL bar, visitors  see:   www.davidchartrand.com.com/DavidChartrand
    GoDaddy staff says this is simply a quirk in iWeb's design.  Fine, but it's annoying.  Is there anyway I can keep using iWeb but somehow remove the root folder.....that is, remove my site pages from the root folder and and then re-publish? GoDaddy tech support swears it  has many former MobileMe/iWeb users who have done this successfully but offered had no idea how.
    David

    The way iWeb publishes its websites, in its own folder, the normal URL is http://www.domain_name.com/Site_name/Page_name.html.  This is a normal URL for any web host.
    If you want to get rid of the site name you will need to publish your website to a folder on your hard drive and upload only the contents of the website folder to your server with a 3rd party FTP client like YummyLite, Transmit or Cyberduck.  That will get rid of the site name in the URL. 
    Of course remove the existing website foldr from the server beforehand.
    I believe the folder you publish to on GoDaddy is named public_html.  You might try renaming your website to "public_html" and publish to GoDaddy.  In theory iWeb will see the website's folder already on the server and publish the website file into it. 
    It works that way with HostExcellence.com which names the home folder the same as the domain name associated with it. This tutorial explains more about it: iW16 - Using HostExcellence.com with iWeb
    OT

  • How do I remove speed dating sites from the computer?

    i would like to remove speed dating sites from the computer. how can i do this?

    Probably caused by Malware on your PC.
    Install, update, and run these programs in this order. They are listed in order of efficacy.<br />'''''(Not all programs detect the same Malware, so you may need to run them all to solve your problem.)''''' <br />These programs are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have.<br />
    ''Note: If your Malware infection is bad enough and you are mis-directed to URL's other than what is posted, you may have to use a different PC to download these programs and use a USB stick to transfer them to the afflicted PC.''
    Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php] <br />
    SuperAntispyware - [http://www.superantispyware.com/] <br />
    AdAware - [http://www.lavasoftusa.com/software/adaware/] <br />
    Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html] <br />
    Windows Defender: Home Page - [http://windows.microsoft.com/en-US/windows7/products/features/windows-defender]<br />
    Also, if you have a search engine re-direct problem, see this:<br />
    http://deletemalware.blogspot.com/2010/02/remove-google-redirect-virus.html
    If these don't find it or can't clear it, post in one of these forums for specialized malware removal help: <br />
    [http://www.spywarewarrior.com/index.php] <br />
    [http://forum.aumha.org/] <br />
    [http://www.spywareinfoforum.com/] <br />
    [http://bleepingcomputer.com]

  • 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.

  • How do you remove your FULL name from the SYSTEM COMPLETELY?!?!

    I have added and removed the user thinking that would remove my full name from the system, but when I click on the "About this Mac" and then click on More info, My FULL NAME is still there as the owner of the computer. I am selling it and I do not want my name on the computer at all and do not wish to format the whole drive to do so. Is there another way of removing it? I appreciate anyone that has the correct answer.

    System Preferences>Sharing>Computer Name.
    BTW, unless you know and completely trust the person to whom you are selling, this is not the way to do things. Your sensitive data may still be recoverable.
    http://hivelogic.com/articles/how-to-prepare-a-mac-for-sale
    Choose zero out (one pass is sufficient.)

Maybe you are looking for

  • New Apple ID to multiple devices

    I have several devices that share the same Apple ID. When we changed our e-mail address associated with the ID, some of my devices can't download apps: the password no longer works with the old User ID (e-mail). I already updated on appleID.com. The

  • Audio/video out of sync (audio delay) with PowerBeats wireless earphones.

    I am having a problem with audio/video sync between my  PowerBeats Wireless earphones with my MacPro and MacBookPro. I have tried pairing, playing the video, pausing the video, turning off the PowerBeats, tuning the PowerBeats on, then starting the v

  • What tasks I should select in NWA Configuration Wizard for PI component

    Hello, I'm in the stage of setting up the NetWeaver 2004S SR2. I've logged to the Net Weaver Administration console. According to documentation, to properly configure PI component I should execute Configuration Wizard task. The problem is that docume

  • Lg slim portable dvd writer is not connecting

    Hi there I have a Macbook Air and purchased a LG slim portable dvd writer and its not connecting. What am I doing wrong? Is it not a compatible device? Thanks

  • Oracle 11g R2 on Windows

    Hi All I want to install 11g R2(11.2.0.1) version of the database on my laptop which is on windows Vista. I could not able to find the link for windows version on otn.oracle.com. Can anyone know why oracle has no reference to particular version on wi