Re activating script after stop();

How do I stop a script from running, or remove it from a swf at a specific frame, (on its own layer "actions") and then start it again, or script it again on another frame further down the timeline?
If I try and put the same script on another layer, past the stop(); or anywhere for that matter, flash gives me a duplicate function definition error.
Lets say my swf is embedded in an html and its url is abc.com. When you navigate to that url the swf plays, all scripts work, buttons work to link to frame anchors back and forth within the swf and all is fine. As long as you remain at abc.com and link with a gotoAndPlay(frame), or gotoAndStop(frame) function from the script internally in the swf.
However lets say one of those buttons goes to dce.com (urlRequest... dce.com...) essentially navigating away from the swf, .and at dce.com there is a link to go back to abc.com/index.html#frame, when you choose to navigate back to that frame in the swf, it does, but the script no longer works.
The script is on all anchor frames, and works intially in the swf when you play the movie for the first time, the movie stops (stop();) at a specific frame, and continues to navigate around to specific frame anchors and back and forth, the script continues to work as long as you are within the movie so to speak. However if you decide to go to dce.com, essentially leaving the movie and then at dce.com there is a link back to a specific frame, when I link back to the swf, from dce.com, the script no longer functions?
I cannot imagine this is not something that quite a few people use, a combination of flash pages and html pages and interlinking them back and forth, I just cannot find ANY info searching exhaustively on why the script will not work after returning to a swf frame after navigating away to anywhere else and then back to the swf frame needed.
Been searching, posting, reading anything and everything, everywhere, in every concievable description I can muster.
If someone could just point me in the right direction, to the right info, I will do the homework, I will do the work, please just point.

Yes that is correct, I am navigating from a link on an html page to a specific frame in flash. They are two entirely seperate documents on a server in two completely different directories.
Maybe this is why it is so difficult to find an answer.
The code is simple, create the anchor points in the swf, then in the publish settings choose html tab then choose "flash with html anchors" in template type (CS4-AS3), flash creates anchors in the body code of the html container it creates: <a name="about"></a> those are accessable from "outside" the swf by a hyperlink: <a href="http://thesite.com/index.html#about">The about frame of an swf contained in the index.html, from an external html page</a>
The problem is as described, and I don't think I'm being clear, nobody seems to understand what I'm saying. When I navigate to the url container that plays the movie start to finish, all works perfectly. It even links from the external html pages precisely back to the designated frame, the only thing is the script no longer fuctions, buttons react, but do not call the functions, nor it seems listen anymore.
I have structured the action layers pretty much as you outlined, I have the mouse event script on the first frame as the buttons all the way out to the last frame of the movie, including the frames past the stop(); that hold the about, event, etc content. And I have seperate script layers for specific stop points and anchor points along the way.
Go here, http://plowonstore.com/flash click on the about, events, and news buttons, then click back to home, all play proper frames, all buttons fuction perfectly, then after that click on an external link (outside the swf) to the members page, which is an html page in a different directory, again it links the urlrequest perfectly, now here is the issue, once you choose a similar button on the html page, say click the about button, again you will be taken back to the swf, to that specific frame anchor "about", which it will take you to.
Heres where the issue is, now once back in the swf, the script is no longer active, or loaded, or running, I have only been building with flash for a month so I don't know proper terminology yet.
If I put the mouse event script on the frames that hold the about events etc, it will work on the "link back" but not when the movie runs, because the movie actually stops before the frames in question.
Now flash for some reason will not let me run the same code twice, on any frame anywhere in the movie regardless of seperate frames, layers etc.
So I think the code is still loaded and listening when the movie stops. That's why I asked how to maybe unload/remove script, and then add it again on specific frames kind of like you clear and remove certain code when done, then call again when needed.
I just don't know and can't find anyone anywhere who seems to know what I'm asking for.

Similar Messages

  • Run code\function after stopping a QTP\UFT script

    Hi,
    I have a scenario where I want to perform some tasks (like zipping and attaching files to QC) after my UFT\QTP script is stopped.
    The script can stop in all these scenarios:
    1.) forcefully manual-stop the script
    2.) run-time errors
    3.) script test fail (exittest) condition
    4.) script successfully ended.
    I have tried calling the function (which zips and attaches files to QC) inside my script.
    But, disadvantages are:
    1.) i have to be very specific at what are the places of code i want to insert this code into.
    2.) its a huge performance issue, each time i call this function: it does all these tasks "everytime"...zipping and attaching files.
    I just want this function to be called just once, after the QTP script has been stopped.
    Is this possible, please help me out.
    Thanks,
    Nutan.

    Muthu,
    You are getting this error when you do any operation in your page, or when you try to access your page you are getting this error?
    /main/oracle/apps/po/demo/webui/MainPG is your page ?
    Thanks,
    With regards,
    Kali.
    OSSI.

  • After upgrading to version 6, my hard drive activity is non-stop while Firefox is running. What is going on here?

    Every time I open Firefox, my hard drive activity is non-stop. I close it and open IE8, no problems

    I found the problem.  Write-caching doesn't mix w/  a journaling filesystem.
    http://gentoo-wiki.com/HOWTO_Use_hdparm … Caching_-W
    gentoo-wiki wrote:Write-Caching has been reported to have problems with journaling filesystems (For instance ext3 and Reiser), and it is recommended that you don't enable it on such systems.

  • Script Start/Stop Oracle Applications Services

    Hi
    I am constructing some scripts to stop or start some Oracle Applications services (APP, Apache, DB, Construct Manager, discover, forms, etc)
    I now that are some script in the folder \viscomn\admin\scripts\, but my questions are, what services must I stop/start first?? The APP?? Then the BD vision?? Then apache?? Or first BD, discover, apache, app, etc?
    Please can anyone help on this? Tank you
    JailBreak

    Hi
    Tank you for your reply’s.
    Yes i will use the Oracle scripts to stop and start services.
    But when the Network Administrator shutdown the server, he must shut down some services, and I will include this scripts in the main script. But my dough was what services will stop first.
    The IAS services don’t need to be started?? My IAS service are all stopped and if I start Apache Server Service first, the IAS HTTP Server service don’t start. I must start IAS HTTP Server first, then start apache server. IF not give an error and the service don’t start. But then after the Apache Server will stop by itself.
    And some times the Oracle script doesn’t start the Concurrent Manager Service. I must start it manually.
    My services that are started are:
    Oracle Apache Server
    Oracle Fulfiment Server
    Oracle Metrics Server
    Oracle Metrics Client
    Oracle Reports Server
    Oracle Concrrent Manager
    Oracle Discover Server
    Oracle Forms Server
    Oracle OracleVIS_db920_RDBMSTNSListenerVIS(from the OracleVIS_db920_RDBMSTNS this is the only service that are started, the others are stopped. Is this correct?)
    Oracle OracleVISOra806_2TNSListener80APPS_VIS
    This is all the services that are started.
    But I have a problem in my discover. When I login to the applications as a user, and pick some options (that will open discover) it gives me one error.
    Locator unable to start session altranitsgp.altranit.pt_8000OracleDiscovererSession4. - Hint: An administrator can further diagnose connection problems by running the "checkdiscoverer" script under <ORACLE_HOME>/806/discwb4/util.
    But I have started the Discover Server and tested, and all went ok. The problem is in the applications. I don’t know why.
    Any one can give a hand on these issues?
    Tank in advance.

  • IE with active scripting off, how many clicks!

    Watching on IE seems to take an unbelievable number of clicks to get watching started. What should be the link held in my favorites? I have the password saved and remember me etc chosen. I want to have active scripting off for my Internet zone and just want to add all BT and associate domains to the trusted list. I believe I have done this but it seems I have to: 1) change settings to allow active scripting for Internet. 2) sport.bt.com 3) login 4) loads of clicks before watch actually starts the viewing 5) turn active scripting back off before any other browsing How many times do I have to click Watch before BT accepts I want to watch it. Viewing actually works OK for me 20MB wifi, 50MB wired. I know there are other options such as FireFox, but should it really be this hard on IE?

    User troubleshooting after a restart is a reset. Hold the sleep/wake and home button together until you see the Apple logo and then release. The phone will reboot. If it happens again, then a restore from backup is the next step. If that does not correct the problem, then you restore the device as new, and without adding any content to the device you test for a period of time. If it works, then you can try restoring your backup again, but if the problem returns, then the problem is in your backup. You will have to restore as new again and sync your content back manually.
    It could have been a software glitch. Considering the number of devices sold, and the different configurations you will find with people setting them up, small things can happen. It is also easy to turn the device into Airplane mode with the Control Center. If it happens again, try the troubleshooting I listed. If none of that helps, then make an appointment at the Genius Bar of the nearest Apple Store or Authorized Apple Service provider for your location. It is an electronic device, things happen.

  • Problem with Java Script after upgrade from BW 3.5 to BI7

    Dear Colleagues,
    We're facing the issue with Java Script after upgrade of BW 3.5 to BI7.
    Just after update we checked the basic functionality and it occured that some of web templates that use Java Script don't work. They generate seelction screen, but after selection the screen becomes blank without any error messages.
    We're currently stucked since web templates weren't converted to BI7 version so they should work exactly as before the upgrade.
    We compared the Java code with other environment that was not upgraded - it's perfectly the same.
    The only explanation that comes to my mind is that some Java Script settings on the server level were changed during the upgrade but I have no idea where I can check that.
    Thanks in advance for any suggestions,
    Andrzej Bobula

    Hi Deepu,
    Thanks, it was great to read your reply and then few minutes later talk to you live on SDN Day!
    Unfortunately, http cache clean-up did not help. But there is another funny thing I found - for exactly the same 3.5 webtemplate html code returned from WebAS 3.5 was different then from 7.0.
    Unfortunately, this editor does not allow to paste complete code, even in CODE brackets, but here are main differences:
    <b>3.5</b>
       if (navigator.appName == "Microsoft Internet Explorer")
    <frame src="/sap/bw/BEx?SAP-LANGUAGE=E&PAGENO=1&REQUEST_NO=1&CMD=GET_TEMPLATE"
    name="Content">
    and
    <b>7.0</b>
       if (navigator.appName.indexOf("Microsoft Internet Explorer")!=-1)
    <frame src="/sap/bw/BEx?SAP-LANGUAGE=E&PAGENO=8&REQUEST_NO=0&CMD=GET_TEMPLATE"
    name="Content" 0nLoad="javascript:loadTitle()">
    (I intentionaly put 0 i/o o in 0nLoad, otherwise Forum's editor does not accept the text.
    How about SAP's claim that technical upgrade from 3.x to 7.0 changes nothing?
    Regards,
    Vitaliy

  • Error while activating DSO after loading from another DSO..Production issue

    Hello Gurus,
    I got an error while activating DSO2 after loading from another DSO1.
    DSO1 load and activation was sucessful but while loading from DSO1 to DSO2 load was fine but got error while activating...
      >Error when assigning SID: Action VAL_SID_CONVERT table ZWEEK_NUM
      >Value u201809u2019 of characteristic ZWEEK_NUM is not a number with 000004 spaces
    this theard was posted after searching for related post in SDN.
    and i tried Function Module RSODS_CHECK_RSODSACTUPDTYPE but it is not available .. but I used this in BW 3.10u2026..
    is their any similar Function Module in BI 7.0 please advice.
    We are using SAP NetWeaver BI 7.0
    Release- 700    Service level- 017
    Thanks in advance
    Sandy

    sloved the issue......
    it was due to wrong data for the related field...
    it  must be "0009 "
    Thanks for ur support. closing the ticket
    Regards
    Sandy

  • TS1814 I am trying to update my Iphone 3 and when i get to the activation step after a few minutes it shows a message that says " Your iPhone could not be activated because the activation server is temporarily unavailable. Try conenecting your iPhone to i

    I am trying to update my Iphone 3 and when i get to the activation step after a few minutes it shows a message that says " Your iPhone could not be activated because the activation server is temporarily unavailable. Try conenecting your iPhone to iTunes to activate it, or try again in a couple of minutes.
    If the problem persist, contact apple support at apple.com/support
    I been trying for a few times now and I keep getting the same message. How can i fix it? now my phone doesnt work.

    These are the steps mentioned in the article iPhone: Troubleshooting activation issues
    Perform the following steps if you receive one of the messages above:
    Restart the iPhone.
    Try another means of reaching the activation server and attempt to activate.
    Try connecting to a known-good Wi-Fi network if you're unable to activate using a cellular data connection.
    Try connecting to iTunes if you're unable to activate using Wi-Fi.
    Restore the iPhone.
    If you receive an alert message when you attempt to activate your iPhone, try to place the iPhone in recovery mode and perform a restore. If you're still unable to complete the setup assistant due to an activation error, contact Apple for assistance.

  • Standby database(11g) was still in sync after stopping the primary and standby database listener.

    Hello !!!
    I have noticed that my standby database(11g) was still in sync after stopping the primary and standby database listener.
    If this is the case then how log is transferring from primary to standby ? it is not using listener service ? kindly clarify

    Read this Metalink Note:407040.1

  • Service port not remapped after stop and start of embedded broker

    Hi everybody,
    I started testing embedded OpenMQ 4.4 build yesterday and was wondering if it would be suitable for our test cases. I needed to start and stop a broker almost around every test method. So I intuitively used start() and stop() methods for it. Of course test case failed after second test method :) I did some debugging directly in source code and found out that stop() closes server socket in port mapper. When second start() is invoked it determines whether the server socket is bound and in case it isn't, it stops the broker.
    But to the point... is it expected not to rebind the port when start is called after stop or is it classified as a bug that needs to be solved? Because if it would be possible to start and stop the broker repeatedly the instance broker can be reused and no init/shutdown needs to be called...
    Thanks for an answer.

    As I'm sure you know, that's the first promoted build of MQ 4.4 and it will have more testing before the final release.
    I would have expected repeated calls to start() and stop() to work, but as you have found, it doesn't, and I can reproduce your error easily.
    However it does look as if you can make repeated iterations of the complete init()/start()/stop()/shutdown() cycle, so this might be worth trying as a workaround.
    Yes, this is a bug which I have logged internally: we'll investigate before the final 4.4 build.
    Thanks for the report,
    Nigel

  • Error when starting WD-Application without active scripting

    Hello together,
    at the moment I am writing a thesis about web dynpro and time is nearly gone...
    In the article:
    The Basic Facts About Web Dynpro - What Does It Do and How Does It Work?
    by Dr. Peter Tillert,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/91b8c890-0201-0010-c787-be96f6fade89
    I´ve read about server-side rendering and  client-side rendering ( text under figure 6 ).
    Now I´ve got the following problem:
    Usually I use IE7 for testing my WD-Applications with enabled active scripting.
    Now I thought I disable active scripting on my client in order to test server-side rendering
    of plain html...
    I only get the error: WebDynpro Exception: Client Does Not Support JavaScript
    What´s wrong? I expected an other result... Thought WD is sooo flexible ???
    Many greetings,
    Oliver

    The article that you have chosen is rather old and represented some of the design goals of Web Dynpro back in 2004 before the project was completed.  I see other items in the article (like the Dynpro/Web Dynpro integration for ABAP) that were dropped before the final release of the product as well.
    I believe that quote you focused in on was:
    "While smart browsers (Internet Explorer as of version 5.5 and Netscape Navigator as of version 7.0) can run our client-side JavaScript, future versions of the Web Dynpro runtime will send server-side generated HTML without any scripting to every other browser."
    What you need to understand is that the idea of having a clear separation between the CSF and the SSF was an original design aspect of Web Dynpro that was elimated before the final product was delivered to market.  Part of the reasoning is that mainstream browser usage advanced to the point where the need to support non-JavaScript browsers was largely a moot point by the time Web Dynpro was released.  Therefore producing a rendering engine that has no scripting no longer had much value.  So deactiving scripting support in Web Dynpro today, does result in the error message that you received by design.  You can always check the latest supported browser versions for Web Dynpro by viewing the Platform Availability Matrix on the Service Marketplace.
    Using certain Application and URL parameters there certain features of the client side scritping that can be turned off:
    http://help.sap.com/saphelp_nw70/helpdata/EN/7b/fb57412df8091de10000000a155106/frameset.htm
    For instance you can deactivate the Delta Rendering (DOM Infusion of UI elements). 
    Web Dynpro rendering is still abstracted and very flexible.  Today we focus this multi-client rendering approach on vastly different rendering technologies.  We can output to the HTML with JavaScript and AJAX, to Adobe Flex and to the NetWeaver Business Client (.Net 3.0 runtime). Here are some screenshots that show the same WD application running in these three very different environments.
    NWBC:
    http://www.flickr.com/photos/tjung/2685619882/
    Flex:
    http://www.flickr.com/photos/tjung/2684804211/
    HTML/JavaScript:
    http://www.flickr.com/photos/tjung/2685619854/

  • In which situation I need to active objects after transport

    Hi Experts,
        I'm wondering in which situation I need to active object after transport?  In some cases, I have to active transformation, DTP, infoobject, multiprovider....  Does any one make a conclusion of that?
        thanks in advance.
    Eric

    Sometimes, because of impact of a transport some other objects will be deactivated, then we need to manuaaly activate the objects after transport.
    Also, sometimes transport after import process could not be able to activate the objects, then also we have to activate them manually.
    Or suppose, you have moved and infoobject, due to which some other objects become inactive (where ever infoobjects is being used), then we have to activate them manually, if you dont want to transport them.

  • Shell script for stopping SAP

    Dear gurus,
    I'm writing the shell script to stop SAP:
    su - mhdadm;
    stopsap;
    when i execute, the script only successfully logon as user mhdadm, and not stopping the sap.
    please enlight me..
    Thanks for your help.
    Best regards,

    Hi,
    su - mhdadm;
    stopsap;
    Above method will not work. You can use below command to execute as <sid>adm user.
    Run this command or script as a ROOT...
    su - mhdadm -c "stopsap"
    ( su - <user_name> -c "command_to_execute" ) should be on same line...
    Just test it...
    Regards.
    Rajesh Narkhede

  • Xy graph look different after Stop

    Hi,
    my xy graph looks in the .jpg and after stopping the program different...
    check atachment...
    I probably need some prooperty nodes... but I cannot figure is out, which one..
    thanks
    Ugur
    Attachments:
    xy graph issue.doc ‏336 KB

    I've never seen a change in the graphs as a sole result of stopping a VI.
    How do you stop the VI? (abort button, normal via a stop button, etc.)
    Is there any extra code that executes at the end?
    Is you graph axis set to "loose fit"?
    What is your LabVIEW version? Do you have a simple VI that demonstrates the problem. Please attach it.
    (And what's up with that attachment. You have a word document containing images of your VI front panel embedded in an excel sheet. Very convoluted. )
    LabVIEW Champion . Do more with less code and in less time .

  • HT4623 what is waiting for activation mean, after factory reset

    what is waiting for activation mean after doing a factory reset, how long does it take

    Has your iPhone been jailbroken or otherwise hacked?

Maybe you are looking for

  • Can't open Pages 05 saved in Dropbox on new Pages iPad app and visa-versa

    Updated to the new Pages 05 on all my devices (macbook, iPad, iPhone). Problem now is that I want to save documents into Dropbox. Works fine when saving a file from my macbook to dropbox, and then opening it on my macbook again. But whenever I create

  • Why can't I save a bookmark in more than one folder?????

    I just now noticed this is happening. I don't think it was always this way. If there's no way around this without having to copy and paste which is very time consuming I'll have to find another browser. Completely unacceptable.

  • Create Table with extra empty row

    Hi, I have two problems... I need to create a table from DB with one extra empty row. Is there an easy way to do this? And I need a button to delete all in that table. something like SQL: delete from tableX Anything that helps me on the way... what I

  • TS4436 you have got to be kidding us. My blackberry won't do that.

    you have got to be kidding us. My blackberry won't do that.

  • AIde carte pci 6713

    Bonjour , voila je débute sur LABWINDOWS CVI et je dois creer un programme prenant en compte la carte PCI 6713. Le projet que je dois réaliser est : Faire un panel général sur lequel je dois faire varié une tension des differentes voies grace a un bo