Hi All,

I have a problem which I am trying to solve since days but unfortunately
without success  [:(] .

Here is the story: I have a TextArea component where I set the htmlText
property equal to a simple html with an <img> tag pointing to an
external swf file. The swf file is loaded in the TextArea but the
buttons of the loaded swf do not operate.

Any help would be realy apreciated!!!!!!

Here is the code example for the main application (htmlTextArea.mxml):

<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
layout="absolute">

<mx:Script>

<![CDATA[

private var htmlText:String = '<p>This is a sample text.<img id="w3"
align="left" src="test.swf" width="144" height="107"></p>'



]]>

</mx:Script>

<mx:TextArea x="10" y="10" width="771" height="439"
htmlText="{htmlText}"/>

</mx:Application>

And here is the code for the swf to be loaded inside the text area
(test.mxml):

<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
layout="absolute" width="683" height="417">

<mx:Button label="Button" top="0" left="0" bottom="0" right="0"/>

</mx:Application>

Reply via email to