Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE FLASH: HomeFlash ForumFlash TutorialsFlash Video TutorialsWeb Streaming ForumAdobe FlashPodcast

I must be missing something here (sendvars question)

Cow Forums : Adobe Flash
VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


I must be missing something here (sendvars question)
by Mark Arenz on Oct 24, 2007 at 3:28:25 pm

I have some sendvars code that works just fine if I launch the swf locally, but as soon as I upload it to the web, the process no longer works. I wondered if it was a security issue with CS3 since the same code worked until we upgraded recently.


function trackActivity(actLbl){
_root.test.text='tracking...'
if ( (_root.t == 'y') || (_root.t == undefined)) {
save_check=new LoadVars();
sendVars = new LoadVars();
sendVars.ac=actLbl;
if (_root.tag!=undefined){
sendVars.ac += _root.tag;
} sendVars.fl=_root.fl
sendVars.to=_root.to
sendVars.fr=_root.fr
save_check.onLoad = function(){
if (save_check.response=="passed"){
_root.test.text='done... ';
} else {
_root.test.text='problem...';
}
}
_root.test.text='sending: ' + sendVars.ac + 'n' + sendVars.to + 'n' + sendVars.fr;
sendVars.sendAndLoad("http://domain.com/track.php", save_check,"POST");
}
}
t=y
to=100
fr=50
tag=0
trackActivity('test')



any ideas?


Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:




Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:



Note: The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key. Read more...



Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]