View Single Post
Old 06-01-2010, 08:48 AM   #18
m-land
Enthusiast
m-land has learned how to buy an e-book online
 
Posts: 41
Karma: 86
Join Date: Jul 2009
Device: PRS-505
Quote:
Originally Posted by Mark Nord View Post
...
3) if doDigit is used, chang it this way:
Code:
            <function id="doDigit" params="part">                           
	            //this.drawDigit(part.key)		// restore this for PRS
	            this.drawDigit(part)			// use this on PC
            </function>
...
Mark, if you use in eBookSimMain.xml (for each digit button) code
Code:
var part=new Object;
part.key=2;
this.container.EINK.VIEW.DOCUMENT.AUTORUN_GROUP.AUTORUN.bubble("doDigit",part);
instead of your
Code:
this.container.EINK.VIEW.DOCUMENT.AUTORUN_GROUP.AUTORUN.bubble("doDigit",2)
than this step is not necessary. Is there any reason why not to do it this way?
m-land is offline   Reply With Quote