| Hello Worlds
Sample
(Flash MX/5; PDF)
Hello
World from a Flash .swf Template
Turbine
7 can use any Flash .swf movie as a template to integrate dynamic content.
On this example a Turbine variable is substituted on the helloworld1.swf
movie, with the actual name you type on the form below (a new window
will open):
Hello
World from Turbine MML
Turbine
7 can also use a new XML-like Turbine Media Markup Language - an easy-to-use
powerful way of creating rich media content. To display the text equivalent
to the previous example, the following MML is used:
<Text
face="Verdana"
size="40" style="bold,italic"
pos="120,100">
Hello
{&name}!<br/>
Welcome
to <br/>
ASP
Turbine 7...
</Text>
|
|
Hello
World from ASP.NET Script
Even
more useful is the ability to create media elements directly from
an ASP script. Turbine 7 can do this with the Turbine.Create scripting
command, which uses the Turbine MML language:
| ...
Turbine.Create("<Text
face='Verdana' size='40'
style='bold,italic' pos='120,100'>Hello
{&name}!<br/>Welcome
to <br/>ASP Turbine
7...
</Text>")
...
|
|
|