hi. i have one error.
i write Adobe Air Application in Flex
var myhtml:HTML=new HTML();
myhtml.htmlText=someHTML;
myhtml.width=700;
myhtml.height=400;
myhtml.horizontalScrollPolicy=''off'';
myhtml.verticalScrollPolicy=''off'';
moviePanel.addChild(myhtml);
in ''someHTML'' is HTML code:
%26lt;object width=''550'' height=''400''%26gt;
%26lt;param name=''movie'' value=''somefilename.swf''%26gt;
%26lt;embed src=''somefilename.swf'' width=''550'' height=''400''%26gt;
%26lt;/embed%26gt;
%26lt;/object%26gt;
and
''somefilename.swf'' is playing video.
if i am write moviePanel.removeAllChildren(); video is hide but this still playing. i hear sound. How can I stop video ??
many thanks
stop videoHi,
Try setting myhtml.htmlText = '''' before doing the removeAllChildren.
No comments:
Post a Comment