Yes, it's possible. There's are a series of useful blog postings here
that describe the techniques that can be used:
http://blog.739saintlouis.com/index.php?tag=css
--- In flexcoders@yahoogroups.com, core_rico [EMAIL PROTECTED] wrote:
Is it possible to load TTF fonts at runtime? I do not
In Flex 2.0, when iterating through elements of an Array with for ...
in, or for each ... in, is the iteration guaranteed to occur in index
order?
It appears to be the case, but I can't find any authoritative
reference that says so explicitly.
Thanks, Philippe. I think you were responding to a thread I started
last week. Your example here is a useful one, but doesn't actually
address the problem I was posing. In your example, although the
embedded font is placed in a separate component, it is still compiled
into the main SWF. What
Thanks, but although the Darron Schall piece on embedding fonts in
RSL's is related to this topic, it doesn't address my issue here,
since the RSL's can't be selected at runtime (as far as I can tell).
I think the key here is the child and application SWF domains that
Roger Gonzalez hinted at
I'm looking for a mechanism to download embedded fonts dynamically,
i.e. at runtime, as the user selects them through the UI. I don't
want to simply embed all the fonts in my SWF, because they're too
large. And putting them into an RSL doesn't do what I want either,
because the entire RSL
Roger, thanks for the suggestions. Yes, I had found and been playing
with the embedded font list used by by the Flex UI controls; and I've
also been using the lower level TextField API's directly. So far, I've
had no luck at all in getting dynamically loaded fonts to be
recognized.
You said:
Tracy, thanks but that article doesn't seem to address my question. I
understand how to get a mouse position; the tricky part is, given a
mouse position, determining exactly which character in the text field
is at a given mouse pixel position.
Yahoo! Groups Sponsor
Is there any mechanism for converting between a TextArea character
position and a pixel coordinate? That is, given character position n
in a TextArea, how can I determine the pixel coordinates of that
character? Or vice versa, given a pixel coordinate in a TextArea, is
there any way to do a
8 matches
Mail list logo