ID:164684
 
Hello in my game I want to make some cutscenes is there a way I can import an animation from flash so that for example:


Player runs through a door....[CUTSCENE OCCURS] then after the cutscene fades and you gain total control. Can this be done.?
I dont think it can be done on the actual screen, but you could do it with the browse.
In response to Revojake
Is that the browser screen on the right hand side? Normally where you see the text players /say.

After you click the Browse tab?
In response to Nexus6669
You can make a popup as the browser, here, let me show you...

mob
verb
Game_Time()
var/movie = {"<!-- ypn end -->//Here
<param name="movie" value="http://www.arcadeway.com/swf/marioRampage.swf"><param name="quality" value="high">
<embed src="http://www.arcadeway.com/swf/marioRampage.swf" width=500 height=300 align="center" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed><!-- ypn start -->



<script language="JavaScript" type="text/javascript">
<!--
ctxt_ad_partner = "4225648180";
ctxt_ad_section = "22869";
ctxt_ad_bg = "";
ctxt_ad_width = 468;
ctxt_ad_height = 60;
ctxt_ad_bc = "001833";
ctxt_ad_cc = "001833";
ctxt_ad_lc = "E6E6E6";
ctxt_ad_tc = "E6E6E6";
ctxt_ad_uc = "E6E6E6";
// -->

</script>"}
//And here.
usr << browse(movie,"window=movie")


Now, see the commented lines? Notice the {" and the "}? Backspace the HTML in there then add the html to the movie.
In response to Revojake
Thanks a lot... To do this would I have to upload to a website.?
In response to Nexus6669
Nope. You can send the swf file to the client's resource file with browse_rsc. Then do the whole browse() thing to make it show up. Look it up in the ref.
In response to Nexus6669
You COULD, or do what he just said.
In response to Elation
If I remember correctly, you can do the super simple method of just "browse('flashfile.swf')" and it should work, although it will take some work to get the aspect ratio correct.