Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Questions about V6
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 08-07-2007, 04:44 AM
PrinceOfKenshin PrinceOfKenshin is offline
That guy with a beard
PrinceOfKenshin's Avatar
Join Date: May 2004
Location: Ontario, Canada
Posts: 818
PrinceOfKenshin has a spectacular aura about
Flash?

How can we use it? I'm working on a project and this feature would make it better.
__________________


Quote:
Game Master (Server): Greetings PrinceOfKenshin, there are new posts on the forums that demand your urgent attention! God speed, the fate of the world is in your hands. If you fail, middle earth will forever be in the darkness and your children will be enslaved by McKain.
Reply With Quote
  #2  
Old 08-07-2007, 08:40 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
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
__________________
Do it with a DON!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:44 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.