How to make a motion tween play when you click it?

I am brand new to the FLASh and I have a motion tween of a wheel that rotates 360 degrees and I need to play when it is clicked on.  This is probably something that is really easy to do, but I just can't understand it.  Someone at - it good indications?

Hello

you need to do an instance name for your movieclip, for example "myMC". Select the first frame in the new layer, and then click window-> Actions.

To write:

myMC.stop (); stop your mc when movie starts

myMC.addEventListener (MouseEvent.CLICK, regarderMovie); Add a listener for the click of the mouse the mc that will trigger the function playMovie

playMovie(event:MouseEvent) //function MC function start

{

myMC.play ();

}

I hope this has been helpful.

Tags: Adobe Animate

Similar Questions

  • How to make a subpage in homepage when you click hyperlink?

    I have a page about, and in this page, I have listed all the Dr. Office.  Now when I select a link I want the selected page opens in the same page.

    Hello

    I think that you are looking for type "Accordion" of affect. If you want to hyperlink elements, it will open the new page, it does not open a subpage in the homepage. Try to use the Accordion widget and see if it serves your purpose.

    Kind regards

    Aish

  • How to make the menu letters more when you use Lightroom 4?

    How to make the menu letters more when you use Lightroom 4?

    Hey Lenovo W510,.

    The police of interface only option in Lightroom of sizing is in the preferences > Interface > panels > Font Size (Small/Large)

    The configuration in grand and then restarting Lightroom will increase the fonts you see in the signs that describe the functions of LR.

    If you're on Mac or Windows you might also decrease your screen/display resolution that will make everything look bigger on your screen.

    Hope this helps,

    Kind regards

    Pete

  • AS3: How an instance of flvplayback stop playing when you leave its frame in the timeline?

    I created a small theatre program and it is working very well, but I cannot for the life of me understand why it works without additional code.

    I have a timeline with frames 5 and last 4 executives have a different instance of an animation flash (flvplayback) in them: all of them charge a different movie as its source and I don't give instance names to one of them.

    To get to one of these frameworks, there are 4 buttons and the eventlistener to click a button calls a function that specifies which image to go to and stop at the.  Since each flvplayback has autoplay set to 'true', the movie starts to play when you enter its framework.  If I click a different button to get a different picture, this first film stops play and the video in the 2nd starts frame.  I have not any actionscript in saying the first movie to stop and I can't find anything in the AS3 reference that suggests that the flvplayback component could work this way.  Why didn't I tell an flvplayback instance programmatically to stop when I'm out of its frame in the timeline?

    Thank you

    Sean

    If you leave its framework there are more.  But from other postings I've seen, people most often ask why he always plays because they can hear the continuous sound even if they left the frame.  I think in your case what could have to do with you based on components in the adjacent blocks, such that you essentially load a new source in the player.  There is an anomaly MNI Flash where if you place instances of the same object in adjacent frames, the latter inherits the properties of the former, essentially becoming it.  Then you fall into this scenario where essentially the same player is told to change what he is playing.  You could try to stagger the instances with empty frames between and see whether you get similar results.

  • Want the audio file, click on the box to play when you click

    Hi all

    I would like to have a click box that plays a short audio file when you click it, much the way you can have a view of the legend and a playing audio file with a bearing. It seems that there is no way to get the 'success on click' action to be 'read the audio file '. I can associate an audio file with the box click on the Audio tab, but this makes the audio file play automatically when the click box, not display when clicked.

    If someone was able to get an audio file to play when the user clicks on a click box, as I describe it, without connection to another slide and without the help of a button? I don't want to use a button because the real object that is clicked is a box of nail on something else. The highlight box means that there is more information about the highlighted item.

    In addition, I don't want to create a branch to another slide, because they are really short texts of audio presentation bit, and I have three of them. I prefer to have interactivity on a slide, rather that force the user to navigate around.

    If anyone did what I describe and has ideas, I welcome them. At this point, I think a bearing with legend and play on the mouse on an audio file can be the best thing, except if the user moves the mouse out of the hotspot, the sound stops. Maybe it's not bad anyway, but thought I'd check here everything first before resorting to a reversal.

    Thank you very much!
    Lisa

    Hi Rick!

    Thanks a lot for your answer. Hmm... I think in my situation, workaround to reread the previous slide to reset the box click doesn't work. Before arriving at these interactive click boxes, the slide has other text and audio playback. Start the slide would re-read everything until the blade stops, then display the interactive elements. However, I think that something like that might work for a project where the interactive stuff "starts" immediately on the slide. It's simply not how mine is set up at this stage. I think that the legend of attached with audio reversal will probably be my best option right now.

    Thanks again for your response!
    Lisa

  • A link to a file, audio to play when you click

    Hello

    I downloaded a file audio .asx small on my server.

    I would like to make a link to it so that it plays on win media player or similar, when you click on it.

    However I've linked to it in the same way you would any other page or file, but he tells you to open rather than play.

    Can I do so that the sound plays just when you click on?

    http://www.matthamiltonracing.com

    The link in question is in the div. bottom right

    Thank you very much

    Mark

    The way that a file is used on the client computer is determined by the way you set its file type on your server and the configuration of the individual browser to support. Basically, you have little control here, especially with an ASX file. A more accessible way to read audio data in a browser is through Flash/SWF. You can google for 'flowplayer' find a free option that does not require you to own Flash.

  • I have several symbols, how can we showed above the others when you click it?

    I have an animation that is a City/Beach/sea, and different parts of the city are symbols that can be clicked on, for example a boat in the sea could be clicked that would then lead the boat. My problem is that the boat could grow to fill the screen, then the animation playing, but as there are many other symbols, then another symbol could be on top of the animation clicked on / reading. Ideally when each animation is clicked, it would move to the top of the list of layers, but I guess that's not possible, so I was wondering if anyone had a better way to do this?

    You need to change the z-index when you click on a higher level and return it to its original level when it ends, or when the user clicks on another symbol.

  • Have multiple e-mail accounts. How to make an account by default when you use send to mail recipient?

    We have several email accounts. How to make one of the accounts the default sender address when we send a document to the recipient of the message? Or how can I change the order of the Thunderbird email accounts that they appear?

    There is an extension that allows you to rearrange the order of the accounts in the easy folderpane. It is manually sort folders.

    To do a particular server out by default, go to account settings > mail outgoing (SMTP), select the one to be the default and click set as default.

  • How to make a uiapplication closes not when you close the last screen

    By default, when you close the last screen will come out of the UiApplication, but I want what he requestBackground,

    example: If the last screen is the screen invokeapplication and close() is default, then how in the background?

    It is much easier to understand what you mean if you use the real java involved rather than trying to use the shortcut.  I copy your programs and paste it here too, so you don't get as typos:

    invkoeapplication

    that can confuse us mortals.

    It seems you are trying to call another Application is not your own.  Says Simon, if you don't 'own' Application/screen, you have no control over what he does.

    What I don't understand is that if you call the Messages application, then your Application must not be closed.  Is it?  What did you try to stop?

    It would be perhaps better if you explained exactly what you're trying to do, we are all aware, on what is the problem.

  • video play when you click on anywhere

    Hello

    I'm having a problem with the video full screen when I click (tap) anywhere on the screen, the video plays. I have the video attributed to a key. In principle, when I click on the button, this is when the video should play, and he does. However, if I type else where on the screen, the video is still playing.

    In the gif below, I select the video play button and the video plays very well, however when I click outside on the light gray background other video playback. It just seems to be the video.

    indesign_video_problem.gif

    Here's how I have my put layers in place. Each video is on its own layer. And the buttons that call videos are on the top most layer (they are recantgles without outline, or background color). The blue boxes are a State of the multiple object that is a slide show. I included that because I'm not sure if the text boxes (as buttons) have an effect on the video.

    perfect_planning_indd___100_-9.png

    Any contributions to this issue would be most appreciated. Thanks in advance.

    Solved.

    I double clicked on the video on the artboard, and then resize the video down to the size of the buttons. I thought I did it before, the video has been resized in its outer limits if that makes sense. When I double clicked on the video, however, I saw another set of guidelines, which was in the area where I clicked.

    If someone wants to fix my termonology which is appreciated.

  • How to prevent the drop-down menu when you click in the URL field?

    Hello

    For some time there is Safari displays a short title in the URL field when you view a web page (for example, at the moment it says "Apple Inc").  Quite often I want to drage the actual URL in a note or on the desktop for later use.  Whenever I click in the URL field to do this, Safari down a bunch of icons corresponding to the bookmarks in the bookmarks bar, which is useless as my favorite bar is always visible.

    What I would do is to disable this action so that when I click on all I get is the URL so I can drag it somewhere.  Quite often when I drag the URL and domain of Favorites icons is visible, Safari think I want to lodge in this area and therefore mixes the existing icons around according to what path taking when you drag.  It's really very annoying behavior and there must be a way to disable.

    Thank you!

    -Tod

    Safari > Preferences > search

    Uncheck the "Show Favorites".

  • SWF inside the Accordion widget Muse continues to play when you click on another tab.

    I placed a swf inside a Muse Accordion widget. I would like that to stop and return to the beginning, when I click on a button on the widget. Is this possible? Thank you... and besides, I can do a bit of copy and paste javascript, but I'm not a coder.

    Please try to use the composition with video container.

    Thank you

    Sanjit

  • How to do the "Key-enter" trigger (when you click on enter key) works as the key "F8"?

    Hello. I have another question to ask.

    Oracle Forms 6i.

    I have a form in which SMARTBAR & by DEFAULT is the menu and there is no push buttons.

    In the form, there is a "field" named as "ID no.". After entering "No ID" in the field and click on the button 'Run query' in the menu 'DEFAULT & SMARTBAR', all the details of this respective "No ID" gets displayed in other areas. Even if I press "F8" all fields is displayed with values.

    But I have a requirement, i.e. after the entry "No ID" and click on the 'Enter' key, I want all the values to display.

    So I created a "Key-enter" trigger with the following code:

    BEGIN

    EXECUTE_QUERY;

    END;

    But after entering "No ID" and click on the 'Enter' key, the values are not displayed.

    What can I do to make this happen?

    Thank you.

    It depends on the design of your form. If your article ID is part of the base table block, you can do it.

    On your entry ID, create a KEY-NEXT-ITEM trigger:

    If: system.mode = "ENTER-QUERY" then

    execute_query;

    on the other

    next_item;

    end if;

    Now

    -L' user clicks enter the query (via smart bar icon or F7).

    -User enters ID and click on the button to execute the query.

  • Why Mp3 files will not play when you click it?

    Win Xp Sp3
    Firefox 32.0.3

    I can't my mp3 on Box.net to play. This link opens a player, but when I push the 'Play' button, nothing happens.

    https://app.box.com/s/s2yq8eokzcrihprv63yl

    In the console of the Web Developer, I see a message saying that the file can not be decoded.

    f_21818880347 Media resource https://app.box.com/preview/f_21818880347.mp3 could not be decoded.

    This problem is new. Firefox has always worked before. I don't know how long I had the problem without knowing on the subject.

    If you use extensions (Firefox/tools > Modules > Extensions) which can block content (e.g., Adblock Plus, NoScript, Flash Block, Ghostery) then make sure that these extensions are not blocking content.

  • How to prevent the popup dialog closes when you click the commandbutton

    Hello

    The application has a popup with the dialog box Cancel to display a table. Users could select the lines using a checkbox and click a CommandButton to backend processing.

    It displays a message (using addMessage) when he chose nothing.

    I would like to have the popup rest so the user could correct their action, but ADF automatically close the popup.

    Is there a way to avoid this?

    If I put the property AutoCancel to false, the popup rest (or rather re-posted), but the message window is hidden, which is defeat it purposes.

    I saw a discussion archived since 2008, but it doesn't have an answer, that's why I opened this thread.

    Kind regards.

    DjG

    Tried to set partialSubmit for af:button be true?

Maybe you are looking for

  • HMD

    How can you cancel your order prior to a book?

  • Windows Setup does not load driver Marvell D20

    Hello Installation: D20, the Marvell controller are attached: 2xHDDs RAID1 and an Intel SSD in a RAID configuration. The machine was initially installed with Windows 8.1 (on RAID1 disks), most later improved to W10. After a recent, (unknown to me), W

  • NETGEAR is admin for the category "Nighthawk WiFi routers '?

    Dear Admin: Please take the time to look at the section 'pinned' items and change to keep the version approved the most recent firmware for each model. This will greatly help to avoid discussions is fragmented into many threads for the same problem.

  • activation of the xp SP3 after reinstalling on the same laptop computer. pls help

    Original activation key (removed product key) helps to activate the xp SP3 after reinstalling after formatting C:\ due to the virus on the same laptop computer. pls help

  • Emails coming in ONLY open.

    What emails opening in 'Windows Mail' (Vista), start the last 3 weeks, emails will arrive only open, or "read". There is a potential danger in what I believe, that nothing will, for junk mail, in this way, and I could get harmful emails as well. (Pot