Advanced Search

Results 1 to 3 of 3

Thread: Flash with CSS

  1. #1
    Join Date
    Jun 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Flash with CSS

    Hi

    I used this script in flash
    extranal text file is run but css is not working
    plz help me

    myData = new LoadVars();
    myData.onLoad = function() {
    myHeadline_txt.htmlText = this.content;
    myText_txt.htmlText = this.content;
    loadtextStyle = new TextField.StyleSheet();
    myText_txt.setStyle("backgroundColor","0x8F908E");
    loadtextStyle.load("css.css");



    };

    myData.load("example1.txt");
    stop();

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,486
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    my_txt.html = true;
    my_txt.htmlText = exampleText;

    Try that.
    {CWoT - Riddle } {OSTU - Psycho} {Invasion - Team}
    Follow Me on Twitter: @Negative_Chaos
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Jun 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •