How to effectively remove a SWF loaded from the scene?

I can't understand a correct coding to remove a SWF loded in the scene.

Here is my set upwards.

I have a layout that is segmented in section labeled. In the section titled 'products', I have a scheme consisting of images of products acting as buttons that bring a user in another section labeled "prdctsPopUps."

In the "prdctsPopUps" section, I placed an instance of LoaderMax placed in a container of mc. Place LoaderMax in a container of mc automatically resolved a problem of clearing loaded SWFs from the stadium when I go back to the section "products".

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 very well and I can go back to the topic 'produced' without any problem.

However inside the swf (that charge by LoaderMax which is placed in a mc) there are other buttons that lead a user to the section labeled "xyz". That works as well. It opens as he's supposed to be and without any previously loaded "... swf ' on the stage.

In the section labeled "xyz", there is a limited set of buttons with the heading 'products' that must raise a user to the same game in the labeled 'prdctsPopUps' section and open a correspondent "... swf»

However only the last opened "... swf" will appear in this section. Actually the only one that has been opened at the origin of the "prdctsPopUps" section, not who was supposed to be opened from the section "xyz".

I do not understand why it would work a labeled section and not the other. I can't know which section what function/code should be placed.

Here is the set up through a button in the section "xyz" supposed to bring a user to the same section of "prdctsPopUps" but to load another '... 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's the code in place for the LoaderMax of the section "prdctsPopUps":

var loaderProductPopUps:SWFLoader = new SWFLoader (sourceVar_ProductsPopUps,

{

estimatedBytes:5000,

container: holderMovieClip,.

onProgress:progressHandler,

onComplete:completeHandler,

centerRegistration:true,

Alpha: 1,

ScaleMode (ScaleMode): 'none',

Width: 540,

height: 730,.

harvest: 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 that must be imported, or specific function must be specified in a specific titled section?

in fact, I think that you will 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 several SWF files from the page produced.

{

estimatedBytes:5000,

container: holderMov ieClip, / / convinient and easy to manage cases of placing the LoaderMax one mc empty (holderMovieClip)

If this is not the case, will work as well. Then the container line: holderMovieClip, must be replaced by container: cela,.

can be any size, cannot be resized as it distorts the content

Manager onProgress:progress,

onComplete: complete the Manager.

centerRegistration: true,

x:-260, y:-320, //no need for that is if used: centerRegistration:true,.

Alpha: 1,

ScaleMode (ScaleMode): 'none',

scaleX:0, scaleY: 0,

vAlign: "high."

Width: 540,

height: 730, / / scale proportionately but I need to cut the edges

harvest: 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 the corresponding values are changed in Builder SWF loader

TweenMax.to (progressBarPopUp_mc, 1.5, {alpha: 0, scaleX:0.25, scaleY: 0.25});

}

loaderProductPopUps.load ();

Tags: Adobe Animate

Similar Questions

  • How can I remove switch between aps from the desktop?

    Just updated to 8.1 Win
    All kinds of problems
    Erratic WiFi hard to start,
    Flash player has crashed and cannot upgrade from the Adobe site.
    "Switch between Aps" icon is in the middle of the page on the left. Cannot remove, block 2 X 2 on the spot. How do I remove, a total of PIA.
    The mouse now works erratic.
    Not a happy camper.
    If I reload worm. 8 my problems go away?
    Larry

    I can't remove the icon that says "switch between applications" with a large arrow.  It returns whenever I open windows

  • How can I remove a virtual machine from the mycomputer tab entry?

    I imported a virtual machine, and then moved the files and it has opened its new location and now I have two similar entries in the tab "MyComputer".  I'm under VMWorkstation 9.  How can I remove the old entry that opens is more because the files are not there more?

    I've found that a right click works indeed to remove the context menu when you are on the part of the library, but when I was in the My Computer tab, right click does not work.  I had my library closed shutter, but once I opened it and tried, I managed to solve the problem.  Thanks for the help.

  • How can I remove a program locked from my mac

    How can I remove a program locked from my mac

    Please explain what a "locked" program

    In general, any application that has been downloaded from the Mac App Store can ve just moved to the trash and deleted.

    Applications that have been downloaded from other sources can be similarly moved to the trash, or they come with their own scripts 'uninstaller '.

  • How can I remove a single file from a folder of bookmarks

    How can I remove a single file from a folder of bookmarks

    Drag the bookmark you want to delete to the left. A red button that says delete. Press the key and he went.

  • How can I remove HP Photo Creations from a MAC

    How can I remove HP Photo Creations from a Mac?  Does not work by dragging the icon to the trash.  The operating system is Maverick if it makes a difference.

    Thank you

    Thank you.  It worked.  I'm new to Mac, and it doesn't seem to work anything like Windows.

  • How can I remove a redundant entry of the Windows Vista 32-bit NT loader;

    How can I remove a redundant entry of the Windows Vista 32-bit NT loader; (The entrance there is an older operating system).

    Hi poomoon,

    To perform the clean boot procedure, follow the instructions in the link below.

    Step 1: Perform a clean boot
    Step 2: Enable half the services
    Step 3: Determine whether the problem returns
    Step 4: Enable half of the startup items
    Step 5: Determine whether the problem returns
    Step 6: Resolve the problem
    Step 7: Reset the computer to start as usual

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/kb/929135

    After reviewing the issue, put the computer into Normal mode.
    Uninstall or update the program that is causing the problem.

    If this does not work, let us try to restore your computer to a previous state of safe mode.
    Follow the instructions below to restore your computer to a previous state.

    1. Click Start, type system restore in the search box, and then click System Restore in the list programs.
    2. If you are prompted for an administrator password or a confirmation, type your password, or click on continue.
    3. in the System Restore dialog box, click Next.
    4. in the list of restore points, click a restore point created at least a week before the current date, and then click Next.

    Note: If you do not find a restore point that is aged for at least a week, select the first point of restoration that is available.
    5. click on finish.
    6. the computer restarts. The system files and settings are returned to the State they were when the restore point was created.

    Check whether the problem is resolved.

    I suggest that you create a restore point before you follow the instructions below.
    How to manually create a restore point?

    1 open the system by clicking the Start button, clicking Control Panel, clicking system and Maintenance, and then click System.
    2. in the left pane, click System Protection. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    3. click on the tab System Protection and then click on create.

    In the System Protection dialog box, type a description, and then click on create.

    You can also try to remove the entry by using bcdedit command in Vista by following the links below.
    1. click on start.
    2. type cmd and click with the right button on cmd.exe to select run as administrator.
    3. Enter the following text.

    bcdedit [{ID}] /deletevalue datatatype

    The {ID} is the GUID associated with the start-up input. If you do not specify a {ID}, the command changes the current operating system boot entry. If a boot entry is specified, the GUID associated with the start-up input must be enclosed in braces {}. To view the GUIDs for all active startup entries, use the bcdedit/enum command.

    For more information, please see the links below.
    http://TechNet.Microsoft.com/en-us/library/cc709667 (WS.10) .aspx
    http://msdn.Microsoft.com/en-us/library/aa906211.aspx

    Please post back and let us know if it helped to solve your problem.

    Kind regards
    KarthiK TP

  • How can I remove Spyware root Web from my Windows 7 computer so I can install Windows 10?

    How can I remove Spyware root Web from my Windows 7 computer so I can install Windows 10?

    Your control panel, section "Programs", you will see the link to uninstall a program.  Click on that and then choose Webroot AntiSpyware from the list.

  • How to get the content incorporate the swf file in Swf Loader on the run time

    How to get the content incorporate the swf file in Swf Loader on the run time

    [Bindable]

    [Embed(source="assets/index.swf")]

    private var SWFSRC: Class;

    < mx:SWFLoader id = "_swfloader" source = "{SWFSRC}" / >

    It might be Loader (DisplayObjectContainer (_swfLoader.content) .getChildAt (0)) content

  • How to control the video swf loaded in the loading component?

    I have an external swf file loaded into the loading component. The external swf loaded into the component loading stops at departure. I want to play by a button outside the loading component that is located in the main swf movie. CAN SOMEONE HELP ME CONTROL THE VIDEO SWF LOADED INTO THE COMPONENT OF LOADING EXTERNAL?

    You can target the SWF via the content property of the UILoader.  If the name of the instance the UILoader is ldr...

    MovieClip (ldr.content) .play ();

  • Is the corrupted Windows 10 download, and if so how can I remove this and re-download the file?

    Original title: upgrade Windows 10

    I have a Dell Studio 1749 under Windows 7 Home Premium.   I postponed the upgrade of Windows 10 to the present day.  The update file appears in the control panel Windows Update Panel, but when I click start it restarts Windows 7 simply and tells me that the new updates have been installed but it was Windows 7 updates since yesterday.

    Is the corrupted Windows 10 download, and if so how can I remove this and re-download the file?    Or maybe another solution?

    Thank you.

    Review:

    Retry the upgrade manually:

    Option 1:

    Download the media creation tool

    Click with the right button on the MediaCreationTool.exe file and then click on run as administrator.

    Note: How to check if you are downloaded or installed the update Windows 10 November

    How to create an ISO or USB drive.

    Select upgrade this PC now and then click Next

    Option 2:

    Task of pre-required

    When you make significant changes to your computer for example updated operating system, you must always back up. See the links to resources on the backup by clicking the link for each version of Windows you are using: Windows XP, Windows Vista, Windows 7, Windows 8/8.1

    then

    then

    • Turn off (preferably uninstall) your Antivirus utility before you perform the upgrade.
    • Reboot several times, and then try again.
    • Disable the general USB peripherals (for example - smart card reader).
    • If you are using a SCSI drive, make sure you have the drivers available for your storage on a thumdrive device and it is connected. During the installation of Windows 10, click on the advanced custom Option and use the command load driver to load the driver for the SCSI drive. If this does not work and the installer still fails, consider switching to an IDE based hard drive.
    • Perform a clean boot, restart, and then try again.
    • If you upgrade to the. ISO file, disconnect from the Internet during the installation, if you are connected in LAN (Ethernet) or wireless, disable both, then try to install.
    • If you are updated through Windows Update, when download reaches 100% disconnect from the LAN (Ethernet) Internet or Wi - Fi, then proceed with the installation.
    • If this does not work, try using the. ISO file to upgrade if possible.
    • If you are connected to a domain, go to a local account.
    • If you have an external equipment, attached to the machine, unplug them (example, game controllers, USB sticks, external hard drive, printers, peripherals not essential).
  • How can I remove a credit card on the app store?

    How can I remove a credit card on the app store? I can't download apps because it makes me sign then goes to check and it keeps saying method declined.

    < re-titled by host >

    Click here for an asnwer.

    Change or remove your information from payment of Apple ID - Apple Support

    Hope this helps, good luck to you.

  • Why does take so long to load from the time wherever I power up until it takes to get to the login screen? help taking too long

    Why does take so long to load from the time wherever I power up until it takes to get to the login screen? help taking too long

    You should take a look at your startup programs and decide what is really necessary and what is nothing more than useless clutter. There is nothing wrong with the startup programs, some may be really useful or even necessary for your personal needs. But keep in mind that many programs build to start when you start the computer and that most of them must not start when the computer starts, all they do is slow down your boot time and clutter of things when you're trying to solve problems, and some are downright harmful!

    I mean, have you really need things like real Planner and Gadwin Print Screen running all the time? These programs will run very well, even if they are not started automatically every time that you start the computer. Go to these programs and change/disable their boot option. Some may be difficult to kill for public assistance services can be useful when you try to control startup programs. Try CodeStuff Starter, it's safe and easy to use, I think you'll like it, download it here:

    http://CodeStuff.tripod.com/products_starter.html>

    Use AutoRuns to check axis start, Richard:

    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx>

    Use Cclenar-> tools-> start

    http://www.CCleaner.com/download/builds.aspx>

    I can't tell you what to keep, startup items it is a personal preference, but pretty well all the startup items indicated by CodeStuff Starter are safe to disable, and changes are easy to reverse if you change your mind. Searches for items it shows you and decide whether or not these things are really useful or necessary. Some programs will be started at startup without your knowledge and over time, that list can expand to include useless parasites, part of good computer maintenance includes regular control of these startup items and the removal of the unnecessary.

    Suggest that you first spread malware as the cause of the problem by following these steps:

    I. - delete your temporary files

    Clean the system (compensation to all temp/tmp folders and included all the content offline, the tif browser, delete the cookies of compensation.)

    Do a disk cleanup. Click the Start button. in the search box, type disk cleanupand then in the list of results, click Disk Cleanup. Better and easier to use - ccleaner.

    Download the basic version (slim) via

    http://www.Piriform.com/CCleaner/builds>

    The basic version (slim) does not contain the toolbar disgusted

    DO NOT USE ANY cleaning of the advanced options. DO NOT TOUCH THE REGISTRY OR TOOLS. At least not for now.

    Reset

    II. - have your system scanned as a result of security/antivirus installed.

    III. - download, install, update and run both of these tools to a-squared free scans:

    MalwareBytes anti-malware (MBAM)

    http://www.Malwarebytes.org/products/malwarebytes_free>

    SUPERAntiSpyware (SAS)

    http://SUPERAntiSpyware.com/superantispywarefreevspro.html>

    UTC/GMT is 18:16 on Wednesday, January 18, 2012

  • How can I set a few seconds from the beach to the specific level of db?

    Hi all, I'm new to this software,

    I want to know how can I put a few seconds from the beach to the specific level of db?

    For example, I just want the maximum dB higher and the low dB to be only 3.

    the sound is more concentrated.

    How can I do?

    audition.png

    Ah, you mean compression. There are several tools in hearing that, and one to use depends on the source material. If it is spoken word, then you can use dynamic processing tool (the original), the single band compressor or, possibly, the leveller speech volume to achieve this goal. If it's music, then the multiband compressor is rather sweet.

    But with each of them, there is something important, you should firstly to your track, and it is to normalize it to 0 dB using Effects > Amplitude and Compression > Normalize. You should do this because all compressor settings are associated with a full range signal (i.e., 0 dB) to treat. If you do not do this, none of the controls will make sense. On your screen that you've expanded the display to make it much larger than it should be, then you might want to get back to normal, otherwise you will not see clearly what is happening. Hearing can artificially display any amplitude of the signal at all, due to floating-point processing system internal use, but in the real world, the audio device cannot handle more than 0 dB, please make sure that the signals exceed this.

  • How can I save my messages instand from the Webcam live messenger window

    How can I save my messages instand from the Webcam live messenger window

    Hello

    I hope that's what you're after...

    http://www.WikiHow.com/save-your-Windows-Live-Messenger-conversation-history

    Concerning

    GT4U

Maybe you are looking for

  • NET restore fails - retina MBP A5102

    We have a server OSX Netinstall who dishes about four different recipes of our company OSX image some with Adobe Creative suite, some without etc. The image server is OSX 10.11.3 and the images themselves are also OSX 10.11.3 It works fine on all our

  • Rude response of support technique apple

    My case ID: *. I called to have a permanent solution to the constant question I was confronted to with the iPhone 6 more flexion. The representative was supposed to be an older person something. He was really rude how he responded when I told me abou

  • Laptop computer Pavilion: lap top shuts down and re starts randomly after I upgraded windows 10

    It's so boring that I ensured that I learned from reboots after updates are at a standstill but it stops again and re starts random ideas anyone

  • How to control the number of samples to write

    Hello The module I use has a sampling rate minimum of 1613 s/s. I use scripture to measure express vi to write the acquired data.  I need only 4 samples per second to write to the TDMS file while I'm a life-long. Can someone tell me hoe to do this? I

  • Error code 31 with Windows 8.1

    Get an error code 31.  Windows 8.1.  Installed a security software update version and now can't access wireless network.  Having run all troubleshooting patches but the adapter from network.  Can you help me?