*Zeropan* Posted June 30, 2009 Author Share Posted June 30, 2009 What's the command for something will happen if flash movie ends or CLosed?for example: If FLASHMOVIE ENDS or CLOSED then BLA BLA BLAthanks Link to comment Share on other sites More sharing options...
StingRay200 Posted June 30, 2009 Share Posted June 30, 2009 I think it closes by it self. Link to comment Share on other sites More sharing options...
Admiral Refuge Posted June 30, 2009 Share Posted June 30, 2009 I don't think there's a sadscript command for this; you can probably source it similar to how the custom menu detects closes. Link to comment Share on other sites More sharing options...
*Zeropan* Posted June 30, 2009 Author Share Posted June 30, 2009 @Admiral:> I don't think there's a sadscript command for this; you can probably source it similar to how the custom menu detects closes.i really don't like how you can move your character see the surroundings while watching a flash movie.Is there anyway to fix that thru sadscript cuz i dont have VB6 only VB2008 Link to comment Share on other sites More sharing options...
Akselj Posted June 30, 2009 Share Posted June 30, 2009 No there isn't. Link to comment Share on other sites More sharing options...
Admiral Refuge Posted June 30, 2009 Share Posted June 30, 2009 @*Zeropan*:> i really don't like how you can move your character see the surroundings while watching a flash movie.> Is there anyway to fix that thru sadscript cuz i dont have VB6 only VB2008You could try locking the player before the movie shows, then unlock the player after the movie shows; here is some pseudocode that could work:```Call LockPlayer(1)Call FlashMovie(mymovie.swf)Call LockPlayer(0)Exit Sub``` Link to comment Share on other sites More sharing options...
*Zeropan* Posted June 30, 2009 Author Share Posted June 30, 2009 @Admiral:> You could try locking the player before the movie shows, then unlock the player after the movie shows; here is some pseudocode that could work:> ```> Call LockPlayer(1)> Call FlashMovie(mymovie.swf)> Call LockPlayer(0)> Exit Sub> ```Problem for that is it doesnt check IF the movie ends, so all it does is lock the player>play the movie> unlock_PLayeer while still playin the movie Link to comment Share on other sites More sharing options...
Admiral Refuge Posted June 30, 2009 Share Posted June 30, 2009 @*Zeropan*:> Problem for that is it doesnt check IF the movie ends, so all it does is lock the player>play the movie> unlock_PLayeer while still playin the movieYea, I figured that would happen :sad:So yea, unless you estimate how long the movie is, and use timers to lock/unlock the player, I don't see a sadscripted solution. Link to comment Share on other sites More sharing options...
Akselj Posted June 30, 2009 Share Posted June 30, 2009 Hence my post. Link to comment Share on other sites More sharing options...
Admiral Refuge Posted June 30, 2009 Share Posted June 30, 2009 Well, the timer-solution technically is a solution, but if the player exits the movie pre-maturely, it would end up keeping him locked.All this time, I thought it already locked the player when the opened the movie, just like it disabled music and soundfx when you open the movie, and enables the music and soundfx when you close it. Link to comment Share on other sites More sharing options...
*Zeropan* Posted June 30, 2009 Author Share Posted June 30, 2009 how about making the screen all black while playing the Flash window and when anykey is pressed it goes back to normal, is that possible thru sadscript? Link to comment Share on other sites More sharing options...
Admiral Refuge Posted June 30, 2009 Share Posted June 30, 2009 @*Zeropan*:> how about making the screen all black while playing the Flash window and when anykey is pressed it goes back to normal, is that possible thru sadscript?Detecting any key via sadscript is easy, sadly, you can't put a big black screen up when the movie goes up, via sadscript (unless you want to have a massive custom menu go up, then spam the movie on top of that custom menu, that _might_ work, but I don't use custom menus, so idk). Link to comment Share on other sites More sharing options...
*Zeropan* Posted June 30, 2009 Author Share Posted June 30, 2009 @Admiral:> Detecting any key via sadscript is easy, sadly, you can't put a big black screen up when the movie goes up, via sadscript (unless you want to have a massive custom menu go up, then spam the movie on top of that custom menu, that _might_ work, but I don't use custom menus, so idk).Actually heres a waymy pseucodewhen player stepped on tile Play the Flash Movie Teleport the player where map is covered with BLACK fringe and on the spot where its surounded with teleport back Link to comment Share on other sites More sharing options...
Admiral Refuge Posted July 1, 2009 Share Posted July 1, 2009 @*Zeropan*:> Actually heres a way> my pseucode> when player stepped on tile> Play the Flash Movie> Teleport the player where map is covered with BLACK fringe and on the spot > where its surounded with teleport backThe problem is, people would still be able to move, and would still be able to walk on those black teleporters while the movie is going on. Link to comment Share on other sites More sharing options...
Patrick Posted July 4, 2009 Share Posted July 4, 2009 isn't there a command to close the windows? Link to comment Share on other sites More sharing options...
Akselj Posted July 5, 2009 Share Posted July 5, 2009 Not for Flash. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now