Changing it to the onLoad handler doesn't change it.

Thanks though.

-c

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Monday, April 16, 2007 1:23 PM
To: [email protected]
Subject: Re: [Flashcoders] IE7 flash player bug

What happens if you take .autoSize out of the onLoad handler?
Don't have IE7, so haven't tried it.


import mx.utils.Delegate;
import TextField.StyleSheet;

var path:String = "test.css";
var tf:TextField;
var format:StyleSheet = new TextField.StyleSheet();

function formatLoadHandler(loaded:Boolean):Void {
 if (loaded) {
  this.tf.styleSheet = format;
  this.tf.htmlText = "<a href=\"http://www.adobe.com\";>adobe</a>";
 } else {
  this.tf.text = "Error loading CSS file!";
 }
}

this.tf.autoSize = "left";
this.tf.html = true;
this.format.onLoad = Delegate.create(this, this.formatLoadHandler);
this.format.load(path);

regards,
Muzak

----- Original Message ----- 
From: "Caleb E. Brown" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, April 16, 2007 6:46 PM
Subject: [Flashcoders] IE7 flash player bug


I am experiencing a bug in IE7 with a textfield and anchor tags.  This doesnt 
seem to be a problem with IE 6 and everything appears 
fine in firefox, safari, etc.



When I set the textfields html text to something, give it a stylesheet, and 
call autosize, the rollover no longer works.



You can see an example Ive set up here HYPERLINK 
"http://sandboxwin.blenderbox.com/flashplayerbug/"http://sandboxwin.blenderbox.com/flashplayerbug/



Has anyone seen this before?  Is it a bug?  Have you fixed this before? Any 
thoughts?



Thanks,

Caleb



_______________________________________________
[email protected]
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

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007 4:22 PM
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007 4:22 PM
 
_______________________________________________
[email protected]
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

Reply via email to