Shoutbox

Animated Pictures - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Animated Pictures (/showthread.php?tid=88916)

Animated Pictures by c_clarky_89 on 02-02-2009 at 04:01 PM

hello im wondering how to get my gif animated pictures to move heres the code ive currently got:

code:
                <Control xsi:type="ButtonControl" Id="BtnCake">
                        <Position Top="165" Width="20" Left="330"/>
                        <Image>
                                 <Name>Icons\Ocations\msn-cake</Name>
                                 <Format>GIF</Format>
                        </Image>
                </Control>


RE: Animated Pictures by Matti on 02-02-2009 at 04:12 PM

This won't work for images in ButtonControls, sorry. However, if you were using an ImageElement, you could use the AllowAnimate attribute.


RE: Animated Pictures by c_clarky_89 on 02-03-2009 at 03:50 PM

thats so unfair :'(


RE: RE: Animated Pictures by davidpolitis on 02-04-2009 at 09:08 AM

quote:
Originally posted by c_clarky_89
thats so unfair :'(
I spent quite a while figuring out stuff/making an example for you. Hopefully this will help you and others.
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">
    <Window Id="WndTest" Version="1">
        <Attributes>
            <Caption>WndTest</Caption>
        </Attributes>
        <TitleBar>
            <Title>
                <Text>WndTest</Text>
            </Title>
        </TitleBar>
        <Position Width="100" Height="100"/>
        <DialogTmpl/>
        <Elements>
            <Element xsi:type="ImageElement" Id="ImgCake" Visible="true">
                <Position Top="10" Left="10" Width="33" Height="39">
                    <Units>AllPixels</Units>
                </Position>
                <Attributes>
                    <AllowAnimate>true</AllowAnimate>
                </Attributes>
                <Image>
                    <Name>ImgCake</Name>
                    <Format>GIF</Format>
                </Image>
            </Element>
        </Elements>
        <Controls>
            <Control xsi:type="ButtonControl" Id="BtnCake">
                <Position Top="10" Left="10" Width="33" Height="39">
                    <Units>AllPixels</Units>
                </Position>
                <CustomLook/> <!-- Makes sure the button isn't shown at all or over the image -->
            </Control>
        </Controls>
    </Window>
</Interfaces>


I've attached ImgCake.gif below for you to test the XML (yes I know it isn't even close to a cake).
RE: Animated Pictures by c_clarky_89 on 02-23-2009 at 08:27 PM

THANK YOU, THANK YOU, THANK YOU, THANK YOU its woking :D:D:D:D:D:D:D:D:D


RE: RE: Animated Pictures by davidpolitis on 02-24-2009 at 06:09 AM

quote:
Originally posted by c_clarky_89
THANK YOU, THANK YOU, THANK YOU, THANK YOU its woking :D:D:D:D:D:D:D:D:D
NP (Y). Glad to see that you visited the thread again ;)
RE: Animated Pictures by c_clarky_89 on 02-24-2009 at 06:14 AM

you dont know how happy i am :D i have the biggest smile ever on my face right now you made me really happy :D ive finished the name editor now uploading it tomorro :D

i liked your cake image btw i couldnt stop laughing at that :P


RE: Animated Pictures by c_clarky_89 on 02-24-2009 at 05:21 PM

i got a problem :( the images only move on my pc when i install it on another one they dont move :S :(


RE: Animated Pictures by matty on 02-24-2009 at 05:43 PM

quote:
Originally posted by c_clarky_89
i got a problem :( the images only move on my pc when i install it on another one they dont move :S :(
What version of Messenger Plus! is the other one using?
RE: Animated Pictures by c_clarky_89 on 02-24-2009 at 06:15 PM

Messenger Plus! Live 4.80.0.356

EDIT: i found out tht the pictures move they just move really really really slow :(


RE: RE: Animated Pictures by davidpolitis on 03-23-2009 at 06:35 AM

quote:
Originally posted by c_clarky_89
EDIT: i found out tht the pictures move they just move really really really slow :(
Maybe there's something wrong with your GIF images? The image I used seems fine...
RE: Animated Pictures by c_clarky_89 on 03-24-2009 at 02:30 PM

i think its because ive got so many images moving the computer cant take it :( the whole thing runs slow :(