Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: <FLASH> problems rendering special characters
From: Paul Willoughby
Date: Mon, 11 Dec 2000 11:06:00 GMT

Hi Cornelius,

Are you sure the problem is not with the font you're using? Does it
contain all the special characters you need?
I tried the script below with the device fonts and common things like
Arial and Tahoma and all the special characters appear as they should.
'mcTextMaster' is a movie clip containing a text field called 'myText'.
It worked whether I included font outlines or not:

Set Variable: "theText" = "���"
Set Variable: "nDuplicates" = length(theText)
Loop While (i < nDuplicates)
Set Variable: "i" = i+1
Duplicate Movie Clip ("/mcTextMaster", "mcText" & i, i)
Set Variable: "/mcText" & i & ":myText" = Substring(theText, i,1)
Set Property ("/mcText" & i, X Position) = i * 100 //just to space
the fields so I could see the result
End Loop

Is this similar to what you are trying to do? Maybe, if it's not the
font and you're getting an empty text field there might be a problem
with the path to the target text field? As far as I could tell Flash 4
renders these special characters fine. Maybe that's not the answer you
wanted, but at least if you know it's posiible you can still plan to go
climbing ;-)

paul

PS email me off list if you want a FLA with this code in



cjaeger wrote on 11 December 2000:
I simply putting
> the text in a
> variable. The variable is then plucked apart using the
> Substring command one
> by one. Each individual character is then placed in a duplicated mc
> containing a single field one character long. I tried to url
> encode my text
> variables eg. 'die sch�nsten B�der' (I hope the Umlauts made
> it to you)
> the text mc then duplicates the animation mc and places the
> character 'd' in
> the first duplicate, then i in the next duplicate and so on.
> I changed the script so when it hit a '%' sign it would take
> the next three
> characters as one viz. 'sch�nsten' written as 'sch%d6nsten'
> the text_mc
> would grab '%d6' in one chunk and render it. Alas, the result
> is an empty
> text field.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: <FLASH> problems rendering sp, cjaeger

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]