A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Tweening? I only want PART of something to move, yet all of it moves down?

  1. #1
    Junior Member
    Join Date
    Mar 2007
    Posts
    27

    Tweening? I only want PART of something to move, yet all of it moves down?

    I have a box, and I want only the BOTTOM LINE to expand about 150 pixels below, but the entire box moves down, along with the top of it, which I don't want it to. I'm using motion tweening, in a total of 5 frames.

    Pre-thanks to any help.

  2. #2
    Senior Member
    Join Date
    Oct 2004
    Posts
    2,049
    try using the _yscale on your box

    example:

    box._yscale = 150;

  3. #3
    Junior Member
    Join Date
    Mar 2007
    Posts
    27
    That won't work.. it's not a drawn box, it's four lines drawn with the line tool connecting.

  4. #4
    Ivor1 ivor1's Avatar
    Join Date
    Aug 2006
    Location
    Dundee, Scotland
    Posts
    478
    Why don't you covert the bottom part to a movie clip and place it its own layer? Otherwise, can you post the fla?

  5. #5
    Junior Member
    Join Date
    Mar 2007
    Posts
    27
    I've attached the .fla.. I don't understand how to do what you are doing.

    Frames 65-70 need to be tweened, and the bottom line needs to move down, and the lines stretch with it. Frame 70 is the finished product, 65 is the beginning.

    Thanks for the help.
    Attached Files Attached Files

  6. #6
    Ivor1 ivor1's Avatar
    Join Date
    Aug 2006
    Location
    Dundee, Scotland
    Posts
    478
    Maybe this can help?
    Last edited by ivor1; 01-09-2008 at 05:55 AM.

  7. #7
    Ivor1 ivor1's Avatar
    Join Date
    Aug 2006
    Location
    Dundee, Scotland
    Posts
    478
    Is this closer to what you wanted?
    Last edited by ivor1; 01-09-2008 at 05:55 AM.

  8. #8
    Junior Member
    Join Date
    Jun 2007
    Posts
    1
    .enjoyed reading this ,thanks


    ----------------------------------------------

    http://www.download.com/Bingo-iPod-C...-10679677.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center