We just recently were challenged with trying to update to the latest Flex beta, and there have been a few changes to the way the seamless install batch.swf works. For one thing, this program now goes out and talks to an air.swf hosted by Adobe. The second, and far more annoying "feature" was that if you had an AIR file name like "Sample Application.air" and tried to publish that using the sample batch.swf provided in the SDK, the AIR Installer would fail, choking on the space.
I've hacked the batch.fla file using regex to put replace spaces with %20, and this seems to have fixed the problem for now. I also downloaded a copy of the air.swf from the Adobe site, threw it in the same folder as my batch.swf and changed the code to use that one instead.
You can get the whole bag of goodies here. I've included all the source and a ready to use batch.swf, as well as a working sample.
Подписаться на:
Комментарии к сообщению (Atom)
Комментариев нет:
Отправить комментарий