Moving between clips and images outside the MC

Hello

I'm a catalog on Flash CS4 ActionScript 3.0

and I don't know ho to move between video clips using buttons and action script...

In scene 1, I have 2 images

In the frame 1 have a clip (MC) and inside that movie clip, I have 10 pictures

In frame 10 of the MC, I want to put a button that will take me to part 2 of my original calendar (NOT the frame 2 of the MC)

Can someone tell me how do you?

or if it cannot do that...

then... How can I go from frame 1 to frame 2 on my original stage 1 calendar after that clip in the framework one is done?

Thank you all

Place your frame 10 button and assign it an instance name in the properties panel... Let's say you name it 'continueBtn '.

In this same movieclip timeline add an actionscript layer if there isn't one already, and add the following code in a keyframe at frame 10:

function continueFunction(evt:MouseEvent):void {}

MovieClip (this.parent) .gotoAndStop (2);

}

continueBtn.addEventListener (MouseEvent.CLICK, continueFunction);

Tags: Adobe Animate

Similar Questions

  • How to crop images outside the canvas when registering as a bitmap?

    Hello world.

    I worked on a design of DVD.  I have a picture of the face of a person on the entire CD.  The reversal of the image outside the canvas.  However, I made a rectangle along the edges and then used a clipping mask to visually remove the overflow.

    When I go on save the image as a .png or a .tiff or any type of bitmap image I always save a transparent part where the spill.

    How can I HAVE me to stop this?  I want to record only what images are inside the canvas.  Is there a predefined or preference setting I'm missing?

    Thank you!

    -Drew

    In the export dialog boxes there is the possibility of using work plans, check this option.

  • I need to create combinations of text and images for the web. How to do this in elements or do I need Photoshop for this feature?

    I need to create combinations of text and images for the web. How to do this in elements or do I need Photoshop for this feature?  Please advise!

    slynn5236 wrote:

    I need to create combinations of text and images for the web. How to do this in elements or do I need Photoshop for this feature?  Please advise!

    You can do in PSE.

    1. Do the math to see how much space you'll need on your canvas to the image and text.
    2. Navigate to the file queue > new.blank. Enter the width & height, background color, resolution 72 px / in. It is your canvas, and in the layers palette will be the background layer.
    3. Copy and paste the image. It turns on a separate layer
    4. Activate the tool move, position the image and resize if necessary
    5. Activate the text tool, and then type your text. It will be on a separate so layer
    6. Position the text.
    7. Flatten layers and go to file > save for web. I'm usually on the long side about 800 px. Don't forget to check "constrain proportions". Adjust the quality slider to suit. You will probably want the type of JPEG file for web work.
  • Why my photos and images have the watermark from Adobe?

    I want photos and images without the watermark of Adobe. How can I fix it? Thank you

    It seems that you have the image of the track in your library, which is the origin of the problem.

    Please follow the steps below.

    > Please follow the link below

    Adobe Stock - free stock photos and high quality royalty vectors | Adobe Stock

    > Please make sure you are connected with your identifying e-mail registered with Adobe.

    > Please click on your name in the upper corner on the right side.

    > Click on libraries

    > Click on the library.

    > Hover your mouse over the image, and then click the trash

    It will be removed from the library now.

    > Then click on license history

    > Click on file/ID number

    > It will open the image which in the right side, you will find the option to Save in the library or on the desktop.

    > You can click the drop-down menu of the icon to change the available option.

    Please let us know if that helps.

    ~ UL

  • Once I do a text comment and click outside the comment, my comment fades lighter than the color of multiple shades, in which it was typed. Someone knows how to fix this?

    Once I do a text comment and click outside the comment, my comment fades lighter than the color of multiple shades, in which it was typed. Someone knows how to fix this?

    Maybe the opacity for the comments of text setting is set to a value lower than 100%... The problem is that there is no way to change it except by using a script.

    Here's how you can do it. After you have created your comment, click on it with the mouse and press Ctrl + J to open the JS Console window.

    In the lower part of the window clear the text that is there and enter this instead and then press Ctrl + Enter:

    this.selectedAnnots [0] .opacity = 1;

    This should change the level of opacity for the comment selected 100%.

    If it works then right click on the comment, go to properties and then click on the 'Make default properties' box and click OK.

    It should now be fixed for any comment that you create.

  • Dynamic PDF up to 200 images, the size of the pdf is greater, cannot save the data and images to the form

    Hi all

    My client would like to dynamic images up to 200 photos to my forms. It works very well. However, when I add images up to 35 images. I could not add images to shape more. Then I save data on the form. All the images and the data entered on the form are missing. I don't know why.

    If I add only 10 images - I can record data and images on the form. 15456 KB is the size of the pdf.  I was unable to add more photos or data on the form.

    There may be a problem the size of the pdf? How big can make a limited dynamic pdf?

    Can save us the information and images as much as we want?

    I spent two weeks to work and trying to figure out this problem. However, it is not successful.

    Help, please

    Cindy

    You must ensure that your users do not import large images.

    Therefore, you can use a script on the change event of an image field that checks the size of the data and warns the user if the file is too large.

    function formatNumber(number) {
        var num = number + '',
        x = num.split('.'),
        x1 = x[0],
        x2 = x.length > 1 ? '.' + x[1] : '',
        rgx = /(\d+)(\d{3})/;
        while (rgx.test(x1)) {
            x1 = x1.replace(rgx, '$1' + ',' + '$2');
        }
        return x1 + x2 + "KB";
    }
    
    var sizeLimit = 200, //allow upto 200KB images
      thisSize = Math.round((this.value.oneOfChild.value.length * 3 / 4) / 1024);
    
    if (sizeLimit > 0) {
      if (thisSize > sizeLimit) {
      xfa.host.messageBox("Note: With " + formatNumber(thisSize) + " the size of the imported image is greater that the recommended maximum of " + formatNumber(sizeLimit) + ".\nLarge images can cause a insufficent performance.\n\nIf possible, use images with the following recommended specs:\nFormat:\t\tPNG or JPG\nColor depth:\t8 Bit (higher is not supported)\nColor space:\tRGB (CMYK is not supported)\nFile Size:\t\t" + formatNumber(sizeLimit), "Recommended image size exceeded", 3, 0);
      }
    }
    
  • How to reduce the space between text and Image

    I am trying to wrap text around an irregular shape in InDesign CS4. I used the pen tool to mark the outlines of the image, crop the image, then selected the outline of the pen and pasted the image into the outline. With parameters defined for the TextWrap is in this dialog box, text wrapping seems in good shape on the right side, but he has too much space on the left side.

    textwrap0.png

    If I try to reduce the space even further away, it is only on the right side of the image, not the left:

    textwrap1.png

    It's the same thing for all my irregular images where I try to wrap the text. How can I reduce the white space to the left of the picture?

    You can use direct selection and the pen tool to change the skin path in repositioning of anchor points and guidelines and adding more anchorpoints etc. In this way, you can move the path of the scarf to the inside a little more to allow the best fit of the text.  To lock breaks in a bit more on a line-by-line, take into account settings composer to composer Adobe single-line (Control Panel menu)

    You can also try to allow hyphenation. With the text aligned to the box on the left will always left a little look gappy I think. However allowing hyphenation will get InDesign to cut the breakpoint to the left of the object with the text, as well as at the end of the line wrapping.

    Also if you change the alignment for Justified, you will also get a better result.

    On a related side note, I had usually advice my trainees do not to wrap the text on the left and right sides, when the object with the scarf is placed in the middle of a sentence. It makes reading more difficult phrases.

    Hope this helps,

    CARI

    --

    Twitter.com/carijansen

  • WHN I copy and [aste one word document in my email to send the document to someone I lose the clipart and images of the document.]

    Why my image used clipart and images are sent with the document?

    Hello Sarahaa1,

    Thank you for your message.  Which application you use for email?  Are you able to you or have you added the Word document as an attachment?  Clip art and images remained on the document?
    Please let us know so that we can better help you get this issue resolved.
    See you soon

    Engineer Jason Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • Make a button in a movieClip takes you to a different image outside the movieClip? (AS2)

    I have a project, a clip that contains panoramic text and a button.

    Basically, the second image contains said film clip, the movieClip is panoramic of text, then the last image of the movieClip is a keyframe with a button inside. How can I do so by clicking on the 'next' button takes me to frame 3 of the project overall? Thank you!

    Assign the button an instance name (example uses 'btnName'), then in the timeline that it occupies, put the code so he can tell the main timeline to go to the next section...

    btnName.onRelease = function() {}

    _root.nextFrame ();  or _root.gotoAndStop (3);

    }

    If "_root" does not try to substitute "_level0."

  • PE2 - what is the difference between 'cut' and 'clear' in the current project?

    When removing items from the active project area, what is the difference between 'cut' and 'clear '?

    I think as 'delete' is an option sometimes, but I could not reproduce it.

    Cup should delete, but don't Clip in the Clipboard transfer, where just claire will remove completely - no transfer to the Clipboard.

    That can be tested by making a cut, then move the CTI (indicator of the current timeline) at the end of the timeline and press Ctrl + V (paste). This deleted item should appear after the ICT.

    Then, delete (or select a different Clip) the Clipboard and try Clear. It should not paste the Clip in the timeline.

    Good luck

    Hunt

  • image outside the area based on a template

    If you look on this page for an example of what I want: http://www.wisconsin.edu/index.htm , you will see the Red strips outside the real site. My client want me to do something similar to this. I know the site in the example created an image with a red line, but I don't know where in the model or maybe the css file to put the code to make it happen. Nobody knows, or can you direct me somewhere to know?
    Thank you.

    I have given you an invalid code. :-(

    Replace
    Body {background-image: url (.. / template_images/lines.gif) repeat;}

    With
    Body {background: url (.. / template_images/lines.gif) repeat;}

    --

    Walt

    'Linda Ruiz' wrote in message
    News:f5fdg7$20o$1@forums. Macromedia.com...
    > Is more necessary?
    >
    > I don't think. I think the repetition is the default value (repeats on the x & y)
    (> axis).
    >
    > Again, to be sure, write the rule in this way:
    >
    > body {background-image: url (.. / template_images/lines.gif) repeat;}
    >
    > --
    >
    > Walt
    > -------------------------------------------------------------
    > Well, it does not work for me. I must be missing something. I've been
    > play with trying something a little different and is not
    > seem to
    > works for me. Here is my model, a css file and a single page, if you want
    > to
    > Take a look...
    >
    > http://webpages.charter.net/lruiz/axlegrease/templates/ag-template.dwt
    > http://webpages.charter.net/lruiz/axlegrease/style.css
    > http://webpages.charter.net/lruiz/axlegrease/home.html
    >
    > the image:
    > http://webpages.charter.net/lruiz/axlegrease/images/agLogoFiller.jpg
    > (not the one final - just whipped something up to get the code,
    (> Prime.)
    >

  • I can communicate between PC and cRIO throughout the series?

    I'm new to the compactRIO. I have a lot of experience with the old Fieldpoint hardware. I understand that they are essentially diffeentliy. The RIO has its own processor and can run stand-alone programs. The Fieldpoint was really just IO for a PC.

    I'm trying to communcate with my RIO (OR cRIO-9074) on the serial port. Is this possible as on the Fieldpoint? Or is the serial port on the chassis of RIO just for interfacing to a different serial device? I'd rather do not to use the ethernet port if possible.

    Hey tir38!

    You can make a serial between devices using the serial port on the chassis of the cRIO. The port is usually referred to as COM1 on the chassis and you can program using the Standard Serial VI (VISA VISA Read.vi, Write.vi, etc.). That being said, you don't have to have a VI running on the target to manage this communication. But when it comes to code to the target deployment and configuration of the target through MAX, you must use an ethernet cable.

    I hope that solves your problem!

  • I'm having a problem sharing back and forth between xp and vista & get the error that I don't have permission to access files

    original title: sharing of Vista with XP

    I'm having a problem of sharing back and forth between xp and vista.  I've set up the sharing, but I still get the error message that I don't have permission to access files

    Kill / disable the Vista password protection option. If you have installed a separate firewall, configure it.

  • Drop-down list: distinguish between programming and modification of the user

    I have a drop-down list with a few options, the selected displays current status.

    The State can change programmatically I have to update the drop-down list.

    I want to distinguish between this change programme and focused on the user.

    No idea how I could do this?

    The classic solution to this problem is to add a flag (Boolean property) that you control, and which inhibits the onThingChanged response when set. You set this just before you perform a change of programming and clear right after. When the change is made by the user, the flag will be clear and the onThingChanged would do its thing.

    There may be other ways to do this in specific cases, but this approach has worked in all situations in which I have tried so far.

  • How to share text and image at the same time using Blackberry invocation framework

    Hello

    I need to share the text and its corresponding picture to FB, Twitter and BBM using the framework of invocation of blackberry. No invocation framework support for images and text sharing simultaneously.

    When I use the mime type as text/plain, the url of the image and the text is shared and when it is image/jpeg is used only the image is shared and not the text. Here is the snippet of code used.

    ShareDataTo=function shareTo(key) {
    //shareImage();
    var text ="";
    
    text = itemObject.myName +"\n My Age : Rs."+itemObject.myAge+"\n Address "+itemObject.address+"\n"
    try
    {
    blackberry.invoke.invoke({
    target: key,
    action: "bb.action.SHARE",
    type: "text/plain",
    data:text
    });
    }
    catch(Error)
    {
    //alert('in ShareDataTo error '+ Error);
    }
    }
    

    Help, please

    Kind regards

    Annuk

    This is not currently supported.  Now, you can make a text or an image, but not both.

Maybe you are looking for

  • How do you mark a message as 'unread' after opening it?

    After reading a message, there are some I'd like to mark as "not read" but I am unable to understand how do.

  • How to add fonts to the font book

    I can drag a font from font book when I type my site in Safari, but I don't know that there is something more sophisticated in OS X El Capitan. Where should I start looking to find out how?

  • problem of façade

    Hi all!!! I have a PU-EQ22 power supply that is used for the electron gun. I joined the program I made for the power control. The power supply has some settings such as the energy, Focus, tension Wehnelt etc. I have few of them shown in the block dia

  • HP Phoenix h9 - 1110t Windows 8 bios upgrade available but where?

    By HP links. http://h30434.www3.HP.com/T5/desktop-operating-systems-software-recovery/HP-PCs-basic-input-output-S... https://h20564.www2.HP.com/hpsc/doc/public/display?docid=emr_na-c04393276 According to these 2 links. An update is available for my P

  • Do not delete email from Yahoo of blackBerry Smartphones

    I've had my turn for a few weeks and had a Peral before that and never had this problem.  I don't know when he started as I don't check my email every day.  I get all my pop3 emails on my phone but when I choise to delete the message "on the mailbox