CSS in FLASH

Discussion in 'CSS' started by Ticcaso, Jul 2, 2007.

  1. #1
    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
     
    Ticcaso, Jul 2, 2007 IP