hey all my problem is that i want to do a flash-only page and i cant seem to put images (in a table) or any kind of table in it if someone can help me i would apreciate it my flash action: "stop(); var myStyle:TextField.StyleSheet = new TextField.StyleSheet(); myStyle.load("zack.css"); content_txt.styleSheet = myStyle; content_txt.multiline= true; content_txt.wordWrap = true; content_txt.html = true; var story:XML = new XML(); story.ignoreWhite = true; story.load("rewards.html"); story.onLoad = function () { content_txt.htmlText = story; } " zack.css headline { font-family: Arial,Helvetica,sans-serif; font-size: 16px; font-weight: bold; display: block; } subheadline { font-family: Arial,Helvetica,sans-serif; font-size: 13px; font-weight: bold; display: block; } mainBody { font-family: Arial,Helvetica,sans-serif; font-size: 10px; display: block; } biline { font-family: Arial,Helvetica,sans-serif; font-size: 11px; font-style: italic; display: inline; } A { font-family: Arial,Helvetica,sans-serif; color:cccccc; font-size: 10px; display: inline; text-decoration:underline; } p.s. text works
I am not sure I am following 100% what you are doing here, but I will point out that you have to remember that Flash's HTML support for certain components is not complete. You should check with the flash Live Docs on the Adobe site to see if embedding of an image for this particular control (content_text) is supported. Beyond that, I am a bit confused that you are loading html ("rewards.html" into an XML object and then assigning that XML object to your content object (presumably a text type that you have placed on the Flash stage). I am not sure if this is useful, but maybe it will give you some directions to look. Good luck.
well i am a wannabe and yes it is a text type rewards.html " <body> <pre class="style1"><span class="style2">Freken testing still testing done.... nah i'm messin with yah still testing </pre> <div align="center"> <pre class="style1"> <font color="#FF0000"><strong>will this freken work this time?</strong></font></pre> </div> </body> " now what i asked was advice on how can i import images (and swf) from an external file