Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
WebCamXtra - Computer Vision & Camera Tracking
Set Display Properties
Closing the browser
Golden Gate
RearWindow Professional
[#Lingo: Programmer.com]
Pulling in Those Graphics
DMFade
Page turn
Dialog Xtra
 

 

 

Behavior Read Text from a file

Added on 6/8/1999

 

Compatibilities:
D6_5 D7 D8 Mac PC Script

This item has not yet been rated

Author: Macromedia (website)

Import text from a file. Requires File IO Xtra

on getTextFromFile whichFile
  global gTextOfFile  
  set myFile = new(xtra "fileio")  
  openFile(myFile, whichFile, 1)        
  set gTextOfFile = readFile(myFile)      
  closeFile(myFile)                    
  set myFile = 0
end

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail