Link to home
Start Free TrialLog in
Avatar of sachinp78
sachinp78

asked on

Dynamic Text with Scrollbar using Flash and asp

Hi,
     I am developing a chat application using Flash and asp.
The code i have downloaded is from http://www.zymotik.com/flashchat/
I am facing problems in addnig scrollbars when the Messages increases.The application should have verticall scrollbar with when text added should scroll accordingly.
I tried to use Flash Mx Scrollbar component but it dodnt work....
Can anyone Great Coder/Designer Help me out?
Avatar of negatyve
negatyve

do you want to export it for flash 5 or flash 6 player?
Avatar of sachinp78

ASKER

For flash 6 player
Hi  negatyve,

                   That was pretty fast reply..thanks a lot for the files...But now the chat is not working.Can you please check it and let me know.I tried on 2-3 different servers but in vain
Can you help me pl

ok, try it now from the same link. Now it should work (modified chat.asp too): http://www.negatyve.com/EE/flashchat.zip
Hi negatyve,

                 Great it worked...... But still one problem......when messages are flooded for example if there are 20+ messages in the chatroom....The scrollbar should get automatically....scrolled up... I mean whatever the latest message is should come up......
And whenever user logins the user should get scrolled to the latest message.
               I am 100% sure that you can help me......
Please Help
ASKER CERTIFIED SOLUTION
Avatar of negatyve
negatyve

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

Your solution works ...Great
i will accept your solutions in few minutes...

But Still one problem. In the Scroll when the chat messages get added form the asp pages, we are not able to scroll up. If we try to go up it slides to the bottom.

thanks.
Hi,
I have accepted yuor solution

But Still one problem. In the Scroll when the chat messages get added form the asp pages, we are not able to scroll up. If we try to go up it slides to the bottom.

thanks.
You cannot avoid it. If you want the list line to be shown when a new message is coming, it has to check the server over a defined period of time, and then scroll to the bottom. This one is not a *very* good and scalable chat...
ok not a problem there is one more question for waiting for you

https://www.experts-exchange.com/questions/20793982/Edit-application-Variable.html

If you can answer


If not i will post a new Flash question also !!!!