|
|
 |
Re: FN-FORUM Flash HTML Formating... Again!
date posted 25th June 2003 15:56
Sorry, I'm doing it again! As Crid mentioned earlier the Dynamic text
formatting is frustrating to say the least and needs improving the
next release of Flash.
If anybody is interested, the solution was had by calling the function
once at the begining and then applying the formatting to the buttons
themselves thereafter:
on (press) {
textFormat.size = 11;
textFormat.align = "right";
textFormat.font = "Verdana";
myText.htmlText = txt = myData.test;
myText.setTextFormat(textFormat);
} ...... for example.
Cheers
Kai
> It works once BUT if you click again OR try to import a different
> variable into the txt field later in the movie using the same
function
> the defined 'textFormat' properties are removed.
>
> Is there a work around or a different method that can be used?
>
> TIA
> Kai
> --
>
>
> ==========
> Graduate & Professional Financial Services - Specialists in
MORTGAGES for
> FREELANCERS. House purchase, re-mortgage (including debt
consolidation and
> capital raising), Buy to Let, flexible offset and current account
mortgages.
> Visit our website at http://www.gradprof.co.uk?fnet
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|