Actually, there is no direct way to pass data to Flash, but as you can access text-files (including XML) with Flash - you could simply create a text-file using "mpf:save"-token containing data to pass to Flash.
passing a string
{mpf:save=test.txt}
&usr={mpf:session/user/name}
{/mpf:save=test.txt}
<EMBED src="test.swf"></EMBED>
passing an XML-file
{mpf:save=test.xml}<?xml version="1.0"?>
<root>
<usr>{mpf:session/user/name}</usr>
</root>
{/mpf:save=test.xml}
<OBJECT ...>
<PARAM NAME="movie" VALUE="test.swf">
</OBJECT>
|