Flash Games

 FAQ   Search   Members   Groups   Register  User Control Panel      Login 

Your time now:
Mon Nov 23, 2009 2:27 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ]  Bookmark and Share
Author Message
 Post subject: parsing and formatting external txt
PostPosted: Tue May 01, 2007 12:55 am 
Offline

Joined: Sat Apr 21, 2007 12:03 am
Posts: 31
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group - Flash Games - TNX Invitation Code - TNX Review


Webmaster - Excruciating - Johnathan - Kotik - Ash - Tomi - rangana - Phate - dflynn - Medley