A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: dragging text in edit box?

  1. #1
    Junior Member
    Join Date
    Jul 2008
    Posts
    7

    dragging text in edit box?

    hi.
    i have a huge amount of text in an edit box. i currently have it set with a keyboard function to scroll with arrow keys.
    (it works ok but its not as much fun.)

    what i really want to do is make it a dragable scroll like a pdf file.
    you know- with a grab hand to push it up and down.
    i can do it with an image but can i do it with text in an edit box?
    anyone have a solution?
    thanx.

  2. #2
    Member
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    76
    Hi there,

    this could be an easy solution for your problem. I think it could look better but unfortunately 3DFA's Edit Box element does only use integers to set the scroll position.

    It works in Flash 8 only.


    Cheers,
    Leifi
    Attached Files Attached Files

  3. #3
    Junior Member
    Join Date
    Jul 2008
    Posts
    7
    wow leifi thank you.
    thats awesome.
    exactly what i was after and ive got the graphic for the custom cursor to use with it.
    beautiful.
    thanx again.

  4. #4
    Junior Member
    Join Date
    Jul 2008
    Posts
    7
    i couldnt use my text in the opening script as you did, it said the string was too long. but i used in the edit box with no problem. havent been able to get my custom cursor to work tho.

  5. #5
    Member
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    76
    Yes I've only set it up in the opening script because I get some strange errors when putting it right in the edit box without scripting.

    If you need any further help, feel free to ask :-)

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