---
title: "SWF Object nimmt flashVars nicht"
url: "https://www.typo3.net/d/95791-swf-object-nimmt-flashvars-nicht"
source: "typo3.net"
tags: ["Extensions","Frage"]
created: "2010-01-13"
last_reply: "2010-01-18"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# SWF Object nimmt flashVars nicht

Extensions · 1 Antwort · gestartet 2010-01-13

## Eröffnungsbeitrag

**pow** · 2010-01-13 · [Beitrag #1](https://www.typo3.net/d/95791-swf-object-nimmt-flashvars-nicht/1)

Hallo,

ich habe von der alten auf die neue Extension upgedatet (yejj_swfobject).
Nun habe ich mein TS umgeschrieben:

```typoscript
lib.header < plugin.tx_yejjswfobject_pi1
lib.header {
            flashMovieUid = 2
            ts_content {
                        flashParams (
                                   wmode|transparent
                        )
                        flashVars (
                                   xmlFile = TEXT
                                   xmlFile.value = flashpage/content.xml
                        )
            }
}
```

Und alles funktioniert bis auf die FlashVars, die werden überhaupt nicht mehr ausgegeben:

```html
<object id="yejjFlashContent_492a3159ea" height="300" width="1000" type="application/x-shockwave-flash" data="uploads/tx_yejjswfobject/demo.swf">
 <param name="base" value="http://www.domain.com /" />
 <param name="wmode" value="transparent" />
</object>
```

Und dieses TS-Beispiel ist 1:1 aus dem Manual heraus.
Was mach ich falsch?

Danke

## Antworten

### [#2](https://www.typo3.net/d/95791-swf-object-nimmt-flashvars-nicht/2) · pow · 2010-01-18

Lösung (Danke an Violeng Mam, Entwickler):

Mit geschweiften Klammern funktioniert es:

```typoscript
flashVars {
   xmlFile = TEXT
   xmlFile.value = fileadmin/test.xml
}
```

Grüße

---

Quelle: „SWF Object nimmt flashVars nicht“, typo3.net, https://www.typo3.net/d/95791-swf-object-nimmt-flashvars-nicht
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
