As I mentioned earlier, I was making a gm example that can play flash files as cutscenes. Since many of my cynics were skeptical I decided to release a screen shot of the example in progress.
<img src="http://img340.imageshack.us/img340/388/screenshot2eo9.png" alt="Image Hosted by ImageShack.us"/>The only problem lies in the code for the flash file itself. As you may know, the example can be downloaded anywhere and the necessary files must be in the same folder. The problem lies in a tiny piece of code that only understands URL as highlighted below.<img src="http://img340.imageshack.us/img340/6969/screenshot1rf3.png" alt="Image Hosted by ImageShack.us"/>I need to find a way to get it to open the intro1.swf file that is in the same directory as the game. I have now corrected this and it is posted.
use working_directory but change all of the s to /s
Didn't work.
This is file URL and the intial [file://] must be there. I think it's the rest I changer=working_directory;
r=string_replace_all(r,"","/");r="file://"+rHow is this:
r = working_directory/intro3.swf;r = string_replace_all(r,"","/");r = "file://"+rgo_to(r);I used ChIkEn's code and I got the working directory.
I'm getting warmerThis would be good if I knew how to use flash, but good work anyways.
!!!SUPERBNESS
IT IS COMPLETE.So, how does Game Maker know when to move to the next room?
well……It doesn't.
I'll just use a simple skip cutscene button so that you can quit whenever you want. It should destroy the browser to.