Re: [Flashcoders] Dynamic Text Boxes in Flash CS4

2010-05-26 Thread Ktu
You can use multiple TextFormat object in one text field affecting different parts of the text. I think most people think that its more hassle that way than using htmlText. TextField.setTextFormat( format:Textformat, beginIndex:int = -1, endIndex:int = -1 ) :void Ktu

[Flashcoders] Object Oriented Programming with Actionscript source files

2010-05-26 Thread Donald O. Davis
Hello, Does anyone know where I can get the "Object Oriented Programming with Actionscript" source files? Thanks, Don ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Dynamic Text Boxes in Flash CS4

2010-05-26 Thread Nathan Mynarcik
You have to embed the font for that textfield so it will render the text correctly. --Original Message-- From: Donald Talcott Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] Dynamic Text Boxes in Flash CS4 Sent: May

Re: [Flashcoders] Dynamic Text Boxes in Flash CS4

2010-05-26 Thread Karl DeSaulniers
On May 26, 2010, at 4:07 PM, Donald Talcott wrote: I have some static text boxes that I need to make dynamic. Questions; 1. Do you have to render text as HTML in a Dynamic text box in order to use multiple font sizes and colors within each box? I have found this to be the case, but you can c

[Flashcoders] Dynamic Text Boxes in Flash CS4

2010-05-26 Thread Donald Talcott
I have some static text boxes that I need to make dynamic. Questions; 1. Do you have to render text as HTML in a Dynamic text box in order to use multiple font sizes and colors within each box? 2. When I render the text as HTML, format the type, get it looking good. Then I click outside the text

RE: [Flashcoders] preventing control characters from being typed

2010-05-26 Thread Mattheis, Erik (MIN-WSW)
Thanks - event.preventDefault() works if I'm listening for KEY_DOWN - had tried it before but was listening for KEY_UP. _ _ _ Erik Mattheis Senior Web Developer Minneapolis T  952 346 6610 C 612 377 2272 Weber Shandwick Advocacy starts here. PRWeek Global Agency Report Card 2009 - Gold Medal Wi

Re: [Flashcoders] preventing control characters from being typed

2010-05-26 Thread Henrik Andersson
Mattheis, Erik (MIN-WSW) wrote: I need to make a form that can be used without a mouse. I have etc, which captures a control-s just fine, but it types a "box" character into the textfield. How do I go about preventing this? There is a preventDefault method in the Event class. But I am not sur

Re: [Flashcoders] preventing control characters from being typed

2010-05-26 Thread Glen Pike
You can set the "restrict" property to a list of characters - see TextField docs. On 26/05/2010 16:54, Mattheis, Erik (MIN-WSW) wrote: I need to make a form that can be used without a mouse. I have private function keyHandler(e:KeyboardEvent):void { if (e.controlKey) { switch (e.keyCo

[Flashcoders] preventing control characters from being typed

2010-05-26 Thread Mattheis, Erik (MIN-WSW)
I need to make a form that can be used without a mouse. I have private function keyHandler(e:KeyboardEvent):void { if (e.controlKey) { switch (e.keyCode) { case SAVE : saveCurrentContent(); break; etc, which captures a control-s just fine, but it types a "box" character i

Re: [Flashcoders] External Interface with looped parameters

2010-05-26 Thread kennethkawam...@gmail.com
You can count them in the receiving function, e.g. arguments.length in JavaScript. (Then may be I misunderstood again ;) -- Kenneth Kawamoto http://www.materiaprima.co.uk/ On 26 May 2010 09:39, Glen Pike wrote: > On 26/05/2010 09:33, kennethkawam...@gmail.com wrote: >> >> You can pass any numbe

Re: [Flashcoders] External Interface with looped parameters

2010-05-26 Thread Glen Pike
On 26/05/2010 09:33, kennethkawam...@gmail.com wrote: You can pass any number of parameters with ExternalInterface.call() method - or are you talking about something else...? I think he means a variable number of parameters. Can you pass an object like an array?

Re: [Flashcoders] External Interface with looped parameters

2010-05-26 Thread kennethkawam...@gmail.com
You can pass any number of parameters with ExternalInterface.call() method - or are you talking about something else...? -- Kenneth Kawamoto http://www.materiaprima.co.uk/ On 26 May 2010 08:07, Ashim D'Silva wrote: > This seems fairly impossible but if there's an awesome way to do it > I'll be h

[Flashcoders] External Interface with looped parameters

2010-05-26 Thread Ashim D'Silva
This seems fairly impossible but if there's an awesome way to do it I'll be heaps grateful. I receive a function name and a set of parameters via XML webtrends 98780 Joseph Iceland