Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
DukeNukem webforumsuser@macromedia.com #1
img in textfield tag crashes Netscape/mozilla on Mac
Hi.
I have made a dynamic textfield and a String object that contains a link to an image.
When I attach the string to the textfield.htmlText the browser crashes on Netscape, Mozilla and Safari on MacOs X and MacOs 9.
It works fine on IE and Opera on Mac and in all browsers on PC.
The code looks something like this:
this.createTextField("dynamictext",20,10,50,535,30 0);
dynamictext.html = true
dynamictext.multiline = true;
dynamictext.wordWrap = true;
dynamictext.autoSize = "left";
dynamictext.htmlText = "";
dynamictext.border = true;
dynamictext.embedFonts = true;
var tf:TextFormat = new TextFormat();
tf.size = 16;
tf.font = "Myriad Roman";
dynamictext.setTextFormat(tf);
writeContent();
function writeContent(stat) {
dynamictext.htmlText = "<img align=\"right\" id=\"sample\" width=\"200\" height=\"145\" vspace=\"20\" hspace=\"20\" src=\"sample_min1.swf\" /><p></p>";
}
stop();
I have tried with both .swf and .jpg but it still crashes. I use Flash player 7.0.14.0 and 7.0.19.0.
I have attached the .fla and .swf in a zip so if anyone on mac, please run the movie and see if the same thing occures on your computer..
Anyone knows what could cause this problem?
Regards
/Martin
[url]http://webforums.macromedia.com/attachments/testimg.zip[/url]
DukeNukem webforumsuser@macromedia.com Guest
-
sidebar at the wrong place with mozilla and netscape
Hello, I've chosen a page structure which is fine on IE6 but not fine in Mozilla, Netscape Navigator and IE7. You may see the page at... -
Netscape and Mozilla not recognizing tags
Hi, i am doing an image map and mapped out the coordinates using fancy tooltips and links and it works great in MSIE but the tooltips don't show in... -
No cursor in input textfield field in NS and Mozilla
Using dynamic input textfields in NS 7.1 and Mozilla 1.3 I found that there appears no cursor, hence no indication of where you are currently typing.... -
php download management - netscape/mozilla bug
I am using the script as below, but there is a problem, in Netscape, and Mozilla Firebird, a .php is added to the filename when the user is prompted... -
Netscape/Mozilla Problem
Hi all, On my site using Netscape versions or Mozilla etc, the main left hand text navigation menu (blue bar left hand side), red coloured 'New'... -
DukeNukem webforumsuser@macromedia.com #2
Re: img in textfield tag crashes Netscape/mozilla on Mac
One thing I notices is that if the img/swf is internal in the flashmovie the player doesn't crash..
Anyone tried this?
/Martin
DukeNukem webforumsuser@macromedia.com Guest
-
amcintosh webforumsuser@macromedia.com #3
Re: img in textfield tag crashes Netscape/mozilla on Mac
I have this exact problem... well sort of. The <img> tag is REALLY buggy, at least on macs. It either crashes the flash player (stand-alone or the testing one in the flash app), or crashes the browser (safari). I've found that if I load some text into the text field, and then clear the textfield and load an external image and text... it doesn't seem to crash. I'm going to take a look at having the images internal, but that doesn't really work for my application since the entire site is dynamically loaded from a database. I'm about to give up on the <img> tag.
amcintosh webforumsuser@macromedia.com Guest



Reply With Quote

