| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Jun 2003
Posts: 4
|
How can I make flash take text from a text file?
eg. for a flash wabsite, instead of changing the flash file every single time I can change a .txt file. flash takes the text from the file to use in the site (Ie. news). any help for me? if so thanks. Ive checked cyan blues tut list but I dont think its there... If anyone has a link Id take that too. |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Oct 2003
Posts: 236
|
I think it is in the cyan threads, it's everywhere anyway. The best way is to use LoadVars or similarly loadVariables. Search for Load Vars or something similar in the "search" option. It should be easy enough to pick up.
|
|
|
|
|
|
|
|
|
#3 |
|
Banned by AS.org Staff
Join Date: Mar 2002
Posts: 10,534
|
It's all here, in the second half of this page...
http://www.macromedia.com/support/fl...ng_text_mx.htm |
|
|
|
|
|
#4 |
|
Registered User
|
for the Dynamic text:
select the text box and open the actions panel. in the VAR box at the bottom of the Actions panel, put in: textField create a new layer and add this to the actions loadVariablesNum("http://www.yoursite.com/yourtextfile.txt",0); replacing the obvious from the url line. in your textfile it has to start with this: textField=and whatever you want to say here. that's it. Flash has a tutorial built into MX. Just look for tutorials under the Help menu. Regards, Yubin |
|
|
|
|
|
#5 |
|
Registered User
Join Date: Jun 2003
Posts: 4
|
thanks for the help people! just shows how well these forums work!
|
|
|
|
|
|
#6 | |
|
Macromedia Mercenary
|
Quote:
![]() |
|
|
|
|
|
|
#7 |
|
Macromedia Mercenary
|
Also:
A lot of people just need to buy this book: http://images.amazon.com/images/P/05...1.LZZZZZZZ.jpg And memorize it, it'd answer 50% of the questions you'd have about AS. It's more than worth it's weight in gold. And it's cheaper than when I bought it! $38! ![]() |
|
|
|
|
|
#8 |
|
spend my time in blender
Join Date: Oct 2003
Location: tampa, fl
Posts: 1,139
|
Not to mention that the first edition is (at least was) freely available online, and I would believe, must be very helpful itself.
__________________
![]() Certified Flash MX 2004 Developer |
|
|
|
|
|
#9 | |
|
Macromedia Mercenary
|
Quote:
Damn, missed the gravy train that time...Speaking of books, anyone read Robert Penner's book? Is it worth the $30-some-odd bucks? |
|
|
|
|
|
|
#10 |
|
spend my time in blender
Join Date: Oct 2003
Location: tampa, fl
Posts: 1,139
|
yeah, I don't think it was publicized but I found it through google. I just double checked my bookmark, and it is still there. I would post it, but since the main part of the site is in italian, I don't know if it is posted for public use or internal. Anyone else know if it is supposed to be freely available? That would be a good link to post, if so.
Don't think I've read any of Penner's, but I can only imagine that if he wrote them, they've got some good info.
__________________
![]() Certified Flash MX 2004 Developer |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|