Drop menus with mask and invisible clip

please see this navigation interface:
http://www.hearightnow.com/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!

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!

  • Best way to work with interlaced and progressive clips in the same timeline

    I´m shooting with Sony MC-50E camera in 1920x1080, 50i. When importing with Log & Transfer I can work with ProRes 422 files in interlaced mode. I have to mix the footage with video screencapture which is progressive (ProRes 422). The final videos are for web only so it should end up as progressive H264 videos. I´m getting good result if exporting to H264, 1024x576 with deinterlacing enabled, but exporting to full HD gives typical interlaced lines in the picture. How can I avoid this and what is the best solution for working with both interlaced and progressive clips?

    Deinterlace in Compressor using Frame Controls, Best settings. You can reconnect the deinterlaced files to your project, if you've already edited, but you may need to copy and paste the clips in your sequence to a new 25p timeline, then Remove Attributes, Basic Motion.
    When you're ready to export your sequence, use Quicktime Movie, Current Settings, Self-contained. Take that file to Compressor to transcode back to h.264.
    The Apple T.V. preset is very good.

  • Problems with masking and colours  in CC2014 - not in CC -  see screenshots!

    Does anyone know this problem? Since a few weeks masking and using colors in CC2014 doesn't seems to work that well anymore. When masking 100% the masked layer still shows. When I use a colour (with pen or mouse) PSD changes the colour a little bit.  I attach two screen prints to show you what I mean. Did the same in  PSD CC and there was no problem at all.

    When you measure in the Layer Mask what is the value? 
              I don't exactly get what you mean
              I see colour space at 40%
    Has the Density been changed in the Properties Panel?
              no, it is 100%, the feather is at 0 %
    When you open the CC 2014 file in CC does the issue persist?
              No, in CC the same file works fine

  • Drop menus with a mask

    please see the "yoga" button on the menu here:
    http://hearightnow.com/yogamater/
    if the mouse is under the button (outside the mask) the button still activates
    is there a way I can create a shape &/or script to "mask" the EventListener much like how the graphic is masked?
    (the space under the buttons will eventually contain random photos)
    currently the menu uses this script:
    addEventListener(Event.ENTER_FRAME,upyoga);
    stop();
    var speed:Number=.3;
    function upyoga(e:Event) {
    if ((yoga_menu.mouseY<yoga_menu.height&&yoga_menu.mouseY>0) &&
    (yoga_menu.mouseX<yoga_menu.width&&yoga_menu.mouseX>0)) {
    yoga_menu.y-=(-58+yoga_menu.y)*speed;
    } else {
    yoga_menu.y-=(-134+yoga_menu.y)*speed;

    i didnt wrote the right or complete syntaxis above. if you really place something like:
    mouseover(yoga_menu)
      over_yoga = true;
    move_out{
      over_yoga=false;
    etc..
    you will get an error. what i meant was: set a handler, just like 'enterframe' (so i assume you know how to place handlers), for the mouse over, linked with
    the yoga block sprite that sets to 'true' a boolean, and another handle that sets the same bool as false, in the event of mouse_out, that sets the boolean to false. those handlers will be run only if the event reaches the yoga block sprite, so if you place the mouse over the white chunk that covers the menu, the event will not reach the sprite and the bool will not change the state
    a better syntax would be something like
    function yoga_over_handle(event:MouseEvent):void {
        over_yoga = true;
    yogamenu.addEventListener(MouseEvent.MOUSE_OVER, yoga_over_handle)
    also, consider this: when you move the mouse over the options in the yoga menu, it may trigger a 'MOUSE_OUT' in yoga_menu (since now is over the options, and not over yoga directly), so you may want to make some handlers that keep the bool as true for each option in the menu (a drag, i know, if you decide to go with this option), in case when you move over an option in the menu, the menu starts hidding

  • 2.35:1 masking and resized clips

    Hi
    We're working in FCS2, with a 1080i HD sequence which has some 720x480 DV clips in it.
    The DV pieces were shot anamorphic 4:3, so we need to resize them. That can be done without too much trouble with the distort and scale tools.
    However, we want to place a 2.35:1 mask over the whole sequence, which we've done using the Widescreen Mask video filter on all clips. However, the mask behaves differently on the DV clips, because they've been resized.
    Is there a way (other than creating a new video layer and placing a TIFF mask with an alpha channel) of placing a mask on the sequence that behaves consistently across the whole sequence?
    Thanks!
    Matt
    Message was edited by: Matt Clifton

    The old-school technique is to nest your current sequence and place the Widesceen Matte on the nest. Since the Matte acts on the 1080i sequence (at 100% size), you should encounter issues with your resized clips.
    However, if you're sure about the composition of your clips - after placing the Scope matte, you don't need to position content up/down - I'd add the Letterbox matte (under Filters) in Compressor 3, especially if you're going to encode for DVD or transcode for output to SD tape.
    If you're going back to HD tape, I suppose the old-school method works best.

  • Green Screen with masking, and widescreen.

    Hi,
    I am having a small problem. I am working with green screen and I masked out the things that the green screen wasn't covering. After I was finished I activated the green screen function, and now, the things I masked out are there again. The numbers that showed the masking outline are still there, but it isn't blacked out like I wanted it to be. And also, I know how to make a single clip widescreen, but how can you make a whole project widescreen?
    Thanks,
    Leroy

    Hi Leroy,
    1. In the filters pane of the viewer, drag your Matte that you used to cut out the things you didn't want below your Keying effect, so that it is rendered afterward.
    2. Click on the sequence, and go to +Sequence > Settings.+ Select the preset that matches your media. Alternatively, you can change the Easy Setup to match your media and then create a new sequence.
    Hope that helped,
    Sasha

  • Ex. device detecting dropped frames (from tape) and breaking clips!

    I am using a Panasonic mini-dv camcorder to capture footage with on Final Cut Pro and the camera is being pretty sensitive to any glitches/dropped frames and is messing up capturing clips. When I try it multiple times it will sometimes not stop/find glitches, but this is very time consuming (have about 80 hours to go through!). I have gained some access to a mini-dv deck and that is working, but I also need to use the camera due to deadlines.
    Is there a way to make this sensitivity in capturing turn off? Any suggestions/tips? (I've already gone into User Preferences and deselected 'Abort Capture on Dropped Frames' and that didn't change it).
    Thanks!

    #12 Dropped frames on capture/playback
    Shane's Stock Answer #12: Dropped frames on capture/playback
    http://docs.info.apple.com/article.html?artnum=58640
    1) Do not capture to your main system drive. Since it is busy reading the operating system and application files, it will intermittently drop frames during capture. Capture to a separate internal drive, or external hard drive (firewire and eSATA for example).
    2) Deactivate any anti-virus/filesaver software, including Norton and Virex. For some reason these programs think that the large files created when you capture media are in fact caused by some sort of virus, and they try to prevent this.
    3) Check the format of the drive you are capturing to. It should be Mac OS Extended, journaling off. If it isn't, copy your files from it and re-initialize it. If it is any other format, you will encounter problems. If not at first, then eventually.
    4) Trash the FCP preference files. Use FCP Rescue available here:
    http://www.fcprescue.com
    5) Make sure that the hard drives you are capturing to are fast enough to handle the footage being captured to it. A regular firewire 400 drive cannot capture uncompressed HD, or even uncompressed standard definition. A RAID array of drives might be in order for these formats.
    Shane

  • Heirarchical menus with previlliages and rolls

    I have following three departments
    IT, HR and Marketing
    And Manager of every department should be able to add users from their department and should also be able to assign forms or a set of forms to a new user from their department only and these forms should be shown in hierarchical menu.
    For these requirements I want to go for hierarchical menus and assigning securities to menus. I need to know following for this.
    How to make hierarchical menu and how to add roles to these menus according to the requirement, as I never worked with menu or hierarchical menus and user roles. Please if anybody can help me with an example of this scenario and I will be thankful for this.

    Hello,
    <p>I think that you would find all you need in this article</p>
    Francois

  • Help with splitting and arranging clips

    Hi All,
    Can some please help a complete noob by explaining their simple workflow for FCE HD from after capture to edit.
    I am new to digital editing and am working my way through Tom's book but am a little confused in regards to arranging and organising my clips. I have a new project (My niece's 1st B'day party) which currently has 1 master clip (I think this is the terminology) with several (27) segments after running DV Start/Stop.
    This is where I get confused. I want to arrange the segments into Bins, for example: Birthday girl, cake, games etc... But there is something about relationships between master clip, segments and subclips which I don't understand.
    How is the best way to "cut up" (and is that the best way) the segments into smaller master clips so i can rename then, rearrange them and add comments in preperation for editing?
    Sorry for the long post, but when you don't really know what you want to say you end up saying a lot
    Cheers.
    Andrew

    I don't use the Master/Subclip relationships. My method of sorting out various types of clip, by subject (your examples of "Birthday girl, cake, games etc...") is to slide (click, hold and drag) all obviously bad clips into V3 and ignore (mostly), and then slide all the Birthday girl clips on to V2 and move them sideways to group them closer together, then do the same for each other group. This leaves in V1 some shots such as establishing shots, closeups of decorations, departures etc. which you know where to put (eg., establishing shots at the beginning, closeups cut in somewhere where suitable as the editing proceeds). Next, I drag down and left or right various clips from V2 to V1 to their appropriate positions in order, leaving gaps between here and there to avoid having to move sets of clips left and right too often to make room. Then I set In and Out points in the Timeline (or Viewer) and close gaps between the clips within each set and see how that set looks. When all the material has gone through that process I check the whole video and make (usually) minor) changes, then do transitions and set audio levels, then leave it for a few days to look at it afresh.
    Is this a bizarre method? What do you pros do?

  • Working with HD and SD clips for DVD Project

    I am working on a project in FCP and I have clips that were shot with both SD and HD camera's. The SD was imported to FCP using the DV NTSC 48kHz Anamorphic setting and I have yet to import the HD footage. The HD footage was shot on a Sony Z1U using HDV 1080 60i.
    The final project will be put on a DVD but I was just wondering what the best way to deal with both SD and HD footage? What type of sequence setting should I use when combining the clips? Any other things I should consider before starting on this project? Any input or ideas would be appreciated.

    You might as well bite the bullet and put the hd into an SD sequence. The dv will look TERRIBLE if you try to blow it up, and when going to DVD, it'll only be 720x480 anyway. The only upside of this is that you can correct any framing issues with the hd stuff-- you'll have a lot of latitude for repositioning shots.

  • Drag and Drop impossible with IOS5 and iTunes 10.5

    Hello,
    I just upgraded my iPad 2 to IOS 5, on an iMac under Leopard, with the last iTunes 10.5.
    Result : it erased all my personnal PDF, MP3 and movies files !
    Fortunately, I had backup... But, now it is impossible to transfer these personnal files on my iPad 2.
    A few days ago, I used drag&drop from iTunes : it worked without mistake for all my personnal PDF, MP3 and movies files.
    For example, I was under iTunes in Books and I dragged/dropped my PDF files to my iPad. Then I had it on my iPad. Idem for my personnal MP3 and my movie files.
    I don't have any synchronisation activated.
    Now, it is impossible. iTunes does not put my PDF, MP3 or Movies.
    What happened ? Is there a way to correct that ?
    Thank you for all the help you can give me.
    -- Marc

    Hello,
    I just found the solution by myself.
    The problem was that new iOS disabled the "Manage Your Contents Manually" option automatically.
    Reference : https://discussions.apple.com/message/15016127#15016127
    Sorry.
    -- Marc

  • Using iPhoto to make Slideshow with Stills and Movie Clips

    Hello--Can someone give me some tips on making a DVD from a slideshow on iPhoto.  The slideshow consists of still photos plus short video clips (7 -47 secs).  I have already tried making a DVD but would like to know anything I may be doing incorrectly.
    This is how I have done it so far:
    1--Made an Album in iPhoto and put various still pictures and 3 or 4 short video clips in the Album.
    2--Clicked on the + sign, bottom left, then clicked on 'Slideshow' then on 'Create'.  Entered Theme/Music/Settings.
    3--Clicked on 'SHARE'/Send to iDVD' at the top of the screen.
    4--The slideshow was then Exported to iDVD.
    I then proceeded to burn a DVD.  It turned out fairly well, except I noticed during the video clips the audio in the clips was VERY slightly
    over ridden by the music--not enough to be a problem.  During the still shots the selected music would play.
    Questions:
    1--Please comment on the above procedure if you see anything I should be doing differently, ie is this the best way to mix
    still pictures and videos?
    2--Can this slideshow be uploaded to You tube or would you suggest a better way.
    Thanks for any assistance or suggestions.

    Thanks very much for your input Terence Devlin.  I appreciate your comments that the system I'm using, which at the moment I am more familiar with, is at least workable.  I have found working with iMovie more confusing, but will try looking for some good tutorials that may make it easier to work with.
    I understand your comments on YT music useage and have been aware of that.
    When you ask for 'a better way'... a better way to what?
    I have found it difficult to upload the slideshow to You Tube.  At one time for instance, the upload was going to take something like 6 hours!  Obviously that was a 'bit' too long so I was hoping someone may be able to give some pointers on that, however I will try working on the iMovie system and see if I have better luck.
    Again, thanks for your input.  Cheers.

  • Avoiding dropped frames with Matrox and HD Video

    What is the best hard drive configuration to avoid dropped frames when using a Matrox MXo2 mini for HDMI outpjt to a high res monitor/tv? I am experiencing slow performance with the four drives in my Macpro 3,1  3Ghz 30GB Ram  Nividia Cuda card. I am after about 200-250 MBytes/sec transfer speeds. Can I do this with two identical disks in my Macpro and configuring them for Raid 0.  Or do I need to do it externally?  I have increased speed to about 120 MBytes/sec by using a Esata card and connecting into to a Lacie 2TB Big disk,configured for Raid 0 . I need to go a bit faster than this....especially if I want to use premier

    Those are nice looking enclosures and in general I like OWC. I've been using their stuff since before the turn of the century.
    But in this case, I don't think you'll get the speed you're looking for because they are using eSATA and muxing the data over a single cable. It's a flexible solution, but not a very fast one. To re-iterate, the two flaws I see are:
    1. SATA II disk speed, and
    2. a single eSATA cable
    This could theoretically provide 300MB/sec, (they have a benchmark that is around 250) but don't look for it day-in, day-out. As the drives fill up and reality settle in I doubt you'll see the numbers you want. BUT...  maybe it'll provide enough. 
    Instead, take a look here:
    SATA Enclosures - PC PitStop
    Not quite as sassy looking, but I've had the first enclosure shown running with four spindles and a SFF-8470 multilane cable since 2006. And it still benches over 250MB/sec mostly loaded on the original drives.
    Any of the enclosures on that page will support SATA III drives and they offer a variety of controllers.This isn't a big shop but they know what's up. Call them.  I know I can build a RAID with their stuff that will cost about the same as the OWC box and be seriously faster.
    Hope this helps

  • Drop shadows with mask problem

    I've got a vector image that I've applied a drop shadow to,
    I've then used a mask on it to square it off but unfortunately the
    drop shadow follows the mask after applying.
    Is there any way the mask can cut off the the drop shadow
    effect as well?

    Garry Bradley wrote:
    > I've got a vector image that I've applied a drop shadow
    to, I've then used a
    > mask on it to square it off but unfortunately the drop
    shadow follows the mask
    > after applying.
    >
    > Is there any way the mask can cut off the the drop
    shadow effect as well?
    It's pretty hard to guess what it looks like from your
    description. Can
    you upload a copy of your document to a website where we can
    see it?
    Linda Rathgeber - Adobe Community Expert
    http://www.adobe.com/communities/experts/members/8.html

Maybe you are looking for

  • Can I update Twitter Timeline Gallary in Project Siena ?

    Can I update Twitter Timeline Gallary in Project Siena ? I want to update Twitter Timeline Gallary by 60 second each. Gallary's Data = Twitter!Timeline() "Refresh(Twitter!Timeline())" is NG. Regards, Yoshihiro Kawabata

  • Payment not on my credit

    I purchased some skype credit yesterday. Even today it is not vissible on my account. I can not contact anybody.It is also not possible to contact skype by chat or e-mail being a non paying customer. What to do in this case?

  • Filtering my DataGridView with Combo Boxes

    Hello everyone! I have recently started working with windows form application and I must say it is really awsome! I have came up with a project but I came across a little problem and I hope some of you might help me! I have established a local databa

  • If I update my unlocked iphone 4 to ios 7 will I lose unlock?

    If I update my unlocked iphone 4 to ios 7 will I lose unlock?

  • BTinfinity install

    i have two lines into my property one of which has bt broadband installed on it and i wish to have bt infinity but i wish to have this on my second line due to the situation with my pc (prefer wired connection) i have twice telephoned and been put th