Hi,
You can do the AS3 Embed test with FlashDevelop = £0, so download the
FlexSDK, install it, then FD, then maybe try the example on
ScottMorgan's blog -
You should be able to create a simple FD project (AS3 "default") paste
in the code for the font from the blog, and click the build / run button
to compile.
One thing to note with embedding is the path to the font, you may want
to copy a version into a directory in the project folder rather than
rely on the System or file based "C:\.." fonts as I sometimes had
problems with the compiler and this mde them go away.
http://www.adobe.com/products/flex/flexdownloads/#sdk
http://www.flashdevelop.org/community/viewforum.php?f=11&sid=1ef39000400abfd888216f8b507a9901
<http://www.flashdevelop.org/community/viewforum.php?f=11&sid=1ef39000400abfd888216f8b507a9901>
FD releases
If you like FD and want to do a lot of compiling with it, I recommend
getting the flex compiler shell "fcsh" installed too.
http://labs.adobe.com/wiki/index.php/Flex_Compiler_Shell
Flash Develop is really nice too if you do a lot of coding for AS3. For
what you want to do, you should not have a huge hassle making it work it
either, the learning can come later when you have some breathing space.
Glen
Michael William Ypes wrote:
I was thinking of this route but my flex 3 trial has run out. I am
assuming then that I can load that into a normal flash application and
get it via the class name as per normal.
Has anyone got an example font file (made from flex) that I can test
it with. If not I shall have to go and purchase flex.
On 18 Aug 2008, at 13:37, Glen Pike wrote:
Hi,
You should still be able to load a separarte SWF with a font
embedded then use this on the stage:
http://www.scottgmorgan.com/blog/index.php/2007/06/18/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/
A workaround for the "[Embed] does not work in Flash" issue is to
use another program, like Flash Develop if you ain't got Flex, to
create your font based SWF, then load this from your Flash built
application.
HTH
Glen
Michael William Ypes wrote:
I know the offstage technique but what I want is to load an external
swf with the specific font in it. Then use that font in all other
swfs. You could do this in as2 by loading in a swf that had a shared
library font in it. Bit of a hack but it worked.
I cant quite believe Adobe has not addressed this in cs3 as fonts do
add a huge amount to file sizes. There has got to be a fix for this
surely...
Any more ideas...
Cheers
M
On 18 Aug 2008, at 12:08, Ian Thomas wrote:
On Mon, Aug 18, 2008 at 12:01 PM, Geografiek
<[EMAIL PROTECTED]> wrote:
Define 2 dynamic text field off stage (one for each font) and
define the
character range there.
These characters should now be available to all text fields in the
.swf
*Should* work, but with Flash and font you never know :(
Offstage will do it.
So will exporting in a text field within a MovieClip symbol in the
library, providing that MovieClip symbol is marked for export in first
frame.
HTH,
Ian
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
--
Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>
_______________________________________________
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
--
Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders