Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

old do me a favor..

Status
Not open for further replies.

coldfused

Technical User
Jan 27, 2001
2,442
US
goto in the work stories section, and see where i added the scrolling text..tell me why the text puts a space in-between it like it does..in the .txt files there are no breaks in the txt..what do i need to do to the txt or the file for that matter to make it not break in-between every other sentence?
e.gif


carlsatterwhite@endangeredgraphics.com
 
Don't really know dude! I'm no textbox expert! Have you tried, only for testing purposes, to enlarge the box, to see if the breaks would still happen in the same place? And did you try making deliberate breaks in your text file, where it does now break?

Best I can do for now! I'm waited!

;-)ldnewbie
 
yeh i tried everything..darn thing still breaks..

e.gif


carlsatterwhite@endangeredgraphics.com
 
Can you just send me your workstories.fla + the first text file. Will have a look at it sometime tomorrow.
Will share the other .fla when I get the tweening workin'.
Catch you later!

;-)ldnewbie
 
Believe it or not, flash will count RETURN key strokes as what would otherwise be <p> tags in a dynamic text box. Easy in one sense, but hard when you're trying to play by the &quot;rules.&quot; Try variations on <p> and <br> tags to get the breaks you want (though I'd rather just use RETURN myself).

I just grabbed your .txt file from my cache and put it into flash, and make sure that your text box is the following: Multiline (it is) and HTML (I think it is, too). Now, the only way I think your text is fu(k1ng up in your flash is you might have some formatting in the text box itself. Bear in mind you dont need any actual text in the box to have it still be on the page. Also, your variable call is strange to me, so I just changed it to:

Story1= blahblahblah....

and that loads it into the text box on an action script call. I think your problem lies in your flash movie and not the text file itself (it worked for me!)

Blended
 
man i don't know what it is..i checked everything..all boxes are checked..no formatting in the text box..

is making me angry..

hey blended do me a favor and post me a fla where you added the scroll..so i can compare to mine and make sure everything is the same..
e.gif


carlsatterwhite@endangeredgraphics.com
 
Uh...I already deleted it from my computer cause I was just testing the text coding. Give me a day. Also, make sure you set a global action to buttons to reset the scroll to 0 so that you don't click on a new story and are stuck at the end and have to scroll back to the beginning. Why don't you send me your .fla? how big is it? Just send me what you need fixed.

Blended

jonathan@groove-on.com
 
here blended have a look man..i give up..tried everything..i guess hell it's my first ever scroll so i could be doing something wrong..well obviously something is wrong..

let me know what ya find..thanks
e.gif


carlsatterwhite@endangeredgraphics.com
 
Hey Carl!
Just did what Blended did... Pulled up the text1.txt file from my cache, and opened it up in Notepad. There are returns in there! And they correspond to the breaks you get in your movie. If you just make your text file one single long line without any returns, it works fine, no breaks.
I guess, the other way around this would be to trap (in the textbox actionscript) the return characters and eliminates them. They would then not print in your textbox!

;-)ldnewbie
 
cool man thank you..i didn't know it all had to be one line..it's been driving me crazy for two days and it's that easy...@%@%#^^#^%#^#^#%%#^#^#^%#^*&%*^(&)&(^*^#^%.....


you know what i'm saying..

thanks bro!!
e.gif


carlsatterwhite@endangeredgraphics.com
 
As I said, works as one single line! Doesn't mean it wouldn't work the other way I discribed, if not only for the sake of clarity when typing up each one of your text files. Much more clear and easier to read when you include returns!

;-)ldnewbie
 
yep thanks man..off to bed now work at 6 am and i'm beat..see ya tomorrow..let me know about my last question in your mail if ya want me to deal with that i will..


see ya..
e.gif


carlsatterwhite@endangeredgraphics.com
 
By the way, I couldn't figure out why it would take 25 seconds for that stuff to load. You've got to keep your jpeg files down, man! I deleted from the library and you when down to 3.3 seconds for download time!

Blended
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top