Make movie non-interactive clip, unless another video clip is visible

Hi, I do an escape from game and I encountered a problem. When an item is added to the inventory, I would like the user to click on the item to affect another object (for example the screwdriver by clicking on cache live and displays another image) but when I add the code to the element, if the element is clicked and it is far the object that it affects, the image appears and it seems really stupid.

So what I would like to be able to do, possibly using if and instructions else or what is simpler, is to have only the inventory item be clickable if the clip of the object's affect is visible on the stage. I hope this makes some sense, and thanks in advance for any help!

For the button you want to allow to be clicked, just include the conditional inside its event handler function.   And you do not need to specify "is true" to test a Boolean value (ditto for fake).  So if wedge2_mc is this button that you don't want to do anything until the desklarge_mc is visible, then use...

wedge2_mc.addEventListener (MouseEvent.CLICK, unjamdrawer);
function unjamdrawer(e:MouseEvent):void {}

{if (desklarge_mc.visible)}

desklarge_mc. Visible = false;
screwdriver1_mc. Visible = true;

}
}

Tags: Adobe Animate

Similar Questions

  • After I publish my movie with windows maker movie at 03:00 in the video, the screen goes black, but the music is not yet how to fix this?

    After I publish my movie with windows maker movie at 03:00 in the video, the screen goes black, but the music is not yet how to fix this? all past images 03:00, but the video clips don't.

    Hello

    Did you change your computer?

    I suggest you to follow the links and check out them.

    Solve problems with publishing a movie to your computer

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-publishing-a-movie-to-your-computer

    Publish a movie in Windows Movie Maker

    http://Windows.Microsoft.com/en-us/Windows-Vista/publish-a-movie-in-Windows-Movie-Maker

    Make a movie in four simple steps

    http://Windows.Microsoft.com/en-us/Windows-Vista/make-a-movie-in-four-simple-steps

  • Windows Movie Maker is cut my clip.

    I have a minute 11 long clip that I have the color corrected and transmitted quickly using Adobe After Effects. Later I put it in Windows Movie Maker to put everything together but after about 5 minutes of game screen just went clip all black with no audio either. This never happened before do - what I do?

    You can also check and make sure that the clip is not cut.
    Click under timeline to expand.
    Go to video, right click on Audio and check to see if the mute setting is enabled.

    I hope this helps.

  • Windows Movie Maker-how change the length of a video

    Windows Movie Maker on Windows Vista

    My video is 4 hours long and I need to cut it in half in order to put on the dvd with dvd machine program. How can I do this?

    My video is 4 hours long and I need to cut it in half in order to put on the dvd with dvd machine program. How can I do this?

    =====================================
    Wow! This is a huge project... If you have not had errors and
    crashes, there must be some kind of miracle.

    Just a thought... I wonder if a DVD Double layer would
    work with the file as it is?

    In any case... you have saved the project in WMV or AVI
    film format in a folder on your hard drive?

    To get a separation of the file... you could re-import-the movie
    Creator and divide.

    Windows VIsta - work with clips in Windows Movie Maker
    (Divide and combine Clips)
    http://Windows.Microsoft.com/en-us/Windows-Vista/work-with-clips-in-Windows-Movie-Maker

    And... the following free software may be worth a visit:

    VidSplitter
    http://www.Geovid.com/VidSplitter/

    If you have saved as AVI... see the following:

    VirtualDub
    http://www.videohelp.com/tools/VirtualDub
    (left click of he who said):
    'Download from mirror (direct link) (1.6 MB)')

    VirtualDub: How to split the video
    http://www.ScreenVirtuoso.com/VirtualDub-split-video.html

    Video editing tutorial - using VirtualDub
    http://www.astahost.com/info.php/video-editing-tutorial_t11655.html
    > not compatible with .wmv or .asf files

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • Error when you try to modify or to open a video (WLMP) using Windows Live Movie Maker: Movie maker does not support the selected file

    WLMP does not open on windows live movie maker?

    Well I made a video Windows live Director and saved it but when I try to open it to change some more it is said "Movie maker does not support the selected file" but he should not let me because I did in windows live Director please help!

    I'm having the same problem, but if I double click on the Window media player file appears help!

    ================================================
    Right-click the. WLMP file and try... Open with / Windows Live Movie Maker...

    See the following article

    Windows 7 - changing the programs that Windows uses by default
    http://Windows.Microsoft.com/en-us/Windows7/change-which-programs-Windows-uses-by-default

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • Cannot import. In Vista Movie Maker MOV files

    I have pictures in my folder of photos I want to make a DVD. Some images are video clips with a file extension. MOV. When I open windows movie maker and click on "importt" I find my photo file and select one of the video clips and try ti import it. I get a message that says "cannot import that movie maker does not recognize the codec. What should I do to get this program to accept my video clips with the .mov file extensions?

    Hello PorterQuinn,

    Thank you for posting.  You will need a 3rd party software program or conversion to convert .mov to another type of file that will be recognized by Movie maker.  There are a few conversion tools free availible.  You can use your favorite search engine to find some of them.

    Please let me know if this helps you.

    Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk. Zack
    Engineer Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • You can lock an object (video or photo) in the background of another video?

    I am doing a video with an explosion inside so I had the basic video I recorded on the bottom layer and then put the video of the explosion on top of it. Kind of worked by playing the two videos at the same time, she seems completely wrong, because the explosion remains in the same exact spot regarding the first camera (video I recorded). Then when my camera settles the explosion followed, rather than stay in the same place as in real life. Is it possible to "lock" to a position in the pictures?

    It is best done in things like the first or After Effects. the best you can do with the PS, is to put the clip into a smart object, then you can use move or transform keyframing to move the layer with your another clip. You need to add more keyframes to get to to move convincingly.

  • Hi, I want to export my movie on DVD clips, burning them like AVCHD, movies are made on the basis of an iphone 6 1080 p 60. I want to keep the best possible quality. Can someone tell me what that best project settings I should use? Thank you very much.

    Hi, I want to export my movie on DVD clips, burning them like AVCHD, movies are made on the basis of an iphone 6 1080 p 60. I want to keep the best possible quality. Can someone tell me what that best project settings I should use? Thank you very much.

    Johnny

    Thanks for the reply to my comments to complete Responses to your subject.

    Factors in your planning...

    First elements 13/13.1 does not support Windows XP, Windows Vista or Mac OS 10.7.

    First items 10, 11 or 12/12.1 on a Windows computer is 64-bit application when it is run on Windows 7, 8 or 8.1 64-bit computer. Otherwise, it's a 32-bit application. This has implications on important it resources, particularly for your biggest projects in Premiere Elements.

    Video mobile phone registered with a variable rate is a consideration for any version of Premiere Elements. If your cell phone video shows with audio out of sync and you use the hand brake to correct this condition, you should get good quality of the handbrake H.264.mp4 (just make sure that the export rate is comparable to that of the original in addition to changing the frequency of images to a number (use same as source) and selecting constant for this frame rate).

    If any clarification on the above, do not hesitate to ask.

    Thank you.

    RTA

  • How to put the "counting" effect as a video in the background of another video play WITHOUT him covering the original video?

    If you got confused of what I said, I'm basically saying that I put the color to count the white text, but the white color will cover up to another video I play there not "transparent" color? Thank you!!

    How is this created "count"? With the help of a generator of FCP X? Or is it a separate video that you created?

    If it's a separate video, you need make the background transparent and must be exported in a codec that supports alpha channels - it would be ProRes 4444.

  • can I move my wnds 7 to another computer and use the same key

    can I move my wnds 7 to another computer and use the same key

    If the copy of Windows 7 comes with your computer, none.  Otherwise, Yes.

  • can not make or produce the clip modified with dark tones / highlights and reverse

    I can not make or produce a clip that has been modified with the shadows / highlights (smoothing time, black, white clip) and reverse with speed / duration.  When you try to make I get an error.  No number it says only: order and error.  If I try to produce the video, it starts to run and then I heard a sound that resembles a goat and the program stops.

    Clamp reversed, nest, and then add the effect or v.v.

    See if this will help.

  • I want to make a plugin that can import a video file.

    I want to make a plugin that can import a video file.

    but the guide and example files offer only importer SDK.

    is it possible to import a video file to another program to the Prime Minister?

    I don't think that what you're trying to do is possible with any of the importing C++ API; those who allow developers to write support for file formats that body can't stand already...

    If you try to import files that can already understand, a HTML5 (JavaScript) - Basic Panel is the right approach.

    Here is the project Panel:

    https://github.com/Adobe-CEP/samples/tree/master/PProPanel

    Here's how to set up a panel development environment:

    https://github.com/Adobe-CEP/samples/BLOB/master/PProPanel/payloads/PPro_Panel_QuickStart _ Guide.pdf

  • How your SEO does not work if you move your Web site to another host?

    How your SEO does not work if you move your Web site to another host?

    Thank you

    Michael

    Hi Michael

    Move single accommodation, should not influence seo. Change the site host requires a change in the location of the file, so no impact. However, I found a video that will understand this

    Let me know if you have any question.

  • Lowercase first letter in the name of the column in the non-interactive report... Once again

    A few days ago a posted a question on how to make the column name in a non-interactive report
    out like the lowercase. (original post: lowercase first letter on behalf of the non-interactive report column )
    I use Theme13, which is probably the only theme that forces the first letter
    a column in a report uppercase name.




    In any case, I received several responses, including the response that I applied on my page.
    Then I went back to make the column sortable and which denies the alternative CSS and
    the first letter of the name of the column is back in uppercase... arrrggghhh!

    Are there any other suggestions on how to force lowercase with Theme 13 and a sortable column?

    Thank you
    Donna

    Hello

    Do you have it wrapped in the style tag?

    
    

    BR, Jari

  • Cannot use disk, error: Disc Copier could not find a CD-ROM drive supported. You will not be able to make copies of the disc to another.

    Original title: follow question Winsows XP repair

    I get following messages is displayed when I try to use disk functions.  #1 API can not see all CD ROMS in the system, please check to see if they are properly plugged...

    #2 disc copy could not find a CD-ROM drive supported.  You will not be able to make copies of the disc to another.

    Should I take the modem to a computer repair shop to get this repaired?

    Hello

    I suggest to refer to the procedure described in the following article and check the status of the issue.

    Error messages occur when you run Easy CD Creator in Windows XP.

    http://support.Microsoft.com/kb/285910

Maybe you are looking for