targeting a clip inside another video clip

IM currently trying to target 2 frame and a movieclip in this image.  This method works.  But now im trying to target a movieclip within a clip.

This code works by trying to target a movieclip.

cal.onPress = function() {}
gotoAndPlay (2);
message.total = unit1;
}

How can I modify this code to find an another movieclip in the message of movieclip?

Thank you

It will not work if you have a movieclip with instance name 'message' that contains another movieclip with instance name "message1" which contains something (perhaps a variable) named total.

What happens when you use...

cal.onPress = function() {}
gotoAndPlay (2);
message.Message1.total = unit1;

trace (message.message1.total);
}

Tags: Adobe Animate

Similar Questions

  • How can I load an external SWF into a clip that is inside another video clip?

    Hello.

    I create my first flash (actionscript 3.0) Web site, but I'm stuck with a visual effect, I want to create.
    I have a window on my website called contentWindow. Whenever you click on a button, this window is supposed to leave the scene, loading the requested content and back on the scene.
    The sliding window is a clip with 83 frames, 21 to enter the stadium, 21 to leave the scene once again, 20 for anything (it's just to simulate the load time) and 21 to the back on the scene.

    Now, my goal is, when the user clicks a navigation button, the window leaves the scene, loading an external SWF with the content and then returned to the scene.

    I have the clip of 'window' with an instance name of "contentWindow". Inside there is an another film clip with an instance name of "contentLoader. The content that the user has requested must appear inside the 'contentLoader.

    Now, when the contentWindow leaves the scene, I get this error message:

    Quote:
    TypeError: Error #1009: cannot access a property or method of a null object reference.
    at rwd_fla::MainTimeline/trigger()
  • How to get to the next section in a clip inside another video clip

    I have a master clip that my entire Web page is located, called masterMC.  If I double click on it, I've got another clip from movie called transitionMC.  I want to advance the timeline in masterMC when transitionMC ends of reading, but not at the root level.  I want to move the MasterMC, not the root timeline.  How can I do this?

    That's what I used:

    Stop();

    If (MovieClip (root) .currentFrame<>

    MovieClip (root) .nextFrame ();

    }

    I replaced (root) with parent.  It has worked well.  Thank you!

  • Targeting movie clip button in a movie clip

    Hello

    I just can't work this. It should be simple

    I'm trying to target a clip in a clip.

    I have a clip on the main stage with an instance of a name

    I have the following on her action script

    on (release) {_root.a.gotoAndStop (2);}

    }

    So on frame 2 a I that a button (instance name b) which has also two frames and a stop on image 1 action.
    All I want to do is click on the button and make it go in box 2. It should work, but it is not
    Here's the ActionScript button (b)
    (press) {_root.a.b.gotoAndPlay (2);}
    }
    Any ideas?

    The first thing we do is to get the code on objects and place it in the timeline panel.  In the timeline root for one button you would use...

    a.onRelease = function() {}

    a.gotoAndStop (2);

    }

    Similarly, in structure 2 inside one, where is the other button b...

    b.onRelease = function() {}

    b.gotoAndPlay (2);

    }

  • target a movieclip from inside another movieclip

    target a movieclip from inside another movieclip

    I want gotoandplay symbol timeline from the main timeline

    Clicking on 1, I want to goto inside 5. 5 timeline not. This is the main scenario. but I want to go symbol 5 chronology

    Thus, the code I use is:

    Stop();

    movieClip_1.addEventListener (MouseEvent.CLICK, fl_ClickToGoToScene);

    function fl_ClickToGoToScene(event:MouseEvent):void

    {

    MovieClip (circle) .gotoAndPlay (1);

    }

    instace.jpg

    Here I wan to go

    ok.jpg


    If inside5 is the object on the same timeline as movieClip_1 and you want the circle target is a child of inside5, use:

    inside5. Circle.gotoAndPlay (1);

  • 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.

  • AbsoluteFieldManager inside another Manager

    Hello. I'm trying to place my AbsoluteFieldManager inside another Manager. Basically, I want my absManager at the bottom of the screen (like setStatus). I couldn't find a way to achieve this properly so I created a HorizontalFieldManager, setStatus (hManager) and now I wanted to add the absManager to hManager but it gives me an error saying that it is already apparent.

    What I'm trying to do, is have a bar of tabs at the bottom of the screen, what I did with success in using hManager. The thing is that I want to place my tabs where I want.

    Any help would be greatly appreciated.

    Thank you.

    I just setPadding instead of setMargin and it works. Background image of the horizontalFieldManager seems to stop at the margin, so the margin of a HorizontalFieldManager with a background image the assignment will result in white space.

    Thanks for the help.

  • A number of pixels inside another object by defining an object?

    Hello everyone, starting here.  I feel like this is a question with a simple answer, but I can't seem to find what I'm looking for, so I'll try to explain here.

    I want to know how to set an object a number of pixels (horizontally and vertically) inside another object.  I have rasterized showing preview, but it shows the artboard, I believe, not in relation to the specific object.  Any help would be greatly appreciated! Thank you!

    You can align the edges of the objects and then select the object to be moved and type + 5 at the end of the coordinated field X or Y in the range of transformation to shift the position of 5 pixels (assuming that your units are in pixels; otherwise, type + 5px)

  • Possible to substitute another video in project?

    Is it possible to substitute another video, a video (which is seen through a mask) without having to start by importing the video and adding the mask? As in Illustrator when you replace an image.

    To put it simply; just replace the video without changing anything else.

    Has E Basics: full instructions are available using the search help field in the upper right of the AE. Select the layer you want to replace in the timeline panel, select the new asset (images) in the project Panel and then hold down the Alt/Option key and drag the new asset on the timeline.

  • cannot get audio in the timeline to another video

    cannot get audio in the timeline to another video

  • Why can not see the waveform audio timeline on sequences inside another sequence in Premiere Pro CS6? Can I fix?

    Anyone know why I can't see the waveform audio timeline on sequences inside another sequence in Premiere Pro CS6? Can I fix?

    Hit the Audio rendering.

  • Get the ID of a dynamically created symbol library, inside another symbol.

    Hello world

    I'm trying to get the id of a dynamic created symbol library.

    When you dynamically create the symbol directly on the stage (or the level of the composition), there is no problem.

    But I can not function when you create the symbol inside another symbol.

    A few examples using 'getChildSymbols()' and 'aSymbolInstances '.

    // USING "getChildSymbols()" /////////////////////////////////////////////////////////////////////////

    ON THE STAGE

    var m_item = sym.createChildSymbol ("m_item", "Stage");

    var symbolChildren = sym.getChildSymbols ();

    console.log (symbolChildren [0] .getSymbolElement () .attr ('id')); / / ok eid_1391853893203

    / / Inside a SYMBOL OTHER

    var m_item = sym.createChildSymbol ("m_item", sym.getSymbol("holder").getSymbolElement ());

    var symbolChildren = sym.getSymbol("holder").getChildSymbols (); / / I use this maybe wrong?

    console.log (symbolChildren.Length) / / returns 0 if can't ID is

    ' USE 'aSymbolInstances "".

    ON THE STAGE

    var m_item = sym.createChildSymbol ("m_item", "Stage");

    console.log(sym.aSymbolInstances[0]); / / ok (I guess) x.fn.x.init [1] 0: #eid_1391854141436 div

    / / Inside a SYMBOL OTHER

    var m_item = sym.createChildSymbol ("m_item", sym.getSymbol("holder").getSymbolElement ());

    console.log (sym.getSymbol("holder").aSymbolInstances [0]); / / Error Javascript in the event handler. Type of event = element

    In this post http://forums.Adobe.com/message/5691824 is written: "mySym.aSymbolInstances will give you a table containing all the 'names' when you create symbols"

    Would be - this only works on the scene / composition level only and not inside a symbol?

    The following methods to obtain the same are indeed possible, but I do not simply want to use them in this case:

    (1) storing a reference to the symbol created in a table and call it later by index.

    (2) giving the elements an ID manually on the creation and use of document.getElementById () thereafter.

    I can't believe that this is not possible. I am probably missing something here.

    Forgive me that I am a newbie using Adobe Edge!
    I really hope that someone can help me here.

    Anyway, thnx in advance people!

    Kind regards

    Lester.

    OK, I solved my problem by using the (simple) code below.
    I guess that 'getChildSymbols()' and 'aSymbolInstances' only works on stage / level of the composition.

    Just thought I'd share this to everyone. Peace!

    var m_item = sym.createChildSymbol ("m_item", sym.getSymbol("holder").getSymbolElement ());

    $.each (sym.$("holder").children (), function (index, obj) {}

    Console.log ($(sym.$("holder").) ([Index] Children()) .attr ('id'));

    });

  • Call a select stmt with multiple columns inside another column

    Hi all

    I have a question about the appeal of a select statement, which is to have multiple columns inside another select statement.

    I know that we can use inline views to retrieve data from another table within a query as shown below.

    SELECT (SELECT dname FROM dept WHERE deptno = e.deptno), deptno, sal FROM emp e;

    Now, I'm going to pull the loc also column within the same view of inline. But oracle is not allowing me to do the same thing.

    Is there a way we can achieve the same thing because I don't want to hit the area two times table each time for each emp record.

    Appreciate your valuable suggestions.

    Thank you
    Madhu K.

    Maybe just a simple outer join?

    select ut.subscriberid
          ,ut.unitid
          ,ut.install_date
          ,nvl(tuh.hardwaretype, 'NO_HW')
    from   tt_unit ut
    left   join tt_unit_hwtype tuh
    on     tuh.unitid = ut.unitid
    where  trunc(ut.install_date) >= V_CONST_PROG_START_DT;
    
  • Problems with video clip inside another MC button

    Hi all
    So I solved a problem earlier thanks to this site, but she has created a different problem. I could find a way to get an external text to load into a text inside a music box. However, the problem is I want to have a series of buttons also inside the MC which will change, delivery, the text in the (loading area in the text to another file). I'm running problems, however, because I can't figure out how to get the movie clip buttons to work.

    A short brief on the installer. I have a master.swf that loads in splash.swf (menu animation and splash) and about.swf (a paragraph loaded when you click on 'about' in the navi bar). When about.swf opens, I got a piece of film clip and text and the submenu appear after 20 images.

    This is the code that I placed on frame 1 of the about.swf:

    [PHP] boxmovie.btn_about2.onPress = function () {}
    trace ("button has been pressed");
    _level0.loadText (loadedInfo, ' vars/about2.txt');
    } [PHP]

    You can download the files
    goldinroute.com/MacGregor/Help.zip

    Any help would be appreciated!

    I guess what to expect, I hang on the file... OK, did you give the button the instance name 'more'? ("btn_about2") is not there in the file I have. Then, copy the following code must be IN the MC boxmovie, guess where... of 23 frame, because you cannot assign code to an object that doesn't exist or has not been instantiated, the chronology. so it should read:

    btn_about2.onPress - function() {}
    _level0.loadText (loadedInfo, ' vars/about2.txt');
    }

    (btw - if you reverse the way in which you name the inclinometer, Flash will give you a list of the methods of the class, when you type a '.' later, as in "about2_btn" to instead, just a thought for you, even with as "boxmoive_mc" for example ;))

  • In Movie Maker 6.0 can a video clip (with mute) be spliced in another video clip so it seems to work with the original sound of the first video?

    Hi, I put a video together for my MOM to 70th and one of her friends has provided a video clip of her playing a classical piece on the piano for several minutes.  I would like to cover this clip with other video sequences (landscapes, etc.) whereas the way piano since the main video track in the background.
    I tried to let fall the piano video file directly in the audio editing panel and then cut a second 20 segment in the video editing and insert a 20 second video (mute) images of landscape. However, the piano audio from the first video stops as soon as the strike chronology inserted piece landscape and picks up again when it ends, even if the audio scenario shows the audio piano continuously?  Am I missing a step or is this not possible?   Thank you very much.

    It should work quite as much as you described in Windows Movie Maker 6.0 (WMM 6.0), then maybe there is a step that is missed.  Let me describe how I could do and see if there's something you overlooked.

    First of all, I assume that you have already imported the clip of piano and your other clips of landscape in your collection then you can drag the there where necessary.  First, drag the piano music to the track Audio / Music in the timeline panel.  Note that if you have your video extended timeline, it will show video, Transition & Audio, but you want to get off- below that, to the Audio / Music , to follow.  At this point if you play your 'film', you should not to see any picture but just to hear the sound of the piano.  You should also only see a waveform on the audio / music.

    Now you can put anything you want on the video track.  Let's start by putting another copy of the original video of piano, but this time on the video track.  If you have developed the video track (to see the Vidéo/Audio/Transition) you will see the video piano and its associated audio waveform.  However, in your case, since you already have the audio separated, you want to cut that his partner.  Right-click on the Audio (attached to the video) track and select Muteor use the menus (Clip > Audio > Mute).

    When you preview the project, you have synchronized video browsing with the original copy of the audio piano.  At the point in the video where you want to replace the video with another piano play, making a split (key M).  Make another split at the end of the section.  It is very import that select you the video track when you add new divisions and you have not also be divide the track Audio / Music .

    Important: You want to make sure this divide the part that has the exact duration as well as landscape images, you want to replace.  So if you have 20 seconds to add, you divide 20 seconds piano images.

    Right-click on the part of piano footage (video track) and choose Remove.  Then, insert the part of sequences of landscape (also on the video track) in its place.  Once again, you will have need put this added sequence muted landscape (Clip > Audio > Mute).

    You should now see and hear the piano play.  Without any change in the audio playback in the preview window should implement the landscape images, then returns to piano images.

    If you find that your project is not behaving correctly after these splits, but are you sure that you have followed these steps, it could be a problem with your video file types.  If in doubt, try to convert all your videos to .wmv format using something like Freemake Video Converter (freemake.com)

    In any case, I hope that you are able to achieve, because it is certainly possible.  Good luck and post back with further questions or information, you can have.

Maybe you are looking for

  • Missing drivers HP Pavilion 17-e120SD

    Hello I recently bought a HP Pavilion e120SD 17. I did a downgrade from windows 8.1 for windows 7. Now missing some drivers. Could you help me. Ethernet controller PCI\VEN_10EC & DEV_8136 & SUBSYS_213B103C & REV_07PCI\VEN_10EC & DEV_8136 & SUBSYS_213

  • HP Envy 4507: Problems with printing wirelessly to my iMac

    The printer worked fine without thread when implemented since January 2015. But this week (early May) I can't print wireless. The printer is on my network. I can access it from the iMac using the ip address in the browser, and it seems OK. I uninstal

  • Trying Photo sharing using C++ Invoke

    I have this code and I thought that he should show me all available applications that could share the file, but it only goes to show me my 'BBM groups', and I don't understand why. InvokeManager invokeManager; InvokeRequest request; request.setAction

  • Latitude 3440 Windows 8 Pro - option F2 WiFi toggle does not work

    Hello I had a brand new 3440 Latitude with Windows 8 Pro two days back. The first thing I did, as always, has been updated to the drivers after starting to use the device. Later, I noticed that the toggle WiFi option using the Fn + F2 keys does not w

  • BlackBerry Smartphones BB app world icon is absent and cannot use the internet

    Good afternoon. Can someone help me please. I have the Bold 9780. I've updated the bb app world and the icon is missing. Apart from that I can't download anything on the internet, and it's very frustrating. Help, please. Thanks in advance.