Motion Background Options

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
CenturyMan1979
Posts: 86
Joined: Tue May 15, 2012 5:56 pm

Motion Background Options

Post by CenturyMan1979 » Wed Jun 06, 2012 7:25 pm

Hey everyone,

We are in the process of porting an app from director over to livecode an have ran into an issue with video. Right now we use a video as a motion background in director that other content is over but it seems that in livecode you can't have content over video. Is there some other solutions out there that people have done to accomplish this effect?

We were thinking animated GIF but don't think we will get the performance or quality out of it that we would want. Flash was another option we were thinking also but not a big fan of the RevBrowser object to display it, also we are not even sure you can have objects over a RevBrowser.

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4174
Joined: Sun Jan 07, 2007 9:12 pm

Re: Motion Background Options

Post by bn » Wed Jun 06, 2012 7:45 pm

Hi Century,

if you set the always buffer of a player object to true then you can put other objects in front of it. The downside is that you have to roll your own on the controller since it is not working any longer. Just either make a couple buttons for play and stop etc. or put that into the script of the player and react to clicks or script it any other way.

Kind regards
Bernd

CenturyMan1979
Posts: 86
Joined: Tue May 15, 2012 5:56 pm

Re: Motion Background Options

Post by CenturyMan1979 » Wed Jun 06, 2012 9:02 pm

Thanks bn, that worked perfect. Really impressed with the performance compared to directors direct to stage option. Now to test to make sure there are no black hole issues when running through a projector like you would sometimes get with director.

Post Reply