Unable to expand movie clip inside of scroll

I inherited a .fla file with a scrolling thumbnail image
movie clip that moves horizontally inside of a "scroll" behind a
mask, with the use of right and left buttons. < > The
thumbnail movie clip is much wider than the movie's dimensions. I
think it was made in Flash 5. I added about 30 new thumbnails to
the movie clip for my client, but now it won't expand anymore.
Before, all I had to do was put the thumbnail into the edge of the
clip and it would expand to include it. I can get the invisible
right and left "scroll" movie clips to scroll even beyond the movie
clip by adjusting the numbers in the ActionScript for those two
instances. I am not a "programmer type" so this probably is hard to
understand. If I try to change the width of the movie clip in the
properties box it comes up with an "invalid size and position"
error. Actually I think all it would do is stretch-distort the clip
anyway, which is not what I want. (if I put in a lesser number it
squishes the clip). I just want more space right and left.
Any ideas?
-Sue

How do I attach a file to this? All I see is a button to
attach code. Sorry, I've rarely use this forum.
-Sue

Similar Messages

  • Movie clip inside a movie clip

    Hi everybody,
    I'm creating a slideshow with Flash, like the  ones done with Powerpoint. I would like to create a movie clip inside  another movie clip, that is, say I have a clip called button1, and when I  click it, frame number 2 in this clip is displayed, and then more  information appears. Inside this frame 2, there are other clips, for  example an X button to close and return to frame number 1 in the clip  button1, as the image shows:
    What I have done is convert the button1 text into a movie  clip, and assign an action to it:
    on (press){
        gotoAndStop(2);
    When frame 2 is displayed, I would like to  click to the X-button to get back to frame number1, so what I've done  is, again, convert it into a movie clip and assign the following action:
    on (press){
        _root.gotoAndStop(1);
    But this doesn't work. I've been trying as  well changing other things, but no way... At first I thought it had  something to do with the _root or _parent, but now it looks as when  using gotoAndStop in the "parent" button (button1), no actions work for  the "child" buttons.
    I've loaded the fla and the swf files here, just in case  someone would like to check.
    Thank you very much in advance for your help.  I've been checking other posts, but apparently I couldn't find the  appropriate info.

    "_root" is only used to reference the very first level of your flash file. Right now you are telling flash to go to the second frame in your root timeline but you want to go to the second frame in your button1 timeline.
    Change the code that is on the X-button to
    on(press){
         gotoAndStop(1);
    Remove the "_root" and it should work.
    If it still doesn't work, make sure the button has an instance name of "button1" and use this code.
    on(press){
         _root.button1.gotoAndStop(1);
    This is using "_root.button1" as the 'address' of your movieclip and it wont matter where the code is.

  • How to control movie clips using mause scroller...?

    ....please look
    http://www.nagaoka-id.ac.jp/gallery/gallery.html
    ...how to control movie clips using mause scroller...?

    Hi Ldavinci, I have noticed your posts on that particular
    site before. Just chiming in here... don't be afraid of Flash Help
    menu. There's a wealth of information there and I've found it much
    faster than waiting for a response from the forum. Then if it still
    doesn't make sense, at least you have a basic idea of specifics to
    ask.
    If you search for mouse wheel, you'll see an example under
    the Actionscript 2.0 Language Reference on this topic. That said,
    here's the example:

  • Access Movie clip inside Button

    Is there a way to access a movie clip inside a buttion?
    I have a bunch of images in a movie clip, and I want to have the same mc to change frames in different button symbols. But when try to talk to it myButton.myMovieClip.gotoAndStop(3);
    It gives me and error.
    1119: Access of possibly undefined property myMovieClip through a reference with static type flash.display:SimpleButton.

    no.
    use a movieclip button.

  • Movie clips inside an animated movieclip

    Hello- I have been trying to get movieclip buttons inside an
    action script animated movie clip to work and have no luck doing
    so. The inside movieclips act as if they dont have over or out
    states; but when i comment out the animation, they work fine...
    here is my code- (Please note im am a newbe at action script so any
    suggestions on improving current code will be greatly appreciated)
    stop();
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    function upFunction() {
    var xPosT:Tween = new Tween(kText, "_x", Strong.easeOut,
    kText._x, 400, 1, true);
    function downFunction() {
    var xPosT:Tween = new Tween(kText, "_x", Strong.easeOut,
    kText._x, 200, 1, true);
    kText.btn.onRelease = function():Void {
    _root.play();
    kText.onRollOver = function():Void {
    upFunction();
    kText.useHandCursor = false;
    kText.onRollOut = function():Void {
    downFunction();
    kText is the animated movieclip, btn is the button inside
    kText
    Thanks!

    if you define any mouse handlers for a parent movieclip (like
    kText) it will intercept all mouse events so child movieclips (like
    kText.btn) do not see the mouse events.
    to remedy define all mouse handlers for shapes (converted to
    movieclips), buttons and movieclips on kText's timeline or use a
    loop with hitTest one the parent or child

  • How to print a Movie clip inside uiLoader?

    Hi,
    I;m making a flash application in AS3, and I've got a little problem.
    Which is here...
    Here is my code....
    /* Print Button Function Here.....*/
    print_btn.addEventListener(MouseEvent.CLICK,printPage);
    function printPage(evt:MouseEvent) {
        var printJob:PrintJob = new PrintJob();
        if (printJob.start()) {
            if (uiLoader.source.width>printJob.pageWidth) {
                uiLoader.source.width=printJob.pageWidth;
                uiLoader.source.scaleY=uiLoader.source.scaleX;
            printJob.addPage(uiLoader.source);    <------------ Error shows Here
            printJob.send();
    Actually I have a movie clip which contains a Print Button and a uiloader.
    uiloader loads differnt external movies.
    I applied a code to Print button to print those movies.
    But FlashProgram shows an error.
    which is Here....
    Scene 1, Layer 'Actions', Frame 2, Line 174
    1118: Implicit coercion of a value with static type Object to a possibly unrelated type flash.display:Sprite.
    Please tell me how to fix it.
    thank you...

    Thank you very much it's been really helpfull.
    Now it's working but there are two more issues which i want to dicuss now.
    1st issue is, it print the both movies (main movie & external both) but i only want to print that one which inside the uiloader only.
    2nd issue is, actually this application which I'm making is for users to apply various paints on roofs and walls to check how they looks.
    The issue is it only print the actual movie colors not those colors which have been currently applied. Or what i'm trying to say is that, " how can I print uiloader source movie with it's current colors settings?"
    thank you.

  • Target a movie clip inside a movie clip

    When I go to the symbol editing mode on the first movie clip, I drag the instance of my 2nd movie clip to the stage. I then am duplicating my work, (it is over lapping) not sure what I am doing wrong here? and I am finding that my child movie clip is taking on the parent movie clip properties. How do I stop this from happening? I thought they are to remain independent? Any help is greatly appreciated. TY.

    Will the child timeline be independent of the parent timeline. My pend_mc is the child and has taken on the hand_mc properties. Also why is there brackets around some and not the others? Thank you so much for your time.

  • Unable to Remove Movie Clip

    Hello... I am an ActionScript newbie. I followed a tutorial
    from computer arts magazine, to create a portfolio using
    actionscript and xml. I linked the portfolio to several scenes in
    flash, such as contents and contact details. My problem is that
    when I placed a button "back" on the main stage of the portfolio,
    to redirect to the contents page, the list of artworks thats
    populated from xml remains on the next scene, or any other scene i
    link it to. I tried using unload movie clip, but nothing is
    working. Please Help. This is my actionscript:
    I don't if this helps, but I get this message in the output
    panel: Target not found: Target="_root.btn_projectsundefined"
    Base="_level0"

    check the flash help files. there's no better way to debug
    your flash applications than the liberal use of the trace()
    function.
    for example:

  • Targeting a movie clip inside a movie clip inside another movie clip with a twist

    Thanks to ned. Im able to link to a movieclip inside a movieclip.
    Unfortunately one of the movieclips now are a scrollbar and scroll.  Now the actionscript isnt working?
    Has anyone wany ideas? Please
    cal.onPress = function() {
    gotoAndPlay(2);
    message1.contentMain.message.total = unit1;
    Thanks

    I wish i could say it wasnt named message 1 but it is.  The code works without a scroll bar.
    As soon as i put the target in a scrollbar it doesnt work?
    This is my code for the scrollbar if thats the problem? maybe
    scrolling = function () {
    var scrollHeight:Number = scrollTrack._height;
    var contentHeight:Number = contentMain._height;
    var scrollFaceHeight:Number = scrollFace._height;
    var maskHeight:Number = maskedView._height;
    var initPosition:Number = scrollFace._y=scrollTrack._y;
    var initContentPos:Number = contentMain._y;
    var finalContentPos:Number = maskHeight-contentHeight+initContentPos;
    var left:Number = scrollTrack._x;
    var top:Number = scrollTrack._y;
    var right:Number = scrollTrack._x;
    var bottom:Number = scrollTrack._height-scrollFaceHeight+scrollTrack._y;
    var dy:Number = 0;
    var speed:Number = 10;
    var moveVal:Number = (contentHeight-maskHeight)/(scrollHeight-scrollFaceHeight);
    scrollFace.onPress = function() {
      var currPos:Number = this._y;
      startDrag(this, false, left, top, right, bottom);
      this.onMouseMove = function() {
       dy = Math.abs(initPosition-this._y);
       contentMain._y = Math.round(dy*-1*moveVal+initContentPos);
    scrollFace.onMouseUp = function() {
      stopDrag();
      delete this.onMouseMove;
    btnUp.onPress = function() {
      this.onEnterFrame = function() {
       if (contentMain._y+speed<maskedView._y) {
        if (scrollFace._y<=top) {
         scrollFace._y = top;
        } else {
         scrollFace._y -= speed/moveVal;
        contentMain._y += speed;
       } else {
        scrollFace._y = top;
        contentMain._y = maskedView._y;
        delete this.onEnterFrame;
    btnUp.onDragOut = function() {
      delete this.onEnterFrame;
    btnUp.onRelease = function() {
      delete this.onEnterFrame;
    btnDown.onPress = function() {
      this.onEnterFrame = function() {
       if (contentMain._y-speed>finalContentPos) {
        if (scrollFace._y>=bottom) {
         scrollFace._y = bottom;
        } else {
         scrollFace._y += speed/moveVal;
        contentMain._y -= speed;
       } else {
        scrollFace._y = bottom;
        contentMain._y = finalContentPos;
        delete this.onEnterFrame;
    btnDown.onRelease = function() {
      delete this.onEnterFrame;
    btnDown.onDragOut = function() {
      delete this.onEnterFrame;
    if (contentHeight<maskHeight) {
      scrollFace._visible = false;
      btnUp.enabled = false;
      btnDown.enabled = false;
    } else {
      scrollFace._visible = true;
      btnUp.enabled = true;
      btnDown.enabled = true;
    scrolling();

  • Scrolling Movie Clip

    Hello everyone...
    I am trying to figure out why my thumbnail movie clip will
    not scroll when clicked. I thought I had the action script right
    but it appears that I have not. Could anyone help me troubleshoot
    this? If you could give me your email addy, I will send the .FLA
    file for you to look at.
    Thanks very much
    Kit

    You should be able to post the actionscript pertaining to
    your problem. If not, upload it to many of the free file hosting
    websites and then post the link to the fla.

  • Deadline: 22 May 08H00 Help ME Please Scrolling a movie clip from the Centre

    Hi
    It has been a while since I have been here I am in need for
    some serious help, I am so frustrated.
    What I want to do is pretty simple, I am building a DJ
    website and the navigation is a pitch controller, similar to what
    they have on a mixing board anyway, when you drag the pitch
    controller I need the movie clip symbol to scroll either up and
    down, so technically the pitch controller will have to start from
    the center, but I have no idea what I am doing.
    I have been going through tutorials for 15 hours but all they
    show you is how to create a normal scroller that starts at the top
    and srolls down. I am in desprite need as I have a deadline to meet
    for tomorrow morning. HELP

    ok this is the code I got from a tutorial that i was woking
    from, but I dont really understand it in detail what I do know is I
    dont need the arror buttons in this code becuase all I need is a
    the scroller.
    scrolling = function () {
    var scrollHeight:Number = scrollTrack._height;
    var contentHeight:Number = contentMain._height;
    var scrollFaceHeight:Number = scrollFace._height;
    var maskHeight:Number = maskedView._height;
    var initPosition:Number = scrollFace._y=scrollTrack._y;
    var initContentPos:Number = contentMain._y;
    var finalContentPos:Number =
    maskHeight-contentHeight+initContentPos;
    var left:Number = scrollTrack._x;
    var top:Number = scrollTrack._y;
    var right:Number = scrollTrack._x;
    var bottom:Number =
    scrollTrack._height-scrollFaceHeight+scrollTrack._y;
    var dy:Number = 0;
    var speed:Number = 10;
    var moveVal:Number =
    (contentHeight-maskHeight)/(scrollHeight-scrollFaceHeight);
    scrollFace.onPress = function() {
    var currPos:Number = this._y;
    startDrag(this, false, left, top, right, bottom);
    this.onMouseMove = function() {
    dy = Math.abs(initPosition-this._y);
    contentMain._y = Math.round(dy*-1*moveVal+initContentPos);
    scrollFace.onMouseUp = function() {
    stopDrag();
    delete this.onMouseMove;
    btnUp.onPress = function() {
    this.onEnterFrame = function() {
    if (contentMain._y+speed<maskedView._y) {
    if (scrollFace._y<=top) {
    scrollFace._y = top;
    } else {
    scrollFace._y -= speed/moveVal;
    contentMain._y += speed;
    } else {
    scrollFace._y = top;
    contentMain._y = maskedView._y;
    delete this.onEnterFrame;
    btnUp.onDragOut = function() {
    delete this.onEnterFrame;
    btnUp.onRelease = function() {
    delete this.onEnterFrame;
    btnDown.onPress = function() {
    this.onEnterFrame = function() {
    if (contentMain._y-speed>finalContentPos) {
    if (scrollFace._y>=bottom) {
    scrollFace._y = bottom;
    } else {
    scrollFace._y += speed/moveVal;
    contentMain._y -= speed;
    } else {
    scrollFace._y = bottom;
    contentMain._y = finalContentPos;
    delete this.onEnterFrame;
    btnDown.onRelease = function() {
    delete this.onEnterFrame;
    btnDown.onDragOut = function() {
    delete this.onEnterFrame;
    if (contentHeight<maskHeight) {
    scrollFace._visible = false;
    btnUp.enabled = false;
    btnDown.enabled = false;
    } else {
    scrollFace._visible = true;
    btnUp.enabled = true;
    btnDown.enabled = true;
    scrolling();

  • How do i reference a movie clip instance name from inside child movie clips.

    I have a label I am referencing form a movie clip inside the movie clip which contains the "label_2."
    Here is the code I used:
    MovieClip(parent.parent).gotoAndPlay("return_2");
    Now I need to reference a instance name of a movie clip in side the same scene.
    What would the code be?

    You should probably start by reading the docs and/or google:
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/events/Event.html
    http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204-7fca.html
    http://www.google.com/search?hl=en&q=AS3+events
    Once you got the basics down, look into creating/using your own custom events:
    http://www.google.com/search?hl=en&q=AS3++custom+events
    http://www.adobe.com/devnet/actionscript/articles/event_handling_as3.html
    Event dispatching and event handling is one of the most important things about ActionScript. The sooner you get into them, the better.

  • How to load movie clip internal in .fla file

    Hi - How do I load a movie clip inside a .fla file?........I
    know the script to load a .swf file but I do not know the script to
    load a movie clip (New symbo l= movie clip) made in the same .fla
    file.
    I have a series of movie clips I woud like to load with a
    button - can anyone please guide me in the right direction with a
    script or some info.....
    Thanks
    steen

    Do you mean loading clips that are in the library?
    Use MovieClip.attachMovie();
    Dan Mode
    --> Adobe Community Expert
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    *THE online Radio*
    http://www.tornadostream.com
    *Must Read*
    http://www.smithmediafusion.com/blog
    "Jean Bang" <[email protected]> wrote in
    message
    news:ef88kj$c10$[email protected]..
    > Hi - How do I load a movie clip inside a .fla
    file?........I know the
    > script to
    > load a .swf file but I do not know the script to load a
    movie clip (New
    > symbo
    > l= movie clip) made in the same .fla file.
    > I have a series of movie clips I woud like to load with
    a button - can
    > anyone
    > please guide me in the right direction with a script or
    some info.....
    >
    > Thanks
    >
    > steen
    >

  • Working with movie clips

    I'm making an animation with movie clips inside the stage but if i put action in the end of these for go to another frame in the stage, dosnt let me because AS3.0 does'nt alow script inside buttons and MC's.
    Wath can i do for this issue.
    The new code from AS3.0 is so diferent to AS2
    Thanks for your time.
    can you put some video to do things like this.????
    By the way, this forum is the best, congratulations for all.

    Thank you for the answer, i hope to understand AS3 more in the pass of days.
    For other hand, can you tell me how can i make the background of my exported video transparent??
    When export i mark the check box make alfa chanel on backgroud, but when i conver to FLV with Adobe Media Encoder, the background turns to black.
    what other way can i use to import video.
    Thank you any way

  • Looping Background Movie Clip

    Hi i am having trouble with having a looping background movie
    clip on the bottom layer of my flash project. I have it on the
    bottom layer in the first frame, above it i have some menus fading
    in and it seems as though once it gets to this scene, it just plays
    the movie clip over and over and never goes to the 2nd frame of my
    scene. Is there anyway to have a looping background movie clip
    inside of flash 8?
    Thank you in advance,
    Tyler

    You can use a variable to keep count of how many times you loop, and until it exceeds a particulr value (2 or 3) you execute a setTimeout() call that waits for however long you want to delay and then tells the movieclip to gotoAndPlay(1).
    So in the first frame you would establish the counting variable...
    var count;
    if(count == undefined){ // only set it to 0 once
    count = 0;
    and in the last frame you would do your incrementing and control....
    stop();
    count += 1;
    if(count < 3){
    setTimeout(waitABit, 2000); // call function in 2 secs
    function waitABit(){
    gotoAndPlay(1);

Maybe you are looking for

  • How can I transfer my email accounts and emails from my old macbook pro with ML to my new macbook pro with ML

    How can I transfer my email accounts and emails from my old macbook pro with ML to my new macbook pro with ML

  • Windows 8.1 Update - Is this applicable to Windows 8 OS too?

    Hi All, Am a little confused. There's a recent update announced as per the link below: http://blogs.windows.com/windows/b/windowsexperience/archive/2014/04/02/windows-8-1-update-important-refinements-to-the-windows-experience.aspx Can you please conf

  • OM: Evaluation Path

    Hi, I need to do the following: Using the general structure interface, display the u2018implementationu2019 structure (object type u201899u2019 and evaluation path u2018BZ99u2019) from root object u201800-XYZ Implementationsu2019. But I do not have t

  • Cancellation of excise invoice not possible

    Hi I am trying to cancel the a sales excise invoice In tcode J!IH > cancel excise invoice, the system is giving an error Excise modvat accounts not defined for CEIV transaction and  excise group Kindly provide solution for this Regards Suresh

  • Upgrading from CS3 to CS5

    I purchased Photoshop CS5 upgrade. When I enter the CS3 serial number (Adobe CS 3 Design Standard)  I receive the notice that the serial number is valid, but a qualifying product cannot be found on my computer. Why is the upgrade not able to find my