FlashVars alternative?

I’ve for a flash file in which I’m sending in a string of text using FlashVars. The text is actually build generated from a mssql database with asp.

My problem is that if the text in the database goes onto a second line the swf never gets published because the javascript insert is broken. Is there a better way to send in a large string of text into flash? I’m using AS3 in the flash? If anyone could point me in the right direction it’d be a great help.

<script language="javascript" type="text/javascript">
                if (AC_FL_RunContent == 0) {
                    alert("This page requires AC_RunActiveContent.js.");
                } else {
                        'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
                        'width', '756',
                        'height', '394',
                        'src', '/_media/flash/flashContent',
                        'quality', 'high',
                        'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
                        'align', 'middle',
                        'play', 'true',
                        'loop', 'true',
                        'scale', 'showall',
                        'wmode', 'window',
                        'devicefont', 'false',
                        'id', 'fill',
                        'bgcolor', '#ffffff',
                        'name', 'flashContent',
                        'menu', 'true',
                        'allowFullScreen', 'false',
                        'movie', '/_media/flash/flashContent',
                        'salign', ''
                        ); //end AC code