Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Media_play on panel target_map NOT working #253938
02/27/09 21:48
02/27/09 21:48

M
Malice
Unregistered
Malice
Unregistered
M



I was trying to render a .avi file on a panel. The sound plays but the panel becomes invisible. I have use tons of file formats include uncompressed avi. Thats not the problem. It plays the movie full screen if NULL is passed as the target map pointer, prefectly fine.I'm thinking it's my old ati card. But just to check is there anything I did wrong in the fallowing code.

Code:
BMAP* bMap1="background.tga"; 
BMAP* bMap2="renTarget.bmp";

PANEL* panMovie =
{
bmap=bMap1;
pos_x=100;
pos_y=100;
layer=999999;
}

function main()
{
wait(2);// init d3d_device
panMovie.target_map=bMap2;
set(panMovie,SHOW);
media_play("video.avi",bMap2,50);
}


I think it right is there something else I must do before I can render a avi on a panel? Is there a way to check if my vidCard doesn't support this? my vid Card is ati radeon 9600.

Thank you for reading and/or replying to this post.

Malice
Texas USA

Re: Media_play on panel target_map NOT working [Re: ] #253947
02/27/09 22:22
02/27/09 22:22
Joined: Feb 2006
Posts: 385
Oldenburg,Germany
Ralph Offline
Senior Member
Ralph  Offline
Senior Member

Joined: Feb 2006
Posts: 385
Oldenburg,Germany
Did you try this?
Code:
set(panMovie,VISIBLE);

Im not sure if this is fix the problem. wink

Sorry for my bad english.
Greetings Ralph


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1