What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Chunks Revealed

Chunks Revealed
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
O.P. Chunks Revealed
This thread is for the long time members who could never figure out from the official documentation how to use chunks. And after spending sometime with Patchou this week in Montreal and complaining to him that the schema validates fine but it still doesn't work he took a look.

As it turns out the information schema was inaccurate.

Download the interface tester and save the following code to an xml file and try and load it. Once I finish bugging Patchou to fix something else in the schema I will post it.

Until then :)

XML code:
<?xml version="1.0" encoding="UTF-16"?>
<Interfaces xmlns="urn:msgplus:interface"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="urn:msgplus:interface PlusInterface.xsd">
    <GlobalColors>
        <GlobalColor Id="ref">
            <BaseColor>
                <Saturation>2.5</Saturation>
                <Brightness>0.8</Brightness>
                <Transparency>220</Transparency>
            </BaseColor>
        </GlobalColor>
    </GlobalColors>
    <Window Id="Test" Version="1">
        <Position Width="354" Height="250" />
        <DialogTmpl />
        <Elements>
            <Element xsi:type="FigureElement" Id="Fig1">
                <Position Top="0" Left="0" />
                <Figure>
                    <Custom>
                        <PathChunk xsi:type="ArcChunk">
                            <Left>10</Left>
                            <Top>50</Top>
                            <Width>200</Width>
                            <Height>200</Height>
                            <StartAngle>90</StartAngle>
                            <SweepAngle>360</SweepAngle>
                        </PathChunk>
                        <PathChunk xsi:type="LineChunk">
                            <X1>500</X1>
                            <Y1>100</Y1>
                            <X2>40</X2>
                            <Y2>150</Y2>
                        </PathChunk>
                        <PathChunk xsi:type="BezierChunk">
                            <X1>100</X1>
                            <Y1>100</Y1>
                            <X2>220</X2>
                            <Y2>120</Y2>
                            <X3>270</X3>
                            <Y3>270</Y3>
                            <X4>120</X4>
                            <Y4>320</Y4>                           
                        </PathChunk>
                    </Custom>
                </Figure>
                <Border>
                    <Size>1</Size>
                    <Color>
                        <GlobalColor>ref</GlobalColor>
                    </Color>
                </Border>
            </Element>
        </Elements>
    </Window>
</Interfaces>


This post was edited on 10-08-2010 at 12:27 PM by matty.
10-08-2010 02:52 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Chunks Revealed - by matty on 10-08-2010 at 02:52 AM
RE: Chunks Revealed - by CookieRevised on 10-08-2010 at 12:06 PM
RE: Chunks Revealed - by Dempsey on 10-08-2010 at 01:06 PM
RE: Chunks Revealed - by CookieRevised on 10-08-2010 at 01:11 PM
RE: Chunks Revealed - by Dempsey on 10-08-2010 at 02:25 PM
RE: Chunks Revealed - by matty on 10-08-2010 at 02:52 PM
RE: Chunks Revealed - by matty on 10-08-2010 at 03:09 PM
RE: Chunks Revealed - by warmth on 10-08-2010 at 03:42 PM


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