UILoader and next-button

Hi!
I use UILoader to load pictures from folder. Example 1.jpg, 2.jpg etc. I have just buttons to browse pictures. Button 1 loads picture 1 etc.
Now I need next and back buttons to browse pictures. Is it possible to do? How?
Here is code I use:
var photo:UILoader = new UILoader();
var defaultPIC:URLRequest = new URLRequest("1.jpg");
photo.load(defaultPIC);
picbox.addChild(photo);
photo.scaleContent = false;
photo.maintainAspectRatio = true;
panel_mc.panelInner_mc.btn_01.addEventListener(MouseEvent.MOUSE_UP, pic1);
function pic1(event:MouseEvent):void{
    picbox.removeChild(photo);
    photo.load(new URLRequest("1.jpg"));
    picbox.addChild(photo);
panel_mc.panelInner_mc.btn_02.addEventListener(MouseEvent.MOUSE_UP, pic2);
function pic2(event:MouseEvent):void{
    picbox.removeChild(photo);
    photo.load(new URLRequest("2.jpg"));
    picbox.addChild(photo);

I have my Quiz Manager setup to Allow backward movement and
to Show progress. I have not enabled any other settings on the Quiz
tab. On the Options Tab, I have under the If passing grade, jump to
"go to next slide" and under If failing, I have Allow user 2
attempts and Jump to "go to next slide".
For each slide I have the same setup under the Options tab as
what I have noted on the Quiz Manager.
I have published and tested the movie. I'm still unable to
use the Back and Next buttons.
Any other suggestions?
Thank you,
Joan

Similar Messages

  • Problem with Back and Next Buttons: a solution?

    Hello,
    It is well known that including the Back and/or Next buttons in Captivate quiz questions presents real problems. I have come up with what I think to be a solution. It should allow one to include both Back and Next buttons, if one wants to do this. It involves doing the following:
    With Question 1, do not include a Back button. (This is so that the quiz-taker cannot get out of the quiz scope in the forward direction.)
    Create this advanced action: If cpQuizInfoTotalUnansweredQuestions = 0, then Go To The Next Slide (i.e. the results slide); Else Continue.
    Insert a slide after the final question (and before the results slide). On this slide, include the following:
    A message to this effect: ‘You have not answered all of the questions. Please go back and complete all of them.’
    A button labeled ‘Return to Questions’ (on success: Jump to slide with Question 1). But include no other buttons. That is, if the quiz-takers lands up on this slide, he or she has only this option.
    On Enter (i.e. on entering the slide being described here), Execute Advanced Action =  the advanced action described in Item 2 above.
    Now for something odd. Before the slide described in Item 3, insert a slide with a Text Caption with variable $$cpQuizInfoTotalUnansweredQuestions$$. Keep the slide as brief as possible (something like 0.5 sec.) and make the text of the Text Caption invisible. And why all this? Because I found that, without it, problems arose quite regularly. If one or more questions were not answered, the quiz-taker would come, as expected, to the slide described in Item 3 above. The quiz-taker would then go back to complete the unanswered questions. But then—sometimes—the Item 3 slide would still appear, even though all the questions were answered! The quiz-taker would return once again to the questions (since this is the only option available), only to find that now none of the questions were answered! And at this point, there was no escape: the Item 3 slide would always appear no matter what one did. Why should inserting the additional slide described in the present item solve the problem? I don’t know. All I can say is that (1) without it, the problem arises often (though not always), and (2) with it, the problem hasn’t occurred yet, even though I’ve done lots of testing.
    Final note. It will be clear that this solution is meant to be used together with the option Allow Backward Movement. Will the solution work with Branch Aware? I don’t know yet. Will it work with Question Pools? Again, I don’t know yet. I’ve only done a bit of testing in both cases. The results thus far indicate that at least one of these options presents real problems. Both might.
    I’m still testing this solution (or what I hope is a solution). If anyone else wants to try it, I’d be interested in hearing how it goes.
    Best regards,
    Marvin DuBois

    Dear Lilybiri,
    Thank you for your response.
    1. 'I don't get it why you don't use the Submit All option?'
    Submit All is fine in some cases. But it limits the options: the quiz-taker does not get immediate (question-by-question) feedback. So where immediate feedback is wanted, the Submit All option presents problems.
    2. "Why do you need a Back button . . . ?'
    a. The Back button is needed during Review. Otherwise, the quiz-taker can only review in one direction.
    b. In some quizzes, the quiz-taker should be free to go back, whether to check earlier question slides (since the questions and/or responses can be relevant for the current question) or to re-read/re-hear information slides inserted between question slides.
    But the more general issue is this. The Cp Back and Next buttons provide us with possibilities, with further options. Workarounds are available, such as not allowing backward movement and placing a Clear button over Next. But these workarounds limit the possiblities, i.e. the possibilities that are there—i.e. that Adobe puts there. It's not that we always need these possibliities. But neither should we be hindered from using them if we so choose—and especially when we would be hindered simply because Cp doesn't work as well as it should.
    Kind regards,
    Marvin

  • I'm trying to add prev and next button to a gallery

    I've found a free flash gallery which looks good for my need here: http://www.flashgallery.org/
    The only problem is that the gallery doesn't have prev and next buttons for the full size images, so I'm trying to add them.
    I've been able to add those buttons, but they only work if I don't click on a thumb, as I click on a thumb they stop working.
    In the code there is a function called loadGImage which loads the full size images, originally that function accepted 2 parameters, I've added a 3rd one which store the current image's index inside an array, so that I can use my buttons to call that function with index+1 for next and index-1 for prev.
    In addition to this I've added a variable which is updated everytime a full image is shown, that variable contains the image's index.
    Clicking on thumb the buttons stop working because the current image's index turns to "undefined" so they can't pass a correct value to loadGImage.
    I've checked the code of the gallery, but I can't find where is said to the thumbs to call loadGImage, if I'd found that code I could add the index parameter and my buttons would work.
    I'm sure that the thumbs call loadGImage because I've put a trace() inside the function to see when it is activated.
    Here you can find the source file of the gallery (plus some images to see how the gallery works)
    http://www.fileden.com/files/2008/4/9/1858524/FlashGallery2.rar
    The code commented using /*   */ is the code written by me.
    Can you help me to find where the thumbs make the call to loadGImage?

    The informations about the images are read from an XML file.
    These variables will contain the informations
    _root.description = new Array();
    _root.small_image = new Array();
    _root.big_image = new Array();
    _root.total_images = 0;
    This code creates the thumbs
    function createSmall()
        _root.smallContainer.createEmptyMovieClip("smallImageContainer", 10);
        var _loc4 = 0;
        var _loc3 = 0;
        for (var _loc2 = 0; _loc2 < _root.small_image.length; ++_loc2)
            _root.smallContainer.imageContainer.attachMovie("smallImage", "smallImage_" + _loc2, 100 + _loc2);
            m = _root.smallContainer.imageContainer["smallImage_" + _loc2];
            m._x = _loc3 * 50;
            m._y = 0;
            m.imageContainer.loadMovie(_root.small_image[_loc2], 100);
            m.iData = Array();
            m.iData.big = _root.big_image[_loc2];
            m.iData.title = _root.description[_loc2];
            ++_loc3;
        } // end of for
        _root.smallImageContainer._x = 5;
        _root.smallImageContainer._y = 0;
    } // End of the function
    And this is how full size images are loaded
    function loadGImage(title, bigImgURL)
        _root.bigImage.imageContainer.loadMovie(bigImgURL, 100);
        _root.bigImage.imageContainer._x = 0;
        _root.bigImage.imageContainer._y = 0;
        _root.title.text = title;
        //trace(bigImgURL);
    } // End of the function
    I've checked around the fla file, but I haven't found any code associated to the thumbs which says to call loadGImage, that's my problem, because the code itself is not hard to understand.

  • Can't figure out the AC to use for my "Previous" and "Next" buttons

    Hi guys,
    I have a slidshow that stretches over 280 frames which can be
    seen here:
    http://www.paragon-nj.com/newslideshow.html
    or the fla:
    http://www.paragon-nj.com/newslideshow.fla
    There are fade ins and outs and I made buttons numbered 1-5
    where you can skip to each new slide. At present I am trying to
    create the "previous" and "next" buttons but I'm hitting a snag of
    how you make something like this work. The entire AC I have is
    this:
    a.onRelease=function(){
    gotoAndPlay(1);
    b.onRelease=function(){
    gotoAndPlay(55);
    c.onRelease=function(){
    gotoAndPlay(110);
    d.onRelease=function(){
    gotoAndPlay(165);
    e.onRelease=function(){
    gotoAndPlay(220);
    next_btn.onRelease = function () {
    (not sure what to put here) ;
    previous_btn.onRelease = function () {
    (not sure what to put here) ;
    Thanks in advance for all the input
    Wil

    use the _currentframe+55 for your next button and
    _currentframe-55 for your previous button unless the current frame
    is 1 or 55 when you were inconsistant used 54 frames between slide
    transitions.

  • How do I position the back and next buttons in a full screen lightbox

    I'm working on a portfolio website, and it has five sections (each section is 1440px wide).  I am trying to put in a full screen lightbox for some images.  When I adjust the settings for the lightbox, I am just keeping the Back and Next buttons.  However, when I put the buttons in one place, they either appear in a different position in the browser, or just don't appear at all.  Maybe there's a technique I am missing with regards to putting the buttons in a place most computer browsers will be able to find it.  (Pictures of the problem are below, and they use the sample pictures for the slideshow, but it doesn't make a difference what pictures are in there. 
    Muse document.  The arrows are pink and can be seen on the left and right sides.
    Web Browser Preview.  No arrows, even though they're in the Muse document.

    I see that you are using a long page with slideshow in lower section of the page. Navigation arrows are placed around 3200 , so when you will scroll the page down you can view the next and previous buttons.
    Try to change navigation arrows and then check.
    Thanks,
    Sanjit

  • Webhelp: how to add a Previous and Next button

    I'm using Robohelp 8 and generating Webhelp on a Windows XP machine. The output displays on IE by default.
    My problem is simple: In my Webhelp output, I want a Previous and Next button to appear at the top of each topic. That's all. But I don't see how to set this.
    I don't want to create browse sequences; if select topic B, and I've already opened topic D and Z, I should be able to click the Previous button to go from topic D -> topic B, or the Next button to go from topic Z to topic B.
    Also, how do I open my Webhelp output so that the TOC is open (i.e., all topics are displayed so you don't have to click books to open. Thanks for any help.
    Len

    Hi!
    I found this topic as a search I did for also including Back and Forward buttons into a pop-up help page and have found it very helpful and useful, thanks.
    I am currently using RH 10, do you know of anything withine RH 10 that can be used to do this for us?
    I was also wondering if you might be able to help with a further query I have regarding these buttons:
    Currently, when a user clicks the help button within the web based software, the topic associated to that page will be displayed in a pop-up screen. The Help Menu is not displayed and there is no URL field displayed with a Back and Forward button. If the user clicks a link from this help page to another help page, there is no way of getting them back to the previous page without closing the page and then clicking the help button again.
    The requirement is to have Back and Forward buttons added to the help pages that remembers the history of where the user has been rather than moving them up and down the contents. (This part of the requirement I have now fixed with the help of your response to this initial query.) -  The buttons need to be hidden or inactive if there is no history associated, then becoming active or seen if the user has clicked a link. See the following:
    Click a help button on a required software page – help detects that there is no history and therefore the Back and Forward buttons are not required and are not displayed/enabled (not active).
    IF the user clicks a link on the displayed help, then on the new page of help the Back button will display/enable but not the Forward button as there is no more help been opened from this page (yet).
    If the user then clicks the Back button, the user is taken back to the previous page that was displayed. However, it notices that there is no more history beyond this page and the Back button either disappears or disables (becomes inactive).
    IF the user clicks another link from the second page, this would be the third page of help displayed. The Back button would be displayed/enabled but the Forward button would not be displayed or set as inactive.
    IF the user clicks the Back button from the third page, page 2 would have both Back and Forward buttons active/displayed.
    This would continue with each link to new pages, i.e. the history would recognise the first opened page of help and recognise that there is not anything in front of the new page that has been opened.
    This logic should also work if the user has opened the full help, selected a topic from the menu and then clicked a link from that opened page. The Back button would be displayed/enabled so that the user would be able to go back to the previous page they were on. Same with the Forward button.
    I hope this all makes sense. I wonder if you might be able to point me in the right direction or if this is something that I should talk to our web developer about?
    Many thanks,
    Nicola

  • Create tooltip on Previous and Next button in ADF UI

    Hi,
    I have a question on how to create tooltip on Previous and Next button in ADF UI.
    The tooltip for Previous button shows previous record id and previous record name.
    The tooltip for Next button shows next record id and next record name.
    How can you get previous and next record info easily when you are on the current record?
    Thanks,
    Jenny

    Hi,
    which ADF UI, Swing or Faces ? Note that on Faces the tootip is set cia "shortDesc" property
    Frank

  • How to customize the prev and next buttons separately in slideshows?

    Is there a way to customize the prev and next buttons separately in slideshows in muse? When I import a background image that looks like a right arrow it puts the image for both prev and next buttons. I import it by selecting the next button, and then clicking on the folder icon labelled "Image" in the Fill drop-down menu in the Tool bar at the top of the Muse page.

    Yes, it should be very easy. Here is how I do this:
    First, I move the arrows onto the image, and double click the box so that I can remove the arrow character.
    Then, I go up to the "Image Fill" and click the file icon to fill with an image
    Then, I select the other arrow, and do the same
    Hope this helps!
    Julia

  • Previous, play/pause, and next buttons don't work now?!

    Hey everyone so i recently downloaded and installed itunes 9.2.1 I don't have any problems with it now but i've noticed that on my mac the previous, play/pause, and next buttons on the top row of keys don't work now has that happened with anyone else? now when i look under controls on itunes it says to pause its the space key and previous and next are command then left or right arrow but those only work when you have itunes open in front of you. Its not a huge deal but i was so used to just flipping through music and pausing and started when i wanted its just annoying!!! lol is there anyway to get them to work again?

    I was having this problem as well. They were working with everything else, including my Google Chrome media keys extension (Sway.fm Unified Music Media Keys in my case). If you're running a browser extension that allows you to use your media keys on your browser, disable it. In my case it seems the extension was somehow blocking iTunes from being able to use the media keys. Once I disabled it, the keys worked perfectly with iTunes. I imagine this is probably a problem with the latest iTunes update not wanting to share use of the media keys rather than a problem with the browser extensions, since my browser extension hasn't updated since I first downloaded it.

  • HT2470 The Finder toolbar, by default, has Previous and Next buttons that let you navigate back and forth in folders. I somewhat change that setting and can't go back and foreward. How do I change this setting to the original one? I tried everything!

    The Finder toolbar, by default, has Previous and Next buttons that let you navigate back and forth in folders. I somewhat change that setting and can't go back and foreward. How do I change this setting to the original one? I tried everything! Help!

    Select a Finder window, Finder->View->Customize Toolbar…, and add it back.

  • Navigation back and forth between anchor points with "prev" and "next" buttons?

    Hi all,
    I am working on a horizontal layout site that has anchor points on each part. As the user scrolls, it snaps to each anchor point. It works fine with just the mouse wheel, but I'd like to have previous and next buttons that allow for easy navigation between the points. I know on each section I can have the buttons to jump from say A>B>C and then C>B>A, but this is a single "prev" and "next" set of buttons that are pinned to the page. So, as the page scrolls left to right, the buttons stay put. Is there a way to just have them go to the previous and next point in the line, rather than linking a button to anchor point A/B/C, etc?

    I'm not sure I'm making my question very clear. Your response doesn't address what I'm asking, unfortunately. I know how to make buttons that are linked to individual anchor points. But I'm trying to make buttons to link to the next anchor point, or a specific spot on the page. Think of how you would navigate on a horizontal page, that's what I'm looking to duplicate.

  • Firefox can't find the file at (a location is specified) when either "Navigate previous" (and next) buttons are pressed in an HTML5 skin (but OK in IE/Chrome).

    I create HTML5 help projects from a package called MadCap Flare. It uses what they call an HTML5 'skin' that sets the style/layout of the page and also includes 'Navigate previous' and 'Navigate next' buttons. When viewing the help and pressing these navigate buttons in IE8 or Chrome 32 there is no problem, but in Firefox 27 I get the following: (typical error for pressing a button on any page)
    "File not found"
    "Firefox can't find the file at /C:/SVN/FlareEnglishOnLineHelp/Output/HTML5_Help_Modeller_Reference/4attrib/idh_jointinterface_element_meshes.htm?TocPath=Modeller Reference Manual|Chapter 5 : Model Attributes|Meshing|_____2."
    " Check the file name for capitalisation or other typing errors."
    " Check to see if the file was moved, renamed or deleted."
    - Because the files and buttons work in other browsers I'm wondering just what is going on here with Firefox>>>>

    I should correct that last entry and state that the | charactacters are generated automatically in the Toc-Path for each 'book' name in the online help, and are not something manually created, whereas the : characters have come from the TOC book topic names (which were manually entered names and are what we would ideally require). But, because 'previous' and 'next' topics within nested TOC books without colon (:) characters CAN be browsed successfully when just | characters are present in the Toc-Path, the limitation would appear to be solely due to the : characters.

  • BLOG "previous" and "next" buttons out of order?

    I have posted several blogs (some have future dates for upcoming events- I don't know if that messes thing up?)
    I am having trouble figuring out why the "next" and "previous" buttons are not going in order by posted date (past, present.. future WHATEVER)
    These are the steps I am taking:
    1) start at the home page
    2) select blog page (from the top)
    3) select any blog "read more"
    4) attempt to view "next" or even previous" blog
    5) PROBLEM - I am shot over to a random blog page
    How do I command the "next" and "previous" buttons to go in some kind of logical order?

    I have a problem where my next and previous buttons are not working sequentially. They sometimes jump to an entry way down teh archive or just jump back to the archive list
    republish, changing options etc is not making any difference

  • "prev"and "next" buttons no longer work on Yahoo/other slideshows. Still work in Chrome.

    In updating for FFX 6 and 7, the next and prev buttons no longer work in slideshows on Yahoo news and similar sites. Sometimes the status bar shows the links as javascript: void or :null. Sometimes longer links. All javaconsole add-ins are shown as incompatible with these version of FFX.

    i woudnt suggest it, but if your warranty is up it could just be a bad connection from the wheel...what generation do you have? my 4th generation 20 gig ceased to function and it was because somehow one of the cables had a bad connection. i took it to the apple store and they gave me an estimate for something i wasnt willing to pay on a 2 year old ipod so i just winged dissasembleing it and after taking apart the whole thing and reassembling it worked fine.

  • URL Links and Next Button conflict

    I've put three clickboxes on a captivate slide, each leading
    to a different URL.
    At the end of the slide, I've placed a NEXT button, set to
    Pause until user clicks. "If user clicks outside of button" is set
    to Infinite Attempts. This is my attempt to hold the slide until
    user has a chance to visit all three URL's.
    Problem: clicking the URL links activates the next button, in
    spite of the "infinite attempts" setting. I think I've found a way
    around this using a series of duplicate slides, but I'm curious
    about why it happens.
    Thanks!
    maggie

    Welcome to our community, Maggie
    When you insert a Click Box object and point it to a URL,
    note there is a button with a down arrow to the immediate right of
    where you type the URL. Click that and you get the option to choose
    to open the project in a new window. I'm guessing you have already
    done this or your complaint would be something else.
    If you click that button a second time, you should then see
    the option to DE-select the option "Continue playing project".
    That's likely what you are looking for. You need to clear this
    option on all the Click Boxes. Once you do this, you should see the
    behavior you are wanting.
    Cheers... Rick

Maybe you are looking for