img in textfield tag crashes Netscape/mozilla on Mac

Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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....
    4. 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...
    5. 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'...
  3. #2

    Default 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

  4. #3

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139