-
ok youre right...
i just tried it again and this time it worked.
dont know why it wasnt working before!
thanks
-
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.
-
oops. saw your last reply after i wrote that. glad you got it working.
-
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
-
Angkor-What?
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="_blank">' + 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|