How do I make a simple swf made up of a series of pictures the user advances by clicking?

I'm shwoing a step by step process on how I did a photoshop piece, and I want to have a simple flash swf that goes through each of the screenshots at the viewer's pace, by them clicking. I wasn't even thinking so complicated as to include forward/back buttons, even just somethign so simple as having the entire image clickable to move 'forward' and when it gets to the end it just loops or something. super simple, i would do an animaged gif but i want it to be at the user's own pace. but if you think of how an animated gif cycles that's how simple i want it to be. also a few of fading/dissolivng between the images would be cool.
Could anyone who knows flash give me some pointers?

If you want simple, just place the images sequentially, one each per frame, along the timeline.  Then add an actions layer and place a stop(); command in the first frame of that layer.  Then add a button to the stage and code it to use nextFrame();  How you code it depends on which version of actionscript you are planning to use, but nextFrame works for either.  What nextFrame does is advances you to the next frame and stops, so you only need the one stop() on the timeline to have the movie stopped when it loads.
The more features you want to add, the more complicated it gets, so for the moment I'll leave you with the most simplified approach above.
If you want to have transitions between images, then you need to deal with adding timeline tweens that fade them in/out as desired.  Although, what you could do instead is have a movieclip on a layer above the images that fades in and out on command. The contents of it would simply be a rectangle graphic symbol that is the same color as the stage, but has its alpha value at 0 in the first frame (with a stop()), and then fades in and out again.  So the button controls the playing of that movieclip, and when that movieclip reaches the point where the rectangle is in full view, that movieclip commands the main timeline to advance to the nextFrame()

Similar Messages

  • How do i make a simple title in fcpx?

    okay stupid question, how can I make a simple title without any preadjusted parameters/animation/etc..?

    Use the Custom title.

  • How can I make a small swf file out of InDesign

    I have a 200 page book (PDF). I am trying to make a flip book to preview in web browser. How can I make a small swf file out of InDesign with the PDF I have?

    There is another point:
    if you are using JPEG images together with SWF as output file format, you could get smaller images by:
    1. using the Export For Web menu for generating size optimized JPEGs in PhotoShop opposed to Save As JPEG
    2. stripping all color management (ICC) information off the files (SWF is not very good in color management besides sRGB, I think…)
    Uwe

  • How can I make my Clock.swf file disappear?

    Hi,
    How can I make my Clock.swf file disappear? The following code works great for movie clips but throwing an error while using for .swf files.
    Introduction_mc.visible = false; >>> This code works fine
    Clock.swf.visible = false; >>>> This code throws an error (How to resolve this problem?)
    Please help.

    The easiest way is by targeting the Loader object.
    l.visible = false;
    or
    removeChild(l);
    will both work.  And you can make it visible again if need be using the opposite of those commands.

  • How can I make a global change so all controls and indicators labels on the front panel change to another colour?

    How can I make a global change so all controls and indicators labels on the front panel change to another colour?
    I need to change the front panel so that it can be used in a dark environment.

    Hi
    The only way I see, is to use the "Controls[]" property and iterate through all of them. But don't forget about nested elements (i.e. clusters, tab-controls, ...).
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...

  • Can I upload a simple iPhone App that all it does is direct the User to a Filemaker Pro URL   fmp://~filename.fmp?$VariableName=Value  This launches Filemaker Go and directs the user to the Database Hosted online   Right now there is no app store for

    Can I upload a simple iPhone App that all it does is direct the User to a Filemaker Pro URL   fmp://~filename.fmp?$VariableName=Value  This launches Filemaker Go and directs the user to the Database Hosted online
    Right now there is no app store for Filemaker Go.   Filemaker Forgot about us.
    So I want to create a simple native iPhone App that all it does
    is launch
    fmp://~/filename.fmp12?$VariableName=value
    This URL will launch the Filemaker Go App
    Filemaker Go is a app that the user will have to have
    downloaded already on the device..
    The Simple Native app will launch the Filemaker Go.
    The fmp  URL has the information where the Filemaker Pro database is hosted
    and get  the user where they need to be..
    Help Me please
    iPhone 5s, iOS 8.1.3

    That would be software. And, you said "upload." That's "uploading software." Why do you question what you stated?
    I don't know where you even want to upload this software. The only way it can be downloaded to a device is through the iTunes store. Do you even know what you want to do?

  • How do I make a simple animation?

    I am building an avation website and want clouds to move across the banner to give the feel that the site/airplane logo is moving in the sky. I already have the clouds that i made in Illustrator but now I need to make a simple GIF that has the cloud move from one side of the screen to the other and repeat. I dont even know how to do animation frames or any of that so I need lots of detail. Thanks!

    I went the one of those links and saw that that the following would give me better understanding. Does everone here understand now. Its not in my knowledge base!
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    var CloudGenerator = new Class({
        // Implement the Events and Options utility classes
        Implements: [Events, Options],
        // Initialize our defualt values for the class options passed in
        options: {
            totalClouds:  4,        // Total number of clouds on screen at a given time (int)
            minDuration: 10000,     // Minimum travel time for a cloud across the screen (milliseconds)
            maxDuration: 120000,    // Maximum tracel time for a cloud across the screen (milliseconds)
            checkInterval: 10000,   // The interval used to check if new clouds are needed (milliseconds)
            autoStart: true,        // Automatically starts the cloud generator by default (bool)
            sky: $("sky"),          // Default sky target resides in an element named "sky" (element)
            cloudImg: "cloud.png",  // Define default cloud image (path/url)
            cloudDirection: 0,      // 0 = left to right, 1 = right to left (int)
            cloudWidth: 573,        // Cloud width (px)
            cloudHeight: 262,       // Cloud height (px)
            cloudScales: [1, 0.8, 0.6, 0.4, 0.2],   // Define an array containing the sizes the cloud will be scaled to (%)
            maxAltitude: 600,       // This defines the vertical space you allow clouds to appear within the sky (px)
            cloudTransition: Fx.Transitions.linear  //Define the transition algorithm for the cloud movement
        cloudCheck: null,           // Initialize the vairable to hold the setInterval declaration
        cloudsInSky: 0,             // Keep track of number of clouds in sky
        cloudSky: null,             // A reference to the cloudSky generated and injected into the sky element
        // Our constructor for the CloudGenerator class
        // It takes in the options passed to it and uses the implemented Options
        // utility class to modify any defualt options in our options object
        initialize: function(options){
            // Modify any defaults with the passed in options
            this.setOptions(options);
            // Create Cloud Sky
            this.cloudSky = new Element('div', {
                id: 'cloudSky',
                src: this.options.cloudImg,
                styles: {
                    position: 'absolute',
                    width: (sky.getDimensions().x + (2*this.options.cloudWidth)),
                    left: -this.options.cloudWidth 
            // Place the cloud container within the sky
            // This lets us ensure that the clouds can smoothly enter and exit the
            // boundaries of the sky element
            sky.grab(this.cloudSky);
            // autostat the cloud generator by default
            if(this.options.autoStart){
                this.startGenerator();
        // Check if there are less than the max number of clouds in the sky
        // If there is room, deploy another cloud, if not, do nothing
        deploy: function(){
            var cloudScale = (Math.floor(Math.random()*this.options.cloudScales.length));
            cloudScale = this.options.cloudScales[cloudScale];
            var cloudDuration = Math.floor(Math.random() * (this.options.maxDuration + 1 - this.options.minDuration))
                                + this.options.minDuration;
            var cloudAltitude = Math.floor(Math.random() * (this.options.maxAltitude - (cloudScale * this.options.cloudHeight)));
            if(this.cloudsInSky < this.options.totalClouds && !this.cloudsFull){
                this.cloudsInSky++;
                new Cloud({
                    width: Math.floor(this.options.cloudWidth * cloudScale),
                    height: Math.floor(this.options.cloudHeight * cloudScale),
                    altitude: cloudAltitude,
                    duration: cloudDuration,
                    direction: this.options.cloudDirection,
                    cloudImg: this.options.cloudImg,
                    cloudTransition: this.options.cloudTransition,
                    onComplete: function(){
                        this.removeCloud();
                    }.bind(this)
        // Decrement cloudsInSky variable
        removeCloud: function(){
            if(this.cloudsInSky > 0){
                this.cloudsInSky--;
                console.log("cloud removed");
        // Stop the cloudGenerator
        stopGenerator: function(){
            clearInterval(this.cloudCheck);
            return "generator stopped";
        // Start the cloudGenerator
        startGenerator: function(){
            this.deploy();
            this.cloudCheck = this.deploy.periodical(this.options.checkInterval, this);
    var Cloud = new Class({
        // Implement the Events and Options utility classes
        Implements: [Events, Options],
        cloudId: "",    // hold a reference to this cloud's DOM id property
        options: {
            duration: 4000,         // Duration of the clouds movement across the sky (milliseconds)
            direction: 0,           // Direction of the clouds movement, 0 = left to right and vice versa (int)
            altitude: 200,          // Altitude of the cloud in the sky
            width: 573,             // Width of the cloud (px)
            height: 262,            // Height of the cloud (px)
            cloudImg: "cloud.png",  // Cloud image (path/url)
            sky: $("cloudSky"),     // CloudSky element that the cloud will be injected into (element)
            cloudTransition: Fx.Transitions.linear  //Define the transition algorithm for the cloud movement
        initialize: function(options){
            // modify any defaults with the passed in options
            this.setOptions(options);
            // create and animate the cloud element
            this.createCloud();
        createCloud: function(){
            this.cloudId = 'cloud-' + (new Date().getTime());
            // determine if cloud will be moving left to right or right to left
            // the position cloud offscreen to begin movement
            var cloudStyle = {
                position: 'absolute',
                top: this.options.altitude,
                width: this.options.width,
                height: this.options.height
            var skyPosition = 'upperRight'; // Move the cloud to the right, ignore the 'upper'
            var cloudEdge = 'upperLeft';    // Align the edge of the cloud to the edg edge of the sky
            // Determine the direction of the cloud and set styles and positions
            if(this.options.direction === 0){
                cloudStyle.left = (0 - this.options.width);
            else {
                cloudStyle.right = (0 - this.options.width);
                skyPosition = 'upperLeft';
                cloudEdge = 'upperRight';
            // Create the image element for the cloud
            var cloud = new Element('img', {
                id: this.cloudId,
                src: this.options.cloudImg,
                styles: cloudStyle
            // Add the cloud image element to the cloudSky div
            sky.grab(cloud);
            // Move the cloud across the sky
            new Fx.Move(cloud, {
                relativeTo: this.options.sky,
                position: skyPosition,
                edge: cloudEdge,
                offset: {x: 0, y: this.options.altitude},
                duration: this.options.duration,
                transition: this.options.cloudTransition,
                onComplete: function(){
                    this.complete();
                }.bind(this)
            }).start();
        complete: function(){
            $(this.cloudId).destroy();  // Remove the cloud element from the DOM
            this.fireEvent('complete'); // fire the onComplete event, this is picked up
                                        // by the CloudGenerator class

  • How can i make a simple app?

    Hi,  i just became an apple develiper,  Im wondering how to make a simple app like a "flashlight" like app,  Can anybody help me out?  would i have to start from scratch or could i use someone else's start??

    Use your logon to the iOS Dev Center and see this links:
    iOS Human Interface Guidelines
    iOS Starting Point
    Start Developing iOS Apps Today
    App Development Overview
    App Store Review Guidelines for iOS Apps
    Your First iOS App

  • How do I make a simple time-spend, cost tracking sheet? (New to numbers)

    I could not find how to make a simple time-spend = cost tracking sheet for one customer at a time. It is hard for me to keep track of the time I use for arranging music in Logic and Sibelius. I was thinking like A=date, B=what was done, C=start working, D=end working, E=D-C time spend, F=charge for time spend. Sometimes I do work twice or more on a day? (set up E to calkulate total time and F the cost) I do not want to use special software or online service. Thank you for all your help.
    W.W.

    Walter Wedler wrote:
    I could not find how to make a simple time-spend = cost tracking sheet for one customer at a time. It is hard for me to keep track of the time I use for arranging music in Logic and Sibelius. I was thinking like A=date, B=what was done, C=start working, D=end working, E=D-C time spend, F=charge for time spend. Sometimes I do work twice or more on a day? (set up E to calkulate total time and F the cost) I do not want to use special software or online service. Thank you for all your help.
    W.W.
    Hi Walter,
    This topic as come up a couple of times in the past month or so, so a search of the forum should give you at least part of the answer.
    Aside from the formula in column F, you already have the solution.
    in F, the basic formula is =duration x rate
    In the spreadsheet, that is entered as =DUR2HOURS(E)*48
    if the rate is $48/hour
    The IFERROR function is used to avoid error triangles in the rows where column F does not contain a duration.
    Row 5 is a Footer row. The formulas in this row are simple SUM() statements; -=SUM(F) and =SUM(G)
    Column F shows an error because of the 0 (a number, not a duration) in Row 4.
    Regards,
    Barry

  • How can I make a simple 1 channel I/O with RS232?

    Hy all,
    I just want make a simple 1/0 output over RS232. How can I programme it in LabView? Noemaly we send datas over RS232, but I want just a High or a Low on the TxD (or may on DSR or CTS).
    Thanks
    Petric

    You are lucky, here is a 6.0 version ... I hope it works
    CC
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    DTR control 2.vi ‏10 KB

  • How can I make a simple slideshow on iDVD?

    As opposed to the majority of Apple apps that are "user-friendly" I find using iDVD a very awkward, un-friendly application. It offers "drop zones" without me understanding what I should "drop" into them.
    I just want to make a simple DVD of a slideshow with some background music ... nothing fancy. I don't need any theme and I don't need to add any movies.

    To simply create a slide show in iDVD 7 onwards from images in iPhoto or stored in other places on your hard disk or a connected server, look here:
    http://support.apple.com/kb/HT1089
    If you want something a bit more sophisticated:
    There are many ways to produce slide shows using iPhoto, iMovie or iDVD and some limit the number of photos you can use (iDVD has a 99 chapter (slide) limitation).
    If what you want is what I want, namely to be able to use high resolution photos (even 300 dpi tiff files), to pan and zoom individual photos, use a variety of transitions, to add and edit music or commentary, place text exactly where you want it, and to end up with a DVD that looks good on both your Mac and a TV - in other words end up with and end result that does not look like an old fashioned slide show from a projector - you may be interested in how I do it. You don't have to do it my way, but the following may be food for thought!
    Firstly you need proper software to assemble the photos, decide on the duration of each, the transitions you want to use, and how to pan and zoom individual photos where required, and add proper titles. For this I use Photo to Movie. You can read about what it can do on their website:
    http://www.lqgraphics.com/software/phototomovie.php
    (Other users here use the alternative FotoMagico:  http://www.boinx.com/fotomagico/homevspro/ which you may prefer - I have no experience with it.)
    Neither of these are freeware, but are worth the investment if you are going to do a lot of slide shows. Read about them in detail, then decide which one you feel is best suited to your needs.
    Once you have timed and arranged and manipulated the photos to your liking in Photo to Movie, it exports the file to iMovie  as a DV stream. You can add music in Photo to Movie, but I prefer doing this in iMovie where it is easier to edit. You can now further edit the slide show in iMovie just as you would a movie, including adding other video clips, then send it to iDVD 7, or Toast,  for burning.
    You will be pleasantly surprised at how professional the results can be!

  • Mission control is activated by my shift key even though i have it set to ctrl, up. how do i make it stop? i can't capitalize anything without using the right shift key.

    in playing with key commands to activate mission control in the system preferences i have somehow made my left shift key one of the keys to activate it even though it does not show it in system preferences. i need my left shift key for typing and having mission control come up all the time is a pain! how do i make it stop?
    I evidently didn't leave system preferences properly or something. I fixed it by going back to system preferences and changing the keyboard shortcuts to "-" then quitting system preferences by command Q. Then I went back in and reset the mission control setting to us cntrl, up and then command Q and now it all works fine.

    Check out [https://bugzilla.mozilla.org/show_bug.cgi?id=1008706 bug 1008706]. It's related to safe browsing, and is a known issue.

  • How can I make a weekly 'to do' list?  I don't want the list associated with a particular date and time; just a list of things to get done!

    How can I make a weekly 'to do' list? I don't want it associated with a particular day or or time, just the week, preferably with the ability to check off or remove when done.

    Thank you for the excellent reference Peddi. I had played with the OAMessageChoiceBean component yesterday, but I was able to tell from your instructions that "Picklist Display Attribute" and "Picklist Value Attribute" really are not for binding to the database EO. That was the key piece of information that had me confused.
    In addition to adding the messageChoice component to the page, I needed to write some code to synchronize the picklist value with the corresponding code value, which I placed in am OAFormValueBean (hidden form field) which I could then bind to my application's database EO in the controller, running in the processFormRequest procedure:
    /** Synchronize the catalog code with the selected catalog name */
    protected void syncCatalogValues(OAPageContext pageContext,
    OAWebBean webBean, MyApplicationAMImpl am) {   
    OAMessageChoiceBean mcb =
    (OAMessageChoiceBean) webBean.findChildRecursive("CatalogName");
    OAFormValueBean cc =
    (OAFormValueBean) webBean.findChildRecursive("CatalogCode");
    String catalogDescription = mcb.getText(pageContext);
    if (catalogDescription != null) {
    String catalogCode = am.getCatalogCode(catalogDescription);
    cc.setValue(pageContext, catalogCode);
    Along with a little code to get the catalogCode value from the LOVVO, that's all it took.
    Thanks again. This was a great help.
    Pete

  • In Mail, how do I make it so that email replies to me are sent to the email address from which I sent my original message?

    I have two IMAP accounts set up in Mail, one work and one personal. The personal account also receives emails from a third account (but I have that set up through gmail's forwarding, not Mail). I am sending emails from my work account and replies are coming to this third account, which I don't want to happen.
    How do I make it so that replies to me are sent to the email address from which I sent my original message?
    Thanks for your help!

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback
    Or you can use your Apple ID to register with this site and go the Apple BugReporter. Supposedly you will get an answer if you submit feedback.
    Feedback via Apple Developer

  • In actionscript 3.0 how do i make a nested movie clip button go to a frame on the main timeline

    I am making a website based in flash actionscript 3.0 i have a button nested in its own movie clip, because I have the button expanding to be able to read it i have figured out the only way to do this is by creating it as a movie clipa nd inside the movie clip creating it as a button
    I added an event listener to the blog button by saying,
    blog.addEventListener(MouseEvent.ROLL_OVER,gotoblog);
    function gotoblog(evtobj:MouseEvent){
         gotoAndStop(2)
    this part of the code works it goes to the 2nd frame of the timeline it is in and stops wich is a blown up version of the origanal symbol
    i added on frame 2 a second command
    blog.addEventListener(MouseEvent.CLICK.gotoblogpage);
    function gotoblogpage(evtobj:MouseEvent){
    gotoAndStop("blogframe")
    trace("the blog button was clicked")
    i have named the symbol blog and have name the frame of where the blog page is going to be "blogframe" this line of code at the bottom is where i run into trouble the output window in Flash is saying "The blog button was clicked" just like i want it to. no errors are accouring why than is the playhead not going to frame "blogframe"? if the button is working when i click it the code is right i belive the problem here is it does not want the playhead to go to the frame i want it to. So i gues my question is, how can i make a button withing a movie clip interact with the main timeline?

    I have a similar problem if could please help me i'd really apreciate it!!
    So i have a looping animation of some thumbnails, the hierarchy goes like this
    Scene1(main timeline) -> imgBar(MC)->imgBarB(MC within the imgBar MC)
    My buttons symbols are in the last MC "imgBarB" where i have this code:
    ss1.addEventListener(MouseEvent.CLICK, OneButtonClicked);
      function OneButtonClicked(event:MouseEvent):void{
      MovieClip(root).gotoAndStop("ssbox1");
    I want to control the Btns in my "imgBarB" MC to play a labeled frame(named "ssbox1") on another MC on the main timeline,this other MC goes like this:
    Scene1(main timeline)->ssbox_mc(MC where my labeled frame is)

Maybe you are looking for

  • LightDM greeter for a single-user system

    I'm interested in using lightDM as my display manager. However, there seem to be a lot of greeters that are focused on a good experience for multi-user systems. All I'm have is a single-user system, so I'm looking for your guy's opinions on what the

  • Beatmapping Audio from a Video Source?

    I may be in the wrong forum for this question. I'm wanting to beatmap a video of a band playing in the studio as to detirmine the BPM and downbeat so that I can create a video remix with new audio incorporated into it. I have the option of manually s

  • Aluminum Keyboard spill

    After much web browsing searching for solutions, I think I found an answer to the sticky keys leftover from (literally) the drops of fine ale that found its way onto my keyboard. First, take the keys off as described here: http://skeltoac.com/2007/10

  • Setting line item of table control

    I need to allow the user to enter a line item number 10, 20, 30 ... and then the cursor is set to that line item in the table control

  • 3rd Party Support?

    I'm doing alittle research on Flex vs Silverlight - and i was wondering what level of support does Flex have from 3rd party vendors? I know there's ILOG Elixor UI components, and this Salesforce.com toolkit for Web Service API - is there a central pl