Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: loading text files
From: James Stone
Date: Tue, 18 Jul 2000 18:49:57 +0100

Hi Sohrab,

I have been doing a lot of this text file loading business lately, feel free to
check out a beta of what I am working on at http://pulse.towerrecords.com

To load text from an external file is pretty simple.

1) you must have a text field varible named. to do this make sure the text
field icon is selected (bottom of tool bar) and create a new text area. Then
right click (control click on macintosh) on the field, and name it whatever you
want (i.e. content)

2) you need to create a text file that has unix line breaks that is also url
encoded. i.e.

content=This+is+the+text+that+I+want+to+use.&

Make sure that you have the varible name first, followed by equals sign, then at
the end of the text make sure you have an ampersand.

3) you need to load the varible from action script. Create an action script on
a keyframe. Double click on frame, chose actions, and then do load varibles,
type the relative url to the text file from the flash animation (i.e. text.txt)

Hopefully that will point you in the right direction. Let me know what the url
is once you get it completed, I would love to check it out.

-James



On Mon, 17 Jul 2000, Sohrab Pirayesh wrote:

:+:.(sorry if this posts twice)
:+:.
:+:.hey everyone,
:+:.
:+:.I am trying to load a text file into a movie clip, and then tell target that
:+:.movie clip when a button is released.
:+:.
:+:.So i followed this tutorial,
:+:.http://www.virtual-fx.net/tutorials/html/loadtextfile.htm
:+:.
:+:.It works great until i put the 4 frames into the mc and tell target it.
:+:.Nothing shows up??
:+:.
:+:.Can anyone help me?
:+:.
:+:.-sohrab
:+:.
:+:.
:+:.flasher is generously supported by...
:+:.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:+:. flashforward2000 and the Flash(tm) Film Festival
:+:. July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
:+:. www.flashforward2000.com
:+:. Produced by United Digital Artists and lynda.com
:+:. Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
:+:. shockwave.com and Electric Rain.
:+:. 1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
:+:. Register before June 30 and save $200!!-- www.flashforward2000.com
:+:.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:+:.To unsubscribe or change your list settings go to
:+:.http://www.chinwag.com/flasher or email helpatchinwag [dot] com
:+:.
:+:.

James Stone, Pulse! Webmaster acenatspeakeasy [dot] org
........................................................................
2500 Del Monte Street jstoneattowerrecords [dot] com
West Sacramento, CA 95691 http://pulse.towerrecords.com
(916) 373-2450 - (916) 373-2480 FAX
........................................................................
"What I was looking for was an instrument that you couldn't tell what it
was. That means you have to listen to the tone without associating it
with your memories. That was the idea when we started..."
--Klaus Schulze


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: loading text files, Sohrab Pirayesh

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]