Old 11-02-2007, 21:21   #1 (permalink)
2Dfruit
Biscuit
 
2Dfruit's Avatar
 
Join Date: Jun 2006
Location: Ireland
Posts: 863
Dynamic Text

I'm looking to create a text only flash banner that pulls the text from an external file using actionscript. The text has to move and animate. The animation i can handle, but i don't have a clue when it comes to actionscript.

Can anyone give a link or some tips? thanks.
  Reply With Quote
Old 11-02-2007, 21:30   #2 (permalink)
Intrinzik.v2
NeverFuckWithoutaRubber
 
Intrinzik.v2's Avatar
 
Join Date: Nov 2006
Location: Monticello In
Posts: 259
Send a message via AIM to Intrinzik.v2 Send a message via MSN to Intrinzik.v2 Send a message via Yahoo to Intrinzik.v2 Send a message via Skype™ to Intrinzik.v2
might not be exactly what your looking for (I have no idea when it comes to flash) but try this http://www.azroc.co.uk/flash/flash_t..._component.htm
  Reply With Quote
Old 12-02-2007, 10:00   #3 (permalink)
2Dfruit
Biscuit
 
2Dfruit's Avatar
 
Join Date: Jun 2006
Location: Ireland
Posts: 863
no, that's not what i'm after but thanks anyway.

All im doing is animating a piece of text..ie: twisting it and fading it.

What i want to do is change this text from a .txt file so that the banner can be changed by someone without flash.
  Reply With Quote
Old 12-02-2007, 13:49   #4 (permalink)
digitaloctane
Registered User
 
digitaloctane's Avatar
 
Join Date: Feb 2007
Location: Rhode Island
Posts: 24
This is copied directly from flash help.

this line: features_lv.load("safetyfeatures.txt"); Thats where you would reference your .txt file.

and: newFeatures_txt is the instance name of your dynamic text field.

Code:
// Load text as variable and assign it to the // dynamic text field var features_lv:LoadVars = new LoadVars(); features_lv.onLoad = onText; features_lv.load("safetyfeatures.txt"); function onText(success:Boolean) { if (success) { newFeatures_txt.text = features_lv.safetyfeatures; } else { newFeatures_txt.text = "unable to load text file."; } }
  Reply With Quote
Old 13-02-2007, 05:09   #5 (permalink)
JiRaffe
Ur mother's ur brother?
 
JiRaffe's Avatar
 
Join Date: Jun 2003
Location: Liverpool
Posts: 914
this would be best done in xml. check out the xml object is the flash help files.
__________________
::: TC Magazine :::
  Reply With Quote
Old 13-02-2007, 08:00   #6 (permalink)
digitaloctane
Registered User
 
digitaloctane's Avatar
 
Join Date: Feb 2007
Location: Rhode Island
Posts: 24
Quote:
Originally Posted by JiRaffe
this would be best done in xml. check out the xml object is the flash help files.


Agreed. XML is the best option
  Reply With Quote
Old 13-02-2007, 11:03   #7 (permalink)
2Dfruit
Biscuit
 
2Dfruit's Avatar
 
Join Date: Jun 2006
Location: Ireland
Posts: 863
thank you
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8