User Tag List

Results 1 to 3 of 3

Thread: My Vitalize app wont load (Gadget)

  1. #1
    No Products Registered

    Join Date
    Oct 2006
    Posts
    183
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    My Vitalize app wont load (Gadget)

    Hello. I'm busy playing around with the embedding of Vitalize to a vista gadget. I've got a working 'framework' as the gadget appears in the gadget list, with all the variables like the name showing up. When you run it, it loads into the right hand side with the background I chose and so forth.

    I then embedded a Vitalize app but it wont appear. Here is the simple source code for the time being (I plan to expand this, using dedicated css etc. but it was easier to post like this

    Code:
    <html>
    	<head>
    		<title>LarAlive</title>
    		<style>
    			body {
    				width:130;
    				height:90;
    				color: black;
    				background: url('bg.png');
    			}
    			
    			#content {
    				font-family: Segoe UI;
    				font-size: 12pt;
    				text-align: center;
    			}
    			
    			#host {
    				font-size: 10px;
    			}
    		</style>
    
    	</head>
    	<body link="#ffffff" alink="#ffffff" vlink="#ffffff">
    		
    <OBJECT ID="LarAliveApp" WIDTH=130 HEIGHT=90 type="application/x-cnc"
    CLASSID="CLSID:EB6D7E70-AAA9-40D9-BA05-F214089F2275"
    CODEBASE="http://www.clickteam.com/vitalize4/vitalize.cab#Version=4,0,248,1">
    <PARAM NAME="URL" VALUE=System.Gadget.path +"\LarAlive.ccn">
    <EMBED TYPE="application/x-cnc"
    SRC=System.Gadget.path +"\LarAlive.ccn"
    checkversion="4,0,248,1"
    PLUGINSPAGE="http://www.clickteam.com/vitalize4/download.html"
    WIDTH=320
    HEIGHT=200>
    </EMBED>
    </OBJECT>
    
    	</body>
    </html>
    As you can see, I use the System.Gadget.Path like Yves suggested here

    I get the Vitalize logo to appear, but then absolutely nothing shows up. If, however, I remove the System.Gadget.Path from the location and run it in my browser, the app runs.

    Here's what the sidebar looks like when I run my gadget:


    Any help would be much appreciated. Thank you

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: My Vitalize app wont load (Gadget)

    The URL parameter doesn't work in the OBJECT command for Vitalize! applications in Vista gadgets, you have to set the URL out of the OBJECT command via a Javascript command.

    The EMBED command doesn't work either, as it's for Firefox.

    Just copy the OBJECT command I've given as example and replace example.ccn by LarAlive.ccn, that should work.


  3. #3
    No Products Registered

    Join Date
    Oct 2006
    Posts
    183
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: My Vitalize app wont load (Gadget)

    <OBJECT ID="Vitalize1" WIDTH=130 HEIGHT=90
    CLASSID="CLSID:EB6D7E70-AAA9-40D9-BA05-F214089F2275">
    <PARAM NAME="BackColor" VALUE="0,255,0">
    </OBJECT>
    <script>
    Vitalize1.URL = System.Gadget.path +"\LarAlive.ccn";
    </script>

    Is that right Yves? Sadly, it didn't work either. Instead it appeared the same, except the vitalize applet was all green; logo and everything. (Theres no extensions loaded in the vitalize applet yet)

    This is a stupid question but I'm running build 247 of MMF2 Dev. Do I need 248?

Similar Threads

  1. 3rd active pic wont load
    By StingRay in forum iOS Export Module Version 2.0
    Replies: 11
    Last Post: 27th February 2012, 09:58 AM
  2. [Request] Retrieve information from Weather Gadget
    By RobertRule in forum Extension Development
    Replies: 4
    Last Post: 17th May 2010, 09:11 AM
  3. Vitalize and Load On Call
    By Maggott in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 24th January 2008, 08:59 PM
  4. [BUG] Fusion Dynamics DEMO wont load.
    By RaiFox in forum Extension Development
    Replies: 8
    Last Post: 26th December 2006, 04:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •