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!

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 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

  • 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.

  • In scene selection mode, can you make iDVD return to the scene selection menu after playing that scene without continuing to play all the other scenes?

    After selecting one scene from the scene selection menu, the following scenes play automatically, as if it were in "play movie" mode. Is there a way to stop that behavior and have the DVD return to the scene selection menu after playing just the selected scene?

    OK
    So what You want is a "Play All" button resp. a "Play one Chapter at a time" one.
    Then
    BAD News - There are Non ! in iDVD
    GOOD News - it can in part be faked.
    read on
    Play all resp. one chapter at a time
    Play All Button 
    1. There are NO - Play All - button in any version of iDVD
    2. It can be faked in several ways
    • Easiest and most fault proof way is to make a doublet movie containing All and with
    Chapters set to match. It will take up x2 space but is easy to understand and produce.
    Cons: Tried this in iMovie’11 by Exporting out each part as a full Quality QT.mov then Importing back into new events and putting these into a new project (Play All project). Resulting DVD had Audio that was OK (as parts) - BUT the picture was very bad and standing photo were cut of in height. So the Play All movie has to be created from same material and exactly in the same way as the individual parts + then Chapters has to be set to match.
    • It's said that one can put all movies into a Photo/SlideShow and this will also
    give the function of a Play All button - Tested - and ONE HAS TO un-cheque - Scale pictures to TV-Safe area else it will be a black frame all around and a small picture !
    Mike Evangelist1
    You might be able to get close to what you want by using a slideshow in iDVD. (It's not widely known, but you can put videos in a slideshow.) If you set the slide duration to manual, playback will pause after each movie/slide, and you can continue with the 'next' button.
    3. Using another program to do this e.g.. Roxio Toast™ where there is a Play All button option.
    Summary
    a. Making a Play All movie with same care as the individual Part movies - gives a very Good Result
    b. Using Roxio Toast™ - also an usable way to go
    Yours Bengt W

  • 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).

Maybe you are looking for

  • Creating a Credit Memo in AR and Saving Causes Error Message

    Hi to All, When attempting to save a Credit Memo in AR, we get a generic error message: "An unexpected error has occurred. Please contact your system administrator" in credit transaction form. Ran a Diag on the AR transaction and we show no errors. L

  • Windows Vista Ultimate x64 Random B

    This is for Cat, Jason or Dale or anyone that has run into this, Quick question I booted up my computer and everything loaded fine Sound was great everything again fine! I went to play world of warcraft and the second I clicked on it BAM! Blue Screen

  • USB SuperDrive install to 2008 iMac 7,1

    I went out and bought a USB Superdrive. Got home all excited ... plugged it in ... NOTHING ... and by NOTHING ... I mean NOTHING ???????? CAN ANYONE HELP ... ???? PREVIOUS HISTORY OF PROBLEM STARTED .... Drive not working ... see below. I have an iMa

  • Tx2z - CPU non-functional?

    Hi, my tx2z died on me this morning around 5 am when I tried to turn it on to finish up some engineering homework. The computer power on, fan on for a bit, but it got stuck on the black screen with blinking caplock and numlock light. I don't know if

  • Files created in ADUMP

    Hi I am using oracle DB 10.2.0.3 in AIX. I keep disable all parameters of AUDIT. Despite this I am noticing many audit files are created in AUDIT folder. Please let me know its reason. and how I could stop creation of audit files if I want. some file