1

I don't know whether it's the right place to put this up. But I've been trying from past 12 hours and haven't found anything related.

  1. I'm creating a Adobe AIR project (which'll run on desktop), it'll ask for image locations on the local pc.

  2. After the user is done selecting images. I want to output a SWF video (slideshow) of the selected images.

How to do the second step. Please guide. I want to create an output file (SWF) from my AIR Flex Desktop Application.

coding_idiot
  • 13,526
  • 10
  • 65
  • 116
  • I wrote a ActionScript Class - it extends Sprite and on setting it as Default Application & running, it creates a SWF with its name. This SWF is similar to what I want. Although I am unable to create an object of this on a button click. – coding_idiot Dec 19 '12 at 14:08

3 Answers3

1

Check out https://github.com/claus/as3swf to compile SWFs at runtime...

This individual seems to have had a similar issue AS3 to Generate Dynamic SWF?

Community
  • 1
  • 1
antman
  • 227
  • 2
  • 17
  • Sorry but it didn't worked for me. So I did this alternative, I installed the as3 compiler and called it on the command line to compile my generated as3 to swf. – coding_idiot Dec 28 '12 at 09:47
0

You can try following options from SWFtools

JPEG2SWF Takes one or more JPEG pictures and generates a SWF slideshow from them. Supports motion estimation compression (h.263) for better compression of video sequences.

PNG2SWF Like JPEG2SWF, only for PNGs.

GIF2SWF Converts GIFs to SWF. Also able to handle animated gifs.

Varun Bajaj
  • 1,033
  • 8
  • 16
0

Here is what I did :

  1. Install the as3 compiler (mxmlc)
  2. Run the command mxmlc.exe sample.as3 using NativeProcess
coding_idiot
  • 13,526
  • 10
  • 65
  • 116