Creating a Flash projector file from multiple swfs?
- Started
- Last post
- 7 Responses
- kmouritsen
I have a Flash file that loads mutliple swfs. I need to create a single standalone .exe file from all of these swfs.
How do I got about doing that?
Thanks
- acescence0
you just need to make your base swf a projector, and all other swfs get loaded into that at runtime, meaning they will remain as external swf files. there's no way to package it all into one projector using just the flash app.
there is a way however... but you must buy another app, called Jugglor:
- flashbender0
If you need to have only one deliverable file, the first thing that springs to mind is using scenes.
Add one scene for each external swf you are loading and then use a goto command instead of a loadMovie command.
This assumes that you are talking about loading movies that replace content and not loading movies on top of the root so that some of the original movie is visible under the newly added movie.
If you are doing that, then your best bet is to convert all of your external movies into movie clips and load them all in frame 2.
You can do this easily (if your external movies are not super complicated) by making a new movie clip and importing the swf into the new movieclip.
Also, I have not and do not plan to learn AS3, so maybe there is some super fancy new way of doing it that I do not know about.
- why no AS3? no more flash for you?acescence
- i'm learning as3 now. by learning i mean confused, upset and suicidal...airey
- I'm at a point where I am happier concentrating on design and interaction and hiring a full-on developer >>flashbender
- once you wrap your head around it, soooo much better than AS2acescence
- to do any AS3 work that I may need done.flashbender
- ok...NEVER use SCENESpowertoni
- EVER...powertoni
- offer a different solution thenflashbender
- oh, you did ;P
flashbender
- flashbender0
or if you want to go crazy, you can get Zinc and make complicated stuff and deploy it to Mac or Windows with an installer.
- powertoni0
if you have access to all the individual flas.....put all the individual fla content into movieclips and use attachMove.
- looong job that one.airey
- this solution pleases meflashbender
- if you've got a giant project though, this can eat tons of ramacescence
- depends....if its timeline then its just a matter of copying frames...
shift+apple+c / shift+apple+vpowertoni - if it has alot of library assets, then yeah, thats a little more difficult. But even then, you just put all your assets into folders and copy thempowertoni
- and then copy the folders into a new documentpowertoni
- airey0
regarding a possible RAM issue: if you're packaging the multiple flas/swfs into a projector then i'd not expect RAM to be an issue unless they're trying to play it on a powermac or intel2 machine. it's not going to be playing through the browser so go nuts.
flashbender - have you used zinc much? i've never used it but wondered how good it was?
- calculator0
'scenes' are an in joke put in by the developers of flash
- those crazy fuckers. life of the party...airey
- Na, they're a relic from flash 3/4... They used to have a use but i'm having a hard time remembering what.kingsteven
- harmsie0
If you are loading or attaching a lot of multiple swfs in to one projector, just one peice of advice, test, test it thoughly, and make sure each movie is then removed, don't just load or attach external swf over each other. I did a project once where I had to do a similar thing. Got an almighty memory leak, it was fine for a about half an hour then, PCs and macs just ran out of memory, it was horrible. Even had to get Adobe involved, there is a bug in the projector that means unloadMovie (and the other remove MovieClip options) didn't really remove them