How can i hide a movie clip?

is it possible for me to hide a movie clip by the press of a button that is on a differant timeline?
here is my code for button.
stop();
submit_btn.addEventListener(MouseEvent.CLICK, subClick);
failed_txt.background = false;
failed_txt.border = false;
var myName:String;
var myPass:String;
function subClick(event:MouseEvent):void{
myName=name_txt.text;
myPass=pass_txt.text;
if(myName == "gallery" && myPass == "password"){
  gotoAndStop("hidden");
} else{
  failed_txt.text = "Please enter a valid password.";
Many thanks.
Michael Down

Yes, it should be possible, but you need to provide some explanation of what you want it to do that it doesn't.  How are things on different timelines and what symbol is supposed to be getting hidden?

Similar Messages

  • How can i let a move clip complete his motion tween movement after dragging and dropping it

    hi how can i let a move clip complete his motion tween movement after dragging and dropping it
    i am using this code and there is a motion tween applies to the movie clip r_mc
    r_mc.addEventListener(MouseEvent.MOUSE_DOWN,fun); r_mc.addEventListener(MouseEvent.MOUSE_UP,fun2); function fun(event:MouseEvent):void { stop(); r_mc.startDrag();
    function fun2(event:MouseEvent):void {
    play(); r_mc.stopDrag();

    i have a simple .fla file wich contains MC that has
    a motion tween(its moving from the left to the right of the stage)
    this motion tween covers the whole time line (  there is only 50 frames in the time line)
    i mean in the frame 1 the MC appears in the left of the stage
    and in the frame 50 the MC appears in the right of the stage and there is a motion tween between them
    every thing till now working well
    i want to make that MC dragabble
    so when i drag the MC i will use stop()
    and when i drop it i will use play()
    but the problem is that the mc doesnt move and complete
    his motion tween movement when i drop it
    for example the MC will be in the middle of the stage in frame 25
    in this frame (25) i am draging the MC ,stoping the timeline,dropping the MC and resum playing the timeline again
    but the MC freezes in the middle of the stage and doesnt go to the right of the stageo until the flash loops and start from the frame 1 again
    here is the example wich i am worikng on
    http://www.mediafire.com/?ia47r4owha7sz8v
    thank u very much and sorry for my bad English

  • How can I display a Movie clip from library on stage in AS3?

    Hi,
    I have a movie clip in my library and I would like to display it on the stage using AS3.
    do I have to define it as a variable?Do  I need to use this code:  addchild(movieclip);
    can I use the 'x' and 'y' to position it?
    What would the code look like?
    Ben.

    Great! it works  well ! thanks
    But I have another question, if I wanted to used the same movie clip but postion it at different x and y positions when a different btn is selected how could I do that?
    Would I have to make a copy of the movie clip and give it a different name?
    or is there an better way around it?
    Ben.

  • How can i remove a movie clip container

    Hallo friend,
    I am dealing with this problem.
    In the first frame of my project i am designing a movie clip
    dynamicaly - with action script 2 - which i use as a container in
    order to fill it with attachments to other movie clips and with
    text boxes which i make dynamically too.
    The problem is that i want to delete this container in order
    to have a quickly way to delete the object that contains, but i
    can't find a way to do this.
    I have tried the functions removeMovieClip() and
    unloadMovie(), but there was no result.
    Please, can somebody help me with this ?

    Friends forgive me for my absence but i do had a very
    defficult period, as i wal looking for new job.
    Enyway, now i have time and tommorow i will post the code, in
    order to let you understand the way i build it.
    My friend, uomodicuore2 i use the correct path to the
    function unloadMovie() and removeMovieClip()
    Friend ric5611 i don't use flash components

  • How can I get my movie clip to resize according to screen size?

    I have a movie clip (startMenu); inside it there are buttons, text, and graphics. This is a game I am making, and it will be played on different screen sizes of Android. This is the code I have so far:
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT
    startMenu.addEventListener(Event.RESIZE, resizeLayout);
    function resizeLayout(e:Event):void
        setPosition();
    function setPosition():void
         startMenu.x = (stage.stageWidth - startMenu.width) / 2;
            startMenu.y = (stage.stageHeight - startMenu.height) /2;
    When I run it on different phones using debugging, it locks on the left hand corner, but does stretch out to fit the whole screen. What should I do?

    try changing
    stage.scaleMode = StageScaleMode.NO_SCALE;
    to
    stage.scaleMode = StageScaleMode.EXACT_FIT;
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/StageScal eMode.html

  • How can i transfer/import movie clips from iMovie Events back to iPhoto Library?

    hi, my camcorder only records AVCHD format and so i have to import the camcorder videos into iMovie as an iMovie Event.
    i'd like to keep both photos and movies managed under iPhoto library instead.
    can someone please please help me how i can transfer the movies imported into iMovie, BACK TO iPHOTO?
    thank you!

    Process the Movie in iMovie then export it as a mov file to the finder and then import to iphoto.
    Regards
    TD

  • How can I straighten a movie clip?

    I have some great footage from an interview, unfortunately the windowsill behind the subject is skewed.  Is there a way to straighten it in Imovie or another inexpensive application?

    Bluter,
    Is there a way to straighten it in Imovie or another inexpensive application?
    As you've found out, iMovie '11 is limited to 90º increments of rotation.  If there's an inexpensive, currenlty available app out there that can rotate video, I've yet to come across it.
    I can tell you that Final Cut Pro X does the kind of free-rotation you're looking for.  But, it's a $300 app.  An excellent value if you do a lot of editing a bit steep for the average home user.
    There is a free 30 day trial version available that I suppose you could use for making the correction in this one project as long as you get it done withing 30 days.
    http://www.apple.com/finalcutpro/trial/
    Matt

  • How can you make a movie clip zoom in on play?

    I simply have a rectangle vector image of a landscape and I want it to zoom in when I play it...and I guess stop at a certain point. Not a clicking function or roll over, just when I start up my swf file or go to that specific scene I want it start zooming (gradually, not fast either). Please help me. Thank you!

    Convert the image into a movieclip, give it an instance name, and look into using the Tween class to provide the gradually changes of the scaleX and scaleY values of whatever object you wish to zoom.
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    var twX:Tween = new Tween(instanceName, "scaleX", Regular.easeIn, startValue, endValue, zoomSecs, true);
    var twY:Tween = new Tween(instanceName, "scaleY", Regular.easeIn, startValue, endValue, zoomSecs, true);
    The code above is written instructively more than literally.  Anything I've bolded you can/need to define.
    Many people will recommend using third party tweening classes due to better performance and other reasons.  So you may want to look into them after you get this working.

  • How can I blend two video clips where they join side by side in one movie?

    Hello Marvelous Movie Making Minds,
    I am working with Adobe Premiere 6 on a Windows 7 machine.
    How can I blend two video clips where they join side by side in one movie?
    I know how to place two or more video clips together in the same movie, but how can I give them a bit of a blend just where they join?
    I have a PDF instruction manual and the built-in web browser instructions.  In the instruction manual in "Chapter 7: Superimposing and Compositing" it talks about the transparency of any video clip, and I understand that... but I don't want to make one or the other video clip transparent anyplace except where the two video clips join together with perhaps a bit of overlap.
    I'd like to make a little blur just where the two videos join in the middle... is this possible?
    Thanks,
    digi

    Aha that kind of blending.
    Have not used 6.5 in a loooooooong time.
    So this is from memory, hope i get this right.
    Set the two clip on top of each other
    Make a matte in Photoshop and superimpose this over the two clips.
    Go to the Transparancy Settings and set the top clip in video 2 to Alpha key.
    Screendump for matte:
    The right side is made black just for the forum but should be transparant.

  • How can I hide a text label as I would a control or indicator?

    As I have multiple indicators that must have the same identifier to the operator I can not use the indicator label as the items identifier. At times I want to hide the indicator and label. How can I hide the label? Please recall a text label just sits on the front panel as desired. It isn't within a raised or lowered box. In the attached sample I would like to hide "MyLabel" when the date indicator is hidden.
    Attachments:
    Test_Label.vi ‏35 KB

    Here�s a way. Its a little involved, but it will work:
    1. Customize a control or indicator to remove the border (I used a string control)
    a. Right click on the control or indicator, go to �Advanced � Customize�
    b. Click on the wrench on the tool bar to enter edit mode
    c. Select the border and drag it off to the side
    d. Reduce the size of the border to a single pixel (it won�t let you delete it)
    e. Rubber band a box around the 1 pixel border to select it and use the cursor keys to move it within the �white space� of the string control. It will effectively disappear. You will NOT be able to move it with the mouse as LV will try to resize the border instead of moving it.
    f. Using the color tools �suck up� the background color of your vi and �paint� i
    t into the white space of the control.
    g. Make the control the correct size to hide your label(s). Make sure it is right as you will NOT be able to resize the control outside of the �customize� function (i.e.: while on your front panel)
    h. Click on the tweezers to go back to customize mode.
    i. Give your control a descriptive name
    j. Right click on the control, go to �Visible Items� and uncheck �label� to hide the label.
    k. Save your new control
    2. Back on your front panel, place your new control over what you want to hide and programmatically make it visible or invisible as desired.
    I have included a copy of your original vi, modified to hide and unhide your label. I have also included the customized string control that accomplishes this. You may resize the control as needed by �customizing it as described above.
    The only disadvantage to this method is that if you want to hide multiple labels they must be in the same area of the front panel. Otherwise you must have seve
    ral �hiding� controls.
    An advantage is that you will not have to make the original control or indicator (i.e.: the date indicator) visible or invisible as it can be hidden as well.
    Hope this does what you want.
    Good Luck.
    Attachments:
    Test_Label.vi ‏27 KB
    InvisibleString.ctl ‏6 KB

  • How do I separate short movie clips loaded from my digital camera to iPhoto 11 at the same time pics are downloaded and how do I get those video clips to a dvd that will play on a dvd player

    When loading pics to iphoto 11 from my camera, occassionaly it will include some video clips with the description of Movxxxx. I wonder if someone could direct me to some straight forward instructions as to how to transfer these video (movie) clips, which now exist in iphoto, to a dvd that will play on a dvd player as one might  expect to see a video play, including the audio that was captured at the time of filming.
    Thanks in advance for any assistance you can offer this novice.

    You need to open iMovie and it will have a event library called iPhoto Videos, click on that and the videos will load in the window next to it, then you make a new project in iMovie.  Then open iDVD and make a new project then import the movies to the program then burn to a DVD..

  • I have an old project with AVCHD clips and I want to import the clips again with surround sound. How can I relink the project clips to the re-imported ones without doing the project from the begining?

    I have an old project with AVCHD clips and I want to import the clips again with surround sound. How can I relink the project clips to the re-imported ones without doing the project from the begining?
    I have a sony handicam and I imported the clips to iMovie and they lost quality and converted the audio to stereo. I want to import the project to final cut X and import the AVCHD in 1080p and surround sound and export the movie in bluray. Can I relink the clips without editing everything again?
    thanks!

    Only photos taken with the iPad, copied onto it via the camera connection kit, or saved from emails/websites etc can be deleted directly on the iPad - either via the trashcan icon in the top right corner if viewing the photo in full screen, or via the icon of the box with the arrow coming out of it in thumbnail view.
    Photos that were synced from a computer are deleted by moving/removing/de-selecting them from where they were synced from and then re-syncing. If you want to remove them all then normally you could just sync an empty folder (in terms of photos) to the iPad, but as you don't want to sync at the moment you can't do that.
    You can reset the iPad back to factory settings and start from scratch with it : Settings > General > Reset > Erase All Content And Settings

  • How to build a custom movie clip that will be used as a cell renderer for column in a grid ?

    i want to build a datagrid that shows a picture and underneath it a name.
    the problem is i dont want to see all of the pictures, but all the pictures that have certain requirements, so i cant just make one movie clip that includes all the pictures and names.
    so my question is how do i build a movie clip that contains photo and text?.

    You do not create movieclips on the timeline using code, though you can create them and add them as children of something that has been manually placed in the timeline.
    To create a MovieClip using code you use: 
        var mc:MovieClip = new MovieClip();
    If you need to add an image, then however you intend to acquire the image, after it has been acquired, you add it to the MovieClip using:  
        mc.addChild(img); 
    where img is the instance of whatever form of object the image takes (Bitmap, Loader)
    If you need to add a TextField to the MovieClip then you use: 
        var tf:TextField = new TextField();
        mc.addChild(tf);
    and you can set up properties for the textfield such as the font and color and position as well after it has been instantiated (the first line).

  • How to stop , play nested movie clips....

    Hi all,
    I'm calling a swf file in a container_mc, which is in
    another swf file(Interface), by loadMovie() method. The Major
    problem I've stucked with is that in the interface I'm having a
    Play/Pause Button, which is not stopping the nested movieclips of
    the external swf file which is loaded in the container_mc
    movieclip.
    The other major issue is that I'm not able to add a
    progressbar(sliderbar) which runs according to the animation, to
    this interface. Please help ASAP

    I have a similiar situation however the container_mc has me
    puzzled, I'm not sure what that is - perhaps you can answer my
    question:
    I have a master swf called index.swf. The index.swf has a
    main tool bar of buttons which load frames; each frame is named to
    coincide with the main bar button (i.e. genInfo, setup,
    mainentance, etc). This works perfectly. My problem is with Movie
    Clips.
    Each frame has a sidebar which loads external swfs (i.e.
    genInfo.swf) - each external swf is made up of a series of Movie
    Clips which run in succession along the timeline; each Movie Clip
    belongs within its own frame (i.e. MCseg1 is in frame seg1; MCseg2
    is in frame seg2, etc).
    I need to pause and play each individual Movie Clip at will;
    I have built two buttons (pauseBtn and playBtn) into a Movie Clip
    called MCpausePlay. The first frame of MCpausePlay contains the
    pauseBtn; this frame is coded with the global "stop();" In order to
    move to frame(2) which contains the playBtn, the pauseBtn is coded
    with -
    on(release) {
    gotoAndPlay(2);
    The playBtn is coded:
    on(release) {
    gotoAndPlay(1);
    When clicked, the MCpausePlay moves from pause to play.
    That's all I have been able to get this to do.
    How do I code MCpausePlay to pause and then play each
    individual Movie Clip? (How do I get a Movie Clip to control other
    Movie Clips?). Should I code the Movie Clip, the frames within the
    Movie Clip, or each individual button within the Movie Clip? And,
    does this MCpausePlay belong on the Index.swf file, or should it be
    on each external swf? Or perhaps built in to every Movie Clip? I
    have tried all and have not had any success.

  • How can I hide iCloud purchases on Apple TV?

    We are a small Christian private school, and we have Apple TVs in each classroom. The album art for U2's freely released album has changed, now showing two shirtless men in an embrace -- Yes, I know it's Larry Mullens Jr and his son. It's upsetting my teachers and students. How can I hide it when there is no Apple ID associated with the Apple TV?

    You can also got to movies and select purchased and if it comes up cannot connect to server go to settings and scroll down to restart and it should work. That's what I did and it showed my purchased movies and I don't have my Apple TV paired with a computer. Just using iCloud. But you also can pair your computer but its not necessary to watch purchased movies you have bought through iTunes. Hope this helps.

Maybe you are looking for

  • Schedule lines not getting confirmed on staurdays and sundays

    Hi all, At sales order level, the schedule lines are not getting confimred on staurdays and sundays. So,in the factory which has been assigned to that plant, we have checked all holidays . Even then it's not confirming on saturdaus and sundays. In th

  • Problem in the exportation to PDF (Indesign CS6)

    Problem in the exportation to PDF (Indesign CS6): Page with 3 layers: 1st background image, 2nd semi-transparent white square, 3rd text in color black. It looks OK in Indesign, but when exporting, in the PDF file the letters are not black, they are g

  • Color not Changing, So -

    May I hope that me reporting this problem helps to make Apple act? How weird of Pages v5.5.  I select text of which to change color, I select a color in the palette, but the color stays the-same.  :-( So I closed & I re-opened _just_ that file.  Colo

  • Adobe product dilemma!

    Hey everyone, So im having an issue with some Adobe products. And I know that this really has nothing to do with Apple, but im on a Macbook Pro and I figured you guys would be just as knowledgeable! So I appreciate all the advice you can give, I am a

  • Cabling for Infinity

    I'm currently on an ADSL2+ connection & considering a switch to Infinity & have a question about my internal cabling. I have a filtered faceplate that'll obviously get switched for a VDSL one , and as my router is some distance from the master socket