Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: atrfate on October 12, 2015, 10:20:50 AM

Title: how to display swf content
Post by: atrfate on October 12, 2015, 10:20:50 AM
Hello, been a while!, with swf support i thought id try some things that where not possible before, however outside of displaying a static image, i haven't found the correct syntax to make them display
fe.addartwork?
fe.addswf ect
Title: Re: how to display swf content
Post by: liquid8d on October 13, 2015, 10:37:23 PM
Just fe.add_image():

Code: [Select]
local swf = fe.add_image("Artwork3.swf", 0, 0, 400, 400);

Pretty sure it's still very experimental. Not sure about transparency layer or any control of the actual swf. I haven't messed with it much (yet) :)