Anyone?
On Tue, Sep 30, 2008 at 12:47 AM, Eddie Adams <[EMAIL PROTECTED]> wrote:
> This example I made doesnt work, any help please:
>
> This is the main movie created in Flash:
>
> _root.createEmptyMovieClip("loadfont", _root.getNextHighestDept());
>
> var mcLoader = new MovieClipLoader();
> mcLoader.onLoadComplete = function() {
> _root.createTextField("mytext", _root.getNextHighestDept(), 0, 0, 100,
> 100);
> _root.mytext.text = "hello world";
>
> var myStyle = new TextFormat();
> myStyle.font = "Fontname";
> _root.mytext.setTextFormat(myStyle);
> }
> mcLoader.loadClip("BleedingCowboys.swf", loadfont);
>
>
> This is the swf with font embedded (BleedingCowboys.swf) created with
> swfc:
>
> .flash filename="BleedingCowboys.swf" bbox=1x1
> .font Fontname filename="BleedingCowboys.ttf"
> .end
>
>
> The text `hello world´ shows up (so the font is loaded) but not applied to
> the text.
>
>
>
>
> On Mon, Sep 29, 2008 at 11:42 AM, Eddie Adams <[EMAIL PROTECTED]>wrote:
>
>> So if i create a swfc movie:
>>
>> .font myfont "BleedingCowboys.ttf"
>>
>> I can set a textfield created with actionscript in Flash outside the
>> loaded movie and use the font with a textformatted font named myfont?
>>
>> Are there any examples you could show, couldnt find any on google.
>>
>>
>>
>>
>> On Mon, Sep 29, 2008 at 10:59 AM, Matthias Kramm <[EMAIL PROTECTED]> wrote:
>>
>>> On Mon, Sep 29, 2008 at 10:05:16AM +0200, Eddie Adams <
>>> [EMAIL PROTECTED]> wrote:
>>> > I would like to make a design in Flash and use a font that is created
>>> in
>>> > swfc by using loadMovie (font.swf).
>>>
>>> Sure. If the font has a name in the swfc script, you should be able to
>>> "import assets" from that movie, using the name.
>>>
>>> Greetings
>>>
>>> Matthias
>>>
>>>
>>>
>>>
>>>
>>
>