niteshn
04-06-2001, 05:45 AM
Hi...
I have a curious probs... I have some swfs (basically these are ads). I show it as a pop-up window on load of some pages. Now These swfs are already made and I don't want to edit them. All I have to do is to transfer to another url if there is a click on the swf movie. As specified I have to do it from the html side purely and cannot edit the swf and but an button/symbol with getUrl method to simulate this.... Is there some way I can manipulate the object tag so that I can get the mouse clicks on the swf movie? Can you help me out in this???
Well me having used Flash I know its so easy to edit it and have it get the urls from a variable from the html querystring or from a text. But what I have are some swf which are, say, import protected and I cannot
edit it whatz the way out... That's whatz troubling me... otherwise I'll have to get all the people who gave me the ads as swf redo it with a url as an(invisible) bg from a variable which I give... That would be difficult... So that made me think of getting an html/javascript way to overcome this. I tried giving the <a> tag. but that doesn't work out on the click of the object tag. :( I also tried if there is any onclick event on object tag. that also didn't give any results. So can you think of any other way of doing this without touching the swf file...
Thanks in advance
Nits
I have a curious probs... I have some swfs (basically these are ads). I show it as a pop-up window on load of some pages. Now These swfs are already made and I don't want to edit them. All I have to do is to transfer to another url if there is a click on the swf movie. As specified I have to do it from the html side purely and cannot edit the swf and but an button/symbol with getUrl method to simulate this.... Is there some way I can manipulate the object tag so that I can get the mouse clicks on the swf movie? Can you help me out in this???
Well me having used Flash I know its so easy to edit it and have it get the urls from a variable from the html querystring or from a text. But what I have are some swf which are, say, import protected and I cannot
edit it whatz the way out... That's whatz troubling me... otherwise I'll have to get all the people who gave me the ads as swf redo it with a url as an(invisible) bg from a variable which I give... That would be difficult... So that made me think of getting an html/javascript way to overcome this. I tried giving the <a> tag. but that doesn't work out on the click of the object tag. :( I also tried if there is any onclick event on object tag. that also didn't give any results. So can you think of any other way of doing this without touching the swf file...
Thanks in advance
Nits