Flash Stuff

In: General

5 Nov 2005

i18n & Flash

system.useCodepage = true;

Unicode or the traditional code page of the operating system running the Player to interpret external text files. The default value of system.useCodepage is false .

Text that you include or load as an external file (using the #include command, the loadVariables or getURL actions, or the LoadVars or XML objects) must be encoded as Unicode when you save the text file, in order for the Flash Player 6 to recognize it as Unicode. To encode external files as Unicode, save the files in an application that supports Unicode, such as Notepad on Windows 2000.

You should save the external file in UTF-8, UTF-16BE, or UTF-16LE format, using an application that supports the format. If you are using UTF-16BE or UTF-16LE format, the file must begin with a byte order mark (BOM) to identify the encoding format to the Macromedia Flash Player 6.

Reverse Proxies

Pass the source of the file into flash…

if (_root.datasource == null || _root.datasource == "") {
	_root.datasource = "IndexFlashData.php";
cgi = _root.datasource;
this.onData = function() {

Flash and Action Replays

You can monitor the http request of a flash swf that uses loadvars; retrieve and manipulate the GET/POST request. In an instances of a small games, which revolves around highscores, it is relatively easy to manipulate the http request and inject your own scores. As such encrypting and decrypting the data that is transmitted to the server prevents, a very simple hack.

Monitor Http Headers with (LiveHttpHeaders)
Live Http Replay

  • Share/Bookmark

Comment Form

About this blog

I have been a developer for roughly 10 years and have worked with an extensive range of technologies. Whilst working for relatively small companies, I have worked with all aspects of the development life cycle, which has given me a broad and in-depth experience.