[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: [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