# "\\n" and variables problem

**URL:** <https://forum.kirupa.com/t/n-and-variables-problem/160793>\
**Category:** Uncategorized\
**Created:** [August 29, 2005, 4:14pm UTC](https://forum.kirupa.com/t/n-and-variables-problem/160793 "2005-08-29T16:14:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Photogenius](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@Photogenius](https://forum.kirupa.com/u/Photogenius)\
**Post date:** [August 29, 2005, 4:14pm UTC](https://forum.kirupa.com/t/n-and-variables-problem/160793/1 "2005-08-29T16:14:11Z")

</div>

```auto
codevariable = "<object width=" + speechvariable + widthvariable + speechvariable + " height=" + speechvariable + heightvariable + speechvariable + ">
param name=" + speechvariable + "movie" + speechvariable + " value=" + speechvariable + filevariable + speechvariable + ">
embed src=" + speechvariable + pathvariable + speechvariable + " width=" speechvariable + widthvariable + speechvariable + " height=" + speechvariable + heightvariable + speechvariable + ">
</embed>
</object>";
stop();

```

yes its a lot, but why do I get a syntax error?  
by the way,  
codevariable is a dynamic text feild with the “var” set to "code variable  
speechvariable is a dynamic text feild with a speech mark as the text and the “var” speechvariable  
widthvariable is an input text feild with the “var” width variable  
and so on. so why doesn’t it work?  
I’ll attatch the .fla

ps I am using flash mx 2004 pro
