OK, this is doing my head in.
I've revisited a flash project this week that reads in text from external text files using (for example):
PHP Code:
_root.loadVariables("past1.txt");
In past1.txt the contents are:
PHP Code:
pasttext1=Advantage West Midlands
Atlas Stone
British Waterways
De Marsillac Plunkett Inc
Groundwork Ashfield and Mansfield
Hunter Page Planning Ltd
Marston Hotels
Robert Hitchins
On output it double spaces the list as if there's two <br>'s in between each line like this:
Quote:
Advantage West Midlands
Atlas Stone
British Waterways
De Marsillac Plunkett Inc
Groundwork Ashfield and Mansfield
Hunter Page Planning Ltd
Marston Hotels
Robert Hitchins
|
but I want it like this:
Quote:
Advantage West Midlands
Atlas Stone
British Waterways
De Marsillac Plunkett Inc
Groundwork Ashfield and Mansfield
Hunter Page Planning Ltd
Marston Hotels
Robert Hitchins
|
I've tried it with HTML turned on and off, with <br> and/or <p> tags in and it still does this silly double spacing thing.
I've tried saving it in utf-8 format.
Can anyone explain why it's doing this please?? I'd really like to be able to just do it like an html page and turn the html on, but it has the same result.