# File I/O Extension

Flash movies are traditionally forbidden from accessing the filesystem, but this may be necessary for some embedded applications. Especially in the case of a user console, currently there is no way to get input into a Flash movie but through a TextField.

fopen

  Open the file.

fread

  Read a series of bytes from the opened file.

fgetc

  Read a single byte from the opened file.

fgets

  Read a single line until a Carriage Return from the opened file.

gets

  Read a single line from the standard in.

getchar

  Read a single character from the standard in.

fwrite

fputc

  Write a single character to the opened file.

fputs

  Write a single line to the opened file.

puts

  Write a single line to standard out..

putchar

  Write a single character to standard out..

fflush

  Flush the current opened file to disk.

fseek

  Seek to a location within the opened file.

ftell

  Report the current position within the opened file.

fclose

  Close the opened file.