Sorry, I realized the syntaxt is wrong - would need to first cast as a Class
then instantiate...

On Mon, Aug 18, 2008 at 2:27 PM, jonathan howe <[EMAIL PROTECTED]>wrote:

>  I haven't tried this myself but have you used my old bff
> getDefinitionByName
>
> var fontClass:Font = getDefinitionByName("fontClassNameWithinTheSwf") as
> Font;
>
> and then use the font via the Font class?
>
> -jonathan
>
>
> On Mon, Aug 18, 2008 at 1:40 PM, Michael William Ypes <
> [EMAIL PROTECTED]> wrote:
>
>> I know the offstage technique but what I want is to load an external swf
>> with the specific font in it. Then use that font in all other swfs. You
>> could do this in as2 by loading in a swf that had a shared library font in
>> it. Bit of a hack but it worked.
>>
>> I cant quite believe Adobe has not addressed this in cs3 as fonts do add a
>> huge amount to file sizes. There has got to be a fix for this surely...
>>
>> Any more ideas...
>>
>> Cheers
>>
>> M
>>
>> On 18 Aug 2008, at 12:08, Ian Thomas wrote:
>>
>> On Mon, Aug 18, 2008 at 12:01 PM, Geografiek <[EMAIL PROTECTED]>
>>> wrote:
>>>
>>> Define 2 dynamic text field off stage (one for each font) and define the
>>>> character range there.
>>>> These characters should now be available to all text fields in the .swf
>>>> *Should* work, but with Flash and font you never know :(
>>>>
>>>
>>> Offstage will do it.
>>>
>>> So will exporting in a text field within a MovieClip symbol in the
>>> library, providing that MovieClip symbol is marked for export in first
>>> frame.
>>>
>>> HTH,
>>>  Ian
>>> _______________________________________________
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.com
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>
>> _______________________________________________
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
>
>
> --
> -jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME 04101
>



-- 
-jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME 04101
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to