What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Loading a external image

Loading a external image
Author: Message:
Yorick
Junior Member
**

Avatar

Posts: 22
33 / Male / Flag
Joined: Mar 2007
O.P. RE: Loading a external image
At the top of the script I have
code:
var WndProfileInformation;

Is this not enough? So in the function I only use

code:
WndProfileInformation.ImgElmt_SetImageFile('ImgDisplayPic', OutFile);


But for some reason I can't use it in the download function...


EDIT: Made a mistake in the function name...

It works quit good now, but I use the following code now:
code:
function OnEvent_DownloadFileComplete(Url, OutFile, Success)
{
    if(Success)
    {
        Debug.Trace('File: ' + OutFile);
        WndProfileInformation.ImageElmt_SetImageFile('ImgDisplayPic', OutFile);
    }
}


But It doesn't show it in the element, but there does change something. The default image is removed, but the new image is not shown... Do I have to do anything with the OutFile path? Maybe add some slashes...

EDIT2: Missed Marty's post, just had to add to slashes before the path, it works great now! Thanks guys :D!

This post was edited on 03-02-2007 at 07:15 PM by Yorick.
03-02-2007 07:04 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Loading a external image - by Yorick on 03-01-2007 at 05:00 PM
RE: Loading a external image - by Matti on 03-01-2007 at 05:24 PM
RE: Loading a external image - by matty on 03-01-2007 at 06:03 PM
RE: Loading a external image - by Yorick on 03-02-2007 at 06:53 PM
RE: Loading a external image - by CookieRevised on 03-02-2007 at 07:01 PM
RE: Loading a external image - by Yorick on 03-02-2007 at 07:04 PM
RE: Loading a external image - by Matti on 03-02-2007 at 07:23 PM
RE: RE: Loading a external image - by CookieRevised on 03-02-2007 at 09:13 PM
RE: Loading a external image - by Yorick on 03-02-2007 at 07:32 PM
RE: RE: RE: Loading a external image - by Eljay on 03-02-2007 at 09:23 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