[Flashcoders] Shared fonts

2008-07-22 Thread strk
I'm trying to figure wheter the overcomplex solutions for shared fonts
are due to bugs in the proprietary player or design choices.

In particular, why shouldn't a loader movie be allowed to use
fonts defined in a *loaded* movie while the other way around should
be possible ?

Or, why not maintaining a single shared font library for a whole run ?


--strk;

 ()   ASCII Ribbon Campaign
 /\   Keep it simple! 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Shared fonts

2008-07-22 Thread allandt bik-elliott (thefieldcomic.com)
mate it's definitely a weakness of flash but i wouldn't quite call it a bug

Adobe needs to look at it tho, coz having a common font library is tough
(although one of the guys i worked with said it was possible by copying the
format from the loaded swf)

i found this online that looks like it might help
http://www.mokisystems.com/blog/flash-as3-loading-fonts/

On Tue, Jul 22, 2008 at 5:45 PM, strk [EMAIL PROTECTED] wrote:

 I'm trying to figure wheter the overcomplex solutions for shared fonts
 are due to bugs in the proprietary player or design choices.

 In particular, why shouldn't a loader movie be allowed to use
 fonts defined in a *loaded* movie while the other way around should
 be possible ?

 Or, why not maintaining a single shared font library for a whole run ?


 --strk;

  ()   ASCII Ribbon Campaign
  /\   Keep it simple!

 ___
 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


Re: [Flashcoders] Shared fonts

2008-07-22 Thread strk
On Tue, Jul 22, 2008 at 06:07:18PM +0100, allandt bik-elliott 
(thefieldcomic.com) wrote:
 mate it's definitely a weakness of flash but i wouldn't quite call it a bug
 
 Adobe needs to look at it tho, coz having a common font library is tough
 (although one of the guys i worked with said it was possible by copying the
 format from the loaded swf)

The only reason I can think of for not using a single library is the case
in which loading a movie would override a previously defined font.
It would explain why a loaded movie can use fonts from loader but
not the other way around (a kind of visibility graph).

--strk;
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Shared fonts, linkage and Arabic

2006-11-13 Thread Danny Kodicek
  Finally figured out how to make font symbols (with linkage 
 turned on) include foreign character sets.
 
 The instructions outlined here:
 
 http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16275
 
 do actually work given you take into account two crucial 
 pieces of info regarding BUGS IN FLASH.
 
 The two pieces of crucial info that solved the issue for me are these:
 
 1) If there is more than one font symbol in the library Flash 
 will not add foreign character sets to any of the fonts. That 
 means creating one swf per font symbol.
 
 2) If a font symbol (with linkage turned on) uses the exact 
 same font that is embedded in a text field in the same swf, 
 all non-Roman characters stop getting exported.
 
 For example: text field 1 has the font Tahoma set to Korean 
 characters embedded. Export, it works fine. Now, set a font 
 symbol in the library (with linkage turned on) to use Tahoma. 
 Export, no non-Roman characters get exported.

Interesting research, Michael, thanks for the report.

Danny

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts, linkage and Arabic

2006-11-12 Thread Michael Williamson

Finally figured out how to make font symbols (with linkage turned on)
include foreign character sets.

The instructions outlined here:

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16275

do actually work given you take into account two crucial pieces of
info regarding BUGS IN FLASH.

The two pieces of crucial info that solved the issue for me are these:

1) If there is more than one font symbol in the library Flash will not
add foreign character sets to any of the fonts. That means creating
one swf per font symbol.

2) If a font symbol (with linkage turned on) uses the exact same font
that is embedded in a text field in the same swf, all non-Roman
characters stop getting exported.

For example: text field 1 has the font Tahoma set to Korean characters
embedded. Export, it works fine. Now, set a font symbol in the library
(with linkage turned on) to use Tahoma. Export, no non-Roman
characters get exported.

I'll eventually report this to Adobe but I'd be happy if someone beat me to it.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Shared fonts, linkage and Arabic

2006-11-06 Thread Danny Kodicek
 Hi, Michael

 Instead of using a Font symbol as the symbol to export for 
 runtime sharing, use a MovieClip symbol containing a 
 TextField that embeds the Unicode ranges of the font you wish 
 to share.  

Yes, this is where I've ended up - although as I mentioned in a separate
thread, this has its own problems because setNewTextFormat is failing for
text set by .variable, which is my preferred method for making this thing
work. Still, I know it's solvable.

 
 Your bigger problem with Arabic is the lack of bidirectional 
 text support in Flash.  

Yes, I'm just embarking on that joy today. It's a particular nightmare
because bidi text *does* work on the Mac, so I have to make the code
platform-dependent (and I bet some day Adobe will make it work on PC's and
break all my code)

Also, in my experience trying to use 
 an embedded font for Arabic, the FlashPlayer fails to connect 
 the letters.

This I wasn't aware of - can you go into more detail?

Thanks
Danny

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Shared fonts, linkage and Arabic

2006-11-05 Thread Michael A. Jordan
Danny,

Instead of using a Font symbol as the symbol to export for runtime sharing, use 
a MovieClip symbol containing a TextField that embeds the Unicode ranges of the 
font you wish to share.  

Your bigger problem with Arabic is the lack of bidirectional text support in 
Flash.  Also, in my experience trying to use an embedded font for Arabic, the 
FlashPlayer fails to connect the letters.

You may want to check out these presentation notes:

http://www.flashextensions.com/lecture.php


Good luck,
   Michael

-Original Message-
From: Michael Williamson [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 04, 2006 4:47 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Shared fonts, linkage and Arabic

Hey Danny,

I'm having problems with this as well. It should be so simple but I
have not yet found a solution.

If you're on a PC (as I am) this link has some helpful info and a
proposed solution for this exact problem but:

http://www.quasimondo.com/archives/000211.php

Unfortuantly the solution proposed (creating font substitute entries
in the registry that reference your target language codepage ID)
dosen't work for me:

After I create the font substitues I can access them from Flash's font
menue but after setting my font symbol to use them I still only get
Roman characters.

Adobe also has some promising sounding advice about changing the
codepage for the system here:

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16275

Put the procedure outlined doesn't work either. Although it partially
worked with one specific font and language pair (thai). But that was
one out of twenty or so combos and it only worked temporarily

Another thing I noticed: If one of my font symbols (with linkage
turned on) uses the same font as is embedded in a text field, all
non-Roman charaters stop getting exported.

For example: text field 1 has the font Tahoma set to Korean characters
embedded. I export, it works fine. Now, I set one of my font symbols
(with linkage turned on) to use Tahoma. I export, no non-Roman
characters get exported.

Damn!

If you discover any potential solutions please let me know!

-Mike



Danny Kodicek wrote:

 I can't believe I'm still having problems with this.

 I need to get a shared font symbol to include Arabic characters (and indeed
 any characters). So I've got my shared library called sharedFontLib. In it,
 I've created a font symbol called sharedFont. Now, if I leave linkage off,
 this font works perfectly: I can include an input field in sharedFontLib
 using the font, and type in any characters I like. But if I turn linkage on
 for the font, all non-Roman characters stop working (this is with Embed -
 all on the input field). The same is true in other movies using the same
 font.

 Come on folks - someone there must have got shared fonts working with
 non-Roman characters!

 Danny

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts, linkage and Arabic

2006-11-04 Thread Michael Williamson

Hey Danny,

I'm having problems with this as well. It should be so simple but I
have not yet found a solution.

If you're on a PC (as I am) this link has some helpful info and a
proposed solution for this exact problem but:

http://www.quasimondo.com/archives/000211.php

Unfortuantly the solution proposed (creating font substitute entries
in the registry that reference your target language codepage ID)
dosen't work for me:

After I create the font substitues I can access them from Flash's font
menue but after setting my font symbol to use them I still only get
Roman characters.

Adobe also has some promising sounding advice about changing the
codepage for the system here:

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16275

Put the procedure outlined doesn't work either. Although it partially
worked with one specific font and language pair (thai). But that was
one out of twenty or so combos and it only worked temporarily

Another thing I noticed: If one of my font symbols (with linkage
turned on) uses the same font as is embedded in a text field, all
non-Roman charaters stop getting exported.

For example: text field 1 has the font Tahoma set to Korean characters
embedded. I export, it works fine. Now, I set one of my font symbols
(with linkage turned on) to use Tahoma. I export, no non-Roman
characters get exported.

Damn!

If you discover any potential solutions please let me know!

-Mike



Danny Kodicek wrote:


I can't believe I'm still having problems with this.

I need to get a shared font symbol to include Arabic characters (and indeed
any characters). So I've got my shared library called sharedFontLib. In it,
I've created a font symbol called sharedFont. Now, if I leave linkage off,
this font works perfectly: I can include an input field in sharedFontLib
using the font, and type in any characters I like. But if I turn linkage on
for the font, all non-Roman characters stop working (this is with Embed -
all on the input field). The same is true in other movies using the same
font.

Come on folks - someone there must have got shared fonts working with
non-Roman characters!

Danny

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Shared fonts, linkage and Arabic

2006-11-02 Thread Danny Kodicek
I can't believe I'm still having problems with this.

I need to get a shared font symbol to include Arabic characters (and indeed
any characters). So I've got my shared library called sharedFontLib. In it,
I've created a font symbol called sharedFont. Now, if I leave linkage off,
this font works perfectly: I can include an input field in sharedFontLib
using the font, and type in any characters I like. But if I turn linkage on
for the font, all non-Roman characters stop working (this is with Embed -
all on the input field). The same is true in other movies using the same
font. 

Come on folks - someone there must have got shared fonts working with
non-Roman characters!

Danny

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Shared Fonts in Flash 7

2006-07-27 Thread Raymond Simmons
What's the best approach for sharing a font in Flash 7?  In Flash 6, I could 
place the font in a base movie and create text fields in loaded movies 
dynamically using the font in base.  This doesn't appear to work in Flash 7. 
There were lots of problems using shared fonts in Flash 6.  Branden Hall 
outlined these a long time ago: 
http://chattyfig.figleaf.com/pipermail/flashcoders/2002-August/045588.html. 
Have things changed?  Do shared fonts work properly in Flash 7?

Thanks,
Raymond Simmons 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts : method with 2 files seems faster that method with 1 file

2006-07-12 Thread erixtekila

The shared lib isn't loaded twice.
You just have to wait for a delay frame, in order to
use it.
That's all.

Actually I'm pretty sure it does load twice but I'd be
glad to hear that I'm wrong. Let me show you what I
mean.


Good observation, but wrong tools, IMHO.
I wouldn't want to rely too much on the bandwidth profiler to make good  
assumptions.
But perhaps the behavior (that I have observed following your test) can  
perhaps only be for offline use ?


Following your line, I've hosted Zarate's file on a web server.
Requesting the files with firefox and livehttpheaders.
That don't give the same results as yours.
And I would preferably rely on those tools instead.

Here are an output of the session :
---
http://www.v-i-a.net/t/
GET /t/ HTTP/1.1
Host: www.v-i-a.net
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;  
rv:1.8.0.4) Gecko/20060603 Firefox/1.5.0.4
Accept:  
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/ 
plain;q=0.8,image/png,*/*;q=0.5

Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

HTTP/1.x 200 OK
Date: Wed, 12 Jul 2006 14:33:40 GMT
Server: Apache
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html
Content-Encoding: gzip
Content-Length: 567
--
http://www.v-i-a.net/t/index.swf
GET /t/index.swf HTTP/1.1
Host: www.v-i-a.net
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;  
rv:1.8.0.4) Gecko/20060603 Firefox/1.5.0.4
Accept:  
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/ 
plain;q=0.8,image/png,*/*;q=0.5

Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.v-i-a.net/t/

HTTP/1.x 200 OK
Date: Wed, 12 Jul 2006 14:33:41 GMT
Server: Apache
Last-Modified: Wed, 12 Jul 2006 14:22:12 GMT
Etag: 18a8b8e-37c-44b50594
Accept-Ranges: bytes
Content-Length: 892
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: application/x-shockwave-flash
--
http://www.v-i-a.net/favicon.ico
GET /favicon.ico HTTP/1.1
Host: www.v-i-a.net
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;  
rv:1.8.0.4) Gecko/20060603 Firefox/1.5.0.4

Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

HTTP/1.x 404 Not Found
Date: Wed, 12 Jul 2006 14:33:41 GMT
Server: Apache
Keep-Alive: timeout=15, max=97
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
--
http://www.v-i-a.net/t/Quadaptor.swf
GET /t/Quadaptor.swf HTTP/1.1
Host: www.v-i-a.net
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;  
rv:1.8.0.4) Gecko/20060603 Firefox/1.5.0.4
Accept:  
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/ 
plain;q=0.8,image/png,*/*;q=0.5

Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

HTTP/1.x 200 OK
Date: Wed, 12 Jul 2006 14:33:41 GMT
Server: Apache
Last-Modified: Sat, 02 Apr 2005 13:48:40 GMT
Etag: 18a8b8f-1b47-424ea2b8
Accept-Ranges: bytes
Content-Length: 6983
Keep-Alive: timeout=15, max=97
Connection: Keep-Alive
Content-Type: application/x-shockwave-flash
--

You'll notice that the shared font lib is requested only once.
As to conclude that the loading appears twice offline and once online,  
I can't.



On the topic of faux fonts, could you please send me (privatly) a swf  
containing fonts with the Ivan and Bernard technic.

I'll try to figure what permit this behavior.
Shouldn't be to hard.
Perhaps a swfmill not yet implemented feature ?



So that's why I was king of leaning forward the 2 SWF
file per shared font methods used by Ivan and Bernard
because even though there are 2 files instead of one
by shared font:
1) You have total control over which glyphs are
included directly in the Flash IDE without having to
use a 3rd party tool like SWFmill.

Completly opposite on this.
I compile from eclipse with mtasc and swfmill using as2ant.
You definitivelmy should try that combinaison, as it makes your life  
lighter and… faster :)



2) You CAN use faux bold, faux italic and faux bold
italic provided that you included them (with the added
file size of course).

What version of swf 7 or 8 ?
I wait your files to compare the ouput. Thanks.


3) The shared SWF file that gets loaded is only loaded
once which is the way it should be.

Not a good point, sorry :P
1 more left !


We will try to go as deep as possible in that topic.
A 

Re: [Flashcoders] Shared fonts : method with 2 files seems faster that method with 1 file

2006-07-12 Thread janosch

 1) You have total control over which glyphs are
 included directly in the Flash IDE without having to
 use a 3rd party tool like SWFmill.
 Completly opposite on this.
opposite to your opposite :)

I wanted to embed all japanese characters of a font, how do you do this 
with swfmill? I don't want to define them all in the glyphs attribute, 
but i also don't want to embed the whole font.


So my solution for this was:
1) embed the needed characters with Flash
2) decompile the generated swf with swfmill
3) changing the xml so it works as shared font library (adjusted the 
font name)

4) recompile with swfmill.

Greets,
Janosch



erixtekila schrieb:


The shared lib isn't loaded twice.
You just have to wait for a delay frame, in order to
use it.
That's all.


Actually I'm pretty sure it does load twice but I'd be
glad to hear that I'm wrong. Let me show you what I
mean.



Good observation, but wrong tools, IMHO.
I wouldn't want to rely too much on the bandwidth profiler to make 
good  assumptions.
But perhaps the behavior (that I have observed following your test) 
can  perhaps only be for offline use ?


Following your line, I've hosted Zarate's file on a web server.
Requesting the files with firefox and livehttpheaders.
That don't give the same results as yours.
And I would preferably rely on those tools instead.

Here are an output of the session :
---
http://www.v-i-a.net/t/
GET /t/ HTTP/1.1
Host: www.v-i-a.net
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;  
rv:1.8.0.4) Gecko/20060603 Firefox/1.5.0.4
Accept:  
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/ 
plain;q=0.8,image/png,*/*;q=0.5

Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

HTTP/1.x 200 OK
Date: Wed, 12 Jul 2006 14:33:40 GMT
Server: Apache
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html
Content-Encoding: gzip
Content-Length: 567
--
http://www.v-i-a.net/t/index.swf
GET /t/index.swf HTTP/1.1
Host: www.v-i-a.net
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;  
rv:1.8.0.4) Gecko/20060603 Firefox/1.5.0.4
Accept:  
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/ 
plain;q=0.8,image/png,*/*;q=0.5

Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.v-i-a.net/t/

HTTP/1.x 200 OK
Date: Wed, 12 Jul 2006 14:33:41 GMT
Server: Apache
Last-Modified: Wed, 12 Jul 2006 14:22:12 GMT
Etag: 18a8b8e-37c-44b50594
Accept-Ranges: bytes
Content-Length: 892
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: application/x-shockwave-flash
--
http://www.v-i-a.net/favicon.ico
GET /favicon.ico HTTP/1.1
Host: www.v-i-a.net
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;  
rv:1.8.0.4) Gecko/20060603 Firefox/1.5.0.4

Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

HTTP/1.x 404 Not Found
Date: Wed, 12 Jul 2006 14:33:41 GMT
Server: Apache
Keep-Alive: timeout=15, max=97
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
--
http://www.v-i-a.net/t/Quadaptor.swf
GET /t/Quadaptor.swf HTTP/1.1
Host: www.v-i-a.net
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;  
rv:1.8.0.4) Gecko/20060603 Firefox/1.5.0.4
Accept:  
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/ 
plain;q=0.8,image/png,*/*;q=0.5

Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

HTTP/1.x 200 OK
Date: Wed, 12 Jul 2006 14:33:41 GMT
Server: Apache
Last-Modified: Sat, 02 Apr 2005 13:48:40 GMT
Etag: 18a8b8f-1b47-424ea2b8
Accept-Ranges: bytes
Content-Length: 6983
Keep-Alive: timeout=15, max=97
Connection: Keep-Alive
Content-Type: application/x-shockwave-flash
--

You'll notice that the shared font lib is requested only once.
As to conclude that the loading appears twice offline and once 
online,  I can't.



On the topic of faux fonts, could you please send me (privatly) a swf  
containing fonts with the Ivan and Bernard technic.

I'll try to figure what permit this behavior.
Shouldn't be to hard.
Perhaps a swfmill not yet implemented feature ?



So that's why I was king of leaning forward the 2 SWF
file per shared font methods used by Ivan and Bernard
because even though there are 2 files instead of one
by shared font:
1) You have total control over which glyphs are
included directly 

Re: [Flashcoders] Shared fonts : method with 2 files seems faster that method with 1 file

2006-07-12 Thread erixtekila

 1) You have total control over which glyphs are
 included directly in the Flash IDE without having to
 use a 3rd party tool like SWFmill.
 Completly opposite on this.
opposite to your opposite :)

I wanted to embed all japanese characters of a font, how do you do 
this with swfmill? I don't want to define them all in the glyphs 
attribute, but i also don't want to embed the whole font.


So my solution for this was:
1) embed the needed characters with Flash
2) decompile the generated swf with swfmill
3) changing the xml so it works as shared font library (adjusted the 
font name)

4) recompile with swfmill.

Simpler than that, omit the attribute glyph of the swfmill's font tag.

Please refer to swfmill mailing-list for further discussions of that 
**genious** tool.


Best.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts : method with 2 files seems faster that method with 1 file

2006-07-12 Thread janosch

 Simpler than that, omit the attribute glyph of the swfmill's font tag.

No, i already wrote, that i don't want to embed the whole font (this 
would result in +2MByte chinese characters)


Greets, Janosch


erixtekila schrieb:


 1) You have total control over which glyphs are
 included directly in the Flash IDE without having to
 use a 3rd party tool like SWFmill.
 Completly opposite on this.
opposite to your opposite :)

I wanted to embed all japanese characters of a font, how do you do 
this with swfmill? I don't want to define them all in the glyphs 
attribute, but i also don't want to embed the whole font.


So my solution for this was:
1) embed the needed characters with Flash
2) decompile the generated swf with swfmill
3) changing the xml so it works as shared font library (adjusted the 
font name)

4) recompile with swfmill.


Simpler than that, omit the attribute glyph of the swfmill's font tag.

Please refer to swfmill mailing-list for further discussions of that 
**genious** tool.


Best.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts : method with 2 files seems faster that method with 1 file

2006-07-12 Thread erixtekila
 Simpler than that, omit the attribute glyph of the swfmill's font 
tag.
No, i already wrote, that i don't want to embed the whole font (this 
would result in +2MByte chinese characters)


LOL, sorry I didn't read you before !
Best luck.
---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts : method with 2 files seems faster that method with 1 file

2006-07-09 Thread Weyert de Boer

erixtekila wrote:

1- More control over which glyphs are included.
You're right that it is possible to include only the required glyphs 
with swfmill.



2- Works with faux bold and faux italic.

Excuse my ignorance, but what is a faux ?
Fake Bold or Fake Italic, i.e. when the font itself doesn't include any 
italic or bold versions of the letters/glyphs.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts : method with 2 files seems faster that method with 1 file

2006-07-09 Thread David Bellerive
 2- Works with faux bold and faux italic.
 Excuse my ignorance, but what is a faux ?
 Fake Bold or Fake Italic, i.e. when the font itself
 doesn't include any italic or bold versions of the
 letters/glyphs.
Won't the render be ugly ? Like device fonts…
No. Faux bold and faux italic are the equivalent of
pressing the Bold and Italic buttons for a textfield
in the Flash property inspector or applying
myTextField.bold or myTextField.italic via
actionscript. A lot of fonts do not have special
versions of the font specifically for bold versions,
italic versions and bold italic versions. So
basically, if I take the font Arial (not the device
font _sans) in a textfield and use
myArialTextField.bold, I'm basically using faux bold.
If instead I use Arial Bold which is a separate font,
that's real bold.

 No faux fonts in one lib shared font technique.
 I wonder in the other btw.
Well, from what I can see, using the 1 SWF file per
shared font method, Flash only exports the complete
font set (or only selected glyphs if you use SWFmill)
and not the additional info (with the added file size)
to render the font in faux bold, faux italic, or faux
bold AND italic. That makes perfect sense. However, it
means that you cannot use mySharedFontTextField.bold
or mySharedFontTextField.italic when using the 1 SWF
file per shared font method (the method developped by
Zarate and you). So I guess that using this method, if
you wanted a font to display normal and bold, you
could only use a font that has a separate version of
the font for bold (like Arial and Arial Bold, which
are 2 separate font files) and include both fonts in
the shared libraries. If you want to use some crazy
font you founded on the Internet which has no bold or
italic version, then I think there's no way you can
make it bold since this method doesn't support faux
bold or faux italic.

 The shared lib isn't loaded twice.
 You just have to wait for a delay frame, in order to
 use it.
 That's all.
Actually I'm pretty sure it does load twice but I'd be
glad to hear that I'm wrong. Let me show you what I
mean. Download the zip file found on Zarate's website
here :
http://www.zarate.tv/articulos/shared_fonts/files/Zarate_Shared_Fonts.zip
Unzip the files. There will be a couple of folders
that show how to use the 1 SWF file per shared font
method but the simplest example is in the folder
called Sencillo. In that folder, open the file
index.fla. This file USES the shared library. So now,
export (CTRL+ENTER) the file index.fla in the Flash
IDE, then make sure you can see the bandwith profiler
(View  Bandwidth Profiler) in the Flash debug player,
set your download settings (View  Download Settings)
to 14.4K so you can really view what's going on and
then start the process by clicking on simulate
download (View  Simulate Download). Now, closely
monitor what's going on in the bandwidth profiler. If
you look closely, you'll see that the SWF file that
contains the shared font that is being loaded (the
file is called quadaptor.swf) ... well it's actually
being loaded twice. The file is only 7K but you can
clearly see that the 7K get loaded twice (from 0% to
100% ... two times).

So that's why I was king of leaning forward the 2 SWF
file per shared font methods used by Ivan and Bernard
because even though there are 2 files instead of one
by shared font:
1) You have total control over which glyphs are
included directly in the Flash IDE without having to
use a 3rd party tool like SWFmill.
2) You CAN use faux bold, faux italic and faux bold
italic provided that you included them (with the added
file size of course).
3) The shared SWF file that gets loaded is only loaded
once which is the way it should be.

Once again, these are the conclusions I've come to
after testing both methods so I would like to hear
other's comments on this. If I'm wrong about something
here, please let me know.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Shared fonts : method with 2 files seems faster that method with 1 file

2006-07-08 Thread David Bellerive
I've been doing some testing with sharded fonts lately
because they are a key part of a project I'm working
on right now.

So far, here's what I've learned by searching the
FlashCoders archive and reading blog posts. Shared
fonts are a mess to work with.

But, as of Flash Player 6.0.65.0, it's not as bad as
it was before because of the new multi-tier runtime
shared libraries that were added to that release of
the Flash player.

Now, two similar but still somewhat different methods
for using sharde fonts have evolved around thos new
multi-tier shared libraries.

Ivan Dembicky (http://www.sharedfonts.com/eng/) came
up with a solution that use 2 SWF files per shared
font. Bernard Visscher
(http://chattyfig.figleaf.com/pipermail/flashcoders/2006-May/166619.html)
crafted his own solution that also uses 2 SWF files
per shared font based on Ivan's solution.

Zarate
(http://www.zarate.tv/articulos/shared_fonts/index.php)
 came up with a solution that use only 1 SWF file per
shared font. Erixtekila
(http://www.v-i-a.net/blog/archives/43.html)
crafted his own solution that also uses only 1 SWF
file per shared font based on Zarate's work.

So after testing all 4 solutions that all these bright
people came up with, here's the conclusion I've come
to.

The 1 SWF file per shared font methods are obviously
less of a hassle since we only have 1 file instead of
2 per shared font. However, faux bold and faux italic
can't be used and you can't select exactly the glyphs
you want included and thoses that you do not want
included. I think it's possible to select glyphs using
Erixtekila's method which uses SWFmill. I don't know
if his method makes it possible to use faux bold and
faux italic though.

The 2 SWF file per shared font methods initially
seemed more work for nothing since it uses 2 SWF files
instead of one per shared font but that will be the
method I will be using from now on for the following
reasons (feel free to correct me if I'm wrong):

1- More control over which glyphs are included.
2- Works with faux bold and faux italic.
3- This is the main reason why I'll use the 2 SWF
method over the single SWF method... The 2 SWF methods
loads a lot faster in the tests I did. With the one
SWF method, the SWF is loaded (let's say it's 15kb)
and then it seems to reload the 15kb before the shared
font becomes available. But in the 2 SWF method, the
SWF gets loaded immediately and the 15KB are only
loaded once just before the shared font becomes
available.

Hope this will help others who are having trouble with
shared fonts.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts : method with 2 files seems faster that method with 1 file

2006-07-08 Thread erixtekila

1- More control over which glyphs are included.
You're right that it is possible to include only the required glyphs 
with swfmill.



2- Works with faux bold and faux italic.

Excuse my ignorance, but what is a faux ?


3- This is the main reason why I'll use the 2 SWF
method over the single SWF method... The 2 SWF methods
loads a lot faster in the tests I did. With the one
SWF method, the SWF is loaded (let's say it's 15kb)
and then it seems to reload the 15kb before the shared
font becomes available. But in the 2 SWF method, the
SWF gets loaded immediately and the 15KB are only
loaded once just before the shared font becomes
available.

The shared lib isn't loaded twice.
You just have to wait for a delay frame, in order to use it.
That's all.

Thanks fro this interesting review.

---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Shared Fonts puzzle (hell)

2006-07-05 Thread Marcelo de Moraes Serpa

I´ve been trying to find the holy grail of Shared Fonts but with no success.
I then decided I just wanted it to work.

I´ve have done this way:

- Packing all the fonts I´m using in my application in a separate SWF,
setting them to Export For Runtime Sharing and also to Export for AS.
- Loading this SWF in the app´s main prealoader in a hidden movieclip
offstage;
- In the subsequent loaded SWF´s that would use the fonts, I´ve added a
SharePoint on movieclip imported from the shared library in the first
frame.
- Created a TextFormat object for each of the font´s and applied it to the
TextFields.

However, I´ve found too many inconsistencies while I was implementing it.
I´ve found that I would have to set both a TextFormat object and also
setStyle('fontFamily','fontName'); setStyle('embedFonts',true) to the
TextField or otherwise it wouldn´t work. If I only set the TextFormat
object, it doesn´t work and if I only set the style, it doesn´t work
either... why!?

I´ve noted that sometimes the initial text is shown, but when I try to
modify it through code, it either doesn´t changes or goes blank.

In sum, I´ve been through a hard time trying to get this shared font thing
to work with TextFields. With v2 components I got it to work by setting it´s
style ( setStyle('fontFamily','fontName'); setStyle('embedFonts',true)) I
assume the v2 framework deals with the TextFormat issue, but with regular
TextFields... it´s a hell confusing...

I´m confused and I need some enlightment! Any help would be much
appreciated!

Marcelo.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared Fonts puzzle (hell)

2006-07-05 Thread Iv
Hello Marcelo,

http://www.sharedfonts.com/eng/faq.html#include

-- 
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared Fonts puzzle (hell)

2006-07-05 Thread Iv
Hello Marcelo,

- you need to separate problems.
  in first step don't use sharing.
  when your app will work fine you can
  start sharing your fonts.

MdMS In sum, I╢ve been through a hard time trying to get this shared font thing
MdMS to work with TextFields. With v2 components I got it to work by setting 
it╢s
MdMS style ( setStyle('fontFamily','fontName'); setStyle('embedFonts',true)) 
I
MdMS assume the v2 framework deals with the TextFormat issue, but with regular
MdMS TextFields... it╢s a hell confusing...


-- 
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared Fonts puzzle (hell)

2006-07-05 Thread Weyert de Boer

Fonts and Flash on the Mac I am going nuts. Troublesome.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared Fonts puzzle (hell)

2006-07-05 Thread Marcelo de Moraes Serpa

Thanks for the article Iv. I guess the way I´m doing is right as I don´t
need this kind of control over what characters I would need to embbed. I´ll
test when I get home, but I guess this issue is happening becouse I´m not
setting the embedFonts property in the right place.

On 7/5/06, Weyert de Boer [EMAIL PROTECTED] wrote:


Fonts and Flash on the Mac I am going nuts. Troublesome.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared Fonts puzzle (hell)

2006-07-05 Thread Marcelo de Moraes Serpa

The swf I´m loading is a v7 swf and the host is v8. Could that be causing
some this issue?

On 7/5/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote:


Thanks for the article Iv. I guess the way I´m doing is right as I don´t
need this kind of control over what characters I would need to embbed. I´ll
test when I get home, but I guess this issue is happening becouse I´m not
setting the embedFonts property in the right place.


On 7/5/06, Weyert de Boer [EMAIL PROTECTED] wrote:

 Fonts and Flash on the Mac I am going nuts. Troublesome.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re[2]: [Flashcoders] Shared Fonts puzzle (hell)

2006-07-05 Thread Iv
Hello Marcelo,

MdMS The swf I╢m loading is a v7 swf and the host is v8. Could that be causing
MdMS some this issue?

http://www.sharedfonts.com/eng/faq.html
- a bit info about it in the first question.


-- 
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: Re[2]: [Flashcoders] Shared Fonts puzzle (hell)

2006-07-05 Thread Marcelo de Moraes Serpa

Hello Iv, thanks again for the reply.

This article talks about version 7 loading v. 6.
The host SWF is v8, the loaded one is v7, the library SWF is v8. But I think
it´s the same situation after all. I will make some more tests later.

Thanks,

Marcelo.


On 7/5/06, Iv [EMAIL PROTECTED] wrote:


Hello Marcelo,

MdMS The swf I╢m loading is a v7 swf and the host is v8. Could that be
causing
MdMS some this issue?

http://www.sharedfonts.com/eng/faq.html
- a bit info about it in the first question.


--
Ivan Dembicki


[EMAIL PROTECTED] ||
http://www.design.ru

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: Re[2]: [Flashcoders] Shared Fonts puzzle (hell)

2006-07-05 Thread Marcelo de Moraes Serpa

Hmmm.. further reading this faq, I´ve saw the question about the static text
fields. I´m actually using some static textfields that use the same shared
font, configured via the flash ide. The only difference is that I don´t use
SFM, and the faq relates to SFM...

Could that be causing these strange behvaiours when I try apply the
TextFormat objetcts to the textifields and they just don´t work?

I don´t have access to my source files here, I will test when I get home..

Cheers,

Marcelo.

On 7/5/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote:


Hello Iv, thanks again for the reply.

This article talks about version 7 loading v. 6.
The host SWF is v8, the loaded one is v7, the library SWF is v8. But I
think it´s the same situation after all. I will make some more tests later.

Thanks,

Marcelo.



On 7/5/06, Iv [EMAIL PROTECTED] wrote:

 Hello Marcelo,

 MdMS The swf I╢m loading is a v7 swf and the host is v8. Could that be
 causing
 MdMS some this issue?

 http://www.sharedfonts.com/eng/faq.html
 - a bit info about it in the first question.


 --
 Ivan Dembicki

 
 [EMAIL PROTECTED] ||
 http://www.design.ru

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

[Flashcoders] Shared Fonts issue... textformat object only works in dynamically created textfields!

2006-07-04 Thread Marcelo de Moraes Serpa

I really need some quick help here as I need to deploy this app for
tomorrow!

I´m using Shared Fonts and loading the swf with the exported font symbols
beforehand, in the main preloader. In the subsequent forms (swfs) I´m using
the SharePoint strategy, where I put only a dummy MovieClip one frame
before and so all the Shared Swf DOM becomes available for access through
actionscript. I´ve succesfully set up the shared fonts using a textformat
objects on **dynamically created textfields**, but it just doesn´t work when
I try to set it in textfields that I´ve put on the stage through the flash
ide... they just become blank, no text...

I´m using the following code:

tf = new TextField()
tf.font = myfont
mytextfield.setNewTextFormat(tf)

Thanks in advance,

-Marcelo.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared Fonts issue... textformat object only works in dynamically created textfields!

2006-07-04 Thread Michael Bedar

i assume you mean...

tf = new TextFormat()
tf.font = myfont
mytextfield.setNewTextFormat(tf)

Did you try using mytextfield.setTextFormat(tf) AFTER you change the  
text?




On Jul 4, 2006, at 9:20 PM, Marcelo de Moraes Serpa wrote:


I really need some quick help here as I need to deploy this app for
tomorrow!

I´m using Shared Fonts and loading the swf with the exported font  
symbols
beforehand, in the main preloader. In the subsequent forms (swfs) I 
´m using
the SharePoint strategy, where I put only a dummy MovieClip one  
frame
before and so all the Shared Swf DOM becomes available for access  
through
actionscript. I´ve succesfully set up the shared fonts using a  
textformat
objects on **dynamically created textfields**, but it just doesn´t  
work when
I try to set it in textfields that I´ve put on the stage through  
the flash

ide... they just become blank, no text...

I´m using the following code:

tf = new TextField()
tf.font = myfont
mytextfield.setNewTextFormat(tf)

Thanks in advance,

-Marcelo.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared Fonts issue... textformat object only works in dynamically created textfields!

2006-07-04 Thread Marcelo de Moraes Serpa

Oh yes sorry... my mistake. Yes, sure.  I actually don´t touch the
textfield´s text.

On 7/4/06, Michael Bedar [EMAIL PROTECTED] wrote:


i assume you mean...

tf = new TextFormat()
tf.font = myfont
mytextfield.setNewTextFormat(tf)

Did you try using mytextfield.setTextFormat(tf) AFTER you change the
text?



On Jul 4, 2006, at 9:20 PM, Marcelo de Moraes Serpa wrote:

 I really need some quick help here as I need to deploy this app for
 tomorrow!

 I´m using Shared Fonts and loading the swf with the exported font
 symbols
 beforehand, in the main preloader. In the subsequent forms (swfs) I
 ´m using
 the SharePoint strategy, where I put only a dummy MovieClip one
 frame
 before and so all the Shared Swf DOM becomes available for access
 through
 actionscript. I´ve succesfully set up the shared fonts using a
 textformat
 objects on **dynamically created textfields**, but it just doesn´t
 work when
 I try to set it in textfields that I´ve put on the stage through
 the flash
 ide... they just become blank, no text...

 I´m using the following code:

 tf = new TextField()
 tf.font = myfont
 mytextfield.setNewTextFormat(tf)

 Thanks in advance,

 -Marcelo.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared Fonts issue... textformat object only works in dynamically created textfields!

2006-07-04 Thread Marcelo de Moraes Serpa

By saying that I mean that it stays with the text I´ve set up in the flash
ide...

On 7/4/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote:


Oh yes sorry... my mistake. Yes, sure.  I actually don´t touch the
textfield´s text.


On 7/4/06, Michael Bedar [EMAIL PROTECTED] wrote:

 i assume you mean...

 tf = new TextFormat()
 tf.font = myfont
 mytextfield.setNewTextFormat (tf)

 Did you try using mytextfield.setTextFormat(tf) AFTER you change the
 text?



 On Jul 4, 2006, at 9:20 PM, Marcelo de Moraes Serpa wrote:

  I really need some quick help here as I need to deploy this app for
  tomorrow!
 
  I´m using Shared Fonts and loading the swf with the exported font
  symbols
  beforehand, in the main preloader. In the subsequent forms (swfs) I
  ´m using
  the SharePoint strategy, where I put only a dummy MovieClip one
  frame
  before and so all the Shared Swf DOM becomes available for access
  through
  actionscript. I´ve succesfully set up the shared fonts using a
  textformat
  objects on **dynamically created textfields**, but it just doesn´t
  work when
  I try to set it in textfields that I´ve put on the stage through
  the flash
  ide... they just become blank, no text...
 
  I´m using the following code:
 
  tf = new TextField()
  tf.font = myfont
  mytextfield.setNewTextFormat(tf)
 
  Thanks in advance,
 
  -Marcelo.
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared Fonts issue... textformat object only works in dynamically created textfields!

2006-07-04 Thread Michael Bedar
well, in that case setNewTextFormat definitely won't work.. if a  
normal setTextFormat does not work, i'm out of ideas..



On Jul 4, 2006, at 9:28 PM, Marcelo de Moraes Serpa wrote:


Oh yes sorry... my mistake. Yes, sure.  I actually don´t touch the
textfield´s text.

On 7/4/06, Michael Bedar [EMAIL PROTECTED] wrote:


i assume you mean...

tf = new TextFormat()
tf.font = myfont
mytextfield.setNewTextFormat(tf)

Did you try using mytextfield.setTextFormat(tf) AFTER you change the
text?



On Jul 4, 2006, at 9:20 PM, Marcelo de Moraes Serpa wrote:

 I really need some quick help here as I need to deploy this app for
 tomorrow!

 I´m using Shared Fonts and loading the swf with the exported font
 symbols
 beforehand, in the main preloader. In the subsequent forms (swfs) I
 ´m using
 the SharePoint strategy, where I put only a dummy MovieClip one
 frame
 before and so all the Shared Swf DOM becomes available for access
 through
 actionscript. I´ve succesfully set up the shared fonts using a
 textformat
 objects on **dynamically created textfields**, but it just doesn´t
 work when
 I try to set it in textfields that I´ve put on the stage through
 the flash
 ide... they just become blank, no text...

 I´m using the following code:

 tf = new TextField()
 tf.font = myfont
 mytextfield.setNewTextFormat(tf)

 Thanks in advance,

 -Marcelo.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re[6]: [Flashcoders] Shared fonts

2006-05-31 Thread Iv
Hello Joeri,

JvO We use font-family
JvO terms like MainFont, or BoldFont, and when letting the FontLoader
JvO parse the stylesheet, it replaces them with the actuall font name
JvO loaded linked with that identifier...
JvO So with just replacing the font libs, the entire site will have new fonts 
:).

- yep. it is in recommendation section on my site.
http://www.sharedfonts.com/eng/help.html#practice
but not many peoples want read a rules :)


-- 
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: Re[4]: [Flashcoders] Shared fonts

2006-05-31 Thread Bernard Visscher
 With bitmaps you could use the bitmapdata to draw it in another movie.
Yes, but Flash 8 only.
Beautiful solution anyhow.

That's true, but it won't take long before FP8 is the way to go. Now about
80% of the users have FP8..

Bernard

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: Re[4]: [Flashcoders] Shared fonts

2006-05-30 Thread Cedric Muller

Zarate,

The 'Shared Fonts' problem is very funny ... you have got people  
sticking to solutions that aren't :)) and it gets back in time ...  
like a cycle, with the same answers again ;)
I REALLY don't know why your solution never was approved ... it is  
the best out there, the BEST
it has been working for me in the biggest project of all my times (300 
+classes) with a charm

and yes
it is better than sharedfonts.com or bernard's solution BECAUSE it  
only uses 1 (ONE!) SWF ...


anyway, who thought we needed TWO swfs in order to share  
something ??? ;)


Cedric


I don´t think he means that... at doesn´t make any sense for me.

By the way, if you want to avoid using two files per font, take a look
to this (french):

http://www.v-i-a.net/blog/archives/43.html

I did myself almost 2 years ago some RD to use just one file  
(spanish):


http://www.zarate.tv/articulos/shared_fonts/index.php

AFAIK, I´m not violating any license or copyright :D

Cheers,

On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote:

Hi Zarate,

I don't know either ;)
I think Ivan means the principle of my code and the priciple of the
sharedfonts system
They both use 2 swf's for loading the font.
There can't be copyright on that, because that's the only way the
flashplayer allows fonts to be dynamicaly loaded.
And it's no secret code or something, just a player posibility..

Bernard

 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Namens Zárate
 Verzonden: maandag 29 mei 2006 23:13
 Aan: Flashcoders mailing list
 Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts

 Hi,

 Which copyright problems are we talking about? Maybe I´m
 missing something here.

 Cheers,

 On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote:
  Well, I haven't had any difficulties.. And i've used it in
 many sites..
  But if you say so ;)
 
  Bernard
 
 
   -Oorspronkelijk bericht-
   Van: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Namens Iv
   Verzonden: maandag 29 mei 2006 21:31
   Aan: Flashcoders mailing list
   Onderwerp: Re[4]: [Flashcoders] Shared fonts
  
   Hello Bernard,
  
   - and.. I'm sorry, but your code have imperfections.
 It's works, but you need support experiance with many
 languages and
 different situations for find a problems in your code.
 It's one more reason for use original solution.
  
  
   --
   Ivan Dembicki
   __
   __
   [EMAIL PROTECTED] ||
   http://www.design.ru
  
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com http://training.figleaf.com
  
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com http://training.figleaf.com
 


 --
 Zárate
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Zárate
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: Re[4]: [Flashcoders] Shared fonts

2006-05-30 Thread Zárate

Thanks Cedric :)

However, I really don't care now which option is the best (but hey,
thanks again :P), I just want to understand what Ivan means with:

use solutions with dubious copyrights

Seems a little bit of FUD, actually. It would be greatly appreciated
further explanations.

Cheers!

On 5/30/06, Cedric Muller [EMAIL PROTECTED] wrote:

Zarate,

The 'Shared Fonts' problem is very funny ... you have got people
sticking to solutions that aren't :)) and it gets back in time ...
like a cycle, with the same answers again ;)
I REALLY don't know why your solution never was approved ... it is
the best out there, the BEST
it has been working for me in the biggest project of all my times (300
+classes) with a charm
and yes
it is better than sharedfonts.com or bernard's solution BECAUSE it
only uses 1 (ONE!) SWF ...

anyway, who thought we needed TWO swfs in order to share
something ??? ;)

Cedric

 I don´t think he means that... at doesn´t make any sense for me.

 By the way, if you want to avoid using two files per font, take a look
 to this (french):

 http://www.v-i-a.net/blog/archives/43.html

 I did myself almost 2 years ago some RD to use just one file
 (spanish):

 http://www.zarate.tv/articulos/shared_fonts/index.php

 AFAIK, I´m not violating any license or copyright :D

 Cheers,

 On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote:
 Hi Zarate,

 I don't know either ;)
 I think Ivan means the principle of my code and the priciple of the
 sharedfonts system
 They both use 2 swf's for loading the font.
 There can't be copyright on that, because that's the only way the
 flashplayer allows fonts to be dynamicaly loaded.
 And it's no secret code or something, just a player posibility..

 Bernard

  -Oorspronkelijk bericht-
  Van: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Namens Zárate
  Verzonden: maandag 29 mei 2006 23:13
  Aan: Flashcoders mailing list
  Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts
 
  Hi,
 
  Which copyright problems are we talking about? Maybe I´m
  missing something here.
 
  Cheers,
 
  On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote:
   Well, I haven't had any difficulties.. And i've used it in
  many sites..
   But if you say so ;)
  
   Bernard
  
  
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Iv
Verzonden: maandag 29 mei 2006 21:31
Aan: Flashcoders mailing list
Onderwerp: Re[4]: [Flashcoders] Shared fonts
   
Hello Bernard,
   
- and.. I'm sorry, but your code have imperfections.
  It's works, but you need support experiance with many
  languages and
  different situations for find a problems in your code.
  It's one more reason for use original solution.
   
   
--
Ivan Dembicki
__
__
[EMAIL PROTECTED] ||
http://www.design.ru
   
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com http://training.figleaf.com
   
  
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com http://training.figleaf.com
  
 
 
  --
  Zárate
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



 --
 Zárate
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig

Re: Re[4]: [Flashcoders] Shared fonts

2006-05-30 Thread Cedric Muller
ok, maybe it is the not the *best*, but it is definitely the one  
which narrows down the problem to ONE swf ...
of course, erixtekila's solution is in the same verve: yours is Flash  
IDE, his is Open Source 


cedric


Thanks Cedric :)

However, I really don't care now which option is the best (but hey,
thanks again :P), I just want to understand what Ivan means with:

use solutions with dubious copyrights

Seems a little bit of FUD, actually. It would be greatly appreciated
further explanations.

Cheers!

On 5/30/06, Cedric Muller [EMAIL PROTECTED] wrote:

Zarate,

The 'Shared Fonts' problem is very funny ... you have got people
sticking to solutions that aren't :)) and it gets back in time ...
like a cycle, with the same answers again ;)
I REALLY don't know why your solution never was approved ... it is
the best out there, the BEST
it has been working for me in the biggest project of all my times  
(300

+classes) with a charm
and yes
it is better than sharedfonts.com or bernard's solution BECAUSE it
only uses 1 (ONE!) SWF ...

anyway, who thought we needed TWO swfs in order to share
something ??? ;)

Cedric

 I don´t think he means that... at doesn´t make any sense for me.

 By the way, if you want to avoid using two files per font, take  
a look

 to this (french):

 http://www.v-i-a.net/blog/archives/43.html

 I did myself almost 2 years ago some RD to use just one file
 (spanish):

 http://www.zarate.tv/articulos/shared_fonts/index.php

 AFAIK, I´m not violating any license or copyright :D

 Cheers,

 On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote:
 Hi Zarate,

 I don't know either ;)
 I think Ivan means the principle of my code and the priciple of  
the

 sharedfonts system
 They both use 2 swf's for loading the font.
 There can't be copyright on that, because that's the only way the
 flashplayer allows fonts to be dynamicaly loaded.
 And it's no secret code or something, just a player posibility..

 Bernard

  -Oorspronkelijk bericht-
  Van: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Namens Zárate
  Verzonden: maandag 29 mei 2006 23:13
  Aan: Flashcoders mailing list
  Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts
 
  Hi,
 
  Which copyright problems are we talking about? Maybe I´m
  missing something here.
 
  Cheers,
 
  On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote:
   Well, I haven't had any difficulties.. And i've used it in
  many sites..
   But if you say so ;)
  
   Bernard
  
  
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Iv
Verzonden: maandag 29 mei 2006 21:31
Aan: Flashcoders mailing list
Onderwerp: Re[4]: [Flashcoders] Shared fonts
   
Hello Bernard,
   
- and.. I'm sorry, but your code have imperfections.
  It's works, but you need support experiance with many
  languages and
  different situations for find a problems in your code.
  It's one more reason for use original solution.
   
   
--
Ivan Dembicki
 
__

__
[EMAIL PROTECTED] ||
http://www.design.ru
   
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com http://training.figleaf.com
   
  
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com http://training.figleaf.com
  
 
 
  --
  Zárate
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



 --
 Zárate
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http

Re[6]: [Flashcoders] Shared fonts

2006-05-30 Thread Iv
Hello Zбrate,

Z I just want to understand what Ivan means with:
Z use solutions with dubious copyrights

- my congratulations. you have good and interesting solution.
  your OWN solution. Now I has seen it first time.
  I has experiments with self included libraries too but I used textfields
  for include fonts. Shared library mc was placed in second frame. In
  first frame I hase a code for avoid recursive shared libraries loading.
  In my case it was very difficult for understanding by users and hard
  for create and debug font libraries.
  I think you know and understand this problems very good.

- In your articles I don't understand text, sorry, but I has found a
  link to sharedfonts.com and my name. Thank you.
  I'm glad if I made something for find you your solution.
  And again: it's your own solution.

Thank you.

-- 
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: Re[4]: [Flashcoders] Shared fonts

2006-05-30 Thread Bernard Visscher
I agree that Zarates sollution with one swf is very nice! And will work in
most cases.
The only problem is that you are bound to the glyps Flash imports for a
font-object.
The workaround would be to create a swf with SWFMill so you can specify all
glyps or use textfields then you can specify them yourself, but then you'll
have to have two swf's.
One for runtime export and one for runtime import, that's the case.

Bernard 

 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Namens 
 Cedric Muller
 Verzonden: dinsdag 30 mei 2006 10:47
 Aan: Flashcoders mailing list
 Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts
 
 ok, maybe it is the not the *best*, but it is definitely the 
 one which narrows down the problem to ONE swf ...
 of course, erixtekila's solution is in the same verve: yours 
 is Flash IDE, his is Open Source 
 
 cedric
 
  Thanks Cedric :)
 
  However, I really don't care now which option is the best (but hey, 
  thanks again :P), I just want to understand what Ivan means with:
 
  use solutions with dubious copyrights
 
  Seems a little bit of FUD, actually. It would be greatly 
 appreciated 
  further explanations.
 
  Cheers!
 
  On 5/30/06, Cedric Muller [EMAIL PROTECTED] wrote:
  Zarate,
 
  The 'Shared Fonts' problem is very funny ... you have got people 
  sticking to solutions that aren't :)) and it gets back in time ...
  like a cycle, with the same answers again ;) I REALLY 
 don't know why 
  your solution never was approved ... it is the best out there, the 
  BEST it has been working for me in the biggest project of all my 
  times (300
  +classes) with a charm
  and yes
  it is better than sharedfonts.com or bernard's solution BECAUSE it 
  only uses 1 (ONE!) SWF ...
 
  anyway, who thought we needed TWO swfs in order to share something 
  ??? ;)
 
  Cedric
 
   I don´t think he means that... at doesn´t make any sense for me.
  
   By the way, if you want to avoid using two files per font, take
  a look
   to this (french):
  
   http://www.v-i-a.net/blog/archives/43.html
  
   I did myself almost 2 years ago some RD to use just one file
   (spanish):
  
   http://www.zarate.tv/articulos/shared_fonts/index.php
  
   AFAIK, I´m not violating any license or copyright :D
  
   Cheers,
  
   On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote:
   Hi Zarate,
  
   I don't know either ;)
   I think Ivan means the principle of my code and the priciple of
  the
   sharedfonts system
   They both use 2 swf's for loading the font.
   There can't be copyright on that, because that's the 
 only way the 
   flashplayer allows fonts to be dynamicaly loaded.
   And it's no secret code or something, just a player 
 posibility..
  
   Bernard
  
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
 Namens Zárate
Verzonden: maandag 29 mei 2006 23:13
Aan: Flashcoders mailing list
Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts
   
Hi,
   
Which copyright problems are we talking about? Maybe 
 I´m missing 
something here.
   
Cheers,
   
On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote:
 Well, I haven't had any difficulties.. And i've used it in
many sites..
 But if you say so ;)

 Bernard


  -Oorspronkelijk bericht-
  Van: [EMAIL PROTECTED]
  
 [mailto:[EMAIL PROTECTED] Namens Iv
  Verzonden: maandag 29 mei 2006 21:31
  Aan: Flashcoders mailing list
  Onderwerp: Re[4]: [Flashcoders] Shared fonts
 
  Hello Bernard,
 
  - and.. I'm sorry, but your code have imperfections.
It's works, but you need support experiance with many
languages and
different situations for find a problems in your code.
It's one more reason for use original solution.
 
 
  --
  Ivan Dembicki
   
  __
  __
  [EMAIL PROTECTED] ||
  http://www.design.ru
 
  ___
  Flashcoders@chattyfig.figleaf.com To change your 
  subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software Premier 
 Authorized Adobe 
  Consulting and Training http://www.figleaf.com 
  http://training.figleaf.com
 

 ___
 Flashcoders@chattyfig.figleaf.com To change your 
 subscription 
 options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software Premier 
 Authorized Adobe 
 Consulting and Training http://www.figleaf.com 
 http://training.figleaf.com

   
   
--
Zárate
___
Flashcoders@chattyfig.figleaf.com To change your

Re: Re[6]: [Flashcoders] Shared fonts

2006-05-30 Thread Zárate

Hi Ivan,

Your name and link to the Shared Font Manager are there because I
looked at them before developing my own method. I thought (and still
think) I should thank everyone that had tried to solve the problem
before. What we use to know as previous work.

Having said that, I really think you do not have any kind of copyright
over the two-files-per-font approach. I mean, you're absolutely free
to do/sell whatever you want (really happy to know you are still
making money from it), but, IMHO, you cannot blame someone else for
using a similar approach to solve the same problem. I cannot blame
someone using my one-file-per-font approach as well.

Cheers,

On 5/30/06, Iv [EMAIL PROTECTED] wrote:

Hello Zбrate,

Z I just want to understand what Ivan means with:
Z use solutions with dubious copyrights

- my congratulations. you have good and interesting solution.
  your OWN solution. Now I has seen it first time.
  I has experiments with self included libraries too but I used textfields
  for include fonts. Shared library mc was placed in second frame. In
  first frame I hase a code for avoid recursive shared libraries loading.
  In my case it was very difficult for understanding by users and hard
  for create and debug font libraries.
  I think you know and understand this problems very good.

- In your articles I don't understand text, sorry, but I has found a
  link to sharedfonts.com and my name. Thank you.
  I'm glad if I made something for find you your solution.
  And again: it's your own solution.

Thank you.

--
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Zárate
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re[8]: [Flashcoders] Shared fonts

2006-05-30 Thread Iv
Hello Zбrate,

Z you cannot blame someone else for using a similar approach to solve
Z the same problem.
- similar and the same - is different things.

Z I cannot blame someone using my one-file-per-font approach as well.
- now yes. because you share it. But if you has invest a money to your own
  unique solution based on your discoveries I think you can expect
  from community respect for your interests.
  


-- 
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: Re[4]: [Flashcoders] Shared fonts

2006-05-30 Thread Cedric Muller
I agree that Zarates sollution with one swf is very nice! And will  
work in

most cases.
The only problem is that you are bound to the glyps Flash imports  
for a

font-object.

is this the only case ?

The workaround would be to create a swf with SWFMill so you can  
specify all
glyps or use textfields then you can specify them yourself, but  
then you'll

have to have two swf's.
One for runtime export and one for runtime import, that's the case.

actually, you can, SWFmill and more:
http://www.v-i-a.net/blog/archives/43.html
http://www.deja-vue.net/blog/2006/05/26/as2-sharedfonts-datagrid- 
example-the-last-stand/#more-42




Bernard


-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens
Cedric Muller
Verzonden: dinsdag 30 mei 2006 10:47
Aan: Flashcoders mailing list
Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts

ok, maybe it is the not the *best*, but it is definitely the
one which narrows down the problem to ONE swf ...
of course, erixtekila's solution is in the same verve: yours
is Flash IDE, his is Open Source 

cedric


Thanks Cedric :)

However, I really don't care now which option is the best (but hey,
thanks again :P), I just want to understand what Ivan means with:

use solutions with dubious copyrights

Seems a little bit of FUD, actually. It would be greatly

appreciated

further explanations.

Cheers!

On 5/30/06, Cedric Muller [EMAIL PROTECTED] wrote:

Zarate,

The 'Shared Fonts' problem is very funny ... you have got people
sticking to solutions that aren't :)) and it gets back in time ...
like a cycle, with the same answers again ;) I REALLY

don't know why

your solution never was approved ... it is the best out there, the
BEST it has been working for me in the biggest project of all my
times (300
+classes) with a charm
and yes
it is better than sharedfonts.com or bernard's solution BECAUSE it
only uses 1 (ONE!) SWF ...

anyway, who thought we needed TWO swfs in order to share something
??? ;)

Cedric


I don´t think he means that... at doesn´t make any sense for me.

By the way, if you want to avoid using two files per font, take

a look

to this (french):

http://www.v-i-a.net/blog/archives/43.html

I did myself almost 2 years ago some RD to use just one file
(spanish):

http://www.zarate.tv/articulos/shared_fonts/index.php

AFAIK, I´m not violating any license or copyright :D

Cheers,

On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote:

Hi Zarate,

I don't know either ;)
I think Ivan means the principle of my code and the priciple of

the

sharedfonts system
They both use 2 swf's for loading the font.
There can't be copyright on that, because that's the

only way the

flashplayer allows fonts to be dynamicaly loaded.
And it's no secret code or something, just a player

posibility..


Bernard


-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]

Namens Zárate

Verzonden: maandag 29 mei 2006 23:13
Aan: Flashcoders mailing list
Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts

Hi,

Which copyright problems are we talking about? Maybe

I´m missing

something here.

Cheers,

On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote:

Well, I haven't had any difficulties.. And i've used it in

many sites..

But if you say so ;)

Bernard



-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]


[mailto:[EMAIL PROTECTED] Namens Iv

Verzonden: maandag 29 mei 2006 21:31
Aan: Flashcoders mailing list
Onderwerp: Re[4]: [Flashcoders] Shared fonts

Hello Bernard,

- and.. I'm sorry, but your code have imperfections.
  It's works, but you need support experiance with many

languages and

  different situations for find a problems in your code.
  It's one more reason for use original solution.


--
Ivan Dembicki


__

__
[EMAIL PROTECTED] ||
http://www.design.ru

___
Flashcoders@chattyfig.figleaf.com To change your
subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software Premier

Authorized Adobe

Consulting and Training http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com To change your

subscription

options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software Premier

Authorized Adobe

Consulting and Training http://www.figleaf.com
http://training.figleaf.com




--
Zárate
___
Flashcoders@chattyfig.figleaf.com To change your subscription
options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software Premier Authorized Adobe
Consulting and Training http://www.figleaf.com
http://training.figleaf.com

Re: Re[4]: [Flashcoders] Shared fonts

2006-05-30 Thread erixtekila


The workaround would be to create a swf with SWFMill so you can  
specify all
glyps or use textfields then you can specify them yourself, but then  
you'll

have to have two swf's.
One for runtime export and one for runtime import, that's the case.

actually, you can, SWFmill and more:
http://www.v-i-a.net/blog/archives/43.html
http://www.deja-vue.net/blog/2006/05/26/as2-sharedfonts-datagrid- 
example-the-last-stand/#more-42


I'll try to take time to translate my article soon.
BTW, Mike's one is pretty good also.

There is no revolution in this, just a trick.
I think that since multi-tiers shared libraries was available (Flash 6,  
I presume), we were able to use a single swf that contains shared font  
glyphs.

Only RD permitted to find the way.

So kuddos to the pionneers : lv and zarate.

Let's sum up a little :
There are two solutions that use the same trick.
The trick is to create a swf that referenced itself has a shared lib  
(importing AND exporting its own assets)
After, you need to be sure to load that swf and wait for a frame in  
order to be able to use the glyphs.


Unfortunatly, it seems that Flash 8 ide doesn't accept to link a swf to  
itself anymore.
swfmill is really a good tool to do whatever you want (good swf  
knowledge needed)


Last thing to note.
In order to use shared fonts compiled for swf8, be sure to use the last  
snapshot of swfmill (unreleased til now) :

http://iterative.org/swfmill/pre/

To end the discussion, I wasn't able to use the same trick for other  
types of assets (bitmap or vectors).

If any pionneers feels the need to investigate further…


---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: Re[4]: [Flashcoders] Shared fonts

2006-05-30 Thread Cedric Muller


To end the discussion, I wasn't able to use the same trick for  
other types of assets (bitmap or vectors).

If any pionneers feels the need to investigate further…



I have used the same technique for sharing AS2 classes ... never  
tried with bitmaps or vectors though


cedric___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: Re[4]: [Flashcoders] Shared fonts

2006-05-30 Thread Bernard Visscher
  To end the discussion, I wasn't able to use the same trick 
 for other 
  types of assets (bitmap or vectors).
  If any pionneers feels the need to investigate further.
 
 
 I have used the same technique for sharing AS2 classes ... never  
 tried with bitmaps or vectors though

With bitmaps you could use the bitmapdata to draw it in another movie.
Lets say you have a movieclip which holds a logo (library name:
companyLogo).
In that movieclip, you'll have to have something like this as code:

import flash.display.*;
function attachMe(target:MovieClip, objectName:String){
var t:MovieClip =
attachMovie(objectName,image,target.getNextHighestDepth(),{_x:5000,_y:5000
});
var b:BitmapData = new BitmapData(t._width,
t._height,false,0x00);
b.draw(t);
t.unloadMovie();
target.attachBitmap(b,target.getNextHighestDepth());
delete b;   
}

Now from another movie you load the holder (lets say holder.swf)

And you can call: holder.attachMe(__myTargetClip,companyLogo);

Bernard

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: Re[4]: [Flashcoders] Shared fonts

2006-05-30 Thread erixtekila

With bitmaps you could use the bitmapdata to draw it in another movie.

Yes, but Flash 8 only.
Beautiful solution anyhow…

---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Shared fonts

2006-05-29 Thread Bernard Visscher
Hi all,

Last weeks/months I see more and more questions about shared fonts.
I've used the following for about a year now and it works for me.
The basic is the same as sharedfonts (2 swf's to load the fonts), I'm sorry
for all the people behind sharedfonts for this.

Example: http://www.debit.nl/flashcoders/fonts/
FontLoader.as : http://www.debit.nl/flashcoders/FontLoader.txt
Source of the example: http://www.debit.nl/flashcoders/FontLoader.zip

Good luck with the code.

Bernard

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts

2006-05-29 Thread Iv
Hello Bernard,

- thank you!


BV Last weeks/months I see more and more questions about shared fonts.
BV I've used the following for about a year now and it works for me.
BV The basic is the same as sharedfonts (2 swf's to load the fonts), I'm sorry
BV for all the people behind sharedfonts for this.

BV Example: http://www.debit.nl/flashcoders/fonts/
BV FontLoader.as : http://www.debit.nl/flashcoders/FontLoader.txt
BV Source of the example: http://www.debit.nl/flashcoders/FontLoader.zip

BV Good luck with the code.

BV Bernard

BV ___
BV Flashcoders@chattyfig.figleaf.com
BV To change your subscription options or search the archive:
BV http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

BV Brought to you by Fig Leaf Software
BV Premier Authorized Adobe Consulting and Training
BV http://www.figleaf.com
BV http://training.figleaf.com



-- 
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re[2]: [Flashcoders] Shared fonts

2006-05-29 Thread Iv
Hello Bernard,

- really it isn't a problem: SFM work principles was published many
  times but sales not stopped yet.
  Trere are many companies and peoples which can't allow himself to
  use solutions with dubious copyrights.
  Of course many companies and peoples don't think about it. In any
  case it isn't my clients.
  Also SFM is free for web site developers and if developer can't add
  SFM to project budget for client he can receive it free from me. I
  understand situation: I'm developer too.

  I hope my english is understandable,

  good luck!

BV I believe we had the discussion about this more than a year ago ;)
BV You know the code is different from the sahredfonts code and there is no AS
BV involved in the lib's
BV I'm sorry..


-- 
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: Re[2]: [Flashcoders] Shared fonts

2006-05-29 Thread Bernard Visscher
 Hi Ivan,

 - really it isn't a problem: SFM work principles was published many
   times but sales not stopped yet.
Glad to hear it.. I really mean it! It's a good thing people can get money
for their knowledge.

   Trere are many companies and peoples which can't allow himself to
   use solutions with dubious copyrights.
Well, dubious copyrights aren't an issue with this code. The basic maybe the
same as shared fonts, but so are linux and windows.. They both use the x86
architecture ;)

   Of course many companies and peoples don't think about it. In any
   case it isn't my clients.
   Also SFM is free for web site developers and if developer can't add
   SFM to project budget for client he can receive it free from me. I
   understand situation: I'm developer too.

Ivan.. Maybe you can update SFM, feel free to use this code. In my opinion
SFM is too old and can't be successfully used in an FAME (or other)
enviroment.
 
   I hope my english is understandable,
I hope mine is too ;)
 
   good luck!
You too!

Greetz,

Bernard

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re[4]: [Flashcoders] Shared fonts

2006-05-29 Thread Iv
Hello Bernard,

BV In my opinion SFM is too old and can't be successfully used in
BV an FAME (or other) enviroment.
- SFM is AS2 class compatible for the most hard parser settings in FDT.
  But for licensed users only :)
  

-- 
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re[4]: [Flashcoders] Shared fonts

2006-05-29 Thread Iv
Hello Bernard,

- and.. I'm sorry, but your code have imperfections.
  It's works, but you need support experiance with many languages and
  different situations for find a problems in your code.
  It's one more reason for use original solution.


-- 
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: Re[4]: [Flashcoders] Shared fonts

2006-05-29 Thread Bernard Visscher
Well, I haven't had any difficulties.. And i've used it in many sites..
But if you say so ;)

Bernard
 

 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Namens Iv
 Verzonden: maandag 29 mei 2006 21:31
 Aan: Flashcoders mailing list
 Onderwerp: Re[4]: [Flashcoders] Shared fonts
 
 Hello Bernard,
 
 - and.. I'm sorry, but your code have imperfections.
   It's works, but you need support experiance with many languages and
   different situations for find a problems in your code.
   It's one more reason for use original solution.
 
 
 --
 Ivan Dembicki
 __
 __
 [EMAIL PROTECTED] || 
 http://www.design.ru
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: Re[4]: [Flashcoders] Shared fonts

2006-05-29 Thread Zárate

Hi,

Which copyright problems are we talking about? Maybe I´m missing something here.

Cheers,

On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote:

Well, I haven't had any difficulties.. And i've used it in many sites..
But if you say so ;)

Bernard


 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Namens Iv
 Verzonden: maandag 29 mei 2006 21:31
 Aan: Flashcoders mailing list
 Onderwerp: Re[4]: [Flashcoders] Shared fonts

 Hello Bernard,

 - and.. I'm sorry, but your code have imperfections.
   It's works, but you need support experiance with many languages and
   different situations for find a problems in your code.
   It's one more reason for use original solution.


 --
 Ivan Dembicki
 __
 __
 [EMAIL PROTECTED] ||
 http://www.design.ru

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Zárate
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: Re[4]: [Flashcoders] Shared fonts

2006-05-29 Thread Bernard Visscher
Hi Zarate,

I don't know either ;)
I think Ivan means the principle of my code and the priciple of the
sharedfonts system
They both use 2 swf's for loading the font.
There can't be copyright on that, because that's the only way the
flashplayer allows fonts to be dynamicaly loaded.
And it's no secret code or something, just a player posibility..

Bernard

 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Namens Zárate
 Verzonden: maandag 29 mei 2006 23:13
 Aan: Flashcoders mailing list
 Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts
 
 Hi,
 
 Which copyright problems are we talking about? Maybe I´m 
 missing something here.
 
 Cheers,
 
 On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote:
  Well, I haven't had any difficulties.. And i've used it in 
 many sites..
  But if you say so ;)
 
  Bernard
 
 
   -Oorspronkelijk bericht-
   Van: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Namens Iv
   Verzonden: maandag 29 mei 2006 21:31
   Aan: Flashcoders mailing list
   Onderwerp: Re[4]: [Flashcoders] Shared fonts
  
   Hello Bernard,
  
   - and.. I'm sorry, but your code have imperfections.
 It's works, but you need support experiance with many 
 languages and
 different situations for find a problems in your code.
 It's one more reason for use original solution.
  
  
   --
   Ivan Dembicki
   __
   __
   [EMAIL PROTECTED] ||
   http://www.design.ru
  
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training 
   http://www.figleaf.com http://training.figleaf.com
  
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training 
  http://www.figleaf.com http://training.figleaf.com
 
 
 
 -- 
 Zárate
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: Re[4]: [Flashcoders] Shared fonts

2006-05-29 Thread Zárate

I don´t think he means that... at doesn´t make any sense for me.

By the way, if you want to avoid using two files per font, take a look
to this (french):

http://www.v-i-a.net/blog/archives/43.html

I did myself almost 2 years ago some RD to use just one file (spanish):

http://www.zarate.tv/articulos/shared_fonts/index.php

AFAIK, I´m not violating any license or copyright :D

Cheers,

On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote:

Hi Zarate,

I don't know either ;)
I think Ivan means the principle of my code and the priciple of the
sharedfonts system
They both use 2 swf's for loading the font.
There can't be copyright on that, because that's the only way the
flashplayer allows fonts to be dynamicaly loaded.
And it's no secret code or something, just a player posibility..

Bernard

 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Namens Zárate
 Verzonden: maandag 29 mei 2006 23:13
 Aan: Flashcoders mailing list
 Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts

 Hi,

 Which copyright problems are we talking about? Maybe I´m
 missing something here.

 Cheers,

 On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote:
  Well, I haven't had any difficulties.. And i've used it in
 many sites..
  But if you say so ;)
 
  Bernard
 
 
   -Oorspronkelijk bericht-
   Van: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Namens Iv
   Verzonden: maandag 29 mei 2006 21:31
   Aan: Flashcoders mailing list
   Onderwerp: Re[4]: [Flashcoders] Shared fonts
  
   Hello Bernard,
  
   - and.. I'm sorry, but your code have imperfections.
 It's works, but you need support experiance with many
 languages and
 different situations for find a problems in your code.
 It's one more reason for use original solution.
  
  
   --
   Ivan Dembicki
   __
   __
   [EMAIL PROTECTED] ||
   http://www.design.ru
  
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com http://training.figleaf.com
  
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com http://training.figleaf.com
 


 --
 Zárate
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Zárate
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts issue

2006-05-25 Thread David Serrano

I load 12 shared fonts in a different swf's separately.
I have tested the application in a different pc. The player version is 8.
I think the problem is when I load the swf's in one movie , his content 
needs to redistribute it to the others movies(similar to use any 
Macromedia component).

I put a real example:

My swf movie that contains the shared fonts is loaded in a content of 
other movie. This movie also is loaded in my main movie with another 
loadMovie. The real situation is that my shared fonts movie is loaded in 
the third level of my main application( after 2 loadMovies), so I think 
that when I load the fonts, they need to do a copy of the library on his 
father movie, so, for this reason, the shared fonts are temporally 
located in the 3 library movies. Is it true?


How you will do this?

Best regards,

David.

Marcelo de Moraes Serpa escribió:

Hello David,

How many fonts in the shared library swf? Maybe the player version, pc 
specs

and browser would also be good for us to try to help you.

- Marcelo.

On 5/24/06, David Serrano [EMAIL PROTECTED] wrote:



Hello.

I have a big problem with shared fonts. I am doing an editor that has a
list of fonts to choose. This fonts are dynamically loaded from a swf
with his embed font. When I try to load 10 fonts in a movieclip, with
his preload for each one, the application runs well, but if I load this
movie from my main movie, via loadMovie, my application turns very 
slowly.

In my main I haven't any shared font.

Any clue?

David.



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts issue

2006-05-25 Thread Anggie Bratadinata

What about loading those fonts into the main movie?
I did it on my flash site and it worked just fine.

--
Anggie Bratadinata
Web|Graphic|Flash
Jl. Raya Langsep 21
Malang - East Java
I N D O N E S I A
http://design.ibshastautama.com


David Serrano wrote:

I load 12 shared fonts in a different swf's separately.
I have tested the application in a different pc. The player version is 8.
I think the problem is when I load the swf's in one movie , his content 
needs to redistribute it to the others movies(similar to use any 
Macromedia component).

I put a real example:

My swf movie that contains the shared fonts is loaded in a content of 
other movie. This movie also is loaded in my main movie with another 
loadMovie. The real situation is that my shared fonts movie is loaded in 
the third level of my main application( after 2 loadMovies), so I think 
that when I load the fonts, they need to do a copy of the library on his 
father movie, so, for this reason, the shared fonts are temporally 
located in the 3 library movies. Is it true?


How you will do this?

Best regards,

David.

Marcelo de Moraes Serpa escribió:

Hello David,

How many fonts in the shared library swf? Maybe the player version, pc 
specs

and browser would also be good for us to try to help you.

- Marcelo.

On 5/24/06, David Serrano [EMAIL PROTECTED] wrote:



Hello.

I have a big problem with shared fonts. I am doing an editor that has a
list of fonts to choose. This fonts are dynamically loaded from a swf
with his embed font. When I try to load 10 fonts in a movieclip, with
his preload for each one, the application runs well, but if I load this
movie from my main movie, via loadMovie, my application turns very 
slowly.

In my main I haven't any shared font.

Any clue?

David.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Shared fonts issue

2006-05-24 Thread David Serrano


Hello.

I have a big problem with shared fonts. I am doing an editor that has a 
list of fonts to choose. This fonts are dynamically loaded from a swf 
with his embed font. When I try to load 10 fonts in a movieclip, with 
his preload for each one, the application runs well, but if I load this 
movie from my main movie, via loadMovie, my application turns very slowly.

In my main I haven't any shared font.

Any clue?

David.



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts issue

2006-05-24 Thread Marcelo de Moraes Serpa

Hello David,

How many fonts in the shared library swf? Maybe the player version, pc specs
and browser would also be good for us to try to help you.

- Marcelo.

On 5/24/06, David Serrano [EMAIL PROTECTED] wrote:



Hello.

I have a big problem with shared fonts. I am doing an editor that has a
list of fonts to choose. This fonts are dynamically loaded from a swf
with his embed font. When I try to load 10 fonts in a movieclip, with
his preload for each one, the application runs well, but if I load this
movie from my main movie, via loadMovie, my application turns very slowly.
In my main I haven't any shared font.

Any clue?

David.



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Shared fonts nightmare

2006-04-28 Thread Serge Jespers

Hey guyz,

I'm working on this project that has a shared library with some  
movieclips and fonts...

It are those fonts that cause quite a bit of stress...

The designer on this project is on a PC and I work on a Mac... Not  
that that should matter but I'm taking a wild guess this is the  
problem...


The situation... Both his PC and my Mac have all the fonts... Same  
TTF files. However, if I use the shared fonts in the swf on the  
server, they come out looking like this: http://webkitchen.be/ 
downloads/sharedfonts.png

Not really what was intended...

If I make that library again, and use my shared lib instead of the  
one on the server, the text comes out right but is shifted down by  
quite a few pixels causing the design to be screwed up...


So yeah... Should we just drop the shared fonts and thereby add a  
some 50k to each swf? Or is there something we may not have thought  
about?


Thanks for your help,
Serge


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts nightmare

2006-04-28 Thread eugen pflüger

i never worked with shared fonts but maybe this could help you:
http://www.sharedfonts.com

e


Am 28.04.2006 um 09:44 schrieb Serge Jespers:


Hey guyz,

I'm working on this project that has a shared library with some  
movieclips and fonts...

It are those fonts that cause quite a bit of stress...

The designer on this project is on a PC and I work on a Mac... Not  
that that should matter but I'm taking a wild guess this is the  
problem...


The situation... Both his PC and my Mac have all the fonts... Same  
TTF files. However, if I use the shared fonts in the swf on the  
server, they come out looking like this: http://webkitchen.be/ 
downloads/sharedfonts.png

Not really what was intended...

If I make that library again, and use my shared lib instead of the  
one on the server, the text comes out right but is shifted down by  
quite a few pixels causing the design to be screwed up...


So yeah... Should we just drop the shared fonts and thereby add a  
some 50k to each swf? Or is there something we may not have thought  
about?


Thanks for your help,
Serge


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com










plugisto
...
eugen pflüger

alexanderstr. 109
70180 stuttgart

fon +49.711.6739797
mobil   +49.177.6428272
e-mail  [EMAIL PROTECTED]
...
http://www.plugisto.net
http://itself.pmalc.de
http://www.lifeperformance.net


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts nightmare

2006-04-28 Thread Danny Kodicek
 I'm working on this project that has a shared library with some
 movieclips and fonts...
 It are those fonts that cause quite a bit of stress...

 The designer on this project is on a PC and I work on a Mac... Not
 that that should matter but I'm taking a wild guess this is the
 problem...

 The situation... Both his PC and my Mac have all the fonts... Same
 TTF files. However, if I use the shared fonts in the swf on the
 server, they come out looking like this: http://webkitchen.be/
 downloads/sharedfonts.png
 Not really what was intended...

It looks like you're dealing with the same problem I've been struggling with
recently. It's all about code pages. Windows and Macs have different ways of
translating text info into characters. The lower-end characters (those in
the ASCII range from 0-127) are the same. The higher end ones (in the ANSI
range 128-255) are different. You can see them in these tables:
http://en.wikipedia.org/wiki/Mac_OS_Roman,
http://en.wikipedia.org/wiki/Windows-1252 (These are for English-language
OS's; for other languages the encodings are different again).

There are a number of ways to deal with this. One is simply to switch to
Unicode. Unicode is cross-platform and will work in any language. If you
can't use Unicode for some reason, you have two options: either create two
fonts, one for the Mac and one for Windows (possibly more if you need to
deal with multiple regions), or do what I did, which is to run a translation
function to change your text from one code page to the other (eg, running
myText.split(String.fromCharCode(128)).join(String.fromCharCode(219)) will
swap a Windows Euro symbol with a Mac Euro symbol). This isn't going to
solve your problem in a general sense, and it will only work for those
characters that are represented in both code pages, but if you have some
control over which characters you will be using, it will do the job.

Best
Danny

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts nightmare

2006-04-28 Thread Kevin Newman
I just posted something similar a few days ago. To take care of the font 
shifting you can make sure to publish the files with the fonts on the 
system they were designed on. So for example if you did the design on 
the pc, then the swf and the shared lib with the fonts should also be 
published on the pc. If you did the design on the mac, then the final 
output should also be on the mac.


I suppose you could end up with a problem where some files were designed 
on the mac, and some on then pc, in this case you may never be able to 
get them to line up right all the time using the same publishing 
computer - so you could do a comprimise by making sure all PC designed 
flas are finally published on a PC and use a PC fonts shared lib, while 
all the Mac designed flas are published on the Mac, and use a Mac fonts 
shared lib. It's suboptimal, but it's better than 50K on every file.


By the way I have no experience with fonts in shared libraries, so while 
conceptually this solution should work, it might be overkill, since just 
making sure to publish the final swf on the platform they were layed out 
in, might fix the problem. In our environment, I do programming on the 
PC, and the designers do layout on the Mac, so after they do the layout, 
I have to program it, then send it back to them for final output to get 
the fonts to line up. I'm not sure how to work in the shared font libs, 
but I would bet that using two different libs (one PC and one Mac) would 
fix it.


Kevin N.


Serge Jespers wrote:

Hey guyz,

I'm working on this project that has a shared library with some 
movieclips and fonts...

It are those fonts that cause quite a bit of stress...

The designer on this project is on a PC and I work on a Mac... Not 
that that should matter but I'm taking a wild guess this is the 
problem...


The situation... Both his PC and my Mac have all the fonts... Same TTF 
files. However, if I use the shared fonts in the swf on the server, 
they come out looking like this: 
http://webkitchen.be/downloads/sharedfonts.png

Not really what was intended...

If I make that library again, and use my shared lib instead of the one 
on the server, the text comes out right but is shifted down by quite a 
few pixels causing the design to be screwed up...


So yeah... Should we just drop the shared fonts and thereby add a some 
50k to each swf? Or is there something we may not have thought about?


Thanks for your help,
Serge





___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts nightmare

2006-04-28 Thread elibol

Nice idea. You think just one shared library would work?

Since the problem is that each platform renders the same font differently,
the presentation needs to be compiled in the same platform it was designed
in, but the source should have no effect on the presentation; atleast none
that pertain from the compiler. This approach is analogous to how the same
font on both platforms render differently.

If the process of embeding the font is the source of the problem, it can be
determined by observing the effects of not embeding the culprit font,
however, I'm under the impression that this occurs at author time. If it's
the case, then you would have to seperate the libraries.

I had this problem when I was freelancing with a company that had mac users,
and if my memory is right, then the fonts were shifted at author time.

Just tossing in my 2 cents =]

M.

On 4/28/06, Kevin Newman [EMAIL PROTECTED] wrote:


I just posted something similar a few days ago. To take care of the font
shifting you can make sure to publish the files with the fonts on the
system they were designed on. So for example if you did the design on
the pc, then the swf and the shared lib with the fonts should also be
published on the pc. If you did the design on the mac, then the final
output should also be on the mac.

I suppose you could end up with a problem where some files were designed
on the mac, and some on then pc, in this case you may never be able to
get them to line up right all the time using the same publishing
computer - so you could do a comprimise by making sure all PC designed
flas are finally published on a PC and use a PC fonts shared lib, while
all the Mac designed flas are published on the Mac, and use a Mac fonts
shared lib. It's suboptimal, but it's better than 50K on every file.

By the way I have no experience with fonts in shared libraries, so while
conceptually this solution should work, it might be overkill, since just
making sure to publish the final swf on the platform they were layed out
in, might fix the problem. In our environment, I do programming on the
PC, and the designers do layout on the Mac, so after they do the layout,
I have to program it, then send it back to them for final output to get
the fonts to line up. I'm not sure how to work in the shared font libs,
but I would bet that using two different libs (one PC and one Mac) would
fix it.

Kevin N.


Serge Jespers wrote:
 Hey guyz,

 I'm working on this project that has a shared library with some
 movieclips and fonts...
 It are those fonts that cause quite a bit of stress...

 The designer on this project is on a PC and I work on a Mac... Not
 that that should matter but I'm taking a wild guess this is the
 problem...

 The situation... Both his PC and my Mac have all the fonts... Same TTF
 files. However, if I use the shared fonts in the swf on the server,
 they come out looking like this:
 http://webkitchen.be/downloads/sharedfonts.png
 Not really what was intended...

 If I make that library again, and use my shared lib instead of the one
 on the server, the text comes out right but is shifted down by quite a
 few pixels causing the design to be screwed up...

 So yeah... Should we just drop the shared fonts and thereby add a some
 50k to each swf? Or is there something we may not have thought about?

 Thanks for your help,
 Serge




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts nightmare

2006-04-28 Thread Kevin Newman

That's even better then. :-)

I actually don't know where the problem is, with embedding or with 
authoring - but as you said, it should be easy to figure it out, and if 
it's embedding that's the problem, then the workaround is pretty easy 
too (using two different external libs for the fonts - 1 PC, and 1 Mac).


Kevin N.


elibol wrote:

Nice idea. You think just one shared library would work?

Since the problem is that each platform renders the same font 
differently,
the presentation needs to be compiled in the same platform it was 
designed
in, but the source should have no effect on the presentation; atleast 
none
that pertain from the compiler. This approach is analogous to how the 
same

font on both platforms render differently.

If the process of embeding the font is the source of the problem, it 
can be

determined by observing the effects of not embeding the culprit font,
however, I'm under the impression that this occurs at author time. If 
it's

the case, then you would have to seperate the libraries.

I had this problem when I was freelancing with a company that had mac 
users,

and if my memory is right, then the fonts were shifted at author time.

Just tossing in my 2 cents =]

M.

On 4/28/06, Kevin Newman [EMAIL PROTECTED] wrote:


I just posted something similar a few days ago. To take care of the font
shifting you can make sure to publish the files with the fonts on the
system they were designed on. So for example if you did the design on
the pc, then the swf and the shared lib with the fonts should also be
published on the pc. If you did the design on the mac, then the final
output should also be on the mac.

I suppose you could end up with a problem where some files were designed
on the mac, and some on then pc, in this case you may never be able to
get them to line up right all the time using the same publishing
computer - so you could do a comprimise by making sure all PC designed
flas are finally published on a PC and use a PC fonts shared lib, while
all the Mac designed flas are published on the Mac, and use a Mac fonts
shared lib. It's suboptimal, but it's better than 50K on every file.

By the way I have no experience with fonts in shared libraries, so while
conceptually this solution should work, it might be overkill, since just
making sure to publish the final swf on the platform they were layed out
in, might fix the problem. In our environment, I do programming on the
PC, and the designers do layout on the Mac, so after they do the layout,
I have to program it, then send it back to them for final output to get
the fonts to line up. I'm not sure how to work in the shared font libs,
but I would bet that using two different libs (one PC and one Mac) would
fix it.

Kevin N.


Serge Jespers wrote:
 Hey guyz,

 I'm working on this project that has a shared library with some
 movieclips and fonts...
 It are those fonts that cause quite a bit of stress...

 The designer on this project is on a PC and I work on a Mac... Not
 that that should matter but I'm taking a wild guess this is the
 problem...

 The situation... Both his PC and my Mac have all the fonts... Same TTF
 files. However, if I use the shared fonts in the swf on the server,
 they come out looking like this:
 http://webkitchen.be/downloads/sharedfonts.png
 Not really what was intended...

 If I make that library again, and use my shared lib instead of the one
 on the server, the text comes out right but is shifted down by quite a
 few pixels causing the design to be screwed up...

 So yeah... Should we just drop the shared fonts and thereby add a some
 50k to each swf? Or is there something we may not have thought about?

 Thanks for your help,
 Serge









___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] shared Fonts

2005-11-11 Thread eric dolecki
I'd like to be able to make a component that uses a custom made font.

If I make a Font Symbol with linkage and export, technically any developer
who installs my component should have that font available (working in the
component), correct?

e.d.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] shared Fonts

2005-11-11 Thread eric dolecki
poop.


On 11/11/05, JesterXL [EMAIL PROTECTED] wrote:

 No, that's just a pointer to the font. You actually have to have the font
 on your machine for it to compile it into the SWF.

 You can, however, compile the font into a SWF, and distribute the SWF, but
 it won't work unless you have an instance of it in _level0, thus the only
 way realistically is to use something like SWFMill to exract it (if it can
 do that).

 ... or distribute the font.

 - Original Message -
 From: eric dolecki [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Friday, November 11, 2005 3:43 PM
 Subject: [Flashcoders] shared Fonts


 I'd like to be able to make a component that uses a custom made font.

 If I make a Font Symbol with linkage and export, technically any developer
 who installs my component should have that font available (working in the
 component), correct?

 e.d.
 ___
 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

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders