A Flash Developer Resource Site

Page 2 of 2 FirstFirst 12
Results 21 to 25 of 25

Thread: No HTML support upgrade

  1. #21
    Senior Member
    Join Date
    Oct 2000
    Posts
    124
    ok youre right...
    i just tried it again and this time it worked.
    dont know why it wasnt working before!
    thanks

  2. #22
    Senior Member
    Join Date
    Jan 2002
    Posts
    368
    i don't know. goto bit-101.com and click on one of the text links in the "news" window. those are external text files with the basic format i showed above. if it works, then there's something else you are doing wrong. if that doesn't work for you, please let me know, because i've never heard of anyone having a problem with it.

  3. #23
    Senior Member
    Join Date
    Jan 2002
    Posts
    368
    oops. saw your last reply after i wrote that. glad you got it working.

  4. #24
    Junior Member
    Join Date
    Mar 2002
    Posts
    12

    basetarget?

    had some thoughts before I came to the part where everything was solved but I still wonder if this would work:

    set "_blank" as basetarget in the header of that html file

  5. #25
    Angkor-What? Gekke_Hollander's Avatar
    Join Date
    Jun 2000
    Location
    Netherlands
    Posts
    234
    Quote Originally Posted by bhoran
    so why when i include the target parameter in my .txt files, everything up thill then shows up in flash but nothing after?
    Bhoran,

    I had exactly the same problem. It still isn't clear to my why but this is what my situation is:

    I create the text to be imported into my swf with a wysiwyg editor i wrote in javascript and php. This stuff gets stored into a mysql database. Now, I don't now why but this:

    HTML Code:
    insrt =  '<a href="' +urlText+'" target="_blank">' + descriptionText + '</a>';
    curSel.pasteHTML(insrt);
    resulted in the next line being stored into my db:

    HTML Code:
    <A href="http://www.google.com/" target=_blank>click</A>
    Notice that the quotes around my target are missing!

    So I thought to try and be clever:

    HTML Code:
    insrt =  '<a href="' +urlText+'" target=&quot;_blank&quot;>' + descriptionText + '</a>';
    curSel.pasteHTML(insrt);
    this resulted in the next line being stored into my db:

    HTML Code:
    <A href="http://www.google.com/" target='"_blank"'>click</A>
    But now flash accepts it as target="_blank" and it all works fine...

    Maybe this is like your situation, I don't know. But I thought I'd post it for others running into this prob...

    Cheers
    MX 2004 Pro - Oops I did it again!!!
    SWF, it's a journey... not a destination

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center