Jump to content
N-Europe

Flash help


nightwolf

Recommended Posts

Been currently making a menu for my basic flash game (and I mean basic unfortunetly. Going to check for a flash dummies book at some point this weekend :shakehead)

 

Whilst I like my menu, I found that everything I've searched for on the web doesn't seem to let me close the .swf by just clicking my ''exit'' button.

 

..sometimes I wish it was like vb..now that was easy. :bowdown:

 

Any help would be appreciated. I really cannot understand why things are going abit haywire. Maybe because it's 2am..

Link to comment
Share on other sites

Last time I checked (before ActionScript 3.0) there wasn't that option. Although you could use a work around to call JavaScript to close the window.

 

So it would be like:

 

YOURACTION {

getURL("javascript:window.close();void(0);");

}

 

I'm sleepy now. My brain hurts from thinking about things that I have to think about think think.

 

Sleeeeep.

Link to comment
Share on other sites

×
×
  • Create New...