I used Flash Catalyst for a multimedia cd. Now I have to make it autorun so that it opens the main.swf automatically when someone puts in the cd.
I found out how to make the .html file autorun but I would like to know if I can do something with the .swf to make it autorun. Is it possible, since it is not .exe?
Here's what you can do. First, create a Projector file with your swf. A Projector just bundles your .swf with the Flash Player in the form of a native application (.app or .exe, depending on your platform).
Then you can create your autorun CD. If you are just working with Windows, you can do that via the autorun.inf file. Here's an article covering how to do it for both Macs and PCs:
Note that Flash Authoring can create these projectors for you from your .swfs as well. Under the publish settings you can pick "Mac Projector" and "Windows Projector".
Thanks a lot. Now the only problem that remains for the multimedia cd is that links to the internet & youtube are not working...
Maybe because of the "run local" file? But then the "deploy to web" swf file does not work! I do not know why....
Links to the web should work in a "projector" -- since it's running natively it is not subject to the normal Flash Player's security sandbox.
I've attached a simple test application that can do this. If you open this in Catalyst, publish it, then follow Bear's steps above (using either the run-local or deploy-to-web copy of the .swf), you should get a native application (.exe or .app package). If you then run the native application and click the button, it will open cnn.com in your browser.
(Be sure you do launch the native application, though -- if you just keep running the .swf that you launched in Bear's steps, that will still be subject to the local/web security restrictions).
If you dont mind using swfkitpro 3.5. It works like charm. Not stress. It can publish flash pro, catalyst and Flex swf files to .exe. It can also build an installer for you if you want. It's so good. Try it. I have tested it.