Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

1.3. Configuration

Like you have seen in the user manual, it's very easy to include a Flash movie into your webpage. No configuration is neccessary if you want to use the extension with the Insert Plugin content element.

However, you might also want to include a Flash movie directly by using TypoScript.

Example

...
plugin.tx_rlmpflashdetection_pi1 {
   conf {
      overrideUID = 1
      xmlfile = fileadmin/assets/xml/default.xml
   }
}  
...
subparts.lay-flashanimation < plugin.tx_rlmpflashdetection_pi1
...

Generally it works like this: By using the overrideUID parameter, you choose a Flash Movie record by stating the UID. It doesn't matter in which folder the Flash record is located, the scope is global. In our example we also define a XML file we want to pass over to the Flash movie, by using the xmlfile property.

Finally, we copy the plugin's output to a subpart of our template.

Reference

The following properties are accessable via plugin.general :

Property:

Data type:

Description:

Default:

allowScriptAccess

string

Defines, if flash is allowed to call javascript.

sameDomain

codeBase

string

The codeBase being inserted into the HTML source.

http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab

pluginsPage

string

The pluginsPage being inserted into the HTML source.

http://www.adobe.com/go/getflashplayer

xmlFileFlashParamName

string

When you provide an XML file, the path to that file will be passed to your Flash movie via the FlashVars parameter.

By setting xmlFileFlashParamName you may specify the name of the variable you will access from your Flash movie.

xurl

[tsref:plugin.rlmp_flashdetection.general]

The following properties are accessable via plugin.conf :

Property:

Data type:

Description:

Default:

overrideUID

integer

UID of the Flash Movie record you want to show.

xmlfile

string

Path and filename leading to the XML file you want to pass to the Flash movie.

Example:

plugin.conf.xmlfile=fileadmin/test.xml

[tsref:plugin.rlmp_flashdetection.conf]