(MCTE) .onRollOut after .onRollOver animation has finished

Hey, so I'm trying to build a website full of these flipping
movieclips that flip when you mouse-over them, and flip back when
you mouse out. Problem is, if you mouse out before the flip
animation has finished, the flipped side stays up, and you have to
return the cursor over the mc and mouse-out again. I am using
Jumpeye Components' MCTE V3 as well as the Flip pattern for this,
in AS2, but I think this is an AS thing not a MCTE problem. I've
attached the flipping code for one of the movie clips.
Any help is greatly appreciated.
Thanks,
Matt
Code:

You can do this by calling up the different edge Animate composition html pages using buttons and an iframe:
To get a general idea, put this in the body of an html page and insert your own URLs where indicated
<iframe id="iframeID" src="yourFirstURL" width="640" height="480">
<p>Your browser does not support iframes.</p>
</iframe>
<button onclick='loadIframe("iframeID", "firstAnimURL")'>First Animation</button>
<button onclick='loadIframe("iframeID", "secondAnimURL")'>Second Animation</button>
<button onclick='loadIframe("iframeID", "thirdAnimURL")'>Third Animation</button>
<script>
function loadIframe(iframeID,url) {
//alert("Hello");
   document.getElementById("iframeID").src = url;
</script>
Peter Small

Similar Messages

  • Executing code after a transition has finished

    Hi,
    Is there any kind of language construct in JavaFX to allow a certain block of code to be executed after a transition has finished? Or do I have to pause the current thread with sleep() or similar?
    The ideal would be something like this, but of course such a thing like onComplete does not exist AFAIK:
    FadeTransition {node: selectedNode duration: 1s fromValue: 1 toValue: 0 onComplete: executeThis()}.play();

    Hello,
    By "delete node" you mean delete it from scene? This example works for me:
    var stage: Stage = Stage {
        width: 250
        height: 250
        scene: Scene {
            content: [
                text = Text {
                    layoutY: 30
                    opacity: 0.0
                    content: "Example transition"
                Button {
                    layoutY: 70
                    text: "Click me"
                    action: function() {
                       FadeTransition {
                            node: text
                            fromValue: 0.0
                            toValue: 1.0
                            duration: 200ms
                            action: function() {
                                delete text from stage.scene.content;
                        }.play();
    }Saša

  • Stopping after each song has finished

    Is it possible to set up the iPod shuffle so that when a song has finished playing it stops/pauses. Instead of continuing to the next song?

    Haven't tried it on a shuffle, but here is an idea.
    In iTunes, set up a playlist of the stuff you want on the shuffle. Now UNCHECK all the boxes in front of those songs. Also select all then do a get info and check the box to "skip when shuffling". I am not sure if that setting will effect how the songs play on the shuffle or not, but worth a try. If the shuffle does use that setting, then when you play a track, it should stop after that track since all the songs on the shuffle are unchecked and will be skipped.
    Patrick

  • How to crosscheck backup after Netbackup backup has finished

    Hello,
    I would like some help with the following issue.
    We make database backups with Netbackup, using the rman catalog during the backup.
    I want to do a crosscheck after the backup finished.
    What is the method of implementing this in Netbackup?
    Can this be done, or do i need to schedule separate scripts myself?
    Any help is appreciated.
    Regards,
    Harry

    With "crosscheck" i mean running the following RMAN commands
    allocate channel for maintenance device type 'SBT_TAPE';
    crosscheck archivelog all;
    crosscheck backup;
    delete noprompt expired archivelog all device type 'SBT_TAPE';
    delete noprompt expired backup device type 'SBT_TAPE';
    release channel;
    You run these commands to remove old records out of the rman catalog
    I want to run these commands after the regular backup is finished by de Netbackup job.
    regards,
    Harry
    Edited by: 947596 on 22-aug-2012 6:23

  • How to trigger an action after a FLV has finished playing

    I have a FLV file that I am pulling into my SWF and I want to
    go to the next scene in the SWF once the video clip is finished
    playing... Because it's externally loaded I haven't been able to
    figure out how to do this. I tried just importing the FLV to the
    stage and putting it in the timeline, but that makes the SWF huge
    and the video playback is much slower for some reason.
    Does anyone know how to do this?

    Read in the duration metadata from the FLV so you know how
    long the video clip is, then just check to see if the movie's
    current time is >= to the total time. Don't use the prebult
    media player components, write your own player. Check out
    www.gotoandlearn.com for some great easy tutorials on this.

  • Link to DPS article after animation has played?

    Hi,
    Is it possible to link to a DPS article using a trigger command (or after a delay, or anything similar) without the need for a second click once an animation has finished?
    Currently I have a short animation that will play when pressed and I would like it to link to another article once it has reached the end of the timeline or a specific label. The animation itself works fine and the DPS link does work but will not go to the specified article unless there is another press by the user at the end.
    I have tried linking to the article using both 'complete' in the default timeline and trigger actions, to no avail...
    Any ideas?
    Thanks

    Found a work-around.
    Made a JPEG of the magazine cover and imported to Edge and made it dissolve in after the title animation.
    This gives the illusion that it goes to the cover page.
    Was hoping for a generic topper that wouldn't need updating each month.

  • IPhoto keeps crashing after 'repair' has finished

    iPhoto 11 9.2.1 consistently crashes even after the 'repair' has finished  
    HELP!!
    Never had a problem with iPhoto10

    Same thing is happening to me.  I upgraded last night and it worked fine.  I marked some "Faces" and all was well.  I turned on Photo Stream and it's crashed consistently every time since.  Here is the error code.  I hope I kept it close to 50 lines. 
    Process:         iPhoto [4552]
    Path: /Applications/iPhoto.app/Contents/MacOS/iPhoto
    Identifier:      com.apple.iPhoto
    Version:         9.2.1 (9.2.1)
    Build Info:      iPhotoProject-628000000000000~1
    App Item ID:     408981381
    App External ID: 4641130
    Code Type:       X86 (Native)
    Parent Process:  launchd [222]
    Date/Time:       2012-02-20 11:37:28.924 -0500
    OS Version:      Mac OS X 10.7.3 (11D50b)
    Report Version:  9
    Interval Since Last Report:          22961 sec
    Crashes Since Last Report:           6
    Per-App Interval Since Last Report:  5505 sec
    Per-App Crashes Since Last Report:   6
    Anonymous UUID: 08841BF0-1204-404D-8E20-3F6B7B501A42
    Crashed Thread:  0 Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
    VM Regions Near 0:
    --> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- SM=NUL  /Applications/iPhoto.app/Contents/MacOS/iPhoto
        __TEXT 0000000000001000-0000000000d1b000 [ 13.1M] r-x/rwx SM=COW /Applications/iPhoto.app/Contents/MacOS/iPhoto
    Application Specific Information:
    objc[4552]: garbage collection is OFF
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   com.apple.iPhoto                             0x00824501 0x1000 + 8533249
    1   com.apple.iPhoto                             0x001678d6 0x1000 + 1468630
    2   com.apple.Foundation                  0x9ca86e25 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 49
    3   com.apple.CoreFoundation        0x98ed3cb3 ___CFXNotificationPost_block_invoke_1 + 275
    4   com.apple.CoreFoundation        0x98e9ea38 _CFXNotificationPost + 2776
    5   com.apple.Foundation                  0x9ca72012 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
    6   com.apple.Foundation                  0x9ca872a6 -[NSNotificationCenter postNotificationName:object:] + 55
    7   com.apple.iPhoto                             0x0016716a 0x1000 + 1466730
    8   com.apple.iPhoto                             0x00167111 0x1000 + 1466641
    9   com.apple.iPhoto                             0x0015c6f4 0x1000 + 1423092
    10  com.apple.CoreFoundation                        0x98eebb6d __invoking___ + 29
    11  com.apple.CoreFoundation                        0x98eebaa9 -[NSInvocation invoke] + 137
    12  com.apple.RedRock                       0x01d59e61 -[RKInvoker _invokeTarget:] + 33
    13  com.apple.CoreFoundation                        0x98ee8de1 -[NSObject performSelector:withObject:] + 65
    14  com.apple.Foundation                0x9cac3e40 __NSThreadPerformPerform + 503
    15  com.apple.CoreFoundation                        0x98e603df __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
    16  com.apple.CoreFoundation                        0x98e5fd96 __CFRunLoopDoSources0 + 246
    17  com.apple.CoreFoundation                        0x98e89c68 __CFRunLoopRun + 1112
    18  com.apple.CoreFoundation                        0x98e8947c CFRunLoopRunSpecific + 332
    19  com.apple.CoreFoundation                        0x98e89328 CFRunLoopRunInMode + 120
    20  com.apple.HIToolbox                   0x921e417f RunCurrentEventLoopInMode + 318
    21  com.apple.HIToolbox                   0x921eb412 ReceiveNextEventCommon + 168
    22  com.apple.HIToolbox                   0x921eb356 BlockUntilNextEventMatchingListInMode + 88
    23  com.apple.AppKit                          0x904a7a9c _DPSNextEvent + 678
    24  com.apple.AppKit                          0x904a7306 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113
    25  com.apple.AppKit                          0x904a3675 -[NSApplication run] + 911
    26  com.apple.AppKit                          0x90737261 NSApplicationMain + 1054
    27  com.apple.iPhoto                           0x0001159a 0x1000 + 66970
    28  com.apple.iPhoto                           0x00010a29 0x1000 + 64041

  • Determining Whether Current Animation Has Been Completed

    For the iPhone, I want to combine two animations together but am crossing some problems. Basically, I want to hide and then show some outlets in one go. I can do this when they are separated into different events, but I when I combine them, the second round of animations (the show portion) takes precedence (when setAnimationBeginsFromCurrentState:FALSE). When it is setAnimationBeginsFromCurrentState:TRUE, nothing really happens at all.
    Is there some way that I can have it wait till all the hiding stuff and then do the show stuff? I suppose this defeats the purpose of core animation's implicit purpose, so I guess I'm trying to go for a keyframe type of approach (I'm not sure. I'm pretty new to objective-c).
    // The following chunk is set on awakeFromNib
    zero = CGPointMake(250.0f, 524.0f);
    bCenter01 = [button01 center];
    bCenter02 = [button02 center];
    //here are just the first two of my buttons that I wan't to animate, but imagine 14 more after this
    // END awakeFromNib chunk
    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    // assume this is a button press
    // HIDE portion
    [UIView beginAnimations:nil context:NULL];
    [UIView setAnimationBeginsFromCurrentState:FALSE];
    float time = 1.7;
    CGAffineTransform rotate = CGAffineTransformMakeRotation(-M_PI);
    [UIView setAnimationDuration:time];
    [button01 setCenter:zero];
    [button01 setTransform:rotate];
    [button01 setAlpha:0.0];
    time -= .1;
    [UIView setAnimationDuration:time];
    [button02 setCenter:zero];
    [button02 setTransform:rotate];
    [button02 setAlpha:0.0];
    time -= .1;
    // again, assume this is repeated 14 more times for the other buttons
    // SHOW portion (this is basically where I want the animation to start after the HIDE has finished
    // currently, when the button is pressed, the animation currently just starts from here (as it has "instantly" moved everything from the hide portion)
    time = 0.2;
    [UIView setAnimationDuration:time];
    [button01 setTransform:rotate];
    [button01 setCenter:bCenter01];
    [button01 setAlpha:1.0];
    time += .1;
    [UIView setAnimationDuration:time];
    [button02 setTransform:rotate];
    [button02 setCenter:bCenter02];
    [button02 setAlpha:1.0];
    time += .1;
    // again, assume 14 more...
    [UIView commitAnimations];

    I figured out how to do this. If anyone wants to know how to perform an animation after another one, this is what I did...
    By the way, you don't have to declare the goPutThemBack in your header file.
    - (IBAction)clear:(id)sender {
    [UIView beginAnimations:nil context:NULL]
    [button01 setCenter:offWindow];
    // all your animations up here for the first part (let's assume this will hide something)
    // now the magic to starting the second part
    [UIView setAnimationDelegate:self];
    [UIView setAnimationDidStopSelector:@selector(goPutThemBack:finished:context:)];
    // end magic part
    [UIView commitAnimations];
    - (void)goPutThemBack:(NSString *)animationID finished:(NSNumber *)finished context:(void *)context {
    [UIView beginAnimations:nil context:NULL];
    [button01 setCenter:onWindow];
    // second set of animations
    [UIView commitAnimations];

  • Drag script fails after I animated the objects

    I create a static page, with various objects, and made them draggable (with the help of resdesign)
    I than decise to animate the obects coming into the screen - so initially they are off the stage, and then they animate in.
    However once the brief animation has finished, and I try to drag the objects, they do all sorts of things, jump off the stage, or dissappear etc - horrible.
    The draggable code is in composition ready, so is the code taking the position of the assest as they are at frame 0 (now off the stage) and not from their resting point at 1.5 seconds?
    This is certainly a learning curve!
    Thanks for any advice!!
    Alistair

    What it's returning, the value U"\n\t\t", means a Unicode string consisting of a newline and two tabs. That so happens to be exactly what's in your XML file for the one child node in each area-code element. Here's an example from your file:
            <--- it's the stuff between here
        and here-->       
    The main thing I puzzled over when looking at your script is how this was working before? Are you sure that's your original script? It might be possible to craft an XPath query to return the first node NAME below an area-code element, but I'm not sure how off the top of my head. You're almost always looking for the contents of a node. What I'd suggest you do, if possible, is use a better XML schema. Something like this:
    <?xml version="1.0" encoding="ISO-8859-1"?>
      MidWest
      NorthEast
      West
    Which can then be referenced using a simple fast XPath query like this:
    /arearoutes/route[@AC='111']
    The result would be what you're looking for today in your Switch statement, a simple string "MidWest" or similar. If you're absolutely married to your old XML schema, we can try to help, but do the above if you can. You might also check out the W3 Schools XPath Tutorial.

  • How can I combine multiple animations. (Play another animation after one has finished with a click?)

    How can I combine multiple animations. (Play another animation after one has finished with a click?) Like a slideshow but with animations. any ideas?

    You can do this by calling up the different edge Animate composition html pages using buttons and an iframe:
    To get a general idea, put this in the body of an html page and insert your own URLs where indicated
    <iframe id="iframeID" src="yourFirstURL" width="640" height="480">
    <p>Your browser does not support iframes.</p>
    </iframe>
    <button onclick='loadIframe("iframeID", "firstAnimURL")'>First Animation</button>
    <button onclick='loadIframe("iframeID", "secondAnimURL")'>Second Animation</button>
    <button onclick='loadIframe("iframeID", "thirdAnimURL")'>Third Animation</button>
    <script>
    function loadIframe(iframeID,url) {
    //alert("Hello");
       document.getElementById("iframeID").src = url;
    </script>
    Peter Small

  • How do I set up iTunes to automatically move on to play the next album after the last one has finished? (in Album view)

    How do I set up iTunes to automatically move on to / play the next album after the last one has finished? (in Album view).
    This used to happen automatically in Genre view.

    Hi Henryhippo,
    If you have questions about play order in iTunes, you may find the following article helpful; I believe you can use the Play Next or Add to Up Next to add albums as well as songs.
    iTunes 11 for Windows: Ways to play songs
    Regards,
    - Brenden

  • Knowing when a swf loaded in MovieClipLoader has finished animating

    Hi,
    I'm trying to create a wrapper written in ActionScript2, which loads a second AS2 swf then when this loaded swf has finished animating the wrapper will load a second swf.
    This is the code I have to load the first swf:
    this.createEmptyMovieClip("containerClip",this.getNextHighestDepth());
    var movLoad:MovieClipLoader = new MovieClipLoader();
    var myListener:Object = new Object();
    myListener.onLoadProgress = function(thisClip:MovieClip)
         thisClip.onEnterFrame = function()
              trace("CurrentFrame:" + this._currentframe);
              //trace("TotalFrames: " + this._totalframes);
              if (this._currentframe == this._totalframes)
                   //trace("true");
                   movLoad.loadClip("number2.swf",this);
              //trace("false"); 
    movLoad.addListener(myListener);
    movLoad.loadClip("number1.swf",this.containerClip);
    I can get the total number of frames from the loaded swf, but how can I check when I reach the total number so I can remove the first swf and load the second one?
    Stephen

    Hi,
    This is what I have so far:
    this.createEmptyMovieClip("containerClip",this.getNextHighestDepth());
    var movLoad:MovieClipLoader = new MovieClipLoader();
    var myListener:Object = new Object();
    myListener.onLoadInit = function(thisClip:MovieClip, loadedBytes, totalBytes)
         this.onEnterFrame = function()
              trace("CurrentFrame:" + thisClip._currentFrame);
              trace("TotalFrames: " + thisClip._totalframes);
              if (thisClip._currentframe == thisClip._totalframes)
                   movLoad.unloadClip("C:/development/projects/CMSwfLoader/assets/Yahoo_Smart_Banners_Loans_300x250_v2.swf");
                   movLoad.loadClip("C:/development/projects/CMSwfLoader/assets/300x250_2p_12Mb_tipografica.jpg",this);
    movLoad.addListener(myListener);
    movLoad.loadClip("C:/development/projects/CMSwfLoader/assets/Yahoo_Smart_Banners_Loans_300x250_v2.swf",this.containerClip);
    But I found that the onEnterFrame is not called at all, I want it to be called on the movieClip that has been loaded, so I can tell when it has reached the last frame. Is the problem because I'm listening for onLoadInit?
    Stephen     

  • After I make a trailer or movie on my Iphone 4S and try to save it to the camera roll, I get a message that "an error occurred during export".  The message appears after the piece has seeminly finished exporting.  What am I doing wrong???

    After I make a trailer or movie on my Iphone 4S using IMovie and try to save it to the camera roll, I get the message "An error occurred during export."  The message appears after the piece has seemingly finished exporting.  What am I doing wrong????

    I appreciate you taking the time to copy and paste boilerplate responses to increase your points in this forum, but I've already read all those support articles in depth; but you have barely read my post at all. Please don't guess a fix. Only someone with the latest versions of iMovie, iOS, iPhone, Yosemite, and MacBook Pro is qualified to troubleshoot this, because anyone would immediately see that the following option no longer exists:
    Open iMovie on your Mac, and choose File > Import > iMovie for iOS Project.
    Read my post before you reply: It clearly says in the title and within my post that I can neither export nor import through iTunes without receiving an error message. So your response neither solved my question nor helped me whatsoever.

  • How can I put my iMac to sleep after it has finished downloading or uploading something?

    For example: I have some photos and videos that I want to send to a friend. I'm uploading them to a site to do this, and they're quite big files (250 MB).
    I'd like to do this at night, but I don't want to let the computer run all the night through, when this maybe only needs a few hours.
    I can only guess how long it will take (judging by the time it tells me that it will take, if available), and then I can set the computer to go to sleep after X hours or minutes.
    Can I not just simply set it in a way that it goes to sleep automatically after the process is finished? Like, if there's a connection to the internet, that is being used (downloads, uploads), then it shouldn't go to sleep, else it will interrupt the upload, and I can start again.
    Also, I have an iMovie update now, which is over a GB of download.
    I may be mistaken, but I have the feeling that for some Apple programs, it actually keeps the computer awake until the process is done. But it isn't the case with all programs, only with some.
    It's really annoying. Does anyone know a solution? I know that there's this box that you can tick, that says something like to keep the computer from going to sleep if there's a network connection, but in earlier OS this was actually working! Now it's 100% useless.

    You can just set your Mac to sleep using the Energy Saver in System Pref.  Set it to sleep after say, 2 mins of inactivity then check the Put Hard Disk to Sleep setting too.  It won't sleep while you are down/uploading.

  • Continue after Robot has finished typing

    Hi,
    I have found a basic example of the Robot class:
    public class RobotExample {   
        public static void main(String[] args) {       
            try {           
                Robot robot = new Robot();
                // Robot start writting
                robot.keyPress(KeyEvent.VK_H);
                robot.keyPress(KeyEvent.VK_I);
                robot.keyPress(KeyEvent.VK_SPACE);
                robot.keyPress(KeyEvent.VK_B);
                robot.keyPress(KeyEvent.VK_U);
                robot.keyPress(KeyEvent.VK_D);
                robot.keyPress(KeyEvent.VK_Y);           
            } catch (AWTException e) {
                e.printStackTrace();
        // Code that follows needs to ensure that the Robot has finished typing
    }The code that immediately follows the Key Presses remove focus from where the robot is typing so it would be nice to detect when the Robot has finished typing before I continue. At the moment the best way I can think of would be to simply place all the Key Presses in a Thread, telling it to sleep once it had finished. The problem with that is there could still be a problem with the amount of time being too much or too little and no way of finding out.
    Does any one have any ideas how I can listen to the Robot events and continue once they have finished?
    Thanks

    Note: This thread was originally posted in the [Java Programming|http://forums.sun.com/forum.jspa?forumID=31] forum, but moved to this forum for closer topic alignment.

Maybe you are looking for

  • What project settings and export settings to use ?

    So, after some trial and error i give up and need some huge help. (7.0 Pro) I have recorded some footage through a game running at 1920:1200 resolution. So the question is what project settings should i choose under project, look at the picture below

  • Blank workspace, cannot find waveform

    Adobe audition 5.5 on Windows 7 64 bit. I can load wavefile but cannot see the waveform.

  • Embed Adobe RGB Profile?

    Hi. I've been working with iMovie 6.0 and have been importing stills and applying the Ken Burn's effect. I noticed that when I import a jpeg with no embedded Adobe RGB 1998 profile, the images are lighter and more washed out. But if I embed the Adobe

  • Oracle Version for Advanced Replication

    Hi all, When, Advanced Replication first appeared in Oracle Database? Was it in version: 7, 8i or 9i????? I' d like to do the same question for materialized view. I know that in previous releases materialized view was snapshot. So, in wich version of

  • I changed my password i forgot what it is need help to get back in

    i need help i changed my passwordand i forgot it now i need help to get back in it keeps saying disabled?? help me plz