[Flashcoders] Font faces in text fields

2006-10-01 Thread Perdue, Blake
I am dynamically creating a text field and want to use 2 different embedded font faces in the same text field. Is this possible? I have created textfields to embed the 2 fonts, so they are accessible to the textfields. This is the code I am using: var fmt=new TextFormat();

RE: [Flashcoders] Font faces in text fields

2006-10-01 Thread Perdue, Blake
, such as: textField.htmlText='font face=Univers 67 CondensedBold color=#ffBLAKEPERDUE/fontfont face=Univers 57 Condensed color=#ccPHOTOGRAPHY/font' That's it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perdue, Blake Sent: Sunday, October 01, 2006 3:54 PM

RE: [Flashcoders] Font faces in text fields

2006-10-01 Thread Perdue, Blake
text with tags. On 10/1/06, Perdue, Blake [EMAIL PROTECTED] wrote: I figured it out -- yes, you can use different font faces in the same dynamic text field. Here's how: - make sure the fonts are embedded - create the dynamic text field, but DO NOT set the font face or color using TextFormat

[Flashcoders] Rollover states for sub-items

2006-10-08 Thread Perdue, Blake
I'm building an expandable/collapsible navigation - on rollover it expands, on rollout it collapses. I've placed event handlers on the navigation container movie clip, like so: nav.onRollOver=function() {this.gotoAndPlay('expand');} nav.onRollOut=function() {this.gotoAndPlay('collapse');}

RE: [Flashcoders] Rollover states for sub-items

2006-10-09 Thread Perdue, Blake
('expand'); } else if(this.open) { This.open = false; this.gotoAndPlay('collapse'); } } /Johan -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Perdue, Blake Skickat: den 9 oktober 2006 01:27 Till: Flashcoders

RE: [Flashcoders] book suggestions?

2006-10-09 Thread Perdue, Blake
There's the industry-standard Robert Penner book: http://www.robertpenner.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo de Moraes Serpa Sent: Monday, October 09, 2006 7:37 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] book

[Flashcoders] Center align multiline textfield?

2006-10-10 Thread Perdue, Blake
I'm trying to get a multiline textfield to be center aligned. Here's the code: this.createTextField('subhead',20,1,435,434,200); with (this.subhead) { html=true; embedFonts=true; selectable=false; wordWrap=true; multiline=true;

[Flashcoders] Center align a multiline textfield?

2006-10-11 Thread Perdue, Blake
I'm trying to get a multiline textfield to be center aligned. Here's the code: this.createTextField('subhead',20,1,435,434,200); with (this.subhead) { html=true; embedFonts=true; selectable=false; wordWrap=true; multiline=true;

RE: [Flashcoders] Center align a multiline textfield?

2006-10-11 Thread Perdue, Blake
'; -Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perdue, Blake Sent: Wednesday, October 11, 2006 10:01 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Center align a multiline textfield? Yeah

[Flashcoders] Flash 8 Image Pixelated

2006-10-25 Thread Perdue, Blake
I searched the archives and couldn't find a response to this email. I'm building a app that has a bunch of dynamically loaded images. When you rollover an image, the image gets larger (ie, zooms in). Problem is, when the image is enlarged it very pixelated when rendered using Flash 8. In 8 it

RE: [Flashcoders] Q:Justifying Flash 8 Content

2006-11-01 Thread Perdue, Blake
The major reason we are moving to Flash 8 is the enhanced text rendering. The custom anti-aliasing makes text much easier to read -- a major problem with many fonts in Flash 6,7. From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] Sent: Tue 10/31/2006 3:43

[Flashcoders] Flash and DHTML menus

2006-11-06 Thread Perdue, Blake
We're building a Flash T1 (top story box) into a page redesign. Directly above the SWF we have a navigation bar that displays DHTML menus over the flash content. We want to support as many browsers on as many OSes as possible, but are running into problems. For example, Mac Safari displays DHTML

RE: [Flashcoders] Flash and DHTML menus

2006-11-07 Thread Perdue, Blake
I'm guessing there isn't a solution to this? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perdue, Blake Sent: Monday, November 06, 2006 10:31 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Flash and DHTML menus We're building a Flash

[Flashcoders] Flash player penetration

2006-11-15 Thread Perdue, Blake
Does Adobe, or anyone else, provide Flash player penetration statistics that include subversions (ie, Flash Player version 6,0,65,0) This is all I could find: http://www.adobe.com/products/player_census/flashplayer/version_penetrat ion.html Blake Perdue | 212.522.1292 | AIM: blakepCNN

[Flashcoders] Measuring width of some text

2006-12-21 Thread Perdue, Blake
I need to measure the width of some text. Here's the function I'm using: private function getTextWidth(txt,fontSize) { var fmt=new TextFormat(); fmt.font='Univers 67 CondensedBold'; fmt.size=fontSize; fmt.autoSize='left'; var

RE: [Flashcoders] Measuring width of some text

2006-12-26 Thread Perdue, Blake
: RE: [Flashcoders] Measuring width of some text Just a txt.textWidth should do the trick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perdue, Blake Sent: donderdag 21 december 2006 22:28 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders

[Flashcoders] crossdomain issues -- do they exist?

2007-01-16 Thread Perdue, Blake
We want to have this scenario for a homepage flash piece: - SWF is loaded off server A - SWF loads an XML config file off of server B - SWF loads images off of server C I have built this scenario and tested and it works fine. Some have said that this will not work due to crossdomain issues

RE: [Flashcoders] crossdomain issues -- do they exist?

2007-01-16 Thread Perdue, Blake
/t1_tall_v6.swf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perdue, Blake Sent: Tuesday, January 16, 2007 4:03 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] crossdomain issues -- do they exist? We want to have this scenario

RE: [Flashcoders] crossdomain issues -- do they exist?

2007-01-16 Thread Perdue, Blake
/ /cross-domain-policy David Brunswick Senior Multimedia Developer/OLP Administrator FedEx Customer Information Services Customer Service Organizational Learning 901-434-6605 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perdue, Blake Sent: Tuesday

RE: [Flashcoders] crossdomain issues -- do they exist?

2007-01-16 Thread Perdue, Blake
they exist? You don't seem to be calling anything from the secure link on i.a.cnn.net but your crossdomain.xml file has secure set to true for that domain. Could that be the issue? - Original Message - From: Perdue, Blake [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders

[Flashcoders] Detecting embedded domain?

2007-03-13 Thread Perdue, Blake
Building a video player that can be embedded in a web page. We'd like to be able to detect what domain the page the player is embedded on lives. If the domain is not ours (eg, SI.com), we'd like to display a logo; if it is ours, we don't want to display the logo. Does anyone know how to detect

[Flashcoders] Flash player and pop-up blockers

2007-03-14 Thread Perdue, Blake
We've gotten a lot of complaints lately that popup windows spawned by a SWF are getting blocked by pop-up blockers, even though they are user initiated. It seems the newer flash players (v8, v9) or perhaps the new pop-up blockers (Firefox, Google, etc) have changed the way they operate - this

[Flashcoders] Enhancing the Flash Cursor

2007-03-22 Thread Perdue, Blake
I am building a photo slideshow and I want to add a next/back button to the mouse cursor. If the mouse is on the right half of the screen, it displays a right arrow (indicating that onclick, it will load the next photo). When on the left half, it displays a left arrow (onclick loads the previous