AS2 - coding one mc to another. How do we know when the first has finished

_root.object_1.sunny.gotoAndPlay("walk");
_root.object_1.sunny.gotoAndPlay("laugh");
Hi, I code the following. But it jumps straight to the seconf mc "laugh". Is there nbo way of playing walk and on finishing playing laugh.
Cheers

Hi guys.
THANKS for the answers. They are very helpful. However, one of the problems is it is very difficult to convety exactly what we are asking for in these forums.
I am NOT a programmer but I do know what I need. These answers were very helpful in the learning process as you guys are REAL pros. I have ended up with a mixture.
On each frame on the Timeline I write the instructions ie: Frame 1:_root.sunny.gotoAndPlay("speak) then on Frame 2:_root.sunny.gotoAndPlay("laugh).
The key is to write on the last frame of the nested mcs: _root.nextFrame(); in this way I don't need to write a specific instruction inside the nested mc ONLY on the main timeline and therefore keep the code really "clean".
It serves as a GREAT template to create movie scenes. I have seen this information asked for on many sites but with inadequate answers given.
I hope this serves as a great lesson for other NON pros but with serious projects.People are still using the main timeline to tween between key frames when they could be using AS. It's ridiculous but NOBODY seems to teach it well. Not even good sites like cartoon smart etc...
Thankyou guys.

Similar Messages

  • How do I know if the program has been downloaded to another computer or not?

    How do I know if the program has been downloaded to another computer or not? Also how do I know if it is the educational version or not?

    What exactly? Your questions don't make much sense since you failed to provide an explanation what problem you actually have, what program you actually mean and so on. That aside, edu versions are technically not different from the normal programs, just their licensing is different.
    Myleniumu

  • Hi, for Iphone tips page "see when a message was sent " , then how do I know that the message has been read?

    Hi,
    for Iphone tips page "see when a message was sent " , then how do I know that the message has been read? Thanks  

    Hi Bhavesh,
    Please see my replies inline:
    > 1. If i remember your ealier thread correct also, I
    > would suggest that you drill down in Where Did the
    > Error Occur. Instead of no restriction, select
    > Adapter Engine and also your Corresponding Adapter
    > and then trigger the error message and check if the
    > alert is triggered.
    When I click on "Where did the error occur" -> "Adapter Engine", I do not have a choice of errors from the dropdown. I only see one option "*".
    Is this right?
    > 2. ><i>When I click on "Alert Inbox" ->
    > "Subscription", I get a message "The table does not
    > contain any entries". Is this correct?</i>
    >
    > Yes this is correct. You have defined in your alerts
    > as the option as FIED RECIPIENTS. You also have
    > options like Reciepients via User Role and
    > Subscription Authorization in ALRTCADTDEF.
    >
    I see.
    I've also managed to overcome this problem by selecting "Subscription Authorization" in the Alert Category Definition page, and entering SAP_XI_MONITOR as one of the roles.
    After that, I am able to see a the alert category defined. By default it's already subscribed, because I'm using the same user - PISUPER.
    I saw in another post that the option "Suppress Multiple Alerts of this Rule" should be left unchecked. I tried that, but I still do not see any alerts raised in ALRTDISP.
    What did I miss?
    Please help.
    Thanks.
    Ron

  • My iTunes Match automatically charged me for a second year when the first year finished.  In spite of that, I have lost all of my playlists on my iPhone.  How can I get them back?

    My iTunes Match automatically charged me for a second year when the first year finished.  In spite of that, I have lost all of my playlists on my iPhone.  How can I get them back?

    Hi,
    No need to post three times!
    Is iTunes Match still turned on on your iPhone? If not, you need to turn it back on.
    If it is still on, go to settings, music app and turn off match- sign out of iTunes Store. Reboot iPhone, sign back into iTunes and turn on match. Poem music app. Does this help?
    jim

  • HT1459 My I pod is not responding  how do I know when the ipod had actually died?????

    my ipod has the green lights however when i try to listen to music ....nothing ....i tried several head sets. how do i know when the ipod is finally dead

    Read the manual for a solution - iPod Manuals

  • How do we know, when the service contract is last modified ?

    How do we know, when the service contract is last modified and by whom ?
    thanks
    siva
    Edited by: sivapara on Nov 24, 2008 3:14 PM

    To add also in OKC_K_HISTORY_B for some actions.
    Thanks
    Nagamohan

  • How do you know when the music is synced to an ipod classic? I don't see it showing it in the window.

    how do you know when the music is synced to the ipod?the lod version would show it syncing in the window at the top of the screen this version doesn't.

    If you have access to a Mac couldn't you receive your verification via iMessage and work to view you iCloud Account?

  • My film has not totally downloaded, I did not realise this until it stopped 15 minutes before the end, how do I know when the rented film I have purchased has been fully downloaded. Can I retrieve anyhow

    My film I rented has not fully downloaded I only realised that when it stopped 15 minutes before the end , how do I know when a film has been fully downloaded. Oi would not have thought the film would not have started unless the film was fully downloaded. The film warned me prior to tarting that I only had 48 hours to watch once starting!

    I'm sorry but this is too funny to pass up. 

  • How do you identify when a report has finished?

    Hi all,
    I've got a big report that is taking a while to run (approx 1min) and the problem I'm having is that my users are getting bored of waiting and starting to click around my web application and re-running the report because they think it has failed. The re-running of the report is causing more load on the system and the reports to run even slower. What I would like to do is stop them re-runnning the report maybe by somehow locking the web page until BI publisher has finished but I don't know how to get a message back from BI publisher.
    Currently I'm running the BI publisher report by having a button push which redirects the users web browser to a url such as:
    'http://'||:BI_PATH||'/xmlpserver'||:BI_DIRECTORY||'/Custom Reports/'||:p180_report||'/'||:p180_report||'.xdo?_xpf=&_xpt=1&_xdo='||:BI_DIRECTORY||'%2FCustom%20Reports%2F'||:p180_report||'%2F'||:p180_report||'.xdo&_xt='||:p90_template||'&_xf=rtf&_xmode=4'
    And then as I'm returning an rtf doc the familiar save, open or cancel popup comes up. The problem is that before the popup appears they can re-click the run report button.
    One way round it I've thought of is to have the report generate to a file system and redirect the user to a waiting page that checks periodically for the files existance and then when it does exist forward the user to a page with a view report button. This sounds like a lot of effort, does anybody know of a better way?
    I've also wondered if running the report using webservices would be an option, is there a way of getting BI publisher to run a web service when a report has finished? This could then interact with my back end server and the web page could act on that, or am I totally barking up the wrong tree?
    Any help would be greatly appreciated!
    Thanks,
    Darren.

    Hi Darren
    couple of ideas
    1. Rather than 'run' the report, get it to run through the scheduler immediately. Once its running through the scheduler you could then poll the scheduler tables to see when it completes. You could either redirect the users to a wait page or show an egg timer until the document has been created. this would require the document to be delivered to somewhere for you to poll as the URL will not return a job id.
    2. Bit more involved but probably better is to hook into BIPs web services. So rather than the button issue an http request it calls a servlet to issue a web service call to BIP to schedule a report. The WS will return the job id to the caller, you can then poll the scheduler via a ws to check the progress of the job. Once complete you can then retrieve the result form the scheduler tables via another call.
    Food for thought I hope
    Tim

  • HT1498 How do I know when the rented movie is downloaded

    I will be flying across seas and I want to download several rentals but how do I know when they are download completely to my iPad so once I'm up in the air I can watch them without being connect to the internet.

    There are many ways, such as a gray screen on startup, kernal panics, very slow startup times, etc. These items alone don't always point to a failing HD but are symtoms, also if you hear the HD making a lot of noise, that is a pretty sure sign.
    If you suspect  yours is failing it  would be helpful to tell us the symptoms you are experiencing.
    One thing you can test for is Disk Utilities S.M.A.R.T. status of the HD, if it says anything but Verified then it's failing. However that test alone should be taken with a grain of salt, because a drive can be Verified but still failing.
    If you have ANY doubts about yours, Backup IMMEDIATELY and take the computer to your local Genius Bar or AASP to be tested.

  • How do I know when my unlock has been processed?

    Hi all,
    Sorry for what's probably a dumb question, but I can't find an answer anywhere.
    I have an AT&T iPhone 4S, and I recently called them to request an unlock.  Since it was on a business account while under contract, they had to submit a request directly to Apple instead of just using the web form.  However, they told me that they never received anything from Apple during the process that would indicate that I'll be notified once the request has been approved.  So from my understanding, completing the process on my end involves tethering to iTunes and restoring the phone - but how will I know when it's actually time for me to do that? 
    I should add: I am no longer with AT&T, or in touch with anyone else who is still on the account that I had been part of.  So if anyone else on that old account gets notified, I won't know.  And since I'm not with AT&T myself, I feel doubtful that they'd let me know.
    Thanks for your help!

    Apple does Not Unlock phones... This is done by the Carrier.
    About Unlocking...
    http://support.apple.com/kb/HT5014
    Also See this  AT&T Unlock Eligibility

  • How do I know when the buffer flushed all the data out?

    I am using a very high sampling rate (500000 Hz) and acquire 1024 data points continuously.   It takes 370000 data points in 10 second.   I use a counter to help with the retrigger PFI line.   I have a huge buffer so that I can make sure that the buffer is not overflowed.  The code is attached below.  My problem is that the data acquisition is done so fast (in 10 seconds)  but the processing of the data is not.  In :nEvent, I basically save and plot the data.  The saving process is not slow.   However, our videocard is so SSSSLOOOW and can not keep up with realtime data display.    After the user is done collecting the data, they do not want to wait for the screen to plot the data from the buffer.   So after the data collection is done, I basically stop the plotting process but we still need to flush the data out from the buffer for saving.  My question is that how can I tell when the buffer is empty.
    Thanks,
    Yajai
    m_task = std::auto_ptr<CNiDAQmxTask>(new CNiDAQmxTask("aiTask"));
    m_counter = std::auto_ptr<CNiDAQmxTask>(new CNiDAQmxTask("coTask"));
    m_task->Stream.Timeout = -1;
    //Create a channel
    m_task->AIChannels.CreateVoltageChannel(physicalChannel, "",
    static_cast<DAQmxAITerminalConfiguration>(DAQmxAITerminalConfigurationRse), minimum, maximum,
    DAQmxAIVoltageUnitsVolts);
    m_task->Timing.ConfigureSampleClock(counterSource, sampleRate,DAQmxSampleClockActiveEdgeRising,DAQmxSampleQuantityModeContinuousSamples, samplesPerChannel);
    m_task->Stream.Buffer.InputBufferSize = samplesPerChannel * 2000;
    m_counter->COChannels.CreatePulseChannelFrequency(counterChannel, "coChannel", DAQmxCOPulseFrequencyUnitsHertz, DAQmxCOPulseIdleStateLow, 0, sampleRate, 0.5);
    m_counter->Timing.ConfigureImplicit(DAQmxSampleQuantityModeFiniteSamples, samplesPerChannel);
    m_task->Control(DAQmxTaskVerify);
    m_counter->Control(DAQmxTaskVerify);
    m_counter->Triggers.StartTrigger.ConfigureDigitalEdgeTrigger(
    referenceTriggerSource, DAQmxDigitalEdgeStartTriggerEdgeRising);
    m_counter->Triggers.StartTrigger.Retriggerable = true;
    m_taskRunning = true;
    m_counter->Start();
    // Set up the graph
    m_Graph.Plots.RemoveAll();
    for (unsigned int i = 0; i < m_task->AIChannels.Count; i++)
    m_Graph.Plots.Add();
    m_Graph.Plots.Item(i+1).LineColor = m_colors[i % 8];
    // Create Multi-channel Reader
    m_reader = std::auto_ptr<CNiDAQmxAnalogMultiChannelReader>(new CNiDAQmxAnalogMultiChannelReader(m_task->Stream));
    m_reader->InstallEventHandler(*this, OnEvent);
    m_reader->ReadMultiSampleAsync(samplesPerChannel, m_data);

    Yajai,
    I'm a little confused about your acquisiton. Do you intend for it to be
    finite, or continuous? I'm also unclear about your rates. You state
    that you are acquiring 1024 samples at 500kHz, yet you get only 370k
    samples in 10 seconds. Are you periodically acquiring 1024 samples at
    500kHz?  Do you do any reads other than the final m_reader->ReadMultiSampleAsync(samplesPerChannel, m_data)? Could you provide the code where you stop the plotting process?
    Thanks,
    Ryan V.
    Ryan Verret
    Product Marketing Engineer
    Signal Generators
    National Instruments

  • How Do You Know When The Zen Touch Is Done Chargi

    I searched through the forums and couldn't find anything on this topic.
    I want to make sure that I don't overcharge my player, while still filling it to its enormous capacity. How will I know when it's done charging?

    On my touch there is a little icon in the upper left corner of the screen showing my battery symbol with a power volt thing over it to show it is charging. This changes back and forth until the charging is done, then there is nothing on the screen at all.
    -mrspike

  • How make to know when the attachment file display its visible or hidden

    Hi guys,
    sorry for my english.
    In my scenario I have two button for open or close the attachment file display with the script 'app.execMenuItem("ShowHideFileAttachment");'.
    But i don't know when the attachment file display its visible or hidden or detect when the user clicks on show/hidden in the display.
    Anybody knows?
    Thanks in advance.
    ZAMPAZAMPA.

    Thanks radzmar,
    You help me a lot, but how i make to ask to pdf is it panel of attachment its open?
    I make this:
    event.target.viewState == {overViewMode:7}
    but return false all the time when panel of attachment its open and when its close.
    ZAMPAZAMPA.

  • How do i know when the 30 days is over?

    We got the Cloud through work and only want it for a couple computers after the first 30 days. How can I check on the status of where we are at within the 30 days?

    Hi chrisrenn ,
    As you launch the software it will show you remaining days left for trial.
    Regards,
    Romit Sinha

Maybe you are looking for

  • Error when connect oracle form

    I faced this error when I tye to connect the form with database,the form show masg Ora-00604:error occurred at recursive SQL Level1 Ora-01009:missing mandaroy parametr I already cheack the tnsname.ora it work well now: I want konw the oracle10g devlo

  • Creative Cloud- Renewing License with Activation Code

    Creative Cloud is telling me that my license needs to be renewed. I renewed it a week ago. I have  MacBook Pro and I have redeemed my activation code for creative cloud already, but nothing seems to recognize that. Not the application on my commuter

  • To create a deep structure for dynamic internal table.

    Hello My ALV has fields which are defined dynamically during execution. so, i did it in the following way, Declared Field symbolds, DREF and fieldcatalog as, FIELD-SYMBOLS: <t_dyntable> TYPE STANDARD TABLE,               <fs_dyntable>. DATA:   dref_d

  • Installing Solaris on Thinkpad 600 Laptop

    I have installed Solaris 8 on my laptop which is an IBM Thinkpad 600. Unfortunately, I am unable to configure the X Windows as my graphics card (NeoMagic) does not seem to be recognized. Has anyone got any thoughts on how to resolve this. Furthermore

  • Handling runtime Exceptions in tomcat / struts

    Hi, I'm trying to find a way to cleanly handle exceptions in struts/tomcat. I've read a number of suggestions in my struts book, but none seem to work. What I've done is created an instance within my action class that deliberatley creates a NullPoint