There are a number of ways:
You can use the classic GuiFlashCtrl (Well it's either called that or just plain GuiFlash). Info for that can be found here:
http://wiki.graal.net/index.php/Crea...lient/GuiFlash
You can also take a TShowImg (showimg/findimg) or a GuiShowImgCtrl and set flashfile = filename. Here's some info for that too:
Quote:
Originally Posted by http://wiki.graal.net/index.php/Creation/Dev/Releases/Client/5.006
improved support for displaying flash resources in Graal: - in showimgs/findimgs and GuiShowImgCtrl you can set flashfile = "name.swf" and then access the attributes by the variable "flash"
- fixed some major compatibility problems
- gradient brushes are correctly handled and displayed
- it is possible now to list all available flash resources of a file by displaying flash.objectnames
- display the number of frames: flash.framecount
- you can also set the frame number of sub objects: do flash.objectname = "clipname", flash.object.frame = subframenumber you can change the color of the flash resource (by setting red,green,blue,alpha of the showimg)
- correct scaling when the GuiShowImgCtrl is inside a GuiStretchCtrl (or the showimg is displayed in the gani script of a scaled player/npc)
- you can access the layers (depths) of the flash movie with flash.getLayer("name" or index), and then change red,green,blue,alpha (or 'color' for changing all at once) and frame or even access sub-layers, use flash.layernames to get the available names
- resources (meshes, gradient textures) are removed from memory after a few seconds of non-usage
|