[app:/SNATCHER.html][15:43:13] ReferenceError: Can't find variable: TurboActivate[app:/SNATCHER.html][15:43:13] TypeError: Result of expression 'ta' [undefined] is not an object.
<html> <head> <title>SNATCHER v0.8.11 DESKTOP</title> <link rel="stylesheet" type="text/css" href="css/reset.css" /> <link rel="stylesheet" type="text/css" href="css/styles.css" /> <script src="lib/air/servicemonitor.swf" type="application/x-shockwave-flash" /> <script type="text/javascript" src="lib/air/AIRAliases.js"></script> <script type="text/javascript" src="lib/air/AIRIntrospector.js"></script> <script type="text/javascript" src="lib/air/AIRSourceViewer.js"></script> <script type="text/javascript" src="lib/jquery/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="lib/jquery/init.js"></script> <script type="text/javascript" src="lib/jquery/domainfunctions.js"></script> <script type="text/javascript" src="lib/jquery/savepreferences.js"></script> <script type="text/javascript" src="lib/jquery/timestamp.js"></script> <script type="text/javascript" src="lib/date.js"></script> <script type="text/javascript" src="lib/jquery/encoder.js"></script> <script type="application/x-shockwave-flash" src="lib/air/aircore.swf"></script> <script type="text/javascript">
var ta = new TurboActivate();
function init() { ta.VersionGUID = "17843029414e58ae47exxxxxxxxxxx6"; ta.addEventListener(TurboActivateEvent.IS_ACTIVATED, onIsActivated); ta.addEventListener(TurboActivateEvent.USE_TRIAL, onUseTrial); ta.addEventListener(TurboActivateEvent.TRIAL_DAYS_REMAINING, onTrialDaysRemaining);}
function onIsActivated(evt) { if (evt.ErrorObj == null) { if (evt.boolResponse) { alert('is activated'); // is activated, reenable any features } else { alert('is not activated'); } } else { // the function call failed, disable any features alert('call failed'); // in a real world app don't throw exceptions. This is for debugging only //throw evt.ErrorObj; }}
</script> </head> <body onload="init();">
SO I would expect to get those top errors given im not defining the as files anywhere. I'm just extremely confused with this because Flex/AIR and HTML/JS AIR are so much different. Any insight you could provide would be great