FileSystem.saveFileHEX() This page was last modified over 30 day(s) ago and has 2 comment(s)


Back to FileSystem Class Summary

Availability
Windows, Mac OSX, Linux

Usage
mdm.FileSystem.saveFileHEX(filePath:String, dataToSave:String):Void

Parameters
filePath:String - Path to where data will be saved

dataToSave:String - Data to save to a file in HEX format or a pipe delimited list of bytes(decimal).

Returns
Nothing

Description
Saves HEX data to the specified file.

Notes
None

Example Code
//Hex Data:
mdm.FileSystem.saveFileHEX("c:\\myText.txt", "FF0067EA349F");

//Pipe Delimited Decimal:
mdm.FileSystem.saveFileHEX("c:\\myText.txt", "255|0|103|234|52|159");

mdm.FileSystem Class Example Downloads
No Example Downloads Available


User Comment by flashsolutions on 7th July 2008 - 03:48
There appears to be a third parameter, a boolean required in order to compile correctly. Does anyone know what it does?

User Comment by dVyper on 16th September 2008 - 15:20
This is a small mistake with the SWC - it will be fixed soon: http://www.multidmedia.com/support/bugs/index.php?action=detail&id=379

Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page