Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-30-2004, 07:42 PM
Senior Member
 
Join Date: Feb 2003
Posts: 212
Default reading datafiles

I've been trying to save an array to a datafile file.
This works well: when I open it in notepad, all the vars are complete.
But when I load it back in Swfkit, there seems to be some text missing.
(the text after a carriage return)

this is an extract of the datafile

type=array
[Dag.0]
type=string
value=09.15||1|Godsdienst sint nicolaas|Sinterklaas en Sint-Nicolaas|TOV2, p645|Bronnenboek p 54, kopieerblad 55 en 56|deze doelen zitten ingebakken in de verschillende activiteiten|De leerlingen- beluisteren en reconstrueren enkele legendes rond Nicolaas
- benoemen en duiden de attributen van Sint Nicolaas als bisschop (mijter, staf, mantel, bisschopsring)
- verwoorden tegengestelde ervaringen die bij hen leven betreffende de sint
[Dag.1]
type=string
value=09.50||1|Taal stellen2|Zichzelf voorstellen|Taalsignaal Thema 1a Ieder is anders.|één pasfoto, cassette met de tekst Mr. Spikkelbie


And this is wat i get in the trace window when I trace the array
Code:
09.15||1|Godsdienst  sint nicolaas|Sinterklaas en Sint-Nicolaas|TOV2,  p645|Bronnenboek p 54, kopieerblad 55 en 56|deze doelen zitten ingebakken in de verschillende activiteiten|De leerlingen- beluisteren en reconstrueren enkele legendes rond Nicolaas,09.50||1|Taal stellen2|Zichzelf voorstellen|Taalsignaal Thema 1a   Ieder is anders.|één pasfoto, cassette met de tekst Mr. Spikkelbie
Is there a way to intercept and alter the carriage returns when reading or writing the datafile, or can I solve this another way?
Reply With Quote
  #2 (permalink)  
Old 05-02-2004, 07:51 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:reading datafiles

Please use the new release of SWFKit. Otherwise you need to call the "encodeURI" or "decodeURI" method.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:13 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.