A Flash Developer Resource Site

Results 1 to 16 of 16

Thread: using buttons instead of scroll bar

  1. #1
    Member
    Join Date
    Oct 2001
    Posts
    75

    using buttons instead of scroll bar

    i'm trying to use up and down buttons instead of a
    scroll bar on an edit box text.
    i'm having a problem with how to make it function.
    can anyone give me a clue? any examples anywhere?
    thnx
    leb

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Location
    Coimbra - Portugal
    Posts
    139

    scroll with arrow keys

    Hi
    Please watch attached file...
    Cheers
    Rui
    Last edited by rui_eduardo; 09-29-2008 at 11:30 AM.

  3. #3
    Member
    Join Date
    Oct 2001
    Posts
    75

    thanx

    oo- keyboard-
    i will try to use that as well.
    but i'm also trying to use text buttons to scroll.

    -or design my own scroll bars. neither of which i
    know how to do.
    the one in 3dfa doesnt look that hot, can't customize it,
    and you have to click the buttons to scroll. i'd like to
    be able to have it continue to move when the button is
    pressed down like a regular scroll bar function.
    any help would be appreciated!
    thnx,
    leb.

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Location
    Coimbra - Portugal
    Posts
    139

    scroll with buttons

    Hi
    Please watch attached file...
    You may increase a code like this one:
    "If edit.scroll==1, hide button up;
    if edit.scroll==maxscroll, hide button down".
    Cheers
    Rui
    Last edited by rui_eduardo; 09-29-2008 at 11:30 AM.

  5. #5
    Senior Member
    Join Date
    Nov 2003
    Location
    Coimbra - Portugal
    Posts
    139

  6. #6
    Senior Member
    Join Date
    Nov 2003
    Location
    Coimbra - Portugal
    Posts
    139

    mouse over

    Hi
    Please watch attached file...
    Rui
    Last edited by rui_eduardo; 09-29-2008 at 11:30 AM.

  7. #7
    Member
    Join Date
    Oct 2001
    Posts
    75
    it wont stop!!!
    when i press down on it, it goes all the way to the end
    of the text.
    if i try to lift up to stop it, it has no effect.

  8. #8
    Senior Member
    Join Date
    Nov 2003
    Location
    Coimbra - Portugal
    Posts
    139

    stop

    If you keep mouseover or mouse down much time, of course text go to the end, because on mouse down, the mouseover event continue working.
    If you want stop, MOUSE OUT, only this.
    Rui

  9. #9
    Member
    Join Date
    Feb 2005
    Posts
    62

    Another example

    Look at this. Here you have to put some nice buttons with your arts. But it works ok. This movie needs some scroller to be able to see what position is scrolled (i hope you will understand what i mean) - This little thing what is moveing when buttons are pressed
    Attached Files Attached Files

  10. #10
    Member
    Join Date
    Oct 2001
    Posts
    75
    i can get this to work in the browser,
    but not in 3dflash.
    what is "wcisniety"?
    it says -
    'wcisniety1' is not a property of ScriptElement:'Script 93' on line 1 if (this.wcisniety1)
    1 errors found
    ???
    can't figure it out.
    i'm dumb.
    but hey, the buttons work!
    thnx
    leb

  11. #11
    Member
    Join Date
    Feb 2005
    Posts
    62

    scroll

    Dont PREVIEW it. It would be better if you forget about preview in 3dfa.
    Just save & export & play in a browser. There are already compiled files so there are no errors.
    "Wcisniety"- means "pushed" or "pressed". Forget about "wcisniety" it is just variable so the name of this could be everything.

  12. #12
    Senior Member
    Join Date
    May 2005
    Posts
    163
    I added a scroll bar to this and also made it work in preview.

    I don't understand why I've read so many times not to use preview. I have been able to get everthing to work in it. It takes a bit of work and you have to use what's available in 3DFA and figure out the differences between it and MX but in my opinion it's worth it when you need to debug. (just thought I'd add my 2 cents)
    Attached Files Attached Files

  13. #13
    Member
    Join Date
    Oct 2001
    Posts
    75
    thanx.
    thats working ok in my editor.
    i thought i was doing something wrong.
    i was able to get a good idea from what maxxxo's was doing.
    but yeah- tough to learn from them if they dont work in the
    preview. i only have 3dfa to work with so-
    thanx much
    leb

  14. #14
    Member
    Join Date
    Feb 2005
    Posts
    62

    scroll

    Ok, but all this thread is for doing your own scroll. My buttons are typical from 3dfa, so now have to do some nice, good looking buttons, but how to add your own made scroll bar and make it works as normal from 3dfa??

  15. #15
    Senior Member
    Join Date
    Nov 2003
    Location
    Coimbra - Portugal
    Posts
    139
    Hi Maciek
    The following words is not because of you.
    We know 3dfa have not tutorials and support like other flash tools.
    But seems some people do not use samples from editor to learn something.
    Sometimes i have the idea i'm so stupid helping others.
    But i have done this only in cases when moderators not reply.
    I'm not an expert, but i have almost 3 years with 3dfa.
    Besides this i have puted on fly a lot of my code i'm converted to 3dfa, but it's not enough for others understand then the problem is not myself, but only a great lack of tutorials, support and bugs reports.
    Many people knows 3dfa editor have bugs, specially on preview. I know it for my experience.
    Most part of time i spend with a project, it's not developing code, but research how it work well in 3dfa, because we have not tutorials and support like other tools.
    In something new, we have allways to start from zero point in opposite to MX or Koolmoves, where we can start from some example and the unique thing we have to do it's inovate, only.
    Anyway, in future, i never reply to this forum posts.
    If someone needs something from me, please send me a personal message.
    Rui Paiva

  16. #16
    Senior Member
    Join Date
    May 2005
    Posts
    163
    My comment was not ment to be directed at anyone it was just an observation about the many times I have seen it mentioned about that you shouldn't use preview. I have used 3DFA for about 6-9 months now and there has not been anything I haven't been able to get to work within it (but I'm certainly no expert). Again, if anyone has felt offended I sincerely apologize.

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