flash mx2k4 urgent help please!
- Started
- Last post
- 11 Responses
- Mojo
Hi guys, If anyone can help i'll be extremely grateful.
Okay I'm using flashmx2004 and im trying to load text into a dynamic text field using LoadVariables();
It works of course, but it doesn't pickup carriage returns (enters, new lines)!
So If my textfile contains:
"
variablename=MATT HINDLEYblah blah blah
"
The textfield will show MATT HINDLEY, and not the empty line or blah blah blah.I have even experimented with the 'Render as HTML' option - but even the tags don't work.
Any help at all please! Deadline is tommorow.
All the design work is fine, This is the last thing of the site - I didn't anticipate running into this problem!
thanks guys
mojo (phil)
- lvl_130
this may sound dumb, but do you have the 'render as html' checked?
and then do you use after each line break?
or are you not wanting it to be htlm?
- Mojo0
I experimented with that option and the tags did nothing.
I using flashmx2004 professional.
(obviously I am not a professional)
I can't figure it out! Been here for hours! I only have until tommorow! wahh!
- Mojo0
Also I have tried saving the TXT in UTF-8, standard MSDOS, ASCII, argh... no difference :(
- lvl_130
fuck it cut my break tag...
blahblahbla < br >
blahblahblah < br >etc. does that work for you?
- Palindrome0
did u make sure your text field isnt set to single line?
- lvl_130
are you using weird special characters? cause that will break it at that point
- Mojo0
biography=BAND BIOS(br)(br)
MATT HINDLEY(br)it only picks up the first line of the text file.
so for it to pick up the next line it would have to be
biography=BAND BIOS(br)(br)MATT HINDLEY(br)
there's too much data to fit it on one line - and Ive tried it. Doesnt work :(
There must be a way of making flash load more than one line from the txt file! Its crazy!
- Palindrome0
yeah make sure you're not copying and pasting text it will add funky characters
- lvl_130
dude, do you have the dynamic text set to multiple lines??? that seems to be your problem
- Mojo0
FIXED IT!! HOOORAAAYYY!!!
Grr *shakes fist*, there was a wierd character everytime i pasted!
Thank you so much guys, I appreciate you all so much for even bothering to help!!! thhhanksks xxxx
if you were in a pub with me now id buy you all beers.. well maybe just one beer.. or a half pint .. ehem :P
- lvl_130
i try to help anyone i can here. that's what it's for : )
and then there are those annoying mac vs. pc repub. vs. demo religious vs. non...hehe