Return to Last label viewed

I have the main Stage Timline with 8 labels. On the last label I have a Symbol with a background and a button. What is the action for returining to the last label viewed when I click the button located wuthin the Symbol?
Thanks for any help.

Hi Edwin,
Select Stage in the code panel and place before the first Symbol.bind… the declaration for a symbol (here the stage) variable :
var lastSection;
Then, click below your "section1" label in the Actions track and add that trigger :
sym.setVariable( "lastSection", "section1");
Procede similarly for each of your sections. Then the click event handler in your "back" button is just :
sym.play(  sym.getVariable( "lastSection"));
which plays the timeline (sym) from the last visited section (lastSection).
Gil

Similar Messages

  • How can I get my mac to return to my home page after closing, now it returns to last page viewed.

    Can anyone tell me how to get my desk top IMac to return to my home page after leaving the internet?  Now it returns to the last page viewed,
    I hate that!

    Depends what OS X and Browser you are using?
    If you are on Snow Leopard (10.6) and Safari (5.1.7) then open Safari Preferences, select the General tab and make sure that:
    1. Safari opens with: A new window
    2 New windows open with: Homepage
    3. Homepage: is set to the desired https: site

  • Return to last scene viewed

    I have a scene that can be accessed from every scene in the
    movie. This scene has 2 options - 1 launches another movie the
    other is a cancel button.
    When the cancel button is clicked I want to return to the
    scene you were in last. I have tried the PrevScene function but
    that just goes to the scene before this scene in the Scene list.
    I am guessing I will have to use variables but I don't have
    the first clue as to where I would start with that.
    Any help would be gratefully appeciated as I am banging my
    head against a brick wall here!
    Cheers,
    Stevie

    Ok
    First one thing to know is, when Flash Compile your document
    on Publish, all scene became one scene. Here is what I suggest:
    1- Put a label name on each scene at the first frame - Must
    be unique
    2- On the root, first frame of all, setup 2 things
    - 2 Variables like
    var actPos:String = null;
    var lastPos:String = null;
    - a function :
    function setMyPos(theLabelName:String):Void {
    lastPos = actPos;
    actPos= theLabelName;
    3- Call this function on each first frame of each scene like
    setMyPos(sceneName);
    I supposed that when you call a new scene you arrive there by
    the fisrt frame. So this will always keep the actual scene and the
    last visited scene. When you will need to call the last visited
    scene, just have to call it like that : gotoAndPlay(_root.lastPos);
    This will bring you at the last visited scene.
    Hope that can help you!

  • How can I set the highlighted button according to the last chapter viewed?

    I have a main menu with four buttons, each one of which takes me to a different chapter of track 1. When I press the MENU button on the remote and return to the main menu, I would like for the highlighted button to be the one corresponding to the last chapter viewed. How can I do this?
    Page 247 of the DVDSP manual says the following:
    Highlight Condition: Provides an alternative method to the Default Button setting for determining which button to highlight. When Highlight Condition is set to Default, the Default Button setting supplies the button highlight setting. When Highlight Condition is set to one of its stream settings (audio, subtitle, camera angle), the number of the stream last played determines the button to highlight. This setting can be overridden by any element that jumps to this menu, based on its jump setting.
    I know that SPRM 7 contains the value of the current chapter, so when returning to the main menu I would like to use SPRM 7 to set the Highlight Condition, but I don't see a way to do that, since the only options for Highlight Condition are audio stream, subtitle stream, and camera angle.

    Ah. Pre-scripts.
    I would do this by tracking the menu, certainly, but I'd do that by using a set of scripts not as prescripts. So, if your main menu is the start up item for the disc, create a script that reads:
    mov GPRM0, 1
    Jump main menu
    and set that as the start up item instead. Now create a second script:
    mov GPRM0, 2
    Jump Menu2
    and use both of these scripts on any button that goes to a menu. For example, on the Main Menu you'll have a button that links to menu2... point that button to script 2 instead of the menu itself. Similarly, on the chapter menu if you've got a button that takes you back to the main menu, point that button to the first script.
    For your menu call script you can now do this:
    mov GPRM1, SPRM8
    div GPRM1, 1024
    Jump Main menu \[GPRM1\] if (GPRM0 = 1)
    Jump Menu2 \[GPRM1\] if (GPRM0 = 2)
    This could also be the end jump script for both tracks, too.
    Now, Main menu will have three buttons, one for track 1, one for track 2 and one to go to the second script. Track 1 menu call and end jump goes to the last script, track 2 does the same. On the chapter select menu you point each button to the relevant chapter in track 1 and let the scripts do their job whenever a menu call is made or the track ends. The script will see you were on Menu2 and send you there, and SPRM8 will get you back to the button you last selected.
    If, instead of this, you want to go to the button that represents the last chapter played on the chapter menu, and not the last button pressed, but still be able to get to the last button on the main menu then the script changes a bit:
    Goto 5 if (GPRM0 = 2)
    mov GPRM1, SPRM8
    div GPRM1, 1024
    Jump Main menu \[GPRM1\]
    mov GPRM1, SPRM7
    Jump Menu2 \[GPRM1\]
    This sends you to the button relevant to the last chapter played if you came from the chapter menu, by jumping through the script to the bit that deals with Menu2, else it will work out the last button selected (and we assume this must have been on the Main menu because GPRM0 !=2 in that case), and send you to the main menu with that button highlighted.
    If you've got any more scripts than that running, you've got too many... and get rid of the pre-scripts - they are more trouble than not, and don't work if you are using GPRM based button jumps anyway.

  • Clicking on another app I get the video automatically returning to normal screen view

    I wonder why, if I put a youtube video in full screen and I click on another app WHILE THE VIDEO IS PLAYING all remain this way. On the contrary, if I first stop the video, clicking on another app I get the video automatically returning to normal screen view... This is very annoying. Is it possible to avoid this?
    Thanks

    Sorry, Mozilla doesn't support the patent-encumbered and royalty-encumbered H.264 standard, they support the OGG/Theodora and WebM free open source standards.
    Microsoft has a H.264 plugin for Firefox, but it is for Windows7 not WinXP or Win Vista. <br />
    http://www.interoperabilitybridges.com/html5-extension-for-wmp-plugin
    There may be other H.264 Firefox plugins out there for WinXP, so do a Google search. Or maybe contact support for that DVR security system and see if they know of or have a Firefox plugin.

  • How do i return calendar to original view?   All I can see is an hour by hour grid...can't get back to page where I can enter new appointments/events

    How do I return calendar to original view?   All I can see is an hour by hour grid...can't get back to page where I can enter new appointments/events

         Hi, at the bottom bar you should see a series of five buttons. Press the "Month" button if you desire to see the view of the month. As for creating a new calendar event simply press the "+" button in the upper right-hand corner to create a new appointment. *
    * Please note that this is all within the app called "Calendar".

  • Simple Query Question - How do I return the Last 3 records of a Table?

    Question.
    For example, I have a table that has 50 records.
    How do I, specify in SQL to only return the last 3 records of the table.
    Select a.* from table a where ????

    I was just trying to show an example to a friend on
    how something like this would work and if it was even possible. But it won't work. Here's a simple example:
    SQL> create table emp
      2  (id)
      3  as
      4  select object_id
      5  from   all_objects
      6  order  by object_id;
    Table created.
    SQL> select *
      2  from  (select rownum rn
      3               ,b.*
      4         from   emp b)
      5  where  rn > ( select (max(rownum) - 3)
      6                from    emp)
      7  ;
            RN         ID
         40830      55891
         40831      55892
         40832      55893So far, so good. These are the "last 3" rows inserted. Now delete a bunch of rows and insert 3 new ones:
    SQL> delete emp where id < 40000;
    33423 rows deleted.
    SQL> commit;
    Commit complete.
    SQL> insert into emp values (60000);
    1 row created.
    SQL> insert into emp values (60001);
    1 row created.
    SQL> insert into emp values (60002);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select *
      2  from  (select rownum rn
      3               ,b.*
      4         from   emp b)
      5  where  rn > ( select (max(rownum) - 3)
      6                from    emp)
      7  ;
            RN         ID
          7410      55891
          7411      55892
          7412      55893Here's the problem. Even though the "last 3 rows" are 60000 - 60002, I still get the same ones as the first query.

  • Error :cannot show the value of the filter.The Field may not be filterable or the number of items returned exceeds the list view threshold enforced by administrator

    Issue : In sharepoint 2013, I am experiening below error while using filter in the list view due to the number of items in this list exceeds the list view threshold, which is 10000 items. Tasks that cause excessive server load (such as those
    involving all list items) are currently prohibited.
    Error :cannot show the value of the filter.The Field may not be filterable or the number of items returned exceeds the list view threshold enforced by administrator
    Could you please suggest a way to avoid this issue apart from incrementing the list view threshold limit .
    Prashanth

    Reorganizing content, or creating more specific views. sharepoint is warning you that the content is structured in such a way that it can cause performance issues, which should be addressed in some way.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Project with 2 menus: Menu Remote does not return to last menu

    Blu-ray project.
    2 menu A and B, each listing the chapters in 2 timelines (1 and 2).
    Menu A and B are linked by buttons.
    Timeline 1 end action is timeline 2
    Project title button is set to menu A and main timeline is set to timeline 1
    Each timeline has Menu Remote set to Return to Last Menu
    In Encore preview, there is title button and a menu button (this seems to match my DVD player).  However, both buttons always bring me back to menu A, no matter where I starts.
    For example, I start with menu A, go to menu B and click on a link to play a chapter in timeline 2.  When I press menu button, I expect it to return to menu B.  But it goes to menu A.
    If I set timeline 2 Menu Remote to menu B, it does the trick.
    I don't remember doing this for DVD project.  Is this be design?
    Another thing confusing to me is the player.  I don't have a standalone player but I have both PowerDVD and TotalMedia.  Neither has both Title and Menu buttons.  TotalMedia has Disc Menu and PowerDVD has Menu.  Both has a title list 1-5 for this project which looks strange to me.  I still have a DVD player lying around and I can see the remote has both buttons.  Is this unique to Blu-ray and by design?
    Thanks

    I've made the change in Encore to set timeline 2's menu remote to link to menu B.  The preview in Encore works fine.
    However, once it's disc folder is created, Total Media remote button links back to menu A instead of B.  Same behavior in PowerDVD.
    Is this a bug in Encore?  Or am I missing some settings?
    I need to burn several discs this week.  Any help will be greatly appreciated.
    Thanks!

  • Adobe Acrobat X defaults to last page viewed

    When I open a pdf, Adobe Acrobat X defaults to the last page viewed. How do I default it to go to the top of the first page?

    Edit - Preferences - Documents - tick off "Restore last view settings when
    reopening documents".

  • Return to last position after record?

    I have a key command ("return") set to return to last position. The problem is, when I record a take, this function returns me to the beginning of the recorded clip instead of where I actually started from. If i don't record anything, this works fine. How do I get around this? Thanks,
    -RS

    I think the last position is the punch in point. It's a separate locator event from where the place you manually started. So..therefore it takes priority.
    best,
    Jon

  • How to define method  witch returning an array in View, using method wizard

    Dear experts.
    I would  like to define method  which returning an array in View.
    When View is opened, in "Methods" tab push "new" button, then select "Method" in Method Type window,
    push "Next" but in Method Properties window Array Type checkbox is disabled. So, it is not possible to
    define method with returning array type.
    Please anybody, help me to resolve this problem.

    Hi
    While creating method, you can see a check box over there as array type just check it that array type check box,
    or
    You can selet java native type as array by selecting "java native type"
    thanks
    anup
    Edited by: Anup Bharti on Oct 15, 2008 8:50 AM
    Edited by: Anup Bharti on Oct 15, 2008 8:51 AM

  • Need a FM which returns the last modified date& time

    Hi,
    Kindly Suggest me if any Function Module is there which returns the last modified date& time for tables HRP1000 and HRP1001.
    Rgds
    Kishor.C

    just check the following tables..
    CDHDR - Change document header
    CDPOS - Change document items
    you can use this function module..
    BPCT_CHANGEDOCUMENT_DISPLAY
    Edited by: Arunima Rudra on Apr 14, 2009 4:49 PM

  • Remembering last Photo viewed in a folder

    Hello
    I am searching high and low and there is probably not a solution but is there a way that lightroom remembers the last photo viewed in a particular folder. For example i am sorting to a folder with say 8000 images for a project. But then I have to stop and work in another folder for something else. When going back to the folder with thee 8000 images it starts on the first one. Now I found a small workaround (I sort my images with name) but I tried to then sort to edit time highlight the the first image then and go back to sort by name and it seems to work but sometimes I do not remember if I seen all them or if I really stopped on that image. So thats why my question is there an option for Lightroom to remember the last image which was highlighted or worked on regardless how the pictures are sorted in the folder.
    it would help a lot but as I see not to many threads about that I might be in a minority here

    A number of people have requested this -- please see and vote on this topic in the official feedback forum: Lightroom: Remember last image selected in each folder.  Meanwhile, the OddJobs plugin provides this functionality, and the Any Source plugin provides a "back" button that goes back to the previous source (folder, collection, etc.), selection, and filter settings (LR's back button just restores the source).

  • Returning Business Objects to View?

    All,
    I was just in a meeting where two different approaches to returning data to the view were discussed.
    In a nutshell, here are the two options presented:
    1) The service layer should return the Business Entities entirely (which happen to be Hibernate objects).
    2) The service layer should return an object thats specific to the process at hand and contains only the data needed for that process.
    We will have multiple clients invoking the service both remote, and local.
    My preference is to go with option 2.
    What are your thoughts?
    Thanks in advance,
    KL

    If you had not mentioned the words "Hibernate object", I would have been agnostic. However, IMO, these should be considered persistence tier objects. While there is a 'lazy-load view' pattern, there is also much discussion as to whether this is a good idea. For example, if I call a getter on a Hibernate object within the view, it may invoke a complex series of database operations to fetch a graph of dependent child objects.
    IMO, it is the responsibility of the controller to ensure that the view has all model data required to render properly.
    There is one further point to consider, only tangentially related to your original topic. Hibernate objects, generally, will correspond more strongly to the persistence scheme than the actual ideal OO model you might have designed separately. True, for the vast majority of model->persistence mappings, this will be 1 to 1. However, for the 20% of the system where this is not the case, you really do want to use a full-fledged model object.
    So, couple with what, to me, is dangerous--having a view implicitly lazy-load data--with the fact that a HIbernate 'object model' is really more of a 'table-model', I would advise against option #1.
    - Saish

Maybe you are looking for

  • File - convert - xslt 1.0 disabled

    Hello all, How can i enable file -> convert -> xslt 1.0 in dreamweaver 8? Thanks in advance, Carest

  • Linking HTML and CSS

    This should be simple, but it's not responding.  I've checked it dozens of times.  I have the CSS and HTML in the same folder.  I go to the index.html tab and go to "link CSS."  I navigate to the css file but what shows up in the "File/URL" window is

  • Airport Dying....

    I have 10.6.2 - all the updates. So I'll be online, and my signal will just drop. I have an airport extreme router but I know that's not the problem because this problem has happened on 3 different networks, including a linksys and dlink. So my conne

  • Can i buy a apple product on the apple store and ship it to Saudi Arabia

    I want to buy a Macbook Pro Retina from the online apple store. Can i have it shipped to Saudi Arabia in particular. Thanks

  • Emailing AR Invoice + receipt

    Hi Experts, When printing an A/R Invoice, a print options box appears allowing you to select: () Invoice Only () Invoice and Payment in Succession () A/R invoice +Payment when you select any of last two options it prints Invoice and Receipt. However