From PHP, even, you may create new variables for client application (SWiSH MAX).
QUICK TUTORIAL STARTS
Assume you have a Dynamic text object in SWiSH MAX movie named 'mydtextobject' and its variable name is set 'mydvar'.
Now when a specific PHP code file is loaded via loadVariables() function in SWiSH MAX, the PHP can response back to the specific variable 'mydvar' through
<? echo "&mydvar=I am php script, it is a response back"; ?>
or
<? print "&mydvar=I am php script, it is a response back"; ?>
For more details in this topic, please CLICK HERE
|
|
|