A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Scrollbars, MCs, and dragging

Hybrid View

  1. #1
    Junior Member
    Join Date
    Sep 2005
    Posts
    17

    Scrollbars, MCs, and dragging

    Hi!

    I'm having a problem with dragging MCs from one scrollpane to another. I have an MC linked to a scrollpane. That works, the MC appears in the scrollpane. (Although I have yet to figure out why the whole image isn't loading in, but that's another problem.)

    However I want to be able to drag it from one scrollpane to another and have it drop into the other scrollpane... Anyone have any ideas on how to do this? I tried to script it so the MCs are dragable, but it's not working.

    I hope someone can help me, I'm beating my brain against a wall trying to figure this out.

    Thanks!

    Kal

  2. #2
    Junior Member
    Join Date
    Sep 2005
    Posts
    17

    Oy.........

    Okay, another question on top of the one I posed before. Sorry! I'm really hoping someone can assist me as I'm beating my skull in everytime I hit a wall with this project.

    Is there any way to have the MC in the scrollbox not appear until I chose to add one myself? I was also wondering if there was anyone who wouldn't mind explaining how to link a text imput component & an "add" button to a ScrollPane so whenever I were to add a new item from the Text Imput it would duplicate the MC within the ScrollPane with the text loading dynamically on the MC itself.

    Dang, I hope that makes sense! LOL!
    Last edited by NYCBrownie; 10-20-2005 at 04:27 PM.

  3. #3
    Junior Member
    Join Date
    Sep 2005
    Posts
    17
    ARG! Now the MC within the ScrollPane is not showing the box I am drawing on it. It seems to be cutting off 25% of the left side of the MC... Anyone have any tips on this as well? I see that the components are VERY useful, it just takes some work to get it to function...

    *FIXED... See below*
    Last edited by NYCBrownie; 10-20-2005 at 04:26 PM.

  4. #4
    Junior Member
    Join Date
    Sep 2005
    Posts
    17
    Quote Originally Posted by NYCBrownie
    ARG! Now the MC within the ScrollPane is not showing the box I am drawing on it. It seems to be cutting off 25% of the left side of the MC... Anyone have any tips on this as well? I see that the components are VERY useful, it just takes some work to get it to function...
    Okay, figured this out. If you're linking an MC to a scrollpane the MC has to be plotted with an X axis of 1 and a Y axis of 1. Now the buttons fit perfectly into the scrollpanes... Now to fix the rest!

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