Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-25-2004, 07:35 AM
Senior Member
 
Join Date: Feb 2003
Posts: 212
Default stringstream problem

I've experienced a problem with the stringstream object. In my application, the text of a txt-file is read by a filestream object and transfered to flash.
Everything worked fine until I burned the project to a cd.
Suddenly the vars aren't transfered anymore..
Does the filestream object work not work with locked files?


Reply With Quote
  #2 (permalink)  
Old 05-25-2004, 08:12 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:stringstream problem

Sorry to hear that.

A file on CD is read-only. You should open a read-only file like this
Code:
new Filestream("test.txt", "r");
The default mode is "r+", which means both reading and writing, doesn't work for a read-only file.
Reply With Quote
  #3 (permalink)  
Old 05-25-2004, 08:19 AM
Senior Member
 
Join Date: Feb 2003
Posts: 212
Default Re:stringstream problem

thanks for the quick reply
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 03:01 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.