'text' is not a member of 'OBJECT' JavaScript Not Working in Unity 3.5 - Lost Commands?

Hi,
I’ve taken an older project and inserted it into Unity 3.5 (from 3.4), and it appears that many of the commands for checking web content No Longer Work…? I keep getting “‘text’ is not a member of ‘OBJECT’” or “‘error’ is not a member of ‘OBJECT’”, etc…

There are over 200 errors - so here is just one example… of the .TEXT and .ERROR Not Working…

CAN YOU TELL ME WHAT THE NEW VERSIONS OF THESE ARE OR WHAT I SHOULD PUT:

Example using: .TEXT .ERROR

(The earlier part of this script loads a button graphic… then this script load the link the button should visit - hence its waiting to get back the .text from the WWWeb - of the link for the button - so when the user presses the button - it visits the correct web page)

function checkforbuttonlink0() {	
linkb0 = "http://mywebsite.com/sendsback-a-buttons-weblink--script.php?buttonnumber="+button+"&id="+for-account;

	//  Check if it exists
  	 link0_b = WWW(linkb0);

  	// Wait/Load
  	yield link0_b; 	

	linkimb0 = (link0_b.text);
	yield linkimb0; 	
	
	//  Error check
	if (link0_b.error){
		TextHints.message = "ERROR (CHECK INTERNET CONNECTION)";
		TextHints.textOn = true;
		eerr0 = 1;
	//Dont Instantiate

	}
		
	if (linkimb0 == ""){
				eerr0 = 1;
	//Dont Instantiate
	//nothin
	} 
	 	 	if (linkimb0.length > 100){
				eerr0 = 1;
	//Dont Instantiate
	//nothin
	} 
	 
	 ////print"eerr0 is:"+eerr0);
    
    if (eerr0 == 0) { 
	  //////print"NEW - I found >>"+linkimb+"<< so I loaded a button - eerr is:"+eerr);
	 
	if (linkimb0 != "error"){

	 buttonstore.load0 = linkimb0;

	   }

    }
	 
	 
}

NOTE : Having the same problem with the .length javascript Command - “…is not a member of ‘OBJECT’”

There are no missing commands; “not a member of Object” means you’re trying to use dynamic typing with #pragma strict, which is not allowed. So remove all dynamic typing.

Awesome… It’s starting to work… very simply just declaring my var TYPE first…
OK… This is great!

Thanks very much!!!
You guys are amazing!

For anyone reading - THE ANSWER WAS basiially:

DO THIS (AFTER…But you first need to tell it what the variable will be [var x : String, Int, WWW, etc] )

linkb0 = "http://mywebsite.com/sendsback-a-buttons-weblink--script.php?buttonnumber="+button+"&id="+for-account;

    //  Check if it exists
     link0_b = WWW(linkb0);

    // Wait/Load
    yield link0_b;   

    linkimb0 = (link0_b.text);
    yield linkimb0;    

YOU MUST FIRST STATE THIS AT THE TOP:

var linkb0 : WWW;
var  link0_b : WWW;
var linkimb0 : String;

…very simple…LoLz…
Thanks Again…!
K