It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Partner Sites
Board index Programming Flash Forum

parsing and formatting external txt

Moderator: Phate

parsing and formatting external txt

Postby siege on Tue May 01, 2007 12:55 am

I want to learn how to take my text strings and format them just as I currently do on an HTML page. Right now I use PHP to build an XHTML page that contains CSS tags which effect: links (hover), color (bkgd and foreground) and font. I would like to learn how to bring that into a flash textfield. Below is the code that currently gets produced from my PHP (at least a small sample of it). If someone had the patience to take it step by step with me that would be f'n great. I am very comfortable with AS 2.0. I assume the first step would be to import the PHP strings and load the CSS sheet but nim not quite sure where to go from there (below is not php although i used the tag - i like it colored better)....
[php]
<div class="linkSection">
<div class="linkHeader">Glossaries of Graphic Design, Printing, Typograpy, Cutting, Numbering, Binding, Embellishing...</div>
<div class="linkSectionDesc">
<p>Terms, standards, diagrams and goodies crucial to our fields explained in great detail.</p>
</div>
<div class="linkDesc">
<p><a class="linkName" href="http://home.vicnet.net.au/~typo/glossary/theme-m.htm" target="_blank">Melbourne Museum of Printing</a> - Printing and Typography Glossary that includes many finishing terms.</p>

<p><a class="linkName" href="http://www.printindustry.com/glossary.htm" target="_blank">Print Industry</a> - Glossary of Printing &amp; Graphic Terms - Important terms of the industry alphabetized.</p>
<p><a class="linkName" href="http://www.expertsinfinishing.com/folding.html" target="_blank">Finishing Experts Group</a> - Check out the great overview of folding basics.</p>

</div>
</div>[/php]
best
siege
siege
 
Posts: 31
Joined: Sat Apr 21, 2007 12:03 am

Who is online

Users browsing this forum: No registered users and 0 guests