|
|
|
#1 |
|
Junior Member
Join Date: Dec 2006
Posts: 3
|
Dynamic Text marquee/scroll?
Hello there!
I was wondering if any of you savi people could help me with a little problem I have..... I am making a Music player (By importing outside SWF's with the music imbedded). I have made it so that when I press a button it plays a track and using ACTIONS-Set dynamic text control, the appropriate title is shown in my "txt1 box" . Eg "Placebo-Infrared". That is all fine. But i would like this text to marquee (much like the motion script ticker tape). I tried this by accepting "yes" to the "Has html" contol in the txt1 propieties, and then putting "<marquee>placebo-infrared</marquee>" this didnt work. I then tried putting in much more html code: "<body> <p> <marquee>placebo-infrared</marquee> </p> </body>" Still doesn´t work I´m no expert at HTML coding.. so I can´t really understand why it doesnt work. Do i have to use Javascript? Actionscricpt? or is my HTML coding just useless? Or is it actually possible...if it isn´t sorry for wasting your time!! ![]() Thanks glen |
|
|
|
|
|
#2 |
|
KoolMoves Moderator
Join Date: Jul 2001
Location: Atlanta GA
Posts: 4,912
|
HTML in flash is limited, this is not the way to go at it.
You could script it in Actionscript. get the length of the string then use string slicing to take the part you want to see at that moment and show it in your textbox. I'll see if I can do an example. |
|
|
|
|
|
#3 |
|
KoolMoves Moderator
Join Date: Jul 2001
Location: Atlanta GA
Posts: 4,912
|
turned out a little more complicated then I thought but here goes.
put a text field named txt1 on the stage and try this
|
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Dec 2006
Posts: 3
|
Wow thats great! Thank you ever so much !!
![]() Just one more question...Is there a way to change the speed? Don't worry if there isn't you've been a great help Mr Blanius ![]() glen |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Dec 2006
Posts: 3
|
Oh don't worry i've found out how to do it!!!!
sorry!! Thank you very very much!! glen |
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|