What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [need help] How do i make a splash with XML engine?

[need help] How do i make a splash with XML engine?
Author: Message:
Cradenburg
New Member
*


Posts: 5
Joined: Oct 2006
O.P. [need help] How do i make a splash with XML engine?
Well... I'm trying to make a splash, but with the current xml code, it dosent seem to work :(...

code:
<Interfaces xmlns="urn:msgplus:interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:msgplus:interface PlusInterface.xsd">
    <Window Id="abt" Version="1">

    <Position Width="419" Height="284"/>   

    <Elements>
    <Element xsi:type="Image" Id="Background">
        <Position Top="0" Left="0" Width="419" Height="284"/>
        <Name>splash</Name>
        <Format>PNG</Format>
    </Element>
    </Elements>

    </window>
</Interfaces>

And I call it like this:     
code:
var WndAbt = MsgPlus.CreateWnd("splash.xml", "Abt");

Please advice me as to what I should do to rectify this, I tried searching for splash but nothing came out. Is it possible to make windowless images in Messenger Plus?
10-23-2006 05:30 PM
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: [need help] How do i make a splash with XML engine?
I'm not sure if the xml code is correct, but make sure you save it as UTF-16 Long Endian

EDIT: Notepad++ calls the correct format UCS-2 Little Endian, windows Notepad just calls it Unicode.

This post was edited on 10-23-2006 at 05:45 PM by Ezra.
[Image: 1-0.png]
             
10-23-2006 05:32 PM
Profile PM Web Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
31 / Male / Flag
Joined: Apr 2004
RE: [need help] How do i make a splash with XML engine?
quote:
Originally posted by Ezra
UTF-16 Long Endian
I thought XML files for Plus! Live should always be saved as Unicode, no?
quote:
Originally posted by Cradenburg

Please advice me as to what I should do to rectify this, I tried searching for splash but nothing came out. Is it possible to make windowless images in Messenger Plus?
Yes! :)
code:
    <Window Id="abt" Version="1">
    <WindowTmpl>
        <Corners Shape="Rectangular"/>
        <Borders Type="None"/>
    </WindowTmpl>

    <Position Width="419" Height="284"/>

That will set the window to have rectangular corners (if you want to keep round corners, just remove that line) and to have no borders. ;)

This post was edited on 10-23-2006 at 05:40 PM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
10-23-2006 05:40 PM
Profile E-Mail PM Web Find Quote Report
Silentdragon
Full Member
***

Avatar
if(life==null && wrists) EmoAlert();

Posts: 148
Reputation: 2
34 / Male / –
Joined: Jun 2006
RE: [need help] How do i make a splash with XML engine?
UTF-16 Long Endian is Unicode
UTF-16/UCS-2
10-23-2006 09:13 PM
Profile E-Mail PM Web Find Quote Report
Cradenburg
New Member
*


Posts: 5
Joined: Oct 2006
O.P. RE: [need help] How do i make a splash with XML engine?
thanks
10-24-2006 10:00 AM
Profile E-Mail PM Find Quote Report
phalanxii
Full Member
***


Posts: 146
Reputation: 5
32 / Male / Flag
Joined: Aug 2006
Status: Away
RE: [need help] How do i make a splash with XML engine?
Perhaps check:
code:
<Window Id="abt" Version="1">
and
code:
var WndAbt = MsgPlus.CreateWnd("splash.xml", "Abt");
Not sure if case-sensitivity matters, but I would assume so.
10-24-2006 10:44 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On