How we prevent external swf click do not affect the parent swf

I use the loadMovie command to load an external swf (a short course of education) in the parent swf file. The parent swf file is an interactive exercise with several buttons to answer. The user can click a button to open and close the turorial on top of the exercise.

If the user clicks at random on the tutorial, they can accidentally click the answer buttons in the swf below parent and hear signals correct and incorrect. When they close the tutorial, they see that the answers have been given and it has a score when they have not intentionally give all the answers.

How to prevent clicks on the external register on the parent SWF swf? Thanks in advance for any help on this matter.

Add a rectangle step in the lowest layer of your external swf and make sure that the size of the stage of the loaded swf file and load is the same.  convert this shape to a movieclip and assign an instance name (for example, bg_mc).  in Control Panel, you can use:

bg_mc._alpha = 0;

{bg_mc.onRelease = Function ()}

}

bg_mc.useHandCursor = false;

Tags: Adobe Animate

Similar Questions

  • How to make safari when he is not on the list update available

    How to update Safari when he is not on the list of updates?

    If you use OS X Lion mountain 10.8.5 as indicated in your signature, the latest version of Safari you might install is Safari 6.2.8 and it is no longer supported.

    Your options are to be upgraded to a later version of OS X or use a browser that is still supported. The current version of Firefox is still supported, but which is also coming to an end: https://blog.mozilla.org/futurereleases/2016/04/29/update-on-firefox-support-for - os - x /

  • How to load external swf files into the AIR

    I try this code its working at the computer, but when I publish this .apk or .ipa file, my external swf file does not open

    (I included my external file as well)

    places_btn.addEventListener (MouseEvent.MOUSE_DOWN, newvid);

    function newvid(event:MouseEvent) {}

    trace ("you clicked me");

    var loadit = new Loader();

    addChild (loadit);

    loadit. Load (new URLRequest ("scene02.swf"));

    }

    01.jpg

    Add this in your newid function:

    You forgot to put the beginning of your original function:

    var loadit = new Loader();

    addChild (loadit);

    var _lc:LoaderContext = new LoaderContext (false null, ApplicationDomain.currentDomain),

    loadit. Load (new URLRequest ("scene02.swf"), _lc);

  • How to unload external SWF?

    I was finally able to work on a way to fix and preload external SWF files - now I'm looking to understand how to unload the SWF external on a mouse event so that a new SWF file can be played.
    I googled this to death all day and have resulted in nothing of what seems to work for me.
    Below is are code so far... does anyone know what I need to add?
    Help, please...

    I have it working! YAY!
    I learned a lot from Andrei1 - fantastic help... unfortunately I still couldn't the code work...
    I bought 'Visual Quickstart Guide ActionScript 3.0' and tried some of their code mixed with some of my own (with help from the knowledge I gained from Andrei1 - THANKS again legend)...
    In any case, the resulting code is as below - which you charge my external SWF files and then discharge them with a click of mouse - FANTASTIC! Hope this helps others out there with the same problem.

  • How to preload external swf file in my main timeline?

    To try to reduce the size of the file for download time... I have a SWF file that I placed it by using the "UILoader" (not sure if it's the right thing to do)... what I would like to work on is how to make a preloader in my main to this SWF file timeline when it comes...

    I hope that makes sense - I am very new to all this and struggling with terminology, etc.

    I thought that Actionscript would be right now what I need - but not a clue...

    I conclude this thread for people who seek a way preload external SWF files. However, please note that I started a new thread to unload the file again on a mouse event... so even if it's not completely final it will start the process of an external SWF preloading... Hope this helps someone.

  • How to load external swf file and unload the swf file parent?

    I have a question. Let's say I have file1.swf, file2.swf and file3.swf, how can I link this 3 files together.

    Let's assume that file1.swf is the main content file, but as I load file2.swf, I want the file1.swf get replaced by file2.swf. How could unload file1.swf at that time, so that my file2.swf will become the main content file?

    and even once, when my current post file2.swf and I want it get replaced by file3.swf tinkle of a button. so that i can unload the file2.swf and let them file3.swf become the main content file...
    Anyone have ideas on this?
    Thank you..

    If you're publishing to fp 10 + use:

    var loader: Loader = new Loader();

    var urlR:URLRequest = new URLRequest();

    addChild (loader);

    Btn1.addEventListener (MouseEvent.Click, f);

    btn2.addEventListener (MouseEvent.Click, f);

    function f(e:Event):void {}

    {if (Loader.Content)}

    loader.unloadAndStop ();

    }

    {if(e.currentTarget==btn1)}

    urlR.url = "file2.swf";

    } else {}

    urlR.url = "file3.swf";

    }

    Loader.Load (urlR);

    }

    p.s. Please check the useful/correct, if there is.

  • I would like to know how to prevent messages sent to be registered on the SMTP server

    Currently, my Thunderbird client saves a copy of all messages sent to the folder "sent", as expected. All sent messages are also stored on the Server SMTP (G-Mail in this case). To avoid having to delete them manually, I want to warn the outgoing message to be stored on the SMTP server in the first place. Currently, my account of Thunderbird for Copies and folders settings has a check mark next to the option 'Other' with a destination of the folder option sent in Thunderbird. I don't see any other parameters that could control how sent SMTP mail server handles. I use the POP service only with the G-Mail Server. What settings should be in place to prevent messages accumulate in the folder "sent" on the SMTP server account?

    I think I can now answer my own question! The question turns out to be a g-mail not delivered not a factor controlled by Thunderbird.

    Apparently g-mail can automatically a copy of all mail sent by SMTP service one account. It's a "feature" that cannot be disabled! A workaround seems to be to set up a filter in g-mail account settings for all mail with an address corresponding to your own email address and send the message to the trash folder. Items in the Recycle Bin are automatically deleted after 30 days. Google prevents the rule 30 days being modified by measure of security, but at least trashed messages for irrevocably removed in a month.

  • Drive external HARD USB will not access the files correctly on Satellite A100-033

    I have a laptop Toshiba Satellite A100-033 (PSAANE-03J02GEN), running Windows Vista Home Basic Edition.
    I have a Western Digital passport external hard drive, which has no power source, because it pulls its power via the USB port.

    Sometimes the player works fine, but I often have huge problems to access files on the drive. Opening a folder can make Windows to hang.

    Open an audio file or a Word can do Word or audio software crash. Copy files often fails and in the process can make the Explorer Windows stop working.

    Recently I tried to copy a 33MB file from the external hard drive to my laptop, and while he did it took more than an hour. So many things can happen, none of them pleasant.

    Problems can occur if the external drive is the only device connected to a USB (apart from an external mouse, I always use), or if the external hard drive is one of a number of devices plugged into my laptop - either separately or through a USB hub (powered or unpowered).

    Anyone know what is happening and how I can make my USB external drive usable? I have two other external drives (powered by their own power source) and they work perfectly.

    Why, most of the time, do drive limp along so badly that they are virtually unusable?

    Hello

    One thing is clear; the problem is definitely related to the external HARD drive and not the laptop. It seems that this problem still occurs if the HD has been connected.

    It of really difficult to say what could be wrong with your external HARD drive
    Maybe HARD drive sectors are corrupt, and therefore you can not open folders and some files stored on the HARD drive.

    Have you tried to format the HARD drive? Check this box and try to save and re-open cases.

    In the worst case that the external HARD drive has a hardware malfunction

  • Seagate external drive works is not on the new Macbook

    I have a Seagate external drive where I save copies of my pictures and videos from my Macbook Pro.  I just bought a new Macbook Air and Air reads the disc, but cannot be copied to it, it just says: it is read-only.  I'm confused, as I only used it on a Macbook so I know that it is formatted for Mac, plus I can still save using my Macbook Pro so I don't know why it won't work on my new Air.

    Any ideas? I would like to be able to continue the copy on this disc.  I back up my computers online so am not at the risk of losing data, just want to continue with my current system.

    Thank you all!

    You have a new drive to NTFS. You will have to repartition and reformat the disk in the order to the EU.

    Drive partition and format

    1. open utility disk from the Applications\utilitaires folder.

    2. after disk utility charges select the external hard drive (this is the entrance Out-bumpy with of the mfgr.) ID and size) in the list on the left. Click on the button/tab Partition in the disk window/toolbar utility main.

    3. in the title of the Volume entitled plan set the number of partitions in the menu drop-down one. Click the Options button, set the GUID partition scheme, and then click the OK button. Set the type of Mac OS extended (journaled) format. Click on the Apply/Erase button and wait until the process is complete.

    4. Select the volume you just created (it's the subentries under the entry for the road) in the list on the left. Click on the Erase tab in the main window of disk utility.

    5. set the type of format Mac OS extended (journaled). Click on the Security button, look for the button zero data and click OK to return to the window to erase it.

    6. click on the delete button. The formatting process can take up to several hours depending on the size of the disk.

    Steps 4 through 6 are optional, but should be used on a player that has never been formatted before, if the format type is not Mac OS extended, if the partition scheme has been changed, or if another (not OS X) operating system has been installed on the disk.

    The steps above may differ slightly depending on the version of OS X and disk utility.

  • External CD drive does not recognize the CD burned on El Capitan.

    Using El Capitan 10.11.5 and an external hard drive, I have burned successfully mp3 files iTunes CD - I can play on the computer itself - but an external CD drive does not recognize, even if the Player recognizes the discs once engraved on Snow Leopard and previous models.  What's wrong? I burn "at the fastest possible speed," as I have always done.

    What CD format?  If you burn it to a CD mp3 this is not very common for a standard CD player to be able to read those.  You may have burnt the other CD audio CD format.

  • CTRL + left click is not always the same as the Middle-click

    CTRL-click is supposed to open a new tab, but this does not always happen. For example in a YouTube channel, a video in the sidebar (or right-clicking and selecting new tab) Middle-click opens the video in a new tab, but ctrl-click opens in the current tab. Y at - it a fix for this?

    These links are that JavaScript links (according to elegant), which do not respond the same as ordinary hyperlinks.

    I have a userstyle installed in Firefox that adds a 'J' cursor 'hand' on most of the JavaScript links, and tells me that I need to way - click on these links - cause {Ctrl + click} will not work.

    http://userstyles.org/styles/233

  • How it happened and how to prevent it: type def cluster change causes the element starts up again

    Hi all

    I have a big nested type nested def cluster, several layers.  I have remove the clusters to use the feature "name" to use it.

    Somehow changing the def of big type causes unlustered elements starts up again.

    For example, the element is the element clustered and used, then after I modified the def type, I don't remember how, maybe remove some items, perhaps rename elements, then the element where B is the unlustered element and used.

    It is very scary because it just happened automatically and no broken error reported and this can spoil the entire application.

    It happen to someone else? How to prevent it?

    Many thanks for any help.

    Anne

    A search on 'Ben', 'cluster' 'type def' to see that I've been bitten in the same way.

    The earch will reveal the various things that have been suggested according to the version of LV

    First rule of ben from cluster

    Avoid like the plague by deleting or renaming items.

    Other stuff:

    If you need to remove an item, change its representation to something that will break all instances for example change digital chain. Then go all the broken VI difficulty by throwing all the refs for the field you want to delte. And then delete.

    in the LV ealier version, better all the screws that use clusters that open when the change is made.

    In the recent version that neither recommended edititng cluster with all the appellants closed with the theory being that LV handles better the opening of VI.

    Given that I am "Of Ben first rule of the cluster" I don't run in the bug often with LV 2009.

    Ben

  • @ sign is the captial lock + 2 How can I change this - also can not find the sign of the pound sterling

    I had my computer updated and the keyboard acts weird, I know that this can happen, but I can't find where to change it.
    The sign @ is capital lock + 2 and I can not find the sign of the pound sterling.  The dates where the American MM/DD/YY, but I managed to change it, but can not find where to change the keys on the keyboard.  Help would be appreciated.
    Thank you
    Jenny

    Hi JennyBrightwell,

    1. how you accessed the pound sign before on the computer?

    2. where you using a third party program for characters to work?

    3. What keyboard layout you have defined on the computer?

    4. What is the serial number and model of the keyboard?

    5. what you up to date on the computer?

    I suggest that you check if the problem persists when using on screen keyboard on the computer and the post with the result back.

    Keyboard on the screen overview

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/osk_overview.mspx?mfr=true

    Using the character map

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/app_charmap.mspx?mfr=true

  • How to uninstall a program that is not in the category 'Programs' from the Panel control?

    The program I'm trying to uninstall is a game called 'Purble Place' and it was already installed in my computer. I want to uninstall it because it seems to me a bit too childish and not very interesting. I tried to find it in the control panel in the category 'Programs', but it was not and I could not find a solution in the internet, even not in the "help and Support Program". Does anyone know how to uninstall the game (and maybe installed programs that are not listed in "Uninstall programs")?

    Hello, James R, P

    It would be prudent to remove entries from the registry and the values for Purble Place. It doesn't hurt also to them to leave because they don't refer to any program since you already have you have already uninstalled the software.

    I hope this helps answer your question.

    Thank you

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Create a Web site icon on desktop when right clicking does not display the option "Pin To"

    When I right click on the web page, or "pin on the office" or "pin to start."

    appear. Another unrelated to the menu drop-down is displayed. All the answers?
     
     
    * Left Performance for Web & Networking

    Hi John,.

    What web browser do you use?

    If you use Internet Explorer, please follow these steps.

    Here are the steps to create a Web site on the desktop icon.

    Right click on the page you want to go to when you click the icon. Click create a shortcut.

    Here are the steps to pin a website at the start screen in Windows 8
    a. desktop Internet Explorer, open the Web site that should be added to the start screen.
    b. Once opened, click Tools icon at the top right of the window.
    (c) in the menu, click Add the site to the start screen option to pin the site open to the splash screen in Windows 8.

    Refer to this article to pin a site from the start screen.
    http://Windows.Microsoft.com/en-us/Windows-8/browse-Web-Internet-Explorer-tutorial

    See the article:

    How to pin a website
    http://msdn.Microsoft.com/en-us/library/IE/gg618532 (v = vs. 85) .aspx

    Let us know if it helps.  If the problem persists, we would be happy to help you.

Maybe you are looking for

  • Inserted of Toshiba Recovery Media formatted SD card

    How stupid can be the Toshiba Recovery Media software guy? 1. I went to use this software to create an image of my Toshiba for safety;2. in the options the software had chosen USB flash that I just assumed to be the USB flash 32 GB I inserted the USB

  • HP2000: Hp2000 does not load to the home screen

    The other day I reset my HP2000 and I did the full restore. He got stuck at 21% for a few hours and I turned off my laptop. I retried and then he and he remained at 1% of all night, I turned my computer off again. I turned it on and there was just a

  • HP Pavilion slimline S7630.nl crash

    Hallo, I have the following problem when trying to restore a pavillion slimline S7630 of two recovery DVDs that have been made/burned after having just bought this pc. Everything seems fine, until the pc claims the second dvd. (recovery should be per

  • That video card works out of Box with P7 - 1240 Desktop with Win 7-64 bit & A10-5700 AMD processor?

    Hi people, I'm new here and that you have already looked for solutions.  I bought new in June 2012 with card mother MSI MS-7778-Jasmine, image AMD A10-5700, 10 MB of ram and Windows 7 64-bit Office P7-1240.  I am trying to install a graphics card, so

  • ENVY TouchSmart 15 t-j100 - install again SSD

    In the past, I have improved the internal system disks several times, and eventually I hope to upgrade to an SSD on the HP ENVY 15 t-j100 TouchSmart Envy (I've seen a 15 "EVNY with a SSD option). I don't really like on a recovery partition, I prefer