Re: [Flashcoders] Mtasc Delegate

2006-08-02 Thread Pål Østerud
Hi João,
Mtasc is more strict with variable scope than MM's compiler. 
If you want to use mtasc on MM's Delegate method you can rename the variable 
called func inside the dynamically created function in the Delegate.create 
method (that is two places exactly, and don't touch the line 
arguments.callee.func). I can't quote MM's sourcecode here due to copyright. 
Hope that helps.

Yours sincerely,
Pål Østerud

 --
 
 From: jcarlos [EMAIL PROTECTED]
 hi All,
 I´m having problems using Delegate  with MTASC
 this works fine Flash compiler
  if (_actionRelease)
  {
   container_mc.onRelease = Delegate.create (this, handleRelease);
  }
 but doesn´t work with MTASC
 Any help?  Directions ?
 Thanks in advance
 João Carlos 

___
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] Embedded Fonts + HTML

2005-11-04 Thread Pål Østerud
One workaround is this:
1. Place a textfield offstage in frame 1.
2. Set it to dynamic text, html-enabled, and embed the chars you need
3. Type some text in it with the correct font, if you need bold you should also 
type
some bold text in it.

Best regards,
Pål Østerud


Maybe I need to be a little bit clearder.

I have a textfield with embedded fonts set to true. Next I want to render 
html-text
 (.html = true and .htmlText = ...). If I don't use embedded fonts, it works 
fine.
With embedded fonts, nothing appears.

Thx, Lieven Cardoen

Ps: Is there a workaround for this. I need to use embedded fonts because the 
font
isn't supported on most computers. And I really need to render HTML.


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