Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: numerals to string
From: Paul Watson
Date: Mon, 29 Nov 1999 09:50:12 GMT

Ok this isn't a full solution to your problem but there is one thing you
should look out for when loading text files and it may just help you
out.

I found out, thanks to John Croteau, that you must create your text file
and NOT use any line breaks at the end of a variable value. If you do
use line breaks the value 2 will be treated as a string and have a space
after it which is highly annoying when your using that number as a
counter limit. So if you open your text file in notepad( or any text
editor ) and at the end of each variable hit enter to make the text file
more readable you'll also be messing up what Flash will think its
reading in.

enjoy

Paul Watson

Radio Retail
Cape Town
South Africa

Love is a belief, I am a believer and a sinner...

Tel(w) :+27 21 982 2227
Tel(cell) : +27 83 475 4729
Fax :+27 21 982 2225
Email : InfoatRadioRetail [dot] co [dot] za
Visit www.RadioRetail.co.za for more information

-----Original Message-----
From: Tewesathbg [dot] dpa [dot] de [Tewesathbg [dot] dpa [dot] de (mailto:Tewesathbg [dot] dpa [dot] de)]
Sent: Monday, November 29, 1999 11:28 AM
To: flasheratchinwag [dot] com
Subject: FLASH: numerals to string

Hi folks,
this is my problem:

I´m creating a weather map. I receive the data for this from the
national
weather agency and the file looks like this:

Hamburg 13 2 10 where 2 describes the weather-conditions (sunny,
rain
etc.).

Everething works fine. I imported the file and use the variables as
target-names for TT-commands. My problem is the "2".

I have a MC withe 10 weather-symbols. I labeled them 1-10. But Flash
won´t
accept something like this:

Begin Tell Target ("/hh_cond")
Go to and Stop (/:hh_cond_go) (where "hh_cond_go" is 2. )
End Tell Target

So, how can I convert the numeral 2 into a string? I tried to combine
the
numeral with a string, as described in the manual, but it doesn´t work.

Any idea??

Kalle


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]