Simple photo navigation question

First let me say, I am a print designer, so web is a bit
foreign to me. I am attempting to create an online portfolio
website for my print design work, and have run into a few problems.
Does anyone know how to make a button proceed to the next
frame when it is pressed, but not go past a certain frame number? I
assume it requires an if else statement, but I'm a bit lost.
Also, I need the same thing only going backwards. These
buttons will be used for a forward and back command while viewing
images, basically I am trying to create a loop for viewing my
portfolio.
I would use a slide show ... but I need the images to change
size and page orientation. Any suggestions?

I made a little example:
frameadvance
There is a red box that just shows you that the playhead is
advancing (these could be frames of images if you want), and there
is a frame counter on top.

Similar Messages

  • Simple Flash Navigation Question

    Hi - great to see all these thoughts and comments.  I am making some good headway with AS3 but I'm stuck at the moment trying something really simple:  I want to load the home.swf when the site first loads.  
    I am using this script for my buttons and it works fine:
    home_mc.addEventListener(MouseEvent.CLICK, home);
    function home(myevent:MouseEvent):void {
      var myURL:URLRequest=new URLRequest("home.swf");
      myLoader.load(myURL);
      myLoader.x = 0
      myLoader.y = 150
      buttonMode=true
      addChild(myLoader);
    What do I need to change to the script so it loads "automatically" in the main.swf when the user first comes to the website? 

    If you don't want it to have to wait for user interaction then take it out of the event handler.
      var myURL:URLRequest=new URLRequest("home.swf");
      myLoader.load(myURL);
      myLoader.x = 0
      myLoader.y = 150
      buttonMode=true
      addChild(myLoader);
    Not sure what the buttonMode=true is doing in there...
    And you can shorten up one bit:
    myLoader.load(new URLRequest("home.swf");
    Also I don't see where you have created your myLoader instance. I'm sure you have some code where that is created outside the event handler. So you will need that bit too.

  • What is the direct connect method for transfering photos from my macbook pro to my iphone without using iTunes syncronization? (iow: a simple photo copy from mac to iphone?)

    I feel like I should know the answer to this. I can't believe it is a hard question.
    What is the direct connect method for transfering photos from my macbook pro to my iphone without using iTunes syncronization? (iow: a simple photo copy from mac to iphone?)
    Easy? Right?
    Just plug my iphone in to a mac and copy a photo from the mac to my iphone.
    I don't have internet access - I can't email it, or mobileme it, or dropbox it.

    iTunes. Other than that there is no direct method. However, do try the iPhone forums.

  • Photo Storage Question

    Hi:  When I take a photo with my C3 and designate it be stored on the microSD Disk is the photo also stored temporarily on the phone's internal memory?
    Thanks, Chato
    Solved!
    Go to Solution.

    Hi Farby:
    Thanks for you input. The photos in question were taken 4 months ago but the phone has only been used for a couple of hours since then. What I'm looking for is secure eraesure of photos before upgrading phone!
    Cheers, Chato

  • Photo stream questions, sharing, etc.

    Shared photo stream questions
    Camera Roll (CR), Photo Stream (PS)
    If I create a shared PS and share it with a friend, is this temporary like the main PS (most recent 1000 images)?
    For example, if I put one photo in a shared PS and then take 1000 new photos (but I don't add it to the shared PS), presumably it will disappear from my main PS, but will the original photo disappear from the shared PS, too?
    I noticed that each month I have a new monthly event titled, for example, "August photo stream", etc. Are these temporary, too? If I take 1000 photos in September, will the August PS event start to lose images, or will this only occur in the main PS section?
    Apple's web site says "iCloud stores new photos for 30 days, so you have plenty of time to connect your iOS device to Wi-Fi and make sure you always have your most recent shots handy." What does this mean? If I take a photo on iPhone it's permanently in CR (until I sync with iTunes on OS X and then iPhoto offers to remove them from CR), but they're also in PS, which is temporary, right? If so, as long as CR is permanent, how big an issue is the 30 day rule?
    Here's where I'm (further) confused...
    On iPad, my PS section (the tab on bottom) only has 30, relatively recent photos. Each photo was taken with iPhone.
    However, on iPhone, my PS section has 547 images. Some of these were taken as screen shots from iPad (even though they're not on iPad's PS??) Some of the images were "Save As... "  image files from OS X, some were photos imported to desktop iPhoto from a camera. Many of the images were taken years ago. On desktop iPhoto, I have over 3000 images, but the images on iPhone's PS do not appear to be the most recent 1000 images imported to iPhoto.
    So why did iPad's screen shots disappear from iPads PS yet appear on iPhone's PS?
    Why aren't the two iOS device's PS sections the same?
    Is this confusing to everyone, or am I just dense?
    Thanks!

    You are most likely using the same apple id under settings>iCloud. If you just want to stop the photo sharing you can open settings>iCloud and turn off photostream. If you want to keep using photostream and still not share you need to set up an alternate apple id to use under settings>icloud

  • Simple photo gallery

    I used a very old version of Fireworks some time ago, which I
    think had the ability to do this but I'm now uing CS3 and wanted to
    know:
    I would like to create a simple photo gallery whereby there
    is a grid of 4x3 image thumbnails and then when you click on one of
    the thumbnails it enlarges the photo to take up the occupied space
    of where the thumbnails exist - click close and then it takes you
    back to the thumbnails.
    Is there any way of doing this in CS3? I'm presuming I could
    use slices and layers with hotspots but I'm not entirely sure how -
    are there any tuturials on this.
    Thanks in advance for any help on this subject.

    Hi,
    Not exactly what you're asking for but are you aware of the,
    new to CS3,
    'Create SlideShow' Command?
    There are six (I think) different layouts, one of which may
    suit.
    An example of one I threw together can be seen here
    http://www.fasterthanu.com/
    There are also a couple of links on bridge to tutorials as
    well as some on
    the Adobe site
    Peter
    "greencode75" <[email protected]> wrote in
    message
    news:fgjvai$qg$[email protected]..
    |I used a very old version of Fireworks some time ago, which
    I think had the
    | ability to do this but I'm now uing CS3 and wanted to know:
    |
    | I would like to create a simple photo gallery whereby there
    is a grid of
    4x3
    | image thumbnails and then when you click on one of the
    thumbnails it
    enlarges
    | the photo to take up the occupied space of where the
    thumbnails exist -
    click
    | close and then it takes you back to the thumbnails.
    |
    | Is there any way of doing this in CS3? I'm presuming I
    could use slices
    and
    | layers with hotspots but I'm not entirely sure how - are
    there any
    tuturials on
    | this.
    |
    | Thanks in advance for any help on this subject.
    |

  • N86 photo storage question.

    Is it possible to set up a separate folder in which to store photos, so they don't appear in the albums? For example, if I am using the phone like a flash drive, just as a means of transferring files from one location to another.

    Hi Farby:
    Thanks for you input. The photos in question were taken 4 months ago but the phone has only been used for a couple of hours since then. What I'm looking for is secure eraesure of photos before upgrading phone!
    Cheers, Chato

  • Is ilife any good at publishing simple photo galleries like iWeb/ mobile me used to be?

    is ilife any good at publishing simple photo galleries like iWeb/ mobile me used to be?

    As Roddy pointed out iWeb will still create album and/or photo pages that will work on the hosting server of your choice.  These two pages are demos of that: Using an iWeb Album Page as an Alternative to MobileMe Galleries  and Using an iWeb Photo Page as an Alternate to a MobileMe Gallery
    This may also be of help to you: Life After MobileMe.
    OT

  • Simple Photo Album "previous" button issue

    Hello!  I have created a slide show using the Simple Photo Album template in Flash.  All works fine except for when I click the "previous" button to view the previous slide.  When I click it, the movie skips back 3 slides instead of just one.  How can I fix this?
    Thanks!
    Jessie

    try:
    jwood_its wrote:
    Oops, here it is!
    // USER CONFIG SETTINGS =====
    var autoStart:Boolean = false; //true, false
    var secondsDelay:Number = 2; // 1-60
    // END USER CONFIG SETTINGS
    // EVENTS =====
    playPauseToggle_mc.addEventListener(MouseEvent.CLICK, fl_togglePlayPause);
    function fl_togglePlayPause(evt:MouseEvent):void
    if(playPauseToggle_mc.currentLabel == "play")
      fl_startSlideShow();
      playPauseToggle_mc.gotoAndStop("pause");
    else if(playPauseToggle_mc.currentLabel == "pause")
      fl_pauseSlideShow();
      playPauseToggle_mc.gotoAndStop("play");
    next_btn.addEventListener(MouseEvent.CLICK, fl_nextButtonClick);
    prev_btn.addEventListener(MouseEvent.CLICK, fl_prevButtonClick);
    function fl_nextButtonClick(evt:MouseEvent):void
    fl_nextSlide();
    function fl_prevButtonClick(evt:MouseEvent):void
    fl_prevSlide();
    var currentImageID:Number;
    var slideshowTimer:Timer;
    var appInit:Boolean;
    function fl_slideShowNext(evt:TimerEvent):void
    fl_nextSlide();
    // END EVENTS
    // FUNCTIONS AND LOGIC =====
    function fl_pauseSlideShow():void
    slideshowTimer.stop();
    function fl_startSlideShow():void
    slideshowTimer.start();
    function fl_nextSlide():void
    currentImageID++;
    if(currentImageID >= totalFrames)
      currentImageID = 0;
    gotoAndStop(currentImageID+1);
    function fl_prevSlide():void
    currentImageID--;
    if(currentImageID < 0)
      currentImageID = totalFrames+1;
    gotoAndStop(currentImageID+1);
    if(autoStart == true)
       fl_startSlideShow();
       playPauseToggle_mc.gotoAndStop("pause");
    } else {
      gotoAndStop(1);
    function initApp(){
    currentImageID = 0;
    slideshowTimer = new Timer((secondsDelay*1000), 0);
    slideshowTimer.addEventListener(TimerEvent.TIMER, fl_slideShowNext);
    if(appInit != true){
    initApp();
    appInit = true;
    // END FUNCTIONS AND LOGIC

  • Flash Prof. CS5 simple photo album/slideshow template

    I am trying to use the "simple photo album" template that comes with Flash Prof. CS5. I have it working except I want it to play by default. The actionscript that came with the template is below (in blue), but if I set var autoStart:Boolean = true; I get the following error and the controls do not work:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at nt_fla::MainTimeline/fl_startSlideShow()
    at nt_fla::MainTimeline/frame1()
    // USER CONFIG SETTINGS =====
    var autoStart:Boolean = false; //true, false
    var secondsDelay:Number = 2; // 1-60
    // END USER CONFIG SETTINGS
    // EVENTS =====
    playPauseToggle_mc.addEventListener(MouseEvent.CLICK, fl_togglePlayPause);
    function fl_togglePlayPause(evt:MouseEvent):void
    if(playPauseToggle_mc.currentLabel == "play")
      fl_startSlideShow();
      playPauseToggle_mc.gotoAndStop("pause");
    else if(playPauseToggle_mc.currentLabel == "pause")
      fl_pauseSlideShow();
      playPauseToggle_mc.gotoAndStop("play");
    next_btn.addEventListener(MouseEvent.CLICK, fl_nextButtonClick);
    prev_btn.addEventListener(MouseEvent.CLICK, fl_prevButtonClick);
    function fl_nextButtonClick(evt:MouseEvent):void
    fl_nextSlide();
    function fl_prevButtonClick(evt:MouseEvent):void
    fl_prevSlide();
    var currentImageID:Number;
    var slideshowTimer:Timer;
    var appInit:Boolean;
    function fl_slideShowNext(evt:TimerEvent):void
    fl_nextSlide();
    // END EVENTS
    // FUNCTIONS AND LOGIC =====
    function fl_pauseSlideShow():void
    slideshowTimer.stop();
    function fl_startSlideShow():void
    slideshowTimer.start();
    function fl_nextSlide():void
    currentImageID++;
    if(currentImageID >= totalFrames)
      currentImageID = 0;
    gotoAndStop(currentImageID+1);
    function fl_prevSlide():void
    currentImageID--;
    if(currentImageID < 0)
      currentImageID = totalFrames+1;
    gotoAndStop(currentImageID-1);
    if(autoStart == true)
       fl_startSlideShow();
       playPauseToggle_mc.gotoAndStop("pause");
    } else {
      gotoAndStop(1);
    function initApp(){
    currentImageID = 0;
    slideshowTimer = new Timer((secondsDelay*1000), 0);
    slideshowTimer.addEventListener(TimerEvent.TIMER, fl_slideShowNext);
    if(appInit != true){
    initApp();
    appInit = true;
    // END FUNCTIONS AND LOGIC
    Does anyone have any idea how to fix this so that the slideshow starts automatically and stops when the pause button is clicked?
    Thanks,
    Lisa

    I finally got it to work, but had to edit the action script because it seemed to have a logic error. Here is the action script I finally used; maybe this will help you:
    // USER CONFIG SETTINGS =====
    var autoStart:Boolean = false; //true, false
    var secondsDelay:Number = 3; // 1-60
    // END USER CONFIG SETTINGS
    // EVENTS =====
    playPauseToggle_mc.addEventListener(MouseEvent.CLICK, fl_togglePlayPause);
    function fl_togglePlayPause(evt:MouseEvent):void
    if(playPauseToggle_mc.currentLabel == "play")
      fl_startSlideShow();
      playPauseToggle_mc.gotoAndStop("pause");
    else if(playPauseToggle_mc.currentLabel == "pause")
      fl_pauseSlideShow();
      playPauseToggle_mc.gotoAndStop("play");
    next_btn.addEventListener(MouseEvent.CLICK, fl_nextButtonClick);
    prev_btn.addEventListener(MouseEvent.CLICK, fl_prevButtonClick);
    function fl_nextButtonClick(evt:MouseEvent):void
    if(playPauseToggle_mc.currentLabel == "pause")
      fl_pauseSlideShow();
      playPauseToggle_mc.gotoAndStop("play");
    fl_nextSlide();
    function fl_prevButtonClick(evt:MouseEvent):void
      fl_pauseSlideShow();
      playPauseToggle_mc.gotoAndStop("play");
    fl_prevSlide();
    var currentImageID:Number;
    var slideshowTimer:Timer;
    var appInit:Boolean;
    function fl_slideShowNext(evt:TimerEvent):void
    fl_nextSlide();
    // END EVENTS
    // FUNCTIONS AND LOGIC =====
    function fl_pauseSlideShow():void
    slideshowTimer.stop();
    function fl_startSlideShow():void
    slideshowTimer.start();
    function fl_nextSlide():void
    currentImageID++;
    if(currentImageID > totalFrames)
      currentImageID = 1;
    gotoAndStop(currentImageID);
    function fl_prevSlide():void
    currentImageID--;
    if(currentImageID <= 0)
      currentImageID = totalFrames;
    gotoAndStop(currentImageID);
    if(autoStart == true)
       fl_startSlideShow();
       playPauseToggle_mc.gotoAndStop("pause");
    } else {
      gotoAndStop(1);
    function initApp(){
    currentImageID = 0;
    slideshowTimer = new Timer((secondsDelay*1000), 0);
    slideshowTimer.addEventListener(TimerEvent.TIMER, fl_slideShowNext);
    slideshowTimer.start();
        playPauseToggle_mc.gotoAndStop("pause");
    if(appInit != true){
    initApp();
    appInit = true;
    // END FUNCTIONS AND LOGIC

  • Simple X-fi Question, Please Help

    !Simple X-fi Question, Please HelpL I've been looking for an external sound card that is similar to the 2002 Creative Extigy and think I may found it in the Creative X-Fi. I have some questions about the X-fi though. Can the X-fi:
    1. Input sound from an optical port
    2. Output that sound to 5. surround- Front, surround, center/sub
    3. Is the X-Fi stand-alone, external, and powered by a USB or a wall outlet (you do not need a computer hooked up to it)
    Basically I want to connect a TosLink optical cable from my Xbox to the X-Fi. That will deli'ver the sound to the X-Fi. Then I want that sound to go to a 5. headset that is connected to the X-fi via 5. front, surround, and center/sub wires. The X-Fi has to be stand-alone and cannot be connected to a PC to do this.
    Thank you for your help.

    The connector must match, and the connector polarity (plus and minus voltage) must match.  Sorry, I don't know if the positive voltage goes on the inside of the connector or the outside.    Any wattage of 12 or more should be adequate.
    Message Edited by toomanydonuts on 01-10-2008 01:29 AM

  • I cant send a photo to my phone in iphoto but i can through the regular mail i rebuilt iphoto but it still wont send a simple photo to my verizon phone

    I cant send a photo to my phone in iphoto but i can through the regular mail on my Imac i rebuilt iphoto but it still wont send a simple photo to my verizon phone

    I tried to use mail in iphoto and it doesnt work
    Ok. Get any error messages?
    When I totally bypass iphoto and use my Apple mail program it will work
    Ok.
    If I try to use my Apple mail  program  in iphoto it wont work
    Doesn't that directly contradict the last statement?

  • Simple Crop tool question... how do I save the crop section?

    Hi,
    I have a very simple crop tool question. I'm a photoshop girl usually... so Illustrator is new to me. When I select the crop section I want... how do I save it?... if I select another tool in the tool panel, the crop section disappears and I can't get it back when I re-select Crop tool. If I select Save as... it saves the whole document...and not just my crop section.
    Like I said, simple question...but I just don't know the secret to the Illustrator crop tool.
    Thanks!
    Yzza

    Either press the Tab key or F key.

  • A Simpler, More Direct Question About Merge Joins

    This thread is related to Merge Joins Should Be Faster and Merge Join but asks a simpler, more direct question:
    Why does merge sort join choose to sort data that is already sorted? Here are some Explain query plans to illustrate my point.
    SQL> EXPLAIN PLAN FOR
      2  SELECT * FROM spoTriples ORDER BY s;
    PLAN_TABLE_OUTPUT
    |   0 | SELECT STATEMENT |              |   998K|    35M|  5311   (1)| 00:01:04|
    |   1 |  INDEX FULL SCAN | PKSPOTRIPLES |   998K|    35M|  5311   (1)| 00:01:04|
    ---------------------------------------------------------------------------------Notice that the plan does not involve a SORT operation. This is because spoTriples is an Index-Organized Table on the primary key index of (s,p,o), which contains all of the columns in the table. This means the table is already sorted on s, which is the column in the ORDER BY clause. The optimizer is taking advantage of the fact that the table is already sorted, which it should.
    Now look at this plan:
    SQL> EXPLAIN PLAN FOR
      2  SELECT /*+ USE_MERGE(t1 t2) */ t1.s, t2.s
      3  FROM spoTriples t1, spoTriples t2
      4  WHERE t1.s = t2.s;
    Explained.
    PLAN_TABLE_OUTPUT
    |   0 | SELECT STATEMENT       |              |    11M|   297M|       | 13019 (6)| 00:02:37 |
    |   1 |  MERGE JOIN            |              |    11M|   297M|       | 13019 (6)| 00:02:37 |
    |   2 |   SORT JOIN            |              |   998K|    12M|    38M|  6389 (4)| 00:01:17 |
    |   3 |    INDEX FAST FULL SCAN| PKSPOTRIPLES |   998K|    12M|       |  1460 (3)| 00:00:18 |
    |*  4 |   SORT JOIN            |              |   998K|    12M|    38M|  6389 (4)| 00:01:17 |
    |   5 |    INDEX FAST FULL SCAN| PKSPOTRIPLES |   998K|    12M|       |  1460 (3)| 00:00:18 |
    Predicate Information (identified by operation id):
       4 - access("T1"."S"="T2"."S")
           filter("T1"."S"="T2"."S")I'm doing a self join on the column by which the table is sorted. I'm using a hint to force a merge join, but despite the data already being sorted, the optimizer insists on sorting each instance of spoTriples before doing the merge join. The sort should be unnecessary for the same reason that it is unnecessary in the case with the ORDER BY above.
    Is there anyway to make Oracle be aware of and take advantage of the fact that it doesn't have to sort this data before merge joining it?

    Licensing questions are best addressed by visiting the Oracle store, or contacting a salesrep in your area
    But I doubt you can redistribute the product if you aren't licensed yourself.
    Question 3 and 4 have obvious answers
    3: Even if you could this is illegal
    4: if tnsping is not included in the client, tnsping is not included in the client, and there will be no replacement.
    Tnsping only establishes whether a listener is running and shouldn't be called from an application
    Sybrand Bakker
    Senior Oracle DBA

  • I would like to purchase a simple photo editing program for my mac which will enable me to write on photos

    I have only had an imac for 3 weeks would like to know of a simple photo editing programe that will enable me to write captions on a photo any help appreciated

    Here is another suggestion - GraphicConverter:
    http://www.lemkesoft.com/
    I've used it for years - an excellent app.

Maybe you are looking for