dynamic txt in flash?
- Started
- Last post
- 10 Responses
- whiteSneaks
i am having an odd problem with a link within dynamic text in flash. i am pulling copy in from an external text file and i need a link to popUp a window. it only seems to work with one url; otherwise it doesn't work
here is what i am calling in an href:
javascript:launchwin('http://www...
help please, why is this only working with that url?
- whiteSneaks0
anyone have any ideas on this. i am pulling my hair out here. the javascript will only work with that one url. otherwise i get an error
- arlo0
Whats the error?
- unfittoprint0
post the launchwin javascript, problably the error's there.
hmm, where you specifice the scrollbar, menubar, resizable options with a no or yes?
- whiteSneaks0
here is the function i am using:
function launchwin(winurl,winname,winfeat...
{
window.open(winurl,winname,winfe...
};i have used it before and works perfectly in other flash projects i have done.
usually i am calling it from a get url. now i am trying to use it from a dynamic text file with the a href.
again, it works exactly how it should with the aiga url but no go with any other.
- takashi0
mmmh, just a guess:
security issue? are you using it from the aiga domain?
...posting the error would be a good idea.
- whiteSneaks0
no its local right now. i found it to work with google's url, so it seems to be randomly working one url and not the other.
the error:
unterminated string constant
- whiteSneaks0
just to clarify further i mean it won't even pop the window. it just does nothing unless it is url it "likes"
- jevad0
that means you are missing a quote somewhere
- unfittoprint0
hmm strange... try another javascript pop up function (?)...
- whiteSneaks0
i dont think it is the function. i could be wrong... is my text file right? in particulat my href=blah blah blah.