Using java in <mx:htmltext>

Im my html webpage I’m using this code

<div id="example"></div>
      <script type="text/javascript">
            width: 640, 
            height: 400
                {config: {   
            autoPlay: false,
                        loop: false,
            autoBuffering: true,
            initialScale: 'scale',
            videoFile: 'filmpjes/candlelight.flv'

No, i’m transferring my html site to flash…

and I wonder if i could still get this effect trough htmltext. or does it has to be done in another way