PDA

View Full Version : Text file containing link does not work when loaded into dynamic text field


richard270384
04-09-2007, 04:27 AM
Hi,

I'm loading a text file into a dynamic text field in my flash file.

I want to link to another website inside that text file but it doesn't work.

The problem seems to be the "http://" at the start of the link address.

For example, this works fine (ignoring the fact that it looks for a file on the server named www.yahoo.com which doesn't exist):

<a href="www.yahoo.com">Yahoo</a>

But this does not work - it simply does nothing:

<a href="http://www.yahoo.com"></a>

It works fine when tested in flash but doesn't seem to like it in internet explorer.

At first I thought that it could have been a problem with my internet explorer settings but now I dont think it is, since if i put the link directly into flash (by creating a button and using actionscript geturl()) rather than loading it dynamically it works fine.

Does anybody have any ideas how I can make this work?

Cheers,
Richard

wvxvw
04-10-2007, 08:28 AM
Unles you specify in your flash-player sequrity settings, that you permit your flash app connect to the site on internet it wan't do it. Simply put your file on the remote server to see it works fine from there.