Rollover one invisible movie clip and make  a different one visible and the reverse

This is a very simple thing I want to do: show informational popups when an area of the screen is rolled over. I was able to get this working in action script 3 with MouseEventListener and the visible =true/false property but can't seem to get it working correctly in AS2. I need AS2 for backward compatability with Captivate.

You can use true/false in AS2, but 0/1 should work as well.
THe way you have it, it can't go invisible...
You set the object invisible with the first line, but then make it visible again later on, so one of them, I suspect the latter needs to go.
Also, in your rollout function you have a typo.  You are missing a "." before _visible...
companyTxt_visible = 0;    // typo
companyTxt._visible = 0;   // no typo

Similar Messages

  • Drop menus with mask and invisible movie clip

    please see this navigation interface:
    http://www.hearightnow/yogamater/
    when the mouse is outside of the drop menus, the drop menus "hide" behind the outside of a mask, when the mouse enters the drop menus, they move up. An invisible movie clip the traces the frame of the photos is in place to insert ROLL_OVER and ROLL_OUT code to "block" the event listener that functions the "yoga" drop menu.
    This is all done in one frame, the scripts do all the animation of the drop menus.
    the current code for this menu allows the mouse to travel from the photos to the "yoga" drop menu without triggering the menu to go up, however if the mouse travels from the "yoga" drop menu to the photos, the drop menu locks up until the mouse leaves the photos.
    any ideas how this can be fixed? also, how do I apply the script on the invisible clip to all the drop menus?
    definitely a newbie to AS3 so all help is greatly appreciated!!
    here is the main script:
    stop();
    addEventListener(Event.ENTER_FRAME,upyoga);
    addEventListener(Event.ENTER_FRAME,upteach);
    addEventListener(Event.ENTER_FRAME,upsched);
    addEventListener(Event.ENTER_FRAME,uppriv);
    addEventListener(Event.ENTER_FRAME,upcont);
    var speed:Number=.222;
    function upyoga(e:Event) {
    if ((yoga_menu.mouseY<yoga_menu.height&&yoga_menu.mouseY>0) &&
    (yoga_menu.mouseX<80&&yoga_menu.mouseX>0)) {
    yoga_menu.y-=(-58+yoga_menu.y)*speed;
    } else {
    yoga_menu.y-=(-134+yoga_menu.y)*speed;
    function upteach(e:Event) {
    if ((teach_menu.mouseY<teach_menu.height&&teach_menu.mouseY>0) &&
    (teach_menu.mouseX<80&&teach_menu.mouseX>0)) {
    teach_menu.y-=(-65+teach_menu.y)*speed;
    } else {
    teach_menu.y-=(-118+teach_menu.y)*speed;
    function upsched(e:Event) {
    if ((sched_menu.mouseY<sched_menu.height&&sched_menu.mouseY>0) &&
    (sched_menu.mouseX<80&&sched_menu.mouseX>0)) {
    sched_menu.y-=(-42+sched_menu.y)*speed;
    } else {
    sched_menu.y-=(-96+sched_menu.y)*speed;
    function uppriv(e:Event) {
    if ((priv_menu.mouseY<priv_menu.height&&priv_menu.mouseY>0) &&
    (priv_menu.mouseX<80&&priv_menu.mouseX>0)) {
    priv_menu.y-=(-28+priv_menu.y)*speed;
    } else {
    priv_menu.y-=(-74+priv_menu.y)*speed;
    function upcont(e:Event) {
    if ((cont_menu.mouseY<cont_menu.height&&cont_menu.mouseY>0) &&
    (cont_menu.mouseX<80&&cont_menu.mouseX>0)) {
    cont_menu.y-=(-40+cont_menu.y)*speed;
    } else {
    cont_menu.y-=(-88+cont_menu.y)*speed;
    and here is the script on the invisible clip:
    invisiClip.addEventListener(MouseEvent.ROLL_OVER, invisClipOver);
    invisiClip.addEventListener(MouseEvent.ROLL_OVER, menuBack);
    invisiClip.addEventListener(MouseEvent.ROLL_OUT, invisClipOut);
    function invisClipOver(event:MouseEvent):void {
    removeEventListener(Event.ENTER_FRAME,upyoga)
    function menuBack(e:Event) {
    yoga_menu.y-=(-134+yoga_menu.y)*speed;
    function invisClipOut(event:MouseEvent):void {
    addEventListener(Event.ENTER_FRAME,upyoga)

    I was having trouble attaching a zip or fla to this post so they can be retrieved at
    http://www.hearightnow.com/yogamater/menu_45b.zip
    or
    http://www.hearightnow.com/yogamater/menu_45b.fla
    the "menu" layer contains the mask that the drop menus hide behind
    the "invis" layer contains the invisible movie clip that has the code that removes and adds the event listeners that move the "yoga" drop menu
    the photos seen at http://www.hearightnow.com/yogamater/ are added with HTML DIV tags.
    thanks!

  • I have 3 consecutive movie clips that I am trying to drop into the drop zone but it only recognizes the first one and only produces the firts one in a DVD. How can I drop all three  movie clips into one drop zone

    On IDVD, I have 3 consecutive movie clips that I am trying to drop into the drop zone to create a DVD but it only recognizes the first one I dropped and only produced the first one in a DVD. How can I drop all three  movie clips into one drop zone.

    I have had some luck doing the following: Export each clip from imovie as a quicktime clip. Open iDVD and create a new project. Import a few stills into iDVD and then click on the button that gets created to get into the screen where the individual slides appear. Drag each quicktime into that screen and arrange in the order you want. You can then delete the stills. The button that appeared when you dropped in the stills will launch a complete show.

  • A while back I made a gamecenter account that was not associated with an Apple ID, it was with my email, now my gamecenter account IS my Apple ID. I want to delete it and make a new one, but i can't figure out how. Help!

    A while back I made a gamecenter account that was not associated with an Apple ID, it was with my email, now my gamecenter account IS my Apple ID. I want to delete it and make a new one, but i can't figure out how. Help!

    Since you can't delete Apple IDs and having multiple Apple IDs can cause confusion, what you may want to do is rename your existing Apple ID to the new email (desired Apple ID).  That would in effect do what you want, get rid of the old and give you the new.
    See "Apple ID: Changing your Apple ID"
    ivan

  • I want to delete my apple account because of technical difficulties and make a new one but I want to transfer my money can I do that

    I want to delete my apple account because of technical difficulties and make a new one but I want to transfer my money can I do that

    Contact Apple Support.  Here's how:
    http://support.apple.com/kb/HE57

  • HeNew Ipone, my icloud id doesn´t work. How can I delete it and make a new one? The email address wrong so I can´t varifie it.

    Hey,
    Got a new Iphone, my icloud doesn´t work. How can I delete it and make a new one? The email address is wrong so I can´t varify it.
    Can´t download apps, because it´s wrong. What can I do? Please help!

    Welcome to the Apple Community.
    You can delete your account at settings > iCloud, scroll down and tap delete account. You can then enter details of any new account you create.
    Note. The purchase of apps are done through an iTunes store account not your iCloud account. If you are having issues downloading apps, it isn't related to your iCloud account.

  • How to remove a click from a sequence file mp4 or mp3, and make it only sequence left and right in GarageBand?

    How to remove a click from a sequence file mp4 or mp3, and make it only sequence left and right in GarageBand?

    "adrianTNT" <[email protected]> wrote in message
    news:e6aitv$hkm$[email protected]..
    >
    quote:
    Originally posted by:
    kglad
    > you're welcome. with your solution loading another mp3,
    are you sure it stops
    > the download of the first mp3?
    > Yes, it seems to work fine, it loads another sound in
    same sound (my_sound)
    > and it seems to replace loaded progress with the empty
    sound I gave and stops
    > previous loading.
    > I look at traffic icons on task bar and I see that there
    is no network traffic
    > after I click "stop" before this I could see continuous
    traffic while sound was
    > loading in background.
    Yeah, I remember someone posted that solution a long time
    ago. It seems if you load a file with the same name the cache
    doesn't
    know any better and adjusts the download size to the smaller
    one. Maybe it's a good way to do it! Could it be a way to remove an
    mp3 from someone's cache after it plays? hmmmm Will have to
    do more testing.
    tralfaz

  • My account 2yr contract ends in Nov 29th 2014, however, i want an iphone.   Should i buy it paying it in full 750 dollars or just pay 299 tax and make another 2 yr contract?   The reason im asking is im leaving US by May 2015. How much EFT will cost by Ma

    My account 2yr contract ends in Nov 29th 2014, however, i want an iphone.
    Should i buy it paying it in full 750 dollars or just pay 299+tax and make another 2 yr contract?
    The reason im asking is im leaving US by May 2015. How much EFT will cost by May 2015? Do I have to return the device as well? or i can keep the device?

    kiyoungtack1,
    You have asked a great question! It is your choice how you would like to go about purchasing the iPhone. Do you currently have an iPhone? If so you can trade in your current iPhone and put it towards the purchase of the new iPhone 6 or 6 Plus at full retail pricing. http://bit.ly/GGnDDC Have you checked to see if you are eligible for Early Edge? If you would like us to investigate further into which option would be the most cost efficient to you please private message me so we can review further.
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • When i try to restore my ipod touch 4g itunes keep telling me that to make sure that my network setting is correct,and make sure that i connected to the internet ?

    when i try to restore my ipod touch 4g itunes keep telling me that to make sure that my network setting is correct,and make sure that i connected to the internet,wht is that supose to mean i allredy connected to the inter net but i dont know how to make sure that my network sitting is correct help me plz

    Try:
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server

  • When i launch Bridge CC and make first click on any button, the program freezes.

    When i launch Bridge CC and make first click on any button, the program freezes. How to solve this problem?

    This error can be caused by the My Web Tattoo extension (application?) that shows as FBSMTWB in your user agent.<br />
    See http://help.fastbrowsersearch.com/
    You may need to reset the user agent after you have removed that program.
    See [[Web sites or add-ons incorrectly report incompatible browser]]

  • What shall I do to make my hard rive visible and usable on my new mac book pro please ...

    Hello !
    Can someone help me ?
    What shall I do to make my hard rives visible and usable on my new mac book pro please ...
    Nothing happened when I plug in as it used to be on my old white Mac Book ...
    Same when I plug them through a hub satelite multi usb ...
    Thanks for the help !
    Alain

    Finder > Preferences > General >  'Show these items on the desktop '  Check what you need to show...

  • My ipad will has a pop-up that will not go away when I click ok, and makes it completely impossible to use the ipad. The pop-up says: iCloud Backup: This ipad has not been backed up in 6 weeks. Backups happen when this ipad is plugged in, locked, and conn

    My ipad will has a pop-up that will not go away when I click ok, and makes it completely impossible to use the ipad. The pop-up says "iCloud Backup: This ipad has not been backed up in 6 weeks. Backups happen when this ipad is plugged in, locked, and connected to Wifi." I do not know what to do.

    Same situation.  Had to pull out the Mini to research this.  The Apple logo has been on the screen about five min, oh, just went black.  Home brought it back and popup is gone.  Wonder why this happened to many folks.

  • I plug in my iPad and make sure it is connected to the internet and locked.  I still get "This iPad hasn't been backed up in (N) Days"  What am I doing wrong?

    I plug in my iPad and make sure it is connected to the internet and locked.  I still get "This iPad hasn't been backed up in (N) Days"  What am I doing wrong?

    Is the iPad plugged in to the mains ? You can force a backup via Settings > iCloud > Storage & Backup > Back Up Now
    If the 'hasn't been backed up' message is stuck on the screen and you can't clear it then try a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider if it appears), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot. You can then force a backup as above.

  • My widget browser keeps showing "failed getting widget feed" and keeps saying "failed getting widget feed and make sure you are connected to the internet" when I am connected to the internet. How do I fix this?

    my widget browser keeps showing "failed getting widget feed" and keeps saying "failed getting widget feed and make sure you are connected to the internet" when I am connected to the internet. How do I fix this?

    Widget Browser is gone.  Adobe pulled the plug on it quite a while ago.
    See this related discussion from earlier today.
    Widgets a Gone Gone
    Nancy O.

  • HT5622 My FaceTime shows one user ID, my iTunes shows a different one. How can I get everything on one?

    My FaceTime shows one user ID, my iTunes shows a different one. How can I get everything on one?

    You want to keep the iTunes ID since that is the one that you make purchases with. That should be your primary Apple ID email address.
    Go to. Settings>FaceTime>Tap your ID and sign out. Then sign in with the iTunes/Apple ID email address.

Maybe you are looking for