A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: importing text from a MB to use in flash (ubb 6.4)

  1. #1
    damn, im smooth drkknght's Avatar
    Join Date
    Feb 2001
    Posts
    159

    importing text from a MB to use in flash (ubb 6.4)

    (i posted this in the flash MX forum a few days ago, but figured id try here)

    hi!

    the new ultimate bulletin board from infopop (6.4) allows for these things called "content islands" -- which allows you to add a line or two of code to an area of your site, separate from the message boards, in order to pull information from yer MBs and display it.

    you can choose to automatically produce this code in javascript html, an include file html, or rss syndication files (xml)

    i think flash mx can read xml (right?) so im assuming thats the option to choose.

    just incase, first, here's a sample javascript line:

    Code:
    script type="text/javascript" language="JavaScript1.3" src="http://boards.somewhere.com/ContentIslands/1/html.js"
    to use the RSS 1.0 format, you must point an RSS agent at the following URL:

    Code:
    http://boards.signhereonline.net/ContentIslands/1/rss10.xml
    (if you have to use rss 0.92, you change the above to "/1/rss092.xml")

    so....

    what do i do with that information?

    create a flash movie with a dynamic text box? ... then where do i apply the code?
    i'm not new to action scripting. i'm just bad at it.

  2. #2
    damn, im smooth drkknght's Avatar
    Join Date
    Feb 2001
    Posts
    159
    bumpin for the weekend crowd
    i'm not new to action scripting. i'm just bad at it.

  3. #3
    general rule bender Gloomycus's Avatar
    Join Date
    Nov 2000
    Location
    ontario canada
    Posts
    1,538
    i don't know the format for rss xml documents, so here's just a general idea of how to get started. this will take in the xml to the flash document and do stuff with it

    rssFeed = new XML();
    rssFeed.ignoreWhite = true;
    rssFeed.load ("http://boards.signhereonline.net/ContentIslands/1/rss10.xml");
    rssFeed.onload = parseRssFeed();
    function parseRssFeed () {
    // all that xml stuff here
    }

  4. #4
    damn, im smooth drkknght's Avatar
    Join Date
    Feb 2001
    Posts
    159
    heya gloomy -- thanks for the response!

    im not really sure how to do this...

    i placed the actions you listed in frame one of my movie, and created a dynamic text box in a different layer (hoping, i guess, that the box would "catch" the dynamically extracted text)

    no luck.

    whats the proper way to go about doing this?

    the message board already automatically (and dynamically) creates the file with the text in it... what do i do on the flash end to catch it?

    i've done similar flash movies that pull in outside text files, but... this stuff confuses the heck outta me.

    is workin with the javascript or an include or something easier? (cuz the message board program will create those, as well)
    i'm not new to action scripting. i'm just bad at it.

  5. #5
    Registered User
    Join Date
    Feb 2001
    Posts
    13,039
    Hi,

    there is a rss reader at www.flash-db.com

    Musicman

  6. #6
    damn, im smooth drkknght's Avatar
    Join Date
    Feb 2001
    Posts
    159
    heya musicman...

    thanks for the link!

    i checked out the site, even downloaded the stuff.

    im probably missing something, but does that really help me here?

    i was just sorta hoping it'd be easier to import it directly thru my flash movie. the message board automatically produces the file. it doesnt HAVE to be RSS -- it could be a javascript or an include, too.

    im just looking for the easiest possible way to take the message board information and import it, dynamically, into my flash movie. i assumed RSS was the easiest, but its (more than) possible im wrong!

    i've worked with importing data from a txt file before, and that was relatively simple (just creating a dynamic text window and calling the txt file thru various scripts)

    is there any easy way like that for this?
    i'm not new to action scripting. i'm just bad at it.

  7. #7
    damn, im smooth drkknght's Avatar
    Join Date
    Feb 2001
    Posts
    159
    *cough*bump*cough*
    i'm not new to action scripting. i'm just bad at it.

  8. #8
    damn, im smooth drkknght's Avatar
    Join Date
    Feb 2001
    Posts
    159
    i'm not new to action scripting. i'm just bad at it.

  9. #9
    damn, im smooth drkknght's Avatar
    Join Date
    Feb 2001
    Posts
    159
    man, tough crowd
    i'm not new to action scripting. i'm just bad at it.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center