Specific region mouse over effect(Button 1 fades out and Button 2 fades in).

Dear All -
I am new to Flash CS5 and building Flash navigation bar with buttons on it.
Below is my problem description that I want to solve with your help.
I have a rectangular bar and placed one small button(Button 1) on this bar. Also, I have similar button(Button 2) with some graphics on it which is of similar size as to previous Button 1.
Button 1 - Without graphic.
Button 2 - With graphic on it.
What I want is that, whenever mouse is taken over Button 1 placed on the rectangular bar, it should fade out and simultaneously Button 2 should fade in. I want only button region to be sensitive to this mouse over effect and not the complete rectangular bar.
Kindly let me know how can I define the specific region(button region only) to be sensitive to mouse over effect in flash, and how to place Button 1 and Button 2 in layers so that both are at the same positition(so that there is no displacement of button detected).
Thank You,
Saurabh Khanna.

Hello -
Thank you for the reply. Button 1 does not have glowing effect, whereas Button 2 has a glowing effect. So what I wanted is that when initially Button 1 is loaded during page load, when I mouse over Button 1, Button 1 would fade out and Button 2 sitting behind Button 1 would automatically look like fade in(due to gradual fad out of Button 1 on top of Button 2).
I could do this now, and would like to Thank you for your reply.
I did this by creating movie clip on "Over" event of Button 1 and changing its Alpha property. But now what I want is how to gradually fade out, means when I remove my mouse from over button, then Button 2 should fade out gradually which will automatically make Button 1 fade in gradually.
I could not find the "Out" event just like we have "Over" event for Button, so I assume this can only be done using ActionScript somehow.
Let me know if I am going correct with my assumption, and possibly if you could help me achieve the remaining half(fading out gradually when mouse is removed from the button).
Thank You once again for your reply.
Thank You,
Saurabh Khanna.

Similar Messages

  • Can i create a new function (Fade out, Amplify down, Fade In)

    Hi,
    I am using Adobe Audition version 3.0
    Is it possible to define a new function, so that i can select a short piece of the audio file within Edit View, so that the first 5 miliseconds (of the selected piece of audio) will be applied a Fade Out, and the last 5 miliseconds will be applied a Fade In, and in-between will be Amplified by -12dB.
    I have to do this hundreds of times within a 1 hour recording of speech which has many short pauses, in order to remove small external noises between the words.
    I normally select (one by one) the space/pause between the words and amplify this by -12 dB.  Then i select the preceeding 5 miliseconds and apply a Fade Out.  And the 5 miliseconds after the pause a Fade In.
    I have only discovered today how to create short-cuts, so at least i have a short cut for the Amplify, Fade Out and Fade In.
    But it would be great, if i could somehow define a function as i described above, to do all 3 steps within the one function.
    Any help or tips appreciated.
    Dave

    [email protected] wrote:
    Hi,
    I am using Adobe Audition version 3.0
    Is it possible to define a new function, so that i can select a short piece of the audio file within Edit View, so that the first 5 miliseconds (of the selected piece of audio) will be applied a Fade Out, and the last 5 miliseconds will be applied a Fade In, and in-between will be Amplified by -12dB.
    I have to do this hundreds of times within a 1 hour recording of speech which has many short pauses, in order to remove small external noises between the words.
    I normally select (one by one) the space/pause between the words and amplify this by -12 dB.  Then i select the preceeding 5 miliseconds and apply a Fade Out.  And the 5 miliseconds after the pause a Fade In.
    I have only discovered today how to create short-cuts, so at least i have a short cut for the Amplify, Fade Out and Fade In.
    But it would be great, if i could somehow define a function as i described above, to do all 3 steps within the one function.
    Any help or tips appreciated.
    Dave
    You might be able to - but this is going to require quite a complex script that would need some serious editing by hand, and even then I'm not absolutely sure that it would work. The previous problem with this sort of script was that due to an 'anomaly' in the program, the - (minus) sign wouldn't work in a script, but I think that with the 3.0.1 patch, it does again. And even with this working, it's going to require some experimentation. Initially you need to refer to ryclark's method of entering absolute values which you will find here, and then you have to find a way to realise the whole operation a step at a time. You'd have to handle the fade out and the fade in separately, but where I think you might come considerably unstuck is trying to fade to -12dB for the middle section - that's probably the bit that would perhaps require slightly more than might actually be possible. I'd be quite happy to be proved wrong about that though!
    I'm afraid that there's no documentation at all for the scripting language - this is something that Adobe, and Syntrillium before them, have never quite managed to provide, despite promising me some a while back. The good news though is that if you can make this work, then it's relatively straightforward to assign a shortcut key to it. But I should warn you now that this would be one hell of a script...

  • Image swaps with fade out and in

    I am new to Dreamweaver, in fact only got into it to do my
    own website. I want to create image swaps with a fade out and then
    fade in with the new image. Nowhere can I find out how to do this
    so far. Can anybody point me in the right direction. Many thanks
    for your help now and in the past.
    Perspectivist

    This is a multi-part message in MIME format.
    --------------000605070301090808040601
    Content-Type: text/plain; charset=ISO-8859-1; format=flowed
    Content-Transfer-Encoding: 7bit
    i see! well, that's good to know. i didn't realize you could
    do
    transitions on image swaps (of course, i've rarely used them
    so far).
    and i just assumed the OP was actually trying to do a
    slideshow, which
    could still be the case i guess. i suppose he's covered
    either way!
    Nancy O wrote:
    > There are several image transition scripts on this page:
    >
    http://www.brothercake.com/site/resources/scripts/transitions/
    >
    >
    >
    > --Nancy O.
    > Alt-Web Design & Publishing
    > www.alt-web.com
    >
    >
    >
    > "Perspectivist" <[email protected]>
    wrote in message
    > news:[email protected]...
    >
    >> I am new to Dreamweaver, in fact only got into it to
    do my own website. I
    >>
    > want
    >
    >> to create image swaps with a fade out and then fade
    in with the new image.
    >> Nowhere can I find out how to do this so far. Can
    anybody point me in the
    >> right direction. Many thanks for your help now and
    in the past.
    >>
    >> Perspectivist
    >>
    >>
    >
    >
    >
    --------------000605070301090808040601
    Content-Type: text/html; charset=ISO-8859-1
    Content-Transfer-Encoding: 7bit
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    <html>
    <head>
    <meta content="text/html;charset=ISO-8859-1"
    http-equiv="Content-Type">
    </head>
    <body bgcolor="#ffffff" text="#000000">
    i see! well, that's good to know. i didn't realize you could
    do
    transitions on image swaps (of course, i've rarely used them
    so far).
    and i just assumed the OP was actually trying to do a
    slideshow, which
    could still be the case i guess. i suppose he's covered
    either way!<br>
    <br>
    Nancy O wrote:
    <blockquote cite="mid:[email protected]"
    type="cite">
    <pre wrap="">There are several image transition
    scripts on this page:
    <a class="moz-txt-link-freetext" href="
    http://www.brothercake.com/site/resources/scripts/transitions/">http://www.brothercake.com /site/resources/scripts/transitions/</a>
    --Nancy O.
    Alt-Web Design &amp; Publishing
    <a class="moz-txt-link-abbreviated" href="
    http://www.alt-web.com">www.alt-web.com</a>
    "Perspectivist" <a class="moz-txt-link-rfc2396E"
    href="mailto:[email protected]">&lt;[email protected]&gt;</a>
    wrote in message
    <a class="moz-txt-link-freetext"
    href="news:[email protected]">news:[email protected]</a >...
    </pre>
    <blockquote type="cite">
    <pre wrap="">I am new to Dreamweaver, in fact only got
    into it to do my own website. I
    </pre>
    </blockquote>
    <pre wrap=""><!---->want
    </pre>
    <blockquote type="cite">
    <pre wrap="">to create image swaps with a fade out and
    then fade in with the new image.
    Nowhere can I find out how to do this so far. Can anybody
    point me in the
    right direction. Many thanks for your help now and in the
    past.
    Perspectivist
    </pre>
    </blockquote>
    <pre wrap=""><!---->
    </pre>
    </blockquote>
    </body>
    </html>
    --------------000605070301090808040601--

  • Mouse over effect for Button

    Hi,
        I have a button inside a vbox. I need to give mouse over effect to that button. Please give me the code.
    Regards,
    Jayagopal.

    Pls let me know if you have any issue with solution below:-
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Script>
        <![CDATA[
            import mx.effects.effectClasses.ResizeInstance;
            private var resizeInstance:ResizeInstance;
            public function mouseHandler(event:MouseEvent):void
                    if (resizeInstance)
                        resizeInstance.reverse();
                    else
                        resizeEffect.play([event.currentTarget],event.type==MouseEvent.MOUSE_OUT);
    ]]>
    </mx:Script> 
    <mx:Resize id="resizeEffect" heightFrom="22" heightTo="50" 
        effectStart="resizeInstance = ResizeInstance(event.effectInstance);"
        effectEnd="resizeInstance=null"/>
    <mx:VBox width="500" height="500" horizontalAlign="center" verticalAlign="middle">
        <mx:Button label="Sample Button" buttonMode="true"
        useHandCursor="true" mouseOver="mouseHandler(event)" mouseOut="mouseHandler(event)" />   
    </mx:VBox> 
    </mx:Application> 
    with Reagrds,
    Shardul Singh Bartwal

  • One more nugget: Chart zoom with the "Mouse Over" effect

    Hello all.
    Just read my signature first, it might explain a lot. I do not intend to compete with Darren and I don't think this "nugget" (at least it supposed to be one) will amaze any of the LV veterans and this forum is rich of them. But maybe it will bring some new ideas to some of you or maybe it will be useful for some LV beginners (like me). It is very likely, my code will have some lapses, but please be gentle pointing that out to me. If you feel a need, you can always optimize the code and develope it further. Just don't forget to share!
    So back to the point.
    I am developing a project using LV. In my program there is a waveform chart which has to show 4 plots. Depending on the length of the X Scale, it sometimes gets hard to see the plots clearly because of their density.So I decided that I need a tool, which would zoom the chart in. And this is what I have came up with after a few "Google" searches to check which part of the bike is already invented and also a bit of programming by myself. 
    Maybe you guys (at least the veterans) know the BetterVIEW Consulting LV example where they have implemented the Mouse Over effect. So a part of their example has been used in this tool and part of the credit must go to them. I thank them a lot
    This tool uses a cluster and its property of visibility to show/hide the cluster depending on if the current position of the mouse cursor is in the desired range or not. The program also gets the image of the chart and returns the subset of the image. The subset is taken for the area arounf the mouse cursor. So if you move the mouse, the zoomed in area will also chage in response. After that, the subset of the image is zoomed in for better view. 
    The user might chage the zoom factor during the execution. Also it is possible to turn the zoom option On or Off if you don't wish to see it for the moment. 
    This is how the front panel looks like:
    And this is the image of the block diagram (see the attached files for the vi, the VI Snippet tool distorts the code too much, so I haven't added it):
    I haven't found anything the same in the forum. Yet I'm a newbie here and I don't have that much experience surfing it. If it wouldn't be something new (in the forum, not necessarily to some of you personally), just ignore the thread. I hope this was worth your time and your attention. 
    Good coding
    Message Edited by Giedrius.S on 02-11-2010 12:46 PM
    While evaluating my code please have in mind that I am a LV novice. Therefore sometimes my code might violate some coding rules that I have to learn about myself. But how else could I do that...
    Chart zoom with "Mouse Over" effect
    Attachments:
    Zoom.vi ‏198 KB
    Mouse_pos.vi ‏20 KB
    Check_pos.vi ‏18 KB

    Very nice Giedrius.
    It takes guts to "step up to the chalk board" so I will do what i can to give you some ideas to think about. This is similar to the type of feedback I offer durring our in-house code reviews.
    1) The floating property nodes outside the loop are not sequenced by wires so they could execute after the loop starts. Sometimes this could cause weird errors. Seq with the error cluster.
    2) Property nodes can be re-sized so you can apply more than one property setting in the same call. Property node have to execute in the UI thread (which is single threaded) so using a single nodes will force a single context switch rather than one for each.
    3) Setting the same property repeatedly in a loop just burns CPU. THe Scale min for both X an Y can be moved outside the loop ?
    4) THe Wait Until Next ms" function does not get used in any of my code. It is not a way to get a fixed wait but rather a random wait. If you code completes 1 ms after the next multiple, the delay is double less 1 ms. If you have multiple loops using them and it f the delay for each are not unique prime numbers, then the "Wait until next ms multiple" is a good (cough cough) way of getting them all to wake up at the same time and fight for the CPU.
    5)An Event Struture to monitor mouse enter/leave and mouse move (this would have to be a sepearte loop) is easier on the CPU than polling.
    6) Is that math in the case to handle the Chart position on the FP? If so then using the property nodes for the chart to find its postion will let you code adapt to GUI changes.
    7) Right to left wires are not well recieved.
    8) A Bundle by Name is prefered over a "Bundle" since it is self documenting. I know the Picture function so I can see that is the rectangle you are specifying but reader not famliar with that function would not be able to "READ" the code without poking at it.
    9) THe event structure would also help with setting the Zoom factor. Only poke it when you have to.
    That is all that comes to mind at the moment.
    Again thank you!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to hide list mouse over effect?

    Hi,
    I am using list item render and I have my own items effect on mouse over, how can I disable the list mouse over effect without setting the mouseChildren to false.
    I hope you be able to help me with this one.

    for datagrid, i'm trying to figure out for the list
    http://stackoverflow.com/questions/2325080/disable-roll-over-color-for-list-or-datagrid-co mponents

  • Mouse Over Effect

    Here is what I want to do in Keynote '08:
    I want to make an object appear when the mouse cursor goes over/near it. I think it's called a "mouse over" effect.
    To help illustrate:
    1. I want my Keynote slides as uncluttered as possible and,
    2. I want to start a choice of other slides or effects. Mouse over allows me to hide these in plain sight, so to speak, until I mouse over one of the triggers.
    How do I do this? Thanks, JLG [email [email protected] if I'm not clear above.]

    Welcome to the forums!
    Mouseover effects are not available in Keynote. You can have transparent (and therefore invisible) buttons with hyperlinks, but Keynote will only take action on a click, not a cursor hover.

  • How can I have an object toggle between fade out and fade in with button?

    Hello all,
    I have a problem and I was hoping someone out there could help me out with it.
    I have smart shape that is set to show for "rest of project" on one of my early slides.  It is not visible in output in the properties, but when a user clicks a button in the project, it should fade in and then stay visible.  If the user clicks the same button again, it should fade out and stay hidden.  So rather than toggle between show and hide, which I know how to do, I want it to toggle between fade in and fade out.  I am having trouble with this.  Setting its transition to fade in and fade out in the properties of the smart shape doesn't help...
    Here is the advanced action I have attached to the button that should allow the user to toggle between fade in and fade out.  The "if" parts works -- the object fades in and then finally "shows" at 100% the "else" part almost works.  It fades out, disappears, but then shows again, which I obviously dont want it to do.  I want it to stay hidden.
    If you can help, it would be great!! 

    I Don't
    But as a work around you could try increasing the canvas size to match the illustrator file, paste in the object then crop off the excess canvas in photoshop

  • Creating a Flash Mouse Over Effect

    I want to create a flash mouse over effect that I can import into dreamweaver.  Dreamweaver used to have a function to make this simple, but Adobe removed it.  How do I create this in flash, and then define it in dreamweaver?

    Why not just cut on a big white rectangle? Another way is to keyframe the Light Rays filter...
    Patrick

  • I would like to create the same mouse over effect that is used on the home page of Industrial Light

    I would like to create the same mouse over effect that is used on the home page of Industrial Light & Magic website. http://ilm.com
    Could someone please let me know what the code or effect that is used. Thanks.

    It appears there are two slideshows running in parallel where a mask that follows the mouse displays one of them.  THe one you see in the moving mask is on top of the other.
    If you were to search Google for a custom cursor tutorial you will probably end up with most of what you need for getting the mask to follow the mouse.  

  • Anyone know what mouse over effect this is?

    I would like to create the same mouse over effect that is used on the home page of Industrial Light & Magic website. http://ilm.com
    Could someone please let me know what the code or effect that is used. Thanks.

    You need to ask here: http://forums.adobe.com/community/flash/flash_actionscript3
    or here: http://forums.adobe.com/community/flash/flash_ad_development
    This forum is for Flash Player and you CAN'T edit or create ANY Flash content with the Player.

  • URGENT: button rollover animations and image fade ins?

    Hello, I have a site where an image appears which has 6 words
    on it. Each word will be a button where the following actions take
    place:
    on rollover a line draws through the button
    an image fades in on the left and another on the right
    when you click the button, a large window (not popup, prefer
    within flash) appears with information, I guess an swf or mc would
    work.
    once you roll out the images fade out and the line draws in
    other direction so it disappears
    How can I code the buttons to do all this? I am using flash
    8.
    THanks!

    Ok so far so good. IF you mouse over super saturday you will
    see what happens. Now, what is the code when I mouse out so those 2
    things that appeared will disappear? Also, when you click super
    saturday, you will see an swf that loads but it loads in between
    other layers and all other buttons are active outside the swf. How
    do I overlay it over everything then also have a close button on
    this swf? here is the code for a button:
    blu.onRollOver = function() {
    blu._parent.attachMovie("link8","blu_mc",1,this.getNextHighestDepth(10000));
    sat.onRelease = function() {
    loadMovie("popup_saturday.swf", "popup");
    and the site so far:
    http://interactiveboom.com/test/final.html
    THX

  • I have adobe Premiere Elements 13. It will not let me delete audio or have it fade in or out. I can move the yellow line all the way down till the volume reads -0.0, but the sound is still there on playback. I can click on fade in and fade out and the yel

    I have adobe Premiere Elements 13. It will not let me delete audio or have it fade in or out. I can move the yellow line all the way down till the volume reads -0.0, but the sound is still there on playback. I can click on fade in and fade out and the yellow line that graphs volume takes a sharp raise or dip at the beginning or end of the clip, but there is no change in volume when I play back. What am I doing wrong?

    rickeyt
    Thanks for the reply. Great news about the volume adjusts.
    Now about those fades for the volume. How are you doing that?
    1. Right click the Timeline video audio and select Fade and then
    see the Fade options (I had a video with audio file, so I saw the choices as shown in the screenshot)
    2. You can also create two volume keyframes at each end of the Timeline audio clip rubberband (orange line that goes horizontally across the middle of the audio clip). At the position of the Timeline Indicator, click the Add/Remove Keyframe icon, and then with the mouse cursor position the white dots (volume keyframes) to achieve the Fade In and Fade Out audio. In the screenshot below I have moved the Timeline Indicator so that you could better see the white dots (volume keyframes).
    Please let us know if any of the above works for you with regard to the audio fades.
    Thank you.
    ATR

  • Simultaneous fade out and fade in and image

    I currently have code that fades out on canvas of a view
    stack and fades in a second canvas of the view stack. However, my
    desired behavior is that the fade out happens as the fade in
    happens so it would simulate a tween effect like when making
    animated gif's. Is there a way to do this, and if so does anyone
    have any sample code to do this?

    so the fade out and fade in are working like you said,
    however I want then to be in the same position on the page. I would
    like each canvas to be at coordinates (0,0). Here is my code, but
    the canvas' are stacked vertically? Is what I want to do possible?
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="initApp();">
    <mx:Style>
    Application {
    backgroundColor: #ffffff;
    backgroundGradientColors: #ffffff, #ffffff;
    </mx:Style>
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    [Bindable] private var homePageImageId:int = 0;
    [Bindable] public var intervalId:uint;
    [Embed(source="images/3_1813714899.jpg")]
    [Bindable] public var imgClass3:Class;
    [Embed(source="images/5_2065488856.jpg")]
    [Bindable] public var imgClass5:Class;
    [Embed(source="images/6_717433985.jpg")]
    [Bindable] public var imgClass6:Class;
    [Embed(source="images/9_263548684.jpg")]
    [Bindable] public var imgClass9:Class;
    function initApp():void {
    checkDelayCounter();
    intervalId = setInterval(checkDelayCounter,4000);
    function checkDelayCounter():void {
    if ( homePageImageId == 0 ) {
    canvas0.visible = false;
    canvas1.visible = true;
    homePageImageId = 1;
    } else if ( homePageImageId == 1 ) {
    canvas1.visible = false;
    canvas2.visible = true;
    homePageImageId = 2;
    } else if ( homePageImageId == 2 ) {
    canvas2.visible = false;
    canvas0.visible = true;
    homePageImageId = 0;
    ]]>
    </mx:Script>
    <mx:Fade id="fade_in" duration="750" alphaFrom="0"
    alphaTo="1"/>
    <mx:Fade id="fade_out" duration="750" alphaFrom="1"
    alphaTo="0"/>
    <mx:Canvas id="canvas0" showEffect="fade_in"
    hideEffect="fade_out" visible="true" alpha="0" x="0" y="0">
    <mx:Image id="homePageImage6" source="{imgClass6}"
    width="990" height="400" x="0" y="0"/>
    </mx:Canvas>
    <mx:Canvas id="canvas1" showEffect="fade_in"
    hideEffect="fade_out" visible="false" alpha="0" x="0" y="0">
    <mx:Image id="homePageImage3" source="{imgClass3}"
    width="990" height="400" x="0" y="0"/>
    </mx:Canvas>
    <mx:Canvas id="canvas2" showEffect="fade_in"
    hideEffect="fade_out" visible="false" alpha="0" x="0" y="0">
    <mx:Image id="homePageImage5" source="{imgClass5}"
    width="990" height="400" x="0" y="0"/>
    </mx:Canvas>
    </mx:Application>

  • I'm trying to make a ring to for iPhone and about 20 sec into the playing of the song it fades out and goes silent. What am I doing wrong? Thanks

    I'm trying to make a ring to for iPhone and about 20 sec into the playing of the song it fades out and goes silent. What am I doing wrong? Thanks

    Im not sure what garage band is, but i can tell you the way apple recommends making ringtones. Highlight a song in iTunes, right click and select get info. Goto the options tab and youll see the time lengths (write down the ending time) for the start time type in where you want the ringtone to start, ringtones can only be 30 sec long so make the ending time 30 sec later. Exit it out of the info and while song highlighted goto the "advanced" tab at the top of iTunes where you will see an option that says "create aac version". after creating the aac version you will have a duplicate song in your iTunes, change the original back to the correct time length. Take the 30 sec aac version and drag it to your desktop, right click the icon and click "preferences" You will then be able to change the name of the file which will be somethign to the effect of "songnamehere.m4a" you just change the m4a to m4r. you now have a ringtone, drag the new file to iTunes where it will pop up in a new tab labled ringtones. If you cannot change the name of the file when it is on your desktop let me know and i will give you instuctions how to be able to change it. Once you get it figured out you can use any song you have on iTunes to make a ringtone.

Maybe you are looking for

  • Export and import tables in SYBASE ASE

    HI All, Could you give an idea on taking logical structure backups on Sybase database . And how to restore this backup . Similar to exp/imp or expdp/impdp  utility in oracle is there any such utility available for Sybase. if so could you please share

  • PSE 8 Editor - Ordinal Not Found Error

    Just this last weekend I have started getting an error message when trying to load the PSE8 Editor.The message reads: Owl Orphanage: PhotoshopElementsEditor.exe - Ordinal Not Found The ordinal 212 could not be located in the dynamic link library LTDI

  • List of iOS 4 problems on iPhone 3G

    1. Settings > General > Passcode Lock > Require Passcode ... only shows Immediately as -- it used to have 1/5/etc minute options, so it's a real pain to enter the passcode every time now 2. Pandora app crashes after 15-30 minutes of playing 3. Perfor

  • Z10 BBM personal info not changing

    I'm facing an issue with the #BBM in the #Z10BlackBerry. I'm not being able to change any of my status, personal message, or even display picture. I tried turning off the device more than once and even I wiped the data, nothing worked out. How can I

  • I think my computer is bured out

    How do I fix it