| Image.jpgToSwfSlideShowAsync() | This page was last modified over 30 day(s) ago and has 0 comment(s)
|
| Back to Image Class Summary |
| Availability |
| Windows, Mac OSX, Linux |
| Usage |
| mdm.Image.jpgToSwfSlideShowAsync(frameRate:Number, inputJpgFiles:String, frameGap:String, outputFilePath:String, width:Number, height:Number):Void |
| Parameters |
| frameRate:Number - Frame rate of target movie inputJpgFiles:String - Locations of JPG files to be converted frameGap:String - The amount of frames to insert in between each slide outputFilePath:String - Location of SWF file to be created width:Number - Width of SWF file to be created height:Number - Height of SWF file to be created |
| Returns |
| Nothing |
| Description |
| Creates a SWF movie file which contains the a slideshow of the specified JPG images. |
| Notes |
| The 'inputJpgFiles' parameter must be a list delimited with the vertical bar character "|". The 'frameGap' parameter dictates how many frames will be inserted after the corresponding slide. This parameter must also be a list of numbers (the numbers must be '1' or higher) delimited with the vertical bar character "|". |
| Example Code |
| //This example will create a movie which is 20 frames per second //The first image will be shown for 0.5 seconds (1 frame for the image plus 9 frames) //The second image will be shown for 1 second (1 frame for the image plus 19 frames) mdm.Image.jpgToSwfSlideShow(20, "c:\\myImage1.jpg|c:\\myImage2.jpg", "9|19", "c:\\mySlideshow.swf", 480, 360); |
| mdm.Image Class Example Downloads |
| No Example Downloads Available |
| Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here | |
| After Logging In, Click Here to Refresh This Page |