How to embed Vitalize! applications in HTML pages

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • This is the same syntax as Vitalize! 3. You have to use an OBJECT tag (for Internet Explorer) that contains an EMBED tag (for the other browsers) :

    <OBJECT ID="Vitalize1" WIDTH=320 HEIGHT=200 type="application/x-cnc"
    CLASSID="CLSID:EB6D7E70-AAA9-40D9-BA05-F214089F2275"
    CODEBASE="Please login to see this link.">
    <PARAM NAME="URL" VALUE="yourapp.ccn">
    <EMBED TYPE="application/x-cnc"
    SRC="yourapp.ccn"
    checkversion="4,0,254,0"
    PLUGINSPAGE="Please login to see this link."
    WIDTH=320
    HEIGHT=200>
    </EMBED>
    </OBJECT>

    Comments

    - replace yourapp.ccn by the name of your application.

    - set the width and height of your application in the width and height parameters of the OBJECT and EMBED tags.

    - you can replace Vitalize1 by any identifier.

    - application/x-cnc is the MIME type of Vitalize! CCN files.

    - the Version number in the OBJECT tag (4,0,254,0) is the version of Vitalize! required by your application. It is recommended to use the latest version number. If the installed version of Vitalize! has a lower number, then Internet Explorer will ask the user if s/he wants to install the new version.

    - the CHECKVERSION number in the EMBED command is similar. When Vitalize! is executed from another browzer (Firefox, Netscape, Opera, etc), then it will compare this version number to the version number of the installed version and will proposes the user to go to the download page of Vitalize! if necessary.


    Optional parameters


    - Background color : use the following parameters to change the background color of the plugin window. This window is displayed while the browser is downloading the CCN file.

    OBJECT tag
    <PARAM NAME="BackColor" VALUE="red,green,blue">

    EMBED tag
    BackColor="red,green,blue"

    red,green,blue = components of the color to use, between 0 and 255


    - Progress bar : if you want a progress bar to be displayed while the browser is downloading your application, use the following parameters :

    OBJECT tag
    <PARAM NAME="ProgressBar" VALUE="x,y,width,height">
    <PARAM NAME="ProgressBarColor" VALUE="red,green,blue">
    <PARAM NAME="ProgressBarBorderColor" VALUE="red,green,blue">

    EMBED tag
    ProgressBar="x,y,width,height"
    ProgressBarColor="red,green,blue"
    ProgressBarBorderColor="red,green,blue"

    x,y = position of the progress bar
    width,height = width and height of the progress bar
    red,green,blue = components of the color to use, between 0 and 255

    - Disabling sounds and/or music : use the following parameters to disable the sounds and/or the music in the CCN file. Note 1: only the internal sounds & music are disabled with this option, the sounds played by video objects for example are not disabled. Note 2: if you use these options, CCN files created with TGF1 or MMF1 are not executed.

    OBJECT tag
    <PARAM NAME="Sounds" VALUE="no">
    <PARAM NAME="Music" VALUE="no">

    EMBED tag
    Sounds="no"
    Music="no"


    - Disabling specific extensions : use the following parameter to prevent CCNs using some extensions from being executed.

    OBJECT tag
    <PARAM NAME="DisableExts" VALUE="extension1,extension2,etc">

    EMBED tag
    DisableExts="extension1,extension2,etc"

    extension1,extension2,etc are extension filenames without file extension, for example kcbutton.


    - Disabling all extensions except for some of them : use the following parameter to allow only CCNs using specific extensions.

    OBJECT tag
    <PARAM NAME="EnableExts" VALUE="extension1,extension2,etc">

    EMBED tag
    EnableExts="extension1,extension2,etc"

    extension1,extension2,etc are extension filenames without file extension, for example kcbutton.


    - Custom parameters : you can use your own parameters and retrieve them with the CommandItem$ function of MMF2/TGF2.

    OBJECT tag
    <PARAM NAME="NameOfYourParameter" VALUE="ValueOfYourParameter">

    EMBED tag
    NameOfYourParameter="ValueOfYourParameter"

    and then in your application use CommandItem$("NameOfYourParameter") to retrieve its value.

    Example with all the parameters

    <OBJECT ID="Vitalize1" WIDTH=320 HEIGHT=200 type="application/x-cnc"
    CLASSID="CLSID:EB6D7E70-AAA9-40D9-BA05-F214089F2275"
    CODEBASE="Please login to see this link.">
    <PARAM NAME="URL" VALUE="yourapp.ccn">
    <PARAM NAME="BackColor" VALUE="255,255,255">
    <PARAM NAME="ProgressBar" VALUE="0,0,320,200">
    <PARAM NAME="ProgressBarColor" VALUE="255,0,0">
    <PARAM NAME="ProgressBarBorderColor" VALUE="0,0,0">
    <PARAM NAME="NameOfYourParameter" VALUE="ValueOfYourParameter">
    <EMBED TYPE="application/x-cnc"
    SRC="yourapp.ccn"
    checkversion="4,0,254,0"
    PLUGINSPAGE="Please login to see this link."
    WIDTH=320
    HEIGHT=200
    BackColor="255,255,255"
    ProgressBar="0,0,320,200"
    ProgressBarColor="255,0,0"
    ProgressBarBorderColor="0,0,0"
    NameOfYourParameter="ValueOfYourParameter">
    </EMBED>
    </OBJECT>

  • New using Vtlz.
    I did not write code for my web game. I installed the v4 plugin then just openned the game from the File,Open, type ALL.

    It worked fine - but it seem from the text I did it wrong. Is that right?

    Also, Are you allowed to put the V4 plugin on your CDrom with your games when sell it? I am working with MMF2Dev

    ThankYou
    patricklyder

    patrick Lyder, cet,cna
    25 years of making computer systems do just about anything.
    CeftY - Computer Education for the Young
    LyderWare.com - Computer Solutions - LyderWare SoftWare

  • Also, I'd like to present my V-Code generator, which makes creating the code much easier.

    Please login to see this link.

    Working as fast as I can on Fusion 3

  • Hello ,
    regarding the progress bar, I think it would have been nice to be able to add a message such as : " Please wait...Your game is loading" while the progress bar is displayed.
    Does anyone know if it's possible ? My vitalized page takes up the whole frame , so I can't just add the message to the html code of my webpage because it won't disappear after the game has loaded !!
    Thanks for your help !

    Please login to see this link.

  • alrighty I love freewebs - haven't used it since the dark ages, though. Just looked at it and here's how you do it:

    -Login and Click on the Edit My Site button at the top left
    -Select Manage Files
    -Click on Single Uploader
    -Click on Browse
    -Find Your .ccn file
    -Select it and hit upload

    Please login to see this link. by KetchupMaster - A must have for any web developer!
    Please login to see this link.

  • I've been trying to get my Vitalize! game working for a while now (on Webs, formerly Freewebs), but I guess I haven't figured out the HTML. The game will play off of my computer, but not anyone else's, even if they have Vitalize! too. Help?

    The Acorn_Clan
    Please login to see this link.

  • I CAN FIX THIS PROBLEM VERY FAST. I JUST FINISH THIS PROBLEM
    GO TO THE MULTIMEDIA FUSION ARCHIVE. I AM GOING TO PUT A HTML DOCUMENT THERE FOR YOU.

    MORE DETAILS WILL BE INSIDE THE POST

    ALSO GO TO MY WEBSITE ON MY SIGNATURE.
    GO TO MY OWN GAMES. THEN CLICK THE ONE ABOUT MARIO.

    IS THIS WHAT YOU HAD IN MIND?

    Please login to see this link.
    Please login to see this link.

  • Hi. Appreciate any help here. I saved my son's game as a ccn file & posted it on my web server at Please login to see this link.
    I also embedded the ccn in the following wb page:
    Please login to see this link.
    When you browse to these locations, it appears as if the ccn file "cannot be found" The file is definately on the web server though. I can also successfully run the ccn file locally in ie by loading either the page with the imbedded code or the ccn file directly. Any idea why this is failing when accessing from the server?

  • double check to make sure you have the correct source code for the .ccn file. I had this problem a lot, what I had to do was check where I uploaded it and find the correct source code. Try doing something like that. I would try to upload again if that doesn't work, and then retry the source code.

    Please login to see this link. by KetchupMaster - A must have for any web developer!
    Please login to see this link.

  • And the answer is: you need to register the MIME type in IIS for teh web site. in IIS, right-click on your web site, select HTTP Headers, under MIME types, select "New" & add the following type: .ccn in the extension field and application/x-cnc in the "content type" field

  • Hello. Could anyone help me as soon as possible with this problem? I have uploaded the game on my server and it's working but the background graphics don't show up? The background images are uploaded on the same page as the .html page. By the way, I can see the background graphics when I open the .html page from my hard drive.
    Thank You.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!