Answer Questions
Dreedle Hot to contact a user
I'm developing a gadget for a Web site. This gadget has to let user serarch a string using the site searh and opening the web browser for display the results. I've do all, but the sarch must not to be done if the string is less than 3 character. Is there a way to warn a user if he enters a string that type javascript alert doesn't work, and i was thinking if it is possible to use a balloon tip!!! Thanks all Luca var oShell = new ActiveXObject("WScript.Shell"); oShell.Popup("some text"); If you follow the link I posted above, it states "Displays text in a pop-up message box." So, a hyperlink will show as text without the link. ...Show All
frieste How clockDivisor works?
Hi, Can anyone explain how clockDivisor works in HDiSim Frankly speaking I cannot catch the idea :) Simple sample below is to display "OK" on the screen after 1s. timeBase is 60fps, clockDivisor is 120. When "OK" should appear After 1s, after 2s, after 5s... And why Thanks in advance < head > < timing clock =" page " clockDivisor =" 120 "> < cue begin =" 1s " select =" id('ok') " dur =" 5s "> < set style:visibility =" visible "/> </ cue > </ timing > < styling /> </ head > < body style:font =" file:///dvddisc/ADV_OBJ/font.ttf " > < p id =" ...Show All
macase About IMFOutputTrustAuthority::SetPolicy.
I'm sure that the output of IMFOutputTrustAuthority::SetPolicy() is Ticket information. So I have two questions about Ticket. 1.What kind of information should SetPolicy() output as Ticket 2.What is the purpose of Ticket in ITA My best regards. Thank you. Supporting tickets in ITAs/OTAs is optional; your protection system need not do it at all. The goal of tickets is to provide protection for the policy object. It can be used by the ITA to verify that the OTA did in fact read whatever parameters were supposed to have been on the Policy Object. The exact format of the ticket is entirely up to the protection system, but here's the general idea: The ticket generated by the OTA will ty ...Show All
jwadew uncompressed YUV to EVR
Hi, I am writing a simple YUV media source to take in .yuv bytestreams and send it to the EVR. I have modified the MFT_Grayscale to act as a dummy transform to copy the yuv samples to the EVR. I am also using the playbackFX sample for the player. I'm having a problem with the player just showing a black screen, as if no samples are being sent to the EVR. I have verified that the samples are being processed in the dummy transform with the correct image size and attributes for my given yuv sample. I have tried other yuv samples and all just display a black screen, but the samples are being processed for sure. Is there any way to debug this to see if the samples are being sent to the EVR Or does anyone have any clues why this is happeni ...Show All
Suran File upload with Sidebar Gadget
Is there any possible way to upload a file through a gadget I am creating a gadget that takes a word document or .txt file as input, post that to our servers and then we display information to you every day based on that information through the gadget. (the user gets a infoId that will give them their own customized info) Any ideas would be appreciated. Thanks. Thor. This is really odd. I just copied and pasted that exact example into my gadget. (I'm using this in my flyout). The LoadFromFile gives me FALSE again... I made a readme file (it's not read-only or anything) and stuck it into my gadget's dir, and even verified it by writing out the path string... (if the file is not found, it seems to throw an exception, but if it ...Show All
Pooven XmlHttpRequest and file access
Hello guys. i've just started developing gadgets, so these might be basic questions. ok, i've just developed a gadget which streams radio and returns info about the current track and author. i'm using xmlhttprequest and everything seems to work ok but sometimes i start getting the traditional access denied error which occurs in cross domain calls. i'm giving full permissions on the xml gadget fil so i'd be interesting in getting more info about this kind of errors and how to solve them in gadgets. i'm trying to write a file with some info that should be shared by all gadgets. i'm using thsi code: var pathToFile = System.Gadget.path + "\\lista.txt"; function saveFavorites( lst ){ var fso = new ActiveXObject( "Scripting.File ...Show All
punchycool Stretch image
How I can stretch image on full size of DIV control With "scale-to-fit" like this: <div style:width="500px" style:height="400px" style:x="100px" style:y="100px" style:position="absolute" style:backgroundImage="url('Image_10x10.png')" style:contentHeight="scale-to-fit" style:contentWidth="scale-to-fit" /> ...Show All
allison_h This is not a valid gadget package!! grr!
hey, So i finished creating my gadget, i use winzip to zip it up to mygadget.gadget and then double click to install... However it just says: This is not a valid gadget package The gadget works if i move the folder to the windows gadget directory! Does anyone know how to fix this problem Regards Hmmm, that is weird. Could you send the code from your XML and HTML gadget.xml < xml version="1.0" encoding="utf-8" > <gadget> <name>The Bay Radio Player</name> <namespace>The Bay Radio</namespace> <version>1.0</version> <author name="Nicholas Williams"> <i ...Show All
Randal Greene Video Events
How can I handle video events in the script For example, when new chapter started. Or when certain frame reached. For stopping at certain frames, here is a bit of playlist: <ScheduledControlList> <Event id="Capture" titleTime="00:01:30:00" /> </ScheduledControlList> and here is some Script to handle it (which pauses, captures the video frame, then resumes): application.addEventListener( "scheduled_event", OnScheduledEvent, false ) function VideoMainCaptureCallback(i,uri) { Player.playlist.play(); } function PlayerVideoMainCapture(filename) { try { Player.video.main.capture(filename,VideoMainCapt ...Show All
Mark A. Richman JScript
Hello, I am brand-new to HD DVD authoring so apologies if this is an obvious question. I'm coming from the web development world, and am looking to port several items of "bonus content" from the web onto HD DVD. More specifically, there are several simple applications (mostly games) that I have written in JScript that I would like to repurpose for distribution on disc. But what I have not found is any reference as to what elements of JScript are compatible with HD DVD interactivity. Obviously the browser-based objects (window object, etc.) are N/A, but are there are also specific data types, variables, operators, objects, etc. that are not supported If there's a tut or reference on this anywhere, that would be great. Thank ...Show All
c1t1z3n0 iHD Simulator doesn't display video post-Windows Media Format SDK Install
After I installed the Windows Media Format SDK (9.5) for Windows Media Encoder 9, I noticed the iHD Simulator won't display video any more. The menus appear fine as normal but the background footage is completely black. The footage plays fine in WMP11. Any ideas I'll ask around... Unforunately the WMP 11 SDK has no effect, but the video does play correctly in GraphEdit. I have exactly the same error. Copying the qasf.dll from a WMP 10 install did sadly not have the desired effect. Suggestion is to try the WMP 11 SDK: http://msdn.microsoft.com/windowsmedia/downloads/default.aspx Also, try using graphedit to play the video; ...Show All
Rick Hill how do I marshall custom interface across the PE boundary?
If I implement a custom interface in a filter and the filter works under the protected environment, how do I marshall the interface to be used by application What are other ways to communicate to the application from inside the protected environment Yes, I am implementing a MFT (video decoder). The decoder needs to send some userdata to application during playback. The application may need to configure the MFT during playback as well. Tell me a little more about what you're trying to do, and I can give suggestions... Am I correct in assuming that you want to implement an MFT (Media Foundation Transform) and that you want the application to be able to talk to it during playback Or do you just need the applicatio ...Show All
IgorP inline g:text and addGlow method
Hi everyone, The addGlow method works perfectly when using it as in : var mytext = bgid.addTextObject('TEXT',fontfamily,textsize,fontcolor,posx,posy); mytext.addGlow('white',3,100); However, I can't seem to have it work when the gText element is "hardcoded" in the document, as in : <g:text id="mytext" class="..." style="..." onmouseover="handleglow(this)" /> With the function function handleGlow(obj) { obj.addGlow('white',3,100); } Am i doing something wrong Should I prefer the addTextObject method and then attach an event to the object thus created If so, how Thanks for your answers :) A little update. :) G:IMAGE As Jonathan mentioned in his update, this works : The markup: <g:image src= ...Show All
Rudemusik Can't add sample gadget from SDK to my Gadget list.
I am following the Gadget SDK instructions to add a gadget to my live.com page using IE7. The sample hello world was proper installed and I could use the http://localhost/Gadgets/Hello/HelloWorldGadget.xml to launch this page on my local IIS. Next, I following the SDK instructions: Go to http://www.live.com Click on 'add stuff, and click on 'Advanced Options' Enter the url to the manifest XML for one of the sample Gadgets in the 'add Gadget or feed by url' edit box. For example, try http://localhost/Gadgets/hello/HelloWorldGadget.xml . but this failed when I hit the "Subscribe button" with error: It trapped to line 518 of shared.live.com/.../liveframework.js {xml.open("GET",o.url,true);} ...Show All
Wil Burton Why weather gadget never update itself?
I tried the both gadget whcih are weatherbug and weather gadget. Once retrieved the temperature, then it never update itself again... whats problem now any remedy well, i noticed that it can update but it takes a long interval times to update maybe just report a few times only, one is morning temp and afternoon then night only. It looks like it is unprofessional to display the real-time temperature. ...Show All
