Again with buttons? Some time ago I asked about flash buttons inside LassieAS, and NigeC answer politely this:
Yes you can use Flash buttons in Lassie AS
The button AS you put something like:
Code:
_
on (release)
{
root.TIMe.changeRoom('yourroom', 'startpoint', 4, null, null);
_root.runActions();
}
This would send you the next room, you can do the same with a url
But... (there is always a but) I had put that script within a simple animated button (whit a nice rollover) and I try it as a sprite and as background in Lassie... Nothin happened!
Then...
What if I want to put a swf file with many buttons within two scenes? Is that posible? The idea is to insert a simple flash menu into de game.
bigmac- 10-23-2008
As I recall, you need to set button elements as "ambient" within the LassieAS editor, otherwise Lassie actions will block mouse events from getting to your nested buttons.
NigeC- 10-23-2008
As I recall, you need to set button elements as "ambient" within the LassieAS editor, otherwise Lassie actions will block mouse events from getting to your nested buttons.
thats the only thing i can think of
this is my turning room thingy.. the left and right sides are the buttons that turn the room.. set ambient in Lassie@
http://www.nigecstudios.co.uk/games/hawkmanor/room5.zip
castaniete- 10-23-2008
Thanks a lot to Greg and NigeC!!!!!!!!!!!!!!!!!!!!!!!!
:D :D :D :D :D :D :D :D :D
Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.