Page 1 of 1
scrolling text banner & command
Posted: Sat Jul 19, 2014 4:10 am
by Jellobus
Hi,
I tested scrolling text banner (check the link). It seems that no other commands is working until text moving is done.
Can it be possible doing other command while text is moving?
http://lessons.runrev.com/m/2592/l/1257 ... ext-banner
Cheers,
Louis
Re: scrolling text banner & command
Posted: Sat Jul 19, 2014 5:48 am
by Simon
Hi Louis,
Try this;
Code: Select all
wait 6 ticks with messages ## 1/10th of a second
Simon
Re: scrolling text banner & command
Posted: Sat Jul 19, 2014 5:58 am
by Jellobus
Hi Simon,
I tried it but that is not exactly I wanted..The text stops when I send other commands.. is it possible to make text move without stops while execution of other commands?
Cheers,
Louis
Re: scrolling text banner & command
Posted: Sat Jul 19, 2014 6:10 am
by Simon
How about this;
Code: Select all
on mouseUp
put "It is a truth universally acknowledged, that a single man in possession of a good fortune..." into me
if me <> empty then
send deleteText to me in 6
end if
end mouseUp
on deleteText
delete first character of me
end deleteText
Better?
Simon
Re: scrolling text banner & command
Posted: Sat Jul 19, 2014 6:45 am
by Jellobus
Hi Simon,
There are one banner field and one button "move".
If you click button "move" while banner field is working, button waits until banner field finishes command. I like to make the move button "move" regardless of working of the banner field.
Thanks!
Louis
Re: scrolling text banner & command
Posted: Sat Jul 19, 2014 6:58 am
by Simon
Hi Louis,
I think you should post your stack so I don't have to guess at what you are trying to do.
Simon
Re: scrolling text banner & command
Posted: Sat Jul 19, 2014 7:14 am
by Jellobus
Hi Simon,
This forum doesn't allow me attach the stack. it says "The extention livecode is not allowed"
I was thinking too complicated. I think I can achieve effect I wanted with your first suggestion. Thanks a lot!
Cheers,
Louis
Re: scrolling text banner & command
Posted: Sat Jul 19, 2014 12:41 pm
by Simon
Hi Louis,
Glad you got it working.
For the future, you have to zip your .livecode to post it here.
Simon
Re: scrolling text banner & command
Posted: Tue Apr 26, 2016 7:22 pm
by mrcoollion
Here is a scrolling banner example stack (build in livecode 8 ) for anyone who is interested.
I am scrolling text in the title widget.
Have fun with it

.
Greetings,
Paul
Re: scrolling text banner & command
Posted: Fri Aug 04, 2017 9:29 am
by mrcoollion
Found an alternative (easy?) way to make a ticker tape by using a browser widget and some html code.
This also opens many other ways to show text (left right up down ect....) as long as it is possible in html.
See attached example stack. (PS. I develop on windows 10 so check the code if you are not on windows)
Here are sites you can get the html code from. There are many more if you search the internet
https://www.quackit.com/html/html_gener ... erator.cfm
https://www.w3schools.com/howto/howto_css_loader.asp
Advantages:
- Nonblocking meaning it does not intervene with anything the user does in the stack or card. It just keeps running without noticeable effect on the User Interface.
- You can use HTML formatting to make the text look special.
- Made a busy spinner with it...
- Disadvantagec (as I see it):
- Takes more space than a regulair livecode field.
- Need to generate a local file as an URL for the browser.
Have fun with experimenting....
regards,
Paul
Re: scrolling text banner & command
Posted: Fri Aug 04, 2017 10:37 am
by Klaus
Hi Paul,
do you know the menaing of the word "necrophily"?
Groetjes
Klaus
Re: scrolling text banner & command
Posted: Fri Aug 04, 2017 11:13 am
by mrcoollion
Niet echt...
But for the purposes i mentioned it is an interesting alternative solution.
Re: scrolling text banner & command
Posted: Fri Aug 04, 2017 11:38 am
by Klaus