View unanswered posts | View active topics



Reply to topic  [ 7 posts ] 
WARNING: end of tag DefineFont3 is @... [SOLVED] 
Author Message
Member

Joined: Fri May 09, 2008 7:27 am
Posts: 119
Location: The Netherlands
Reply with quote
Hi All,
Anyone ever come across this error while working in as2 ?
"WARNING: end of tag DefineFont3 is @55343, should be @58327
Build halted with errors (swfmill)."

It happens when I use certain fonts in my project. I use a Font-symbol and are used throughout my fla file in multiple text fields.

I added the .swf to my FD project and everything works, except when I choose certain fonts, like arial BOLD.. while arial BLACK works fine.

I'm thinking it can be some sort of weird bug, because I just had it working a few minutes ago, but now it wont work anymore..
Or maybe my fonts are incompatible somehow...

my system is windows7 64bit, I'm using FD 3.2.2.rtm, and I even tried upgrading SWFMill to the most current version...
FLA created with flash CS4, when i use CS3, it also doesn't work.
When I compile for flash 7 it works, but that's no solution, because some of the artwork use flash8+ stuff.


I made a little test by creating a textfield, using a font that fails (arial Regular now too,,,, weird) and adding it to a flashDevelop project that includes it and does nothing useful.. when I compile, i get
"WARNING: end of tag DefineFont3 is @55343, should be @58327
Build halted with errors (swfmill).
"

You can download my test here
http://whizzkid.nu/fd/fontproblem/fonttest.rar

If you guys can compile this without errors, the problem lies probably in my fonts...
(which is weird, because Arial is a system font :(

Any help/insight would be welcome,
thanks!

_________________
---
Visit my blog at http://whizzkid74.blogspot.com


Last edited by whizzkid on Mon Aug 16, 2010 8:07 am, edited 1 time in total.



Fri Aug 13, 2010 2:48 pm
Profile WWW
Member

Joined: Sun May 11, 2008 3:01 pm
Posts: 895
Reply with quote
This looks like MXMLC parser / verifier issue. You'd better report this to Adobe: http://bugs.adobe.com/jira/secure/Dashboard.jspa , but check first that the same behavior exists in the latest SDK, and that it hasn't been reported yet. It may also be that you have Flash CS5, but you are trying to compile with SDK version, which doesn't understand DefineFont4 tag, and it thinks it's DefineFont3.

_________________
http://www.couchsurfing.com/people/wvxvw


Fri Aug 13, 2010 8:13 pm
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
No wvxvw this is an AS2 Swfmill issue.

This means Swfmill failed to parse the SWF - try updating Swfmill (included in FD tools in program files) by a more recent (if any) build of Swfmill.

If this doesn't work I'd try rebuilding the font, using a font editor for instance, or extracting it using a SWF decompiler from a SWF built in Flash.


Sat Aug 14, 2010 1:59 pm
Profile WWW
Member

Joined: Fri May 09, 2008 7:27 am
Posts: 119
Location: The Netherlands
Reply with quote
I already tried updating swfmill, sadly, I got the same errors.

Have you guys tried my test file? does it compile for you?

_________________
---
Visit my blog at http://whizzkid74.blogspot.com


Sat Aug 14, 2010 7:28 pm
Profile WWW
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
Ah I see you didn't choose any character range to embed in the TextField.


Sun Aug 15, 2010 7:57 am
Profile WWW
Member

Joined: Fri May 09, 2008 7:27 am
Posts: 119
Location: The Netherlands
Reply with quote
You Sir, are a genious!

Thanks Philippe, that was indeed the problem...

I had 2 buttons that didnt use the font-library I used in all other fonts, but had the same font selected.. So I didn't notice it when running the movie because everything looked fine.

so when I changed the font in the font-lib to another, those 2 buttons still had the old font... and weren't embedded (because other textfields already embedded all chars I needed)

And I couldn't see the result, because the buttons only showed at runtime somewhere in the movie. but since I couldn't compile, I couldnt see that:P

I went through all the textfields in the movie, found the offending buttons, changed the font to the library-font, and presto.. no more errors!!

thanks again!

_________________
---
Visit my blog at http://whizzkid74.blogspot.com


Mon Aug 16, 2010 8:06 am
Profile WWW
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
I simply explored your SWF in FlashDevelop (click [+] in front of the file in the tree) then looked up the glyph count for the fonts.


Mon Aug 16, 2010 8:21 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.