Answer Questions
carp Event Target
Hi Chapter 8 of specification gives the larger picture of Event Processing. It says that user events are fist processed by the script and after that markup gets chance to process the event. eg if a user presses a navigation key then first the script (through event handlers ..if one is regestered ) first processes the gesture and after that (if allowed by script) the markup processes the gesture --changes the focus to the next element (depending on the navigation key). If the above is correct then this means the target for the keyboard events is always the current focused element. One exception might be access ( or shortcut) keys in which case the target is the element for which the short key is defined. ie script cannot override the acc ...Show All
renyx Question about saveTextFile
Dear All: I have a problem about the function FileIO.saveTextFile(stream, callbackFunction). I do not know how to use this function even after read through the HD DVD menu . I want to modify an file "test.txt" when doing action. But when call the function FileIO.saveTextFile(), the stream value is not so clear. I tried to use: var stream = FileIO.CreateTextFile("c:\testfile.txt", True) ; but cannot work. Anyone know how to call this function, kindly give an answer. Thanks a lot. What kind of exception is it There 5 possible exception s described in the spec: - HDDVD_E_ARGUMTNE - path is a zero-lenght string, contains only white space, or contains one or more invalid characters - HDDVD_E_ARGUMTNENULL ...Show All
Geir F Correct Timer Code?
I am having trouble getting the timer function to work. Everytime it is called on while in the player, it crashes the player. Is this formatted correctly var cbfnAudio = function() { //Animate Menu Code would be here myTitleTimer.enabled = false; }; var myTitleTimer = application.createTimer("00:00:01",1,cbfnAudio); myTitleTimer.enabled = true; Well, I can post what works for me. It's all done in the script side, not the markup side. Do you have the HD spec There is a fairly complicated formula in the Annexes somewhere that you will need to use in order to get the right values for setVolumes and setMixing. They can range from 0-255. Below is what I am currently using. Use this to initia ...Show All
.NET Developer Access to DOM model
I described JavaScript & XMU files in playlist (and manifest): <ApplicationResource loadingBegin="00:00:00:00" priority="1" src=" file:///dvddisc/ADV_OBJ/main.js " multiplexed="false" /> <ApplicationResource loadingBegin="00:00:00:00" priority="1" src=" file:///dvddisc/ADV_OBJ/main.xmu " multiplexed="false" /> When iHDSim start to executing JS, he can't access to XMU DOM model from JS file (Example: document.getElementById('Button') return "Unable to evaluate the expression."). After what ev ...Show All
Yaoyuan Web gadget gallery submission failures?
Over the last several days, the only gadgets that have been approved on Gallery are Sidebar gadgets. If you look at the current 10 newest gadgets, all are for Sidebar. Over the weekend, I submitted updates to two of my web gadgets, both of which were rejected (since rejection lacks details I can't say for sure why, but both updates were rather trivial and well-tested before submission). I've emailed Chris Butler directly about this, but since I haven't gotten a response yet (Chris may be out on vacation ) I decided I'd go ahead and post this in the public gallery in case someone else who can investigate may see it here. I re-submitted my gadget updates last night and they're still pending as of right now, so maybe whatever problem ca ...Show All
Yorker Asynchronous (out of mux) PiP using SecondaryVideoPlayer
As Peter wrote in his blog only syncronous PiP is supported with the current iHDSim. My question is if async PiP is working on the Toshiba consumer players and if someone already tried this. My idea is to stop the main video to play some PiP on top of it. Cheers, Gunnar My specs are off being updated so I can't check, but you can put the EVO (and MAP) anywhere I think. You need a MAP as that is what is specified in the playlist. Cheers Andy. I don't have to specify this kind of video in the playlist, have I Al right. I'll give it a try... By out-of-mux I mean not muxed into the main video. Since this video is not declared in the playlist can I simply put the evob ...Show All
etalkjoy How to program gadgets with vb.net
can you program gadgets like any other application are there any special requirements Hi Josh, just to illustrate what Brian said a little more here is a quick sample how you can accomplish this: Here is the real simple server side code spitting out some XML: ... public partial class _Default : System.Web.UI. Page { protected void Page_Load( object sender, EventArgs e) { Response.ContentType = "text/xml" ; Response.WriteFile( @" <Path_To_Your_XML> " ); } } Heres the sample XML: < xml version = " 1.0 " encoding = " UTF-8 " > < names > < name > Sean Connery </ name > < name > ...Show All
laue HDiSim stopped working
My HDiSim doesn't want to work anymore. I can load playlists but nothing happens when trying to close HDiSim, it hangs itself up. I already tried to reinstall but it still doesn't work. The only change I made to the system was an update of Sonic Scenarist HDMV. Anyone experiences with this behaviour I had a similair problem with the validator see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1177032&SiteID=1 Maybe that helps, otherwise try a system restore. Huh strange... I made some tests and it seems that it's only not working, when trying to run a completely multiplexed hd dvd (as you could run in a player). In the past it was no problem running su ...Show All
Ahoapap ihdsim crashes
ihdsim crashes after 3 or 4 times refreshing (ctrl+r). Using V6.0.5285.0. No problem, hope it will be resolved. Thanks for reporting this. It is a known issue. Just re-start the simulate and all should be good. update, it only seems to happen when the sim is fullscreen. ...Show All
TuanTuan Apply CSS file to xml/rss link?
Hi I'm still struggling with my first gadget production and need some help for the last problem (at least for this gadget). I'm developing Wikipedia gadget: searchbox and flyout that display the result. Well, it's works, almost... My Flyout opens xml link like this: http://www.blinkbits.com/en_wikifeeds_rss/Derek_Jeter It's doesn't looks so good since it has no stylesheet, so I have to provide someone. Question is, how can I apply css file to the content I don't have (it's just a link) There are my main.html and flyout.html files: main.html <html> <head> <style type="text/css"> ----------- some style --------- </style> <script language="javascript"> System.Gadge ...Show All
Thomas S. Andersen How to submit a gadget questions?
It says that all the files need to be zipped together and that the manifest needs to reference the relative value of the js and css files. Does there have to be a folder structure or could I just zip the gadget.xml, gadget.css and gadget.rs files and have the manifest as so "in bold below" < xml version="1.0" > <rss version="2.0" xmlns:binding=" http://www.live.com "> <channel> <!-- Specifies the name of your Gadget --> <title>My Interesting Photos</title> <!-- Gives a short description of your Gadget --> <description>A gadget to display your six most popular flickr photos.</description> <!-- Specifies the default locale for y ...Show All
Bumper Chapter playlists
Has anyone written any code to do chapter playlists yet Suppose I have one title/.MAP file with many chapters in it and I want to allow the viewer to pick a playlist that plays only a few of those chapters, automatically skipping over some chapters in between. Right now I'm catching the chapter system event, checking which chapter just finished, then jumping to the chapter that comes next in the playlist. Since script execution timing varies, I'm having a lot of problems with this method. I am going to experiment with Event s in the title's ScheduledControlList next, but I was wondering if anyone here has a better idea of how to implement this. That's good to know, but our eventual goal is to allow dynam ...Show All
Purusothaman A Can't set Focus
Hello Guys, I am new to iHD and just started to write some iHD code. Now I arrived at the first problem: <div id="main"> <div id="some_other_div_already_with_buttons" style:display="auto"> <!-- here are already some buttons --> </div> <div id="surrounding_div" style:display="none"> <button id="button" /> </div> </div> Now I want to set the button to visible and set the focus on it: document.getElementById("surrounding_div").style.display="auto"; document.getElementById("button").state.focused="true"; document.getElementById("button").state.unsetProperty(" ...Show All
el-chema Flyout Flicker
I encountered the problem described here: http://microsoftgadgets.com/forums/7638/ShowPost.aspx They say that's not supposed to happen. But it does! Is it possible that this is a display driver problem The problem seems much less severe when the gadget has a <g:background ...> element. Help! My flyout flicker is awfully ugly. I haven't had a chance to look at your repro yet, but its on my list. Bruce, do you see the flicker we're on about You should see it "Asteroids" that I sent last week - it only occurs when I use begin/endTransition, which is only done when it's in a docked state. I'd love to know how to fix it, as all my Gadgets suffer from i ...Show All
Jon Uk How do I hide scrollbars in Firefox?
How can I hide the scrollbars of gadgets in Firefox I've tried adding overflow:hidden to the css, but it doesn't do a thing. abowman wrote: I hope this gets resolved soon, because it looks horrible. I wouldn't rely on it, since this behavior has been in place for more than a year (since live.com switched to iframed gadgets in late-November or early-December 2005). The best way to work around it is to make sure that your gadgets don't exceed the default size of the iframe. It's okay for them to be smaller, but larger causes scrolling. It's not a perfect solution, since the disabled scrollbars will still exist, but it's better than not supporting Firefox at all. ...Show All
