THAT IS IT! I didnt even think to check material.
I have a text object called PlayMode with defined strings one can choose in the sequencer, Loop or PlayOnce
This is in the onOnline script
dim Background, PlayMode as xpBaseObject
Self.GetObjectByName("Background",Background)
Self.GetObjectByName("PlayMode",PlayMode)
dim Material as xpMaterial
Background.GetMaterial(0,Material)
if PlayMode.Text = "Loop" then
Material.SetPlayMode(1)
else ' PlayOnce
Material.SetPlayMode(0)
end if
Thanks all for your time
#XPression