Professional Web Applications Themes

news updates in flash - Macromedia Flash Sitedesign

I know there's a way to easily update content in flash from an external sources like a .txt file. I'm looking for a tutorial to do so... Basically though I would like to use something like NewsPro, Graymatter etc... to post news updates within a flash file for my website. does anyone know how to do this or where I can find a tutorial that helps me do so?...

  1. #1

    Default news updates in flash

    I know there's a way to easily update content in flash from an external sources like a .txt file. I'm looking for a tutorial to do so...

    Basically though I would like to use something like NewsPro, Graymatter etc...

    to post news updates within a flash file for my website.

    does anyone know how to do this or where I can find a tutorial that helps me do so?



    rgojit webforumsuser@macromedia.com Guest

  2. #2

    Default Re: news updates in flash

    What you're looking for is how to create a dynamic text box, which calls on
    an external .txt file.

    Do a search at [url]www.flashkit.com[/url] or in the Help section of Flash. Should be
    easy to find!

    Rob|e.9



    "rgojit" <webforumsusermacromedia.com> wrote in message
    news:bufpf0$d7t$1forums.macromedia.com...
    > I know there's a way to easily update content in flash from an external
    sources like a .txt file. I'm looking for a tutorial to do so...
    >
    > Basically though I would like to use something like NewsPro, Graymatter
    etc...
    >
    > to post news updates within a flash file for my website.
    >
    > does anyone know how to do this or where I can find a tutorial that helps
    me do so?
    >
    >

    Rob Solberg Guest

  3. #3

    Default Re: news updates in flash

    Create your text file using a simple editor like Notepad in Windows. Call
    it (for exampe) 'testing.txt' and save it in the same directory as your swf
    will be.
    It may look like this:

    &testing-text=This is a test of Dynamic Text loading from an outside file&

    Now create your Flash file. First, in the first frame, place some AS like
    this:

    loadVariablesNum("testing.txt", 0);

    This will load the txt file you saved ealier. Now create a dynamic text box
    and assign the variable as

    testing-text

    Publish your swf and make sure the TXT file is in the same directory that it
    plays from. Play your swf and you will see the text from you txt in the dyn
    text box. Now you can change just the txt file, not edit the Flash file and
    change the content. There are many things you can do with this, I use this
    method to change position of things on the stage even. As you text file
    gets bigger, you will have to learn how to test for it to be completely
    loaded before trying to load the variables, you will have blanks instead of
    content. Once you get the idea, the details come easy.

    HTH
    Regards,
    --Vern


    _posted.by\(Vern\); Guest

Similar Threads

  1. XML Flash News Stories
    By shawnryder in forum Macromedia Flash Data Integration
    Replies: 0
    Last Post: March 12th, 11:57 PM
  2. Flash Updates When XML Is Updated
    By kevinm9876 in forum Macromedia Flash Data Integration
    Replies: 1
    Last Post: January 9th, 01:17 AM
  3. Javascript news ticker + Flash = shaking Flash inFirefox?
    By Matt NTID in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: August 31st, 06:17 PM
  4. Flash and CFML or XML dynamic updates
    By JP0923 in forum Macromedia Flash Data Integration
    Replies: 0
    Last Post: February 23rd, 10:13 PM
  5. News Flash - FreeHand MX (version 11.0.1)
    By John J Nosal in forum Macromedia Freehand
    Replies: 31
    Last Post: September 13th, 07:06 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139