3446 posts Ruben Bristian
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
  • Referred between 500 and 999 users
+5 more
KrownThemes says

Hello there :D8-)

I have little problem.. I need to load fonts into an app at runtime. The idea is that i need to have the fonts with their Identifiers just like i would have the fonts ready to embed in my mail fla file.
So the most obvious solution to do this was to create an external swf file with a Font object in the library, that was exported in the first frame of the movie with an unique identifier. After that, i only loaded that swf and tried to access the font. The problem is that i can’t access the font trough it’s Identifier.

So does anyone knows if it’s possible to access objects from other swf’s libraries via their Identifier? I really need to it this way .. :-/

Thanks, Ruben.

2114 posts
  • Sold between 50 000 and 100 000 dollars
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 10 and 49 users
  • Bought between 10 and 49 items
fifty_tons says

I’m very curious about how to do that as well :D.

730 posts
  • Bought between 1 and 9 items
  • China
  • Elite Author
  • Exclusive Author
  • Has been a member for 7-8 years
  • Referred between 10 and 49 users
  • Sold between 100 000 and 250 000 dollars
wangruyi says

what’s actionscript version of your project?

3446 posts Ruben Bristian
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
  • Referred between 500 and 999 users
+5 more
KrownThemes says
what’s actionscript version of your project?
2
3446 posts Ruben Bristian
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
  • Referred between 500 and 999 users
+5 more
KrownThemes says

problem solved :D

i went around it and put my text component in the same file with the fonts. I embedded the fonts in that file and put them in 2 arrays. One containing the ids and one containing the names. So when i opened that swf file into my flash i was able to access the both arrays and all embedded fonts. :)

23 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
encoder says

so each time when you need a font set you have to load a specific flash file.

cool.

i will use this in the future.

simple and elegant. thx man. i think this would be a good way to seriously cut down compilation time since i love to check out my progress after every 20 lines or so. even with library embedded fonts it was a pain in the ‘beep’.

by
by
by
by
by
by