How can I restart or load function

I am creting an application that containts 3 seperate slideshows inside movie clips, when one slideshow finishes the other starts. I do this by triggering the function inside the other movieclip slideshow ( _root.slideshow2.startSlideshow(); ) and stopping the currently running function startSlideshow = null; inside existing slide. It works until it gets to the 3rd slideshow and than everything freezes because all the functions where deleted. My question is how can I restart or reload the sam function again?

use another variable to reference startSlideshow so you can alternately null and then re-define that variable.  for example, define startSlideshow:
function startSlideshow(){
//whatever
and don't ever directly call it.  use another variable to reference startSlideshow:
var startSS:Function = startSlideshow;
when you want that code to executed, null startSS when you want that code to stop
startSS = null
and then when you want it to restart,
startSS = startSlideshow
make sure none of your nested code calls startSlideshow directly.  all those old references to startSlideshow need to be changed to startSS.

Similar Messages

  • I was reading slides on powerpoint and my macbook froze so I restarted it and it stuck in the start screen with the apple and the loading wheel and it would not go any further. How can I restart my computer?

    I was reading slides on powerpoint and my macbook froze so I restarted it and it stuck in the start screen with the apple and the loading wheel and it would not go any further. How can I restart my computer?

    Press and hold down the power button until it shut down. Then power it back up.

  • HT1296 what if you dont have a computer to download iTunes then how can i restart my iPod?

    what if you dont have a computer to download iTunes then how can i restart my iPod? because my iPod is telling me to hook it up to iTunes but there is no way for me to do that if i cant download it on a computer i dont have..

    You need to connect the iPod to a computer with iTunes and an internet connection and restore via iTunes
    iTunes: Backing up, updating, and restoring iOS software

  • How can I use Seeburger java functions on SAP XI's user defined functions?

    Hi All,
    As my title implies; how can I use Seeburger java functions on SAP XI's user defined functions?  I've tried searching over the net in tutorials regarding this topic but I failed to find one; can someone provide me information regarding my question? thanks very much.
    best regards,
    Mike

    Hi Mike !
    You should check your documentation about which java classes you need to reference in the "import" section of your UDF. And also deploy the java classes into the java stack or include them as a imported archive in integration repository...it should be stated in the seeburger documentation.
    What kind of functions are you trying to use?
    Regards,
    Matias.

  • My kids desabled my mini ipad after several tries to log in.  My computer that I used to sincronize it doesn't work anymore and i can't connected to itunes.. How can i restart it without the actual computer that I used before??

    My kids desabled my mini ipad after several tries to log in.  My computer that I used to sincronize it doesn't work anymore and i can't connected to itunes.. How can i restart it without the actual computer that I used before??

    You can use any computer but your data will be lost if you have no backup.

  • HT1661 How can I restart my mac book pro 11 inches when it's on target disc mode

    How can I restart my mac book pro 11 inches when it's on target disc mode

    Even if you could open Disk Utility you can't reformat a disk while you are booted from it. You will have to use the install CD. Ring the Apple Online Store at the number given at bottom left of this page and give them the serial number of your Mac. You should be able to get the Snow Leopard install disks for a nominal fee.

  • TS1363 how can i restart my 2004 ipod click wheel?

    How can i restart my 2004 model ipod (click wheel) on my computer and on my itunes?

    Connect the iPod nano to the computer the exact same way you set up the old one. You don't need to create another Apple ID, iTunes Store account, or iTunes library.
    (98196)

  • How can I run a BW Function from EXCEL-IN-PLACE (BPS)??? Please give any ex

    How can I run a BW Function from EXCEL-IN-PLACE (BPS)using VBA??? Please give any example.
    I would like to run my function module ZMY from EXCEL-IN-PLACE using VBA and get a result.

    if you are using excel in place in the web application environment I doubt you can, you've never really had any macro functionalty there.
    If you are in the gui environemnt (Planning folders) it will depend on how you want to invoke the module...

  • How can I call a plsql function from an attribute?

    I have an attribute defined in an element. I want execute a PLSQL function from the attribute, and display the returne value with an HTML template.
    I've defined the attribute's type like PLSQL, and I've put the called of the function in the value of the attribute, but it doesn't work. The only value I obtain is an URL (I think that is the URL of the function or someting like this).
    How can I call to my function from the attribute and display the returnes value in the page?
    Thanks.

    Thanks, but it doesn't work. I have an attribute called ID_BOL and I want to associate a sequence to that attribute. I've created a function, with the sequence. This function return de value of the sequence. I want taht the attribute takes the value of the sequenece dinamically.
    I've tried it, creating the type attribute like PLSQL, and calling the function from the attribute, but it doesn't work.
    How can I return the sequence value to my attribute?
    Thanks.

  • HT1430 How can you restart your iphone if your lock button does not work?

    How can you restart or turn off your iPhone if the lock button does not work?

    The best way is to let the battery die. Or you can reset the phone settings which restarts everything.

  • How can i restart my iphone?, how can i restart my iphone?

    how can i restart my iphone?, how can i restart my iphone?only the apple logo will appear but I cannot open the screen..

    Try a restore
    http://support.apple.com/kb/ht1414
    If that doesn't work, recovery mode
    http://support.apple.com/kb/ht1808

  • How can I instantiate and load a new CachedRowSet object from a non-JDBC so

    How can I instantiate and load a new CachedRowSet object from a non-JDBC source?
    cheers

    webrowset reads whole data;
    I would rather need to get data line by line

  • HT201210 how can i restart my iphone from recovery mode

    I had issues earlier re-activating my iPhone 5 and ended up going down the restarting through recovery mode in iTunes.  But I am getting a error message through that process.  Now my phone is in a state of constant iTunes connection.  How can I restart the process or better yet, get out of recovery mode?

    Once you ar in recovery mode you need to restore the iPhone through itunes. If you are getting an error message folllow the article below and it should explain why you are getting the error and what you can do to try and resolve it:
    http://support.apple.com/kb/ts3694
    hope this helps

  • Using an own function in a select how can i set that the function run once?

    Hi
    Using an own function in a select how can i set that the function run once, not in every row?
    Please help me
    Thanks
    Viktor

    Something like this ?
    SQL> select * from dept;
        DEPTNO DNAME                          LOC
            10 ACCOUNTING                     NEW YORK
            20 RESEARCH                       DALLAS
            30 SALES                          CHICAGO
            40 OPERATIONS                     BOSTON
    SQL> create or replace function ret_name (deptnum in number) return varchar2
      2  is
      3     name    varchar2(50);
      4  begin
      5     select dname into name
      6     from dept
      7     where deptno=deptnum;
      8     return name;
      9  exception
    10     when no_data_found then
    11             return('Not existent deptno');
    12* end;
    SQL> /
    Function created.
    SQL> select deptno, decode(rownum,1,ret_name(deptno),null) dname from dept;
        DEPTNO DNAME
            10 ACCOUNTING
            20
            30
            40
    SQL>

  • How Can I Restart Two-Sided Printing On the Second Side?

    I printed a PDF document in two-sided mode.  I apparently waited too long after printing the first side because when I clicked on "Continue", nothing happened and the printer just said "Ready".  How can I restart this print job so that only the second side of each sheet is printed?

    Asssuming you are using Adobe reader you would go to "Print Range" and in the "subset" box select to only print the even (or odd, depending on which have already printed) pages .  You may or may not need to check the "reverse pages" box depending on which page is on top in the paper tray - if it is the first of second page then do not reverse pages.
    Regards,
    Bob Headrick, Microsoft MVP Printing/Imaging
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

Maybe you are looking for

  • Hierarchy in the free characterstics

    Hi! I have a info object on which hierarchy was build and it is included in the free characterstics section. When I run my report and select a parent node and not assigned node in the hierarchy my report is saying no applicable data found. When I Kee

  • None option not shown in ma phne after following all d steps

    there is no none option after following all the steps

  • Has anyone actually used tethering please?

    I have the unlimited data plan and the Sierra Wireless card ($60 a month unlimited) I could save $45 a month using tethering ($20 for the tethering, $25 2gig plan, but not unlimited anymore). Has anyone used tethering? Main thing I want to know - can

  • My imovie doesn't open after the latest update of the system

    have recently updated both iMovie as well as Mavericks OS and now I am having trouble opening iMovie.  When I click on the icon, it bounces for a few seconds as normal but then nothing loads.  When I left click on the icon I am given options includin

  • Unable to create PivotChart from build in function in PowerPivot

    Hello, I am trying to create Pivot chart from the ribbon in Power Pivot, but receive the following message: Unable to get the PivotTable property of the Range class ============================ Call Stack: ============================ Server stack tr