Button affecting Movie Alpha

I have 2 buttons on my stage and also 2 movies. The 2 movies
are an existing animation and a proposed animation, the existing
movie clip is directly on top of the proposed. When I click the
Proposed button I want that movies alpha to be 100 while the
existing goes to zero. And vice versa. Right now, I can get that to
work, however, I can't reverse it and click to existing button to
get the existing movie to 100 and make the propsed 0.
Here's my script:
PropButton.onRelease = function(){
MovieExist._alpha = 0;
MovieProp_alpha = 100;
ExistButton.onRelease = function(){
MovieProp._alpha = 0;
MovieExist_alpha = 100;
}

It's not working for some reason. The first 2 still work but
the new Summer movie never shows up.
PropButton.onRelease = function(){
SharpExist._alpha = 0;
SharpSummer._alpha = 0;
SharpProp._alpha = 100;
ExistButton.onRelease = function(){
SharpProp._alpha = 0;
SharpSummer._alpha = 0;
SharpExist._alpha = 100;
SummerButton.onRelease = function(){
SharpProp._alpha = 0;
SharpExist._alpha = 0;
SharpSummer._alpha = 100;
}

Similar Messages

  • Every time I create a button it moves to the centre of the page when outputing to pdf

    every time I create a button it moves to the centre of the page when outputting to pdf
    I have done a load of tests and it does it every time
    I imported a jpg image as my button. Converted it to a button by Interactive/convert button. Even before I setup all the options in the buttons panel it moves. So for instance I have the button in the bottom RHS in Indesign. Then make a interactive pdf and its in the centre of the page. I have even converted the image back to an object and it goes back to in proper position.
    I have tried this in several documents, starting from scratch and using different images and also drawn a button. I have also used the buttons from the button library
    In previous version of Indesign I have never uncounted this problem.
    2 weeks later to above post
    Can anyone help this has not be resolved and I have several annual reports to get out urgently. Its happening to all documents!

    every time I create a button it moves to the centre of the page when outputting to pdf
    I have done a load of tests and it does it every time
    I imported a jpg image as my button. Converted it to a button by Interactive/convert button. Even before I setup all the options in the buttons panel it moves. So for instance I have the button in the bottom RHS in Indesign. Then make a interactive pdf and its in the centre of the page. I have even converted the image back to an object and it goes back to in proper position.
    I have tried this in several documents, starting from scratch and using different images and also drawn a button. I have also used the buttons from the button library
    In previous version of Indesign I have never uncounted this problem.
    2 weeks later to above post
    Can anyone help this has not be resolved and I have several annual reports to get out urgently. Its happening to all documents!

  • Advanced Button with Movie Clip and Fading

    Problem: I'm trying to create a bottun that when you roll
    over it it plays a movie clip and also fades in and out on roll
    out. It is similiar to the three main navigating buttons on the
    following site.
    http://www.fjcruiser.ca/
    the buttons with the compasses that appear are the ones I am
    talking about.
    I already know how to make buttons, I just can't figure out
    the actionscripting to load the movie and also fade in and fade out
    according to roll over and roll out.
    Please help. Thank everyone.

    Amazingly, I actually know exactly how to do this. And it
    only requires about 4 lines of code in the _root layer and on the
    button.
    Instead of having the rollover load an external movie, you
    want the have the rollover execute an on(enterFrame) function that
    tells each newly entered frame of your movie to check to make sure
    the mouse is still on the button, and if not, send the movie
    playhead backwards.
    So, put that sampleMovie right on the stage with the button.
    Then write the code in the _root so that says: as long as the mouse
    is over the button, the movie will advance to nextFrame(). When it
    gets to the next frame, again the code checks to see if the mouse
    is on the button, if so, the movie is instruct to go one more next
    frame (which is tweening the fade, right?) again, over and over
    until the stop() at the last frame. But, if while while entering a
    frame, the code finds that the mouse is no longer over the button,
    it does the same thing but this time instructs prevFrame(), and so
    on, going prevFrame (backwards, in other words) as long as the
    mouse is not on the button.
    The result of the above is a gradual fade in and out,
    depending on whether the mouse is hovering. This, as opposed to an
    abrupt disappearing graphic on(rollOut).
    Click the below link for the .fla that demonstrates this
    technique (which, by the way, I learned from Joshua Davis'
    excellent book, "flash to the core". Check it out at Amazon, or
    wherever. Lots of cool tricks).
    click here for
    fade_Movie example

  • Buttons in Movie Clips, Movie Clips in Movie Clips

    Here goes. I have a scene with a button in the timeline, that
    targets a frame in a movie clip, which is essentially the content
    area of the layout. this is the code used:
    on (release) {
    textmov.gotoAndPlay ("challenge");
    This works fine and dandy. Now the problem. Within this
    "Content" movie clip, i have another movie clip with a button in
    it. This clip is designed to tween in then upon clicking a close
    button tween out. When I test it the button doesn't have rollovers
    like and I can't get it to talk to the clip above it to play the
    close tween.

    > I am still struggling with the fact, that upon testing,
    buttons in movie clips
    > do not exhibit their various states. Up, Over etc. I'm
    relatively sure that you
    > can have buttons in Movie Clips. I've also noticed that
    any graphic symbols
    > within a Movie Clip produce the hand, when the mouse
    cursor is Over them, just
    > like a button would. All of this happens, when testing
    in the FlashPlayer.
    is there any place you could kindly upload the source file
    for me to check ?
    > Do buttons operate independently of the Movie Clip
    timeline they are placed in?
    that is correct, button should work independently to movie
    clip.
    it only react to mouse upon entering the HIT state (which is
    invisible to user)
    and stops reacting once the mouse is off that state.
    > I have one Movie Clip with a one frame time line, should
    a Button symbol work
    > it it?
    of course it should work...
    Try to upload the source, let us check it out for you, spare
    you time on guessing :)
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Trying to use a button to move form data to another section of the document

    Not sure how to form this question, but hoping you guys (the experts) will be able to help me along....
    I'm trying to setup a form that, when you select a button it moves data like below:
    and then will move it to the correct section as indicated by which button you pressed:
    Is this possible? Any help you can provide would be very appreciated! Thanks in advance.

    Alright - so I've been trying to work w/the scripting language (I'm sorry, I'm fairly new, and one of two things happens whenever I enter it in.
    1. The text disappears from the box on the right and doesn't show up in the assigned boxes.
    2. Nothing happens
    I've attached a photo (below) of the script as my ignorant self believes it should look. Any thoughts? (Again, I appreciate your patience here - thanks!):

  • I think I screwed up my migration.  I turned off the sub-accounts on my Mobile Me Family Pack before I hit the button to move my account.  Now it seems I have delete all of my family's email accounts.  Can they be re-activated/retrieved?

    I think I screwed up my migration.  I turned off the sub-accounts on my Mobile Me Family Pack before I hit the button to move my account.  Now it seems I have deleted all of my family's email accounts.  Can they be re-activated/retrieved?  The instructions at that point were vague to non-existent.

    I'm tryin to move my account to iCloud too and I have sub accounts. I deleted a couple of the sub accounts and found that one of them (didn't try the other one) couldn't  login anymore. I haven't moved to iCloud yet and I was able to re-establish the sub account. I had another go at moving to iCloud and noticed that I may not need to delete the sub accounts, it just warns that I won't be able to add or delete them after moving to iCloud. Maybe that is the way to go. Move the main account to iCloud without deleting the sub accounts?? Maybe this will leave the sub account owners able to move in their own time.
    I don't know if you can fix what you have done if you have already moved to iCloud with your main account. Might be time for you visit the local Genius Bar or call Apple support.
    I may try a visit to my local Genius Bar over the weekend if I can make an appointment ;-)

  • AS2 How to make a button that moves every two seconds

    How can I make a button that moves every two seconds by itself in ActionScript2?
    At the moment, I have to use the on(press) command, but what I really need is for the button to be able to move randomly by itself every two seconds. For example:
    (insert the code here) {
         bc1._x = random(250)
         bc1._y = random(250)
    Thanks!

    You can use the setInterval function to have a function repeated for specific time intervals.  Here is a link to a tutorial that explains how to use it...
    http://www.republicofcode.com/tutorials/flash/setinterval/

  • Buttons in movie clip won't bring up scenes

    I've created a movie clip within my main scene.
    I have 6 buttons in that clip. I would like these buttons to
    call up the appropriate scenes but it isn't. I don't know whether I
    cannot have buttons in movie clips call up new scenes or if my
    actions script is simply wrong.
    Here are some of the actions I've tried to upload the scene
    or swf files:
    thanks.
    on (release) {
    _root.gotoAndPlay("instance name");
    ----Also, named 1st frame of scenes with matching instance.
    on (release) {
    _root.gotoAndPlay("scene name");
    on (release) {
    gotoAndPlay("scenename",1);
    on (release){
    uploadMovie ("name.swf",1);
    }

    use frame labels only and use the goto methods (like your
    first 2 goto statements) and not the goto functions (like your last
    2 goto statements).
    also, there is no uploadMovie() method in actionscript. use
    loadMovieNum() if you want to load name.swf into _level1.

  • Buttons in movie ... in IE6.0

    Hello,
    I've made a movie clip in flash 8 (published it as a flash 7
    movie). In my clip I put a few buttons to ghet a menu. When I
    publish it it acts as if it where a button. You first have to klick
    it before it starts acting as a normal menu. I only have this
    problem with internet explorer 6.0 and not with firefox. It looks
    like it started after I deinstalled my flashplayer and let it
    reinstall it again through my embeded code (automatically generated
    with dreamweaver).
    What has happened?
    Greetings,
    Muzemaker

    Muzemaker;
    It was caused by a new update to ie which affects all active
    x content.
    Check the forum for related posts, it's been a topic of
    discussion for quite
    awhile. -Tom Unger

  • FireFox web buttons and movie scroll bar do not work anymore!

    == Issue
    ==
    Firefox is having problems with certain web sites
    == Description
    ==
    When watching movies after choosing Maximize movie to full screen movie controls no longer work. You must first hit ESC to get out of full screen mode before controls work again. I have seen this on 3 different sites. This is a new problem. And the problem seemed to start after FireFox prompted me to download a new version of Flash.
    <blockquote>Please don't post clickable links to XXX-rated material in this forum.
    Space now inserted in that link - edited by a moderator - eh</blockquote>
    == URL of affected sites
    ==
    <blockquote>Do not post links at all to porn -MJB</blockquote>
    == Troubleshooting information
    ==
    Application Basics
    Name
    Firefox
    Version
    3.6.6
    Profile Directory
    Open Containing Folder
    Installed Plugins
    about:plugins
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Java Console
    6.0.16
    true
    Java Console
    6.0.17
    true
    Java Console
    6.0.18
    true
    Java Console
    6.0.19
    true
    Java Console
    6.0.20
    true
    Firefox Showcase
    0.9.5.5
    true
    {89506680-e3f4-484c-a2c0-ed711d481eda}
    DVDVideoSoft Menu
    1.0.1
    true
    DownloadHelper
    4.7.3
    true
    Adblock Plus
    1.2
    true
    Download Statusbar
    0.9.6.8
    true
    SweetIM Toolbar for Firefox
    1.0.0.10
    true
    Norton IPS
    2.0
    true
    Norton Toolbar
    4.6
    true
    {2D3F3651-74B9-4795-BDEC-6DA2F431CB62}
    Search Helper Extension
    1.0
    true
    {27182e60-b5f3-411c-b545-b44205977502}
    Adobe DLM (powered by getPlus(R))
    1.6.2.63
    true
    Modified Preferences
    Name
    Value
    accessibility.typeaheadfind.flashBar
    0
    browser.history_expire_days.mirror
    180
    browser.places.smartBookmarksVersion
    2
    browser.startup.homepage
    http://www.igoogle.com
    browser.startup.homepage_override.mstone
    rv:1.9.2.6
    extensions.lastAppVersion
    3.6.6
    keyword.URL
    http://search.sweetim.com/search.asp?src=2&q=
    network.cookie.prefsMigrated
    true
    places.last_vacuum
    1273928725
    privacy.sanitize.migrateFx3Prefs
    true
    security.warn_viewing_mixed
    false
    == User Agent
    ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SIMBAR={9CDB2A64-E417-42DF-83F2-1B302E1DA08A}; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E; InfoPath.3; Creative AutoUpdate v1.40.01)

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • My iphone wont let me recieve yahoo mail, tried switching off phone,taking account off and on cant get server button to move says on but is pale so cant move on or off!!!!

    iphone wont let me recieve yahoo mail, tried switching off phone,taking account off and on. did a restore on my phone the yahoo server says on but it is pale so you cant switch off or on.  my phone will recieve bt mail and internet not affected.  Any ideas on how to fix this?

    Hello there stidhambr15,
    I was researching the issue you are having and recommend a couple of things. First it might be a good idea to reset the device following iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting found here http://support.apple.com/kb/ht1430
    Resetting your device
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that doesn't quite get the device going again, I recommend restoring the device.
    iTunes: Restoring iOS software
    http://support.apple.com/kb/ht1414
    Might even be a good idea to turn off the phone, reseat the SIM card, and turn it back on.
    iPhone and iPad: How to remove the SIM card
    http://support.apple.com/kb/ht5163
    iPhone 4 (GSM model)
    iPhone 4S
    Cheers,
    Sterling

  • How do I create a play button for movie clip using AS3

    Hello.
    Bit new to this and have been searching the adobe forums and google. I am trying to create a button that will play an imported MovieClip.
    I have a movie clip that I've imported into it's own layer (Layer1) Frame 1.  I've given the MovieClip an instance name of foundationMovie.
    I've created a button and have that on its own layer(Layer2) above layer1, it is also in Frame 1.
    I've added a
    stop (); action to layer2
    The video is not set to autoplay.
    I want the video to start playing when the viewer clicks the button.  I know I've got to put some kind of event listener using AS3 in my timeline somewhere.
    I've found some code and I've been trying to work with it.  I'm sure I've mutilated it beyond usability but this is what I've got.
    stop ();
    player.addEventListener(MouseEvent.CLICK,play);
    function play(event:MouseEvent)
    gotoAndPlay("foundationMovie");
    If someone could point me the right direction or help me with my code I would really appreciate it.  Thanks.

    First, you need to clear up what you are working with... a movieclip and a video are usually entirely different things.
    Next, your code may get you started on your way with some changes.   You shouldn't use "play" as a function name due to there already being a play() method/function in Flash.
    If the movieclip is a movieclip and has an instance name of "foundationMovie", and your button has an instance name of "player" then the following adjusted code would normally work...
    stop ();
    player.addEventListener(MouseEvent.CLICK,playMovie);
    function playMovie(event:MouseEvent)
         foundationMovie.play();

  • How to add button inside move clip and call it from main timeline?

    Hi,
    On the main timeline I  have a movie clip called clock_mc and playBtn
    playBtn is  placed in the center of clock_mc
    When you press playBtn clock_mc starts playing
    playBtn.addEventListener(MouseEvent.CLICK, playClock);
    function playClock(event:MouseEvent):void
        if (event.target == playBtn)
            clock_mc.play();
            playBtn.visible = false;
            trace ("play button was clicked");
    This is working fine for me.
    But I want to add replayBtn to the last frame of clock_mc and set up the function on main Timeline.
    Another words when the clock_mc rich last frame you see replayBtn.
    code example:
    replayBtn.addEventListener(MouseEvent.CLICK, playClock);
        if (event.target == replayBtn)
            clock_mc.play();
            replayBtn.visible = false;
            trace ("replay button was clicked");
    I've tryed to placed the replayBtn on the stage on the main timeline and I've set it up to replayBtn.visible = false;
    And then I add replayBtn.visible = true; to last AS frame of clock_mc but it wont work
    Even when I put the button physically to the last frame of clock_mc it will not work either.
    Please help

    I've solved the problem:-)
    I've set replayBtn.visible = false; on first frame of clock_mc
    and  replayBtn.visible = true; at the last frame
    and than as you sugested I'v add:
    clock_mc.replayBtn.addEventListener(MouseEvent.CLICK, replayClock);
    function replayClock(event:MouseEvent):void
            clock_mc.play();
            trace ("replay button was clicked");
    I couldn't see replayBtn at the firs stage because I have clockTween assosiated with clock:
    clockTween = new Tween(clock_mc, "x", Regular.easeOut, -469,438, .5, true);
    and I had replyBtn in the wrong place so when clock_mc was coming up on the stage replayBtn was on the left side of the stage :/
    Now I have to solve only one thing.
    Maybe you would have any suggestions please.
    I've set up stop(); in a first frame of clock_mc
    that when you see clock_mc sliding in it has to wait for playBtn to be clicked
    because I have two tween:
            clockTween = new Tween(clock_mc, "x", Regular.easeOut, -469,438, .5, true);
            playTween = new Tween(playBtn, "x", Regular.easeOut, -720,514, .5, true);
            playBtn.visible = true;
    so when you click on playBtn:
    function playClock(event:MouseEvent):void
        if (event.target == playBtn)
            clock_mc.play();
            playBtn.visible = false;
            trace ("play button was clicked");
    everythink is working fine except when I clik on replayBtn it play for I sec because there is stop(); on the first frame of clock_mc

  • Buttons in movie clip don't work consistently

    I'm using Flash navigation in Dreamweaver. Most of the
    buttons work, except for a bunch that are in a movie clip. They
    sometimes load the right page, sometimes not at all. I'm using
    Flash CS3 and ActionScript 2.0.
    This is what I have on the buttons:
    on (release) {
    getURL("This is where I have the URL", "_self");
    }

    first and foremost. For testing, add a trace to your
    function.
    on(release){
    trace("The release is triggering");
    getURL("TheURL","_self");
    If this traces out when you test the movie, then you know
    that the release is getting triggered. If it does not, then it is a
    problem with the release not getting triggered.
    If it is getting triggered, then the problem is in the getURL
    statement. I would try _root.getURL(); to force the getURL to
    happen on the main timeline.
    If it is not getting triggered, then I may consider using
    timeline actions in the root timeline. To do this, give the
    movieClip that they are embedded in an instanceName, and give each
    button an instanceName. Then use code like the following on the
    first frame of the root timeline:
    myMovieClip.myButton.onRelease = function(){
    getURL("TheURL","_self");
    }

  • How to display button when movie ends

    Hello!
    I made a short movie in After Effects and now I'm trying to add some buttons to it. The movie starts with an intro and when that ends a "continue" button should appear and take you to the next part. My idea was to place a screenshot of the last frame in the next keyframe with a stop() function after the intro and add the button to that but it would be less work to make the button appear the end of the movie using some code I have no idea about I would really appreciate some guidance.

    put a stop() in your swf's main timeline last frame and put a continue button on-stage in that last frame.
    p.s.  you'll need some coding for that button so it does something.

Maybe you are looking for

  • Resource estimation/Sizing (i.e CPU and Memory) for Oracle database servers

    Hi, I have came across one of the requirement of Oracle database server sizing in terms of CPU and Memory requirement. Has anybody metalink notes or white paper to have basic estimation or calculation for resources (i.e CPU and RAM) on based of datab

  • IPhone & Family Plan

    Hello. I really need help here. I need to find out some information about prices. 1. How much would it be with a family plan of 1400 shared minutes with one iPhone and two normal phones along with unlitmited texting for the iPhone? How much monthly,

  • Ошибка в функции YtFlv2Mp3.DocOnLoad. TypeError: oDoc.location.href.startsWith is not a function

    When I try to open my web browser or a new webpage then it writes out the next in a pop-up window: Ошибка в функции YtFlv2Mp3.DocOnLoad. TypeError: oDoc.location.href.startsWith is not a function. I hope that the problem can be solved.

  • Show Form in WI Task

    Hi all, My workflow is creating a Workitem with additional values in the container via a screen...all good. Now I want the following: If the user clicks on the workitem via the inbox, I want a screen to show where he/she can change the WI container v

  • Tax Classification under Item Billing tab is missing

    Hi Gurus, When a particular Sales Order Type is chosen, under item level under billing tab, there is no such field of Tax Classification for the user to key in the tax classification field. However, if reference using another invoice no to create sam