Posted By

rowntreerob on 10/28/08


Tagged

html jscript


Versions (?)

javascript enclosing html sets referer , ipAddress for the .swf


 / Published in: JavaScript
 

shows that 2 required args to the swf are being set in JS 'swflink' contains 'referer' , 'IpAddress' arg values so they will not be undefined

  1. var tempsite = gup('src_url');
  2.  
  3. if(tempsite){
  4. var sitelink = tempsite;
  5. var ipUrl = "vortexme.com";
  6. }
  7. else {
  8. var sitelink=window.location.href;
  9. var ipUrl=sitelink.substring(7,sitelink.indexOf("/",7));
  10. }
  11.  
  12. var swflink="http://"+ipUrl+"/iJam/VTX000056/VTX000056.swf?referer="+sitelink+"&ver=2.0&IpAddress="+ipUrl;
  13. var so = new SWFObject(swflink, "mymovie", "200", "510", "8", "white");

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: rowntreerob on October 28, 2008

see line# 12 that invokes the swf on a URL containing query string with 'referer' & 'IpAddress' . These 2 arg values are required when a swf starts up.

You need to login to post a comment.