Stop Video when moving to another "state"?

Hello,
I am not sure if this is a Flash Builder topic or a Flash Catalyst topic or I am guessing it is both.
I  have a Catalyst that contains multiple flv clips. I am discovering that  when you play a video and then you decide to navigate to another  "state" or "location" in my case, that the video pauses. If you then  return to that state the video will start back up where it was paused.
I am trying to figure out how to tell the program to stop all or any flv when moving to another state.
Any help here would be great.
Thank you.

 

Similar Messages

  • Stopping video when navigating to another state

    Hello Everyone,
    I have an issue which I could use some help with. I have two
    states in my application:
    state_1
    state_2
    Both states have video content that was done in Flash AS2.
    Videos play as they should the issue is that when I navigate to
    state_2, state_1's video player is still playing which I need to
    stop. I am sure I need to employ a function to make sure I kill the
    video before going to state_2. I just don't know what property
    should I be looking at.
    Appreciate your help.
    Thanks a lot.

    "combustion007" <[email protected]> wrote in
    message
    news:goc8rj$rsr$[email protected]..
    > Hello Everyone,
    >
    > I have an issue which I could use some help with. I have
    two states in my
    > application:
    > state_1
    > state_2
    >
    > Both states have video content that was done in Flash
    AS2. Videos play as
    > they
    > should the issue is that when I navigate to state_2,
    state_1's video
    > player is
    > still playing which I need to stop. I am sure I need to
    employ a function
    > to
    > make sure I kill the video before going to state_2. I
    just don't know what
    > property should I be looking at.
    You'll need to use LocalConnection to talk to the movie.

  • Moving to another state without computer. how do I take itunes with me?

    Im moving to another state without my computer. How can I take my itunes library with me for when I eventually get a new computer?

    Copy your iTunes folder to a USB flash drive if it will fit, otherwise to a portable flash drive.  When you get a computer, copy the folder in.

  • IPOD 5G 60Gig Stops playing when moved

    Have a 5G 60 gig ipod that stops playing when its moved - even slightly. This problem is 'intermittent', in that I can sometimes run with it and it continues to play, but sometimes if I move it even slightly the song will stop. I can start it again - and it starts correctly from where it stopped. The majority of the time I have the hold button engaged. It doesn't matter if I'm playing a video, song, etc.
    Any suggestions would be greatly appreciated. If there is a firmware update or other software fix that corrects this I would appreciate a pointer. Thanks much. E.

    You may need to reset it. Put the hold switch to the OFF/White position. Now toggle it ON/orange then back off again. Then press and hold both the MENU and center buttons on the iPod and hold them for a good 15 seconds or so. Your iPod should reboot starting with the Apple Logo screen.
    If it doesn't work the first time, give it a second or third go. Sometimes it takes a few tries.
    http://www.apple.com/support/ipod/five_rs/

  • Make video stop video when leaving a frame = problem as not all frames have this video

    I know how to make a video (instanced as showreel) stop when clicking on a button that that navigates to another section/frame, since otherwise I would still listen to that video while not visible. The problem is when I'm in another frame that doesn't have that video, when clicking on the menu to go to whichever other frame, it looks for that it to stop if it's playing and it and doesn't find it, and so there's an error.
    How can solve this? Maybe I should put an order saying something like if there exists a video in that frame instanced as sowreel, stop it, otherwise don't do anything as there is nothing to be stopped. Or assign the order to the frame (which is called motion), but I don't know how to do that, can someone help? The code I have is:
    import fl.video.VideoEvent;
    function onClick(evt:MouseEvent):void {
        if( showreel.playing ){
            showreel.stop();}
        gotoAndStop(evt.currentTarget.name);
    motion.addEventListener(MouseEvent.CLICK, onClick);
    web.addEventListener(MouseEvent.CLICK, onClick);
    logo.addEventListener(MouseEvent.CLICK, onClick);
    photo.addEventListener(MouseEvent.CLICK, onClick);

    all assets, as far as possible, should be removed from the display list and readied for gc when no longer in use.  that includes flvplayback instances.
    and yes, when you return to a frame or situation where you create an flvplayback instance, it will be created.  the removedfromstage event doesn't do anything except detect when something is removed from the stage:
    flv.addEventListener(Event.REMOVED_FROM_STAGE,f);
    function f(e:Event){
    flv.stop();
    that's it.
    for a typical beginner to intermediate coder, flv will be on one frame of the main timeline.   adding those lines of code will ensure that when you move from a frame that contains flv (and that code), any video playing in flv will be stopped so you won't hear it when you navigate to another frame.

  • E-mail changes to unreadable text when moved to another mailbox folder

    Hi,
    when moving a correct received e-mail to another mailbox folder, the mail and the attachment will change to unreadable text and it looks like the column below.
    On my iPad and iPhone the mail and the attachment is shown correct. If I forward it to my own account again, the mail is also correct shown an my imac27, as long as it resides in the in-box.
    On the other hand, there are lots of mails+attachments with "normal" behavier when moved.
    Any idea about that?
    mackliko
    ------=_NextPart_000_0001_01CCF256.3C7DD310
    Content-Type: multipart/alternative;
              boundary="----=_NextPart_001_0002_01CCF256.3C7DD310"
    ------=_NextPart_001_0002_01CCF256.3C7DD310
    Content-Type: text/plain;
              charset="us-ascii"
    Content-Transfer-Encoding: 7bit
    ------=_NextPart_001_0002_01CCF256.3C7DD310
    Content-Type: text/html;
              charset="us-ascii"
    Content-Transfer-Encoding: quoted-printable
    <html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
    xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
    xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
    xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
    xmlns=3D"http://www.w3.org/TR/REC-html40">
    <head>
    <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
    charset=3Dus-ascii">
    <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
    <style>
    <!--
    /* Font Definitions */
    @font-face
              {font-family:"Cambria Math";
              panose-1:2 4 5 3 5 4 6 3 2 4;}
    @font-face
              {font-family:Calibri;
              panose-1:2 15 5 2 2 2 4 3 2 4;}
    /* Style Definitions */
    p.MsoNormal, li.MsoNormal, div.MsoNormal
              {margin:0cm;
              margin-bottom:.0001pt;
              font-size:11.0pt;
              font-family:"Calibri","sans-serif";}
    a:link, span.MsoHyperlink
              {mso-style-priority:99;
              color:blue;
              text-decoration:underline;}
    a:visited, span.MsoHyperlinkFollowed
              {mso-style-priority:99;
              color:purple;
              text-decoration:underline;}
    span.E-MailFormatvorlage17
              {mso-style-type:personal-compose;
              font-family:"Calibri","sans-serif";
              color:windowtext;}
    .MsoChpDefault
              {mso-style-type:export-only;}
    @page Section1
              {size:612.0pt 792.0pt;
              margin:70.85pt 70.85pt 2.0cm 70.85pt;}
    div.Section1
              {page:Section1;}
    -->
    </style>
    <!--[if gte mso 9]><xml>
    <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
    </xml><![endif]--><!--[if gte mso 9]><xml>
    <o:shapelayout v:ext=3D"edit">
    <o:idmap v:ext=3D"edit" data=3D"1" />
    </o:shapelayout></xml><![endif]-->
    </head>
    <body lang=3DDE-AT link=3Dblue vlink=3Dpurple>
    <div class="3DSection1">
    <p class="3DMsoNormal">Mfg<o:p></o:p></p>
    <p class="3DMsoNormal">Martin lanzinger<o:p></o:p></p>
    <p class="3DMsoNormal"><o:p> </o:p></p>
    </div>
    </body>
    </html>
    ------=_NextPart_001_0002_01CCF256.3C7DD310--
    ------=_NextPart_000_0001_01CCF256.3C7DD310
    Content-Type: application/pdf;
              name="Test.pdf"
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment;
              filename="Test.pdf"

    Please run /cleanviews switch to check the result.
    (Type "Outlook.exe /cleanviews in Windows search bar and press ENTER.)
    Please also create a new Outlook profile to check if the issue still persists. Thanks.
    Tony Chen
    TechNet Community Support

  • I have lost my facetime option when moved to another country. pls suggest how can i get it back

    Hi ,
    Recenlty i have bouhgt  new iphone5s from middle east . When i was using the phone over there the facetime was working perfect for me .
    Now when i moved to another country i can not see the facetime option in the iphone .
    Could you pls suggest how can i get it back .

    Hi Stedman ,
    Thanks for the information !!
    I have checked the article and i can clear see that my Wireless carrier support the facetime feature
    so what could be the reason am not able to use the facetime option .

  • Reports with prompting stop working when moved from Crystal10 to crystal 11

    Issue:
    We are having trouble with Crystal Reports XI. It appears that the Crystal 10 runtime included the ability to process reports that used prompting. If we run the same report with the Crystal XI runtime, it fails.
    I can send a sample of the report.
    Error Dialog:
    Title: Internet Explorer Script Error
    Error Details:
    An error has occurred in the script on this page
    Line: 1
    Char: 1
    Error: invalid character
    Code: 0
    URL: file: /// C:/Program%20Files/Business%20Objects/3.0/crystalreportsviewers11/prompting/js/promptengine_strings_en.js
    Do you want to continue running scripts on this page?
    Yes/No
    Our Configuration:
    We use Merge Modules that install Crystal Reports through the browser via a CAB file that we created. It runs a setup executable
    The setup executable project that installs CR XI uses the following Merge Modules:
    CrystalReports11_RDC_Reportengine.msm
    CrystalReports11_RDC_Runtime.msm
    CrystalReports11_HotFix_Merge.msm (This is contrived by us from one of your hot fixes)
    Observation:
    When the install is finished, the folder structure under u2026. Crystalviewers11/prompting do not have any files like they do if we install the development environment.
    Question:
    What do we need to do to correct this situation?
    *why the reports with*
    *prompting stops working when it is moved from a Crystal 10 to Crystal 11*
    *environment.  I believe that it has something to do with Merge Modules*
    *because the files under the prompting folder do not populate with the*
    *merge module like they do with the full install of Crystal Reports.*
    Please help.
    Best Regards,
    Peter Freeman
    Edited by: Vivek Kumar Sharma on May 19, 2009 3:43 PM

    We have JDK 1.6 installed.  The License Merge Module is not related to
    this issue.
    The files under \Program Files\Common Files\Business
    Objects\3.0\crystalreportviewers11\prompting  are not being installed.
    If we copy files, into this folder structure the reports work.
    One of the Business Object's Merge Modules should install the files
    there rather than just an empty folder structure.
    I got was able to figure out how to enter a customer support message.
    They said that they could not support us because we were not on CRXIR2
    (Crystal Reports 11 Release 2).
    I found a download for CRXIR2SP4 (same thing service pack 4).
    I installed it the Merge Module names changed to include a "_5"
    Was:
    CrystalReports11_RDC_Reportengine.msm
    CrystalReports11_RDC_Runtime.msm
    CrystalReports11_HotFix_Merge.msm (This is contrived by us from one of
    your hot fixes)
    Now:
    CrystalReports11_5_RDC_Reportengine.msm
    CrystalReports11_5_RDC_Runtime.msm
    CrystalReports11_5_RDC_License.msm (should have been included)
    *CrystalReports11_HotFix_Merge.msm (not needed anymore)
    I will try to put a installer together with these.  If this work there
    will be some complexity around uninstalling the old one and installing
    the new one.

  • Hyperlinks stop working when moving QT movie to another computer

    Hi.
    When setting objects as hyperlinks to other slides (Next, Previous, Frist slide) and copying the exported QuickTime movie to another computer, all hyperlinks stop working. Clicking a hyperlink will prompt a message on WindowsXP.
    The meaning of this is that Keynote presentations with hyperlinks cannot be distributed to other computers via QuickTime. This is very severe.
    Because of the special architecture of QuickTime, using the arrow keys to navigate back, forces the user to step-back build-by-build and only a hyperlink can do this in one step.
    I've researched discussion groups and websites and found no viable solution. The only solution offered was not to use slide transitions, but this negates the whole advantage over Powerpoint.
    can you suggest any solution? I would even consider opening the qt movie with a text editor to find and replace the hyperlinks, but to what?
    thanks
    Gaby

    Make sure the windows machine has the absolutely newest version of QT on it. There were bugs in QT for Windows, but the last version corrected this issue.

  • How to start and stop video acquisitio​n in a state machine

    hello,
    I'm a neuroscience student and here's what I'm trying to do: 1) trigger a GigE camera (200fps), 2) start video acquisition, 3) trigger a light that will stay on for x miliseconds, 4) trigger a valve that will blow an air puff, 5) stop the tone and the valve simultaneously and 5) stop the video acquisition 1second after 4). For that, my VI is a state machine, with a state for each trigger (ex, 1 state for trigger camera, 1 state for trigger light, ect) plus a state to "stop" and a state "time to wait". Everything was working except the video acquisition - the program would trigger the camera but only acquire one frame, because it wasn't running in a while loop and this is my first question: for a video acquisition is it always necessary to have a while loop?
    I assumed the answer was yes, so I built a "consumer" loop for the camera. Putting a queue in the state "trigger camera" in the producer loop, I was then able to start the video acquisition but now the problem is to stop it in the right time. I have another queue in the "stop" state in the producer loop, but it isn't able to start the "stop" state in the consumer loop, I think that may be because the consumer loop gets "stuck" in the while loop.
    I hope you can help me, the VI is attached. Thanks!
    Solved!
    Go to Solution.
    Attachments:
    trigger_cam.jpg ‏345 KB
    trigger_stop.jpg ‏354 KB
    Conditioning MS vi 2010.zip ‏68 KB

    Hi Gak,
    Thanks for the suggestions. I still didn't got it to work though. I moved the stop command to inside the while loop like you said but it didn't work. The problem seems to be in the communication between the producer/consumer loops. When I run the VI in highlight, the queue message "trigger camera" leaves the producer and arrives at the consumer loop in the appropriate time, starting the "trigger camera" state of the case structure. However, the message "stop" doesn't seem to be sent by the producer loop, so the consumer doesn't receive a signal to start the "stop" state of the case structure. Can you think of anything I should change in the producer loop so that the second state (stop) is added to the queue?
    About the functional global, I read about it, it seems that either that or a local variable could work, but I don't quite know how to implement it in my state machine, since the stop of the first while loop isn't activated in the "stop" state but in the "shutdown" state. It works more or less like this: after 10 loops of triggering and stopping the camera, light and valve (so after acquiring 10 movies), it goes for shutdown. Can you show me what you had in mind with the functional variable?
    Attachments:
    Untitled.jpg ‏286 KB

  • Airport card on MacBook stops working when moved

    Hi everyone, I've had this issue with my MacBook and I really don't know what to do anymore right now, so I hope someone here could give some advice.
    Last week my Wifi stopped working properly. I noticed that nothing connected anymore, and then it turned out that the whole Wi-Fi dialogue became unresponsive. The list of networks didn't update, it was continuously scanning for networks, and in the network preferences, the Wi-Fi showed up as being off. Clicking the button to turn it back on didn't do anything (it wasn't greyed out, I could click on everything).
    I came to the conclusion that this seemed to happen only when I moved the MacBook. The WiFi was fine when I just sat at my desk all day, but most of the time when I went to another room with it, this happened.
    I was on the phone with Apple support for a few days. They suggested several things to test. We tested, we waited, I observed, we tested again, waited observed. Needless to say, the problem persisted. After a few days I was advised to reset my MacBook completely. So I did, waited observed, and it still happened.
    I was then advised to go to the Apple store. I spoke to a Genius, he told me that the Bluetooth wasn't working and that it's probably the same issue. He told me they would replace the AirPort card and that would probably fix the issue. Several days later I got a call that this didn't fix the issue and that they would have to replace the logic board. At this point I had to keep telling the people from the Apple store what the actual problem was, which is that the WiFi stopped working after a while when I moved my MacBook sometimes. They kept reassuring me that it was the same as the Bluetooth and kept referring to the Bluetooth in all communication. I asked them to test the WiFi first, which they obviously didn't do, since they didn't know that was the issue, before I authorized replacing the logic board. They said ok and that they would call me before the store closes on the same day.
    Well I didn't hear from them, and eventually after a few days when I called them to see what's happening with it, they told me they replaced the logic board and that it was all working. I picked it up, I went home, I used it for a couple of hours and then the WiFi thing happened again. So this is where I'm at right now.
    So, where do I go from here?
    I am really dependent on my MacBook atm, as I'm finishing up my PhD thesis. I'm also not rich, so I can't have all parts of my MacBook be replaced to see if anything ends up working. I figure I might as well buy a new one if that's the only possibility?
    Every Apple employee I've been in contact with was really friendly, so I can't complain about that, but I feel like nobody is really looking at the actual issue that I'm having, so handing the MacBook in for repairs again really worries me (apart from the fact that it takes a lot of time that I shouldn't spend if nothing comes out of it).
    Does anybody have some advice?

    OK totally understand that.
    Did they do the following procedures?
    Reset SMC
    http://support.apple.com/en-us/HT201295
    Reset NVRAM
    http://support.apple.com/en-us/HT204063
    "nobody has informed me of the whole truth of what has actually been done to the MacBook "
    It would seem to me that if there was a logic board problem that it would be consistantly there. If moving the MBP causes a failure that would seem to be a connection problem. Specifically the connection to the WiFi/BlueTooth board.
    Have the Apple Hardware test ready to run:
    OS X Yosemite: Use Apple Diagnostics or Apple Hardware Test
    and the next time it fails see if you can get it to kick out a failure code. Then they'd have to replace the logic board.

  • "Mode not supported" freezes AppleTV Gen3 on Samsung 61in DLP.  AppleTV is ok when moved to another TV... Help me get it back online with the Samsung?

    I just hooked up the AppleTV Gen3, and it worked great on my 61in Samsung DLP TV that should do 1080i.  When I looked at the resolution settings in the AppleTV menu, it said 720i.  I tried to change the resolution in the settings menu, and it came back with a message "mode not supported..."  I was able to initially get back to the menu and choose what I thought was a supported resolution (1080i), and it again displayed the same message, this time freezing the AppleTV.  I could no longer communicate with the AppleTV device although the remote was working fine. 
    I tried most solutions that I read on the support forums.  So far nothing has worked ie changing HDMI inputs, removing power, etc.  I moved the AppleTV to another Samsung TV, and it worked fine - and I was able to adjust the resolution.  When I returned to the orignal Samsung it again displayed the "mode not supported" menu and it remains frozen.  Any solution?  Will a reset back to factory settings help - or am I stuck?  Frustrated.  Help?

    Same thing happened to me with my peruvian credit card in the peruvian app store, I want to buy an app, but it says that my credit card is "not supported in the Peruvian app store"

  • Re syncing photos when moved to another HD

    I recently moved all my photos to a new external HD and now I can see the thumbnails in iPhoto but when I try to view them at a larger size it says they can't be found. How can I re sync all the photos without having to do it one photo at a time?

    You're running a "referenced" library, correct?
    Click to view full size
    What you're experiencing is just one of may problems a referenced library can present. What you'll have to do is manually relink each photo by navigating to it when asked to find it. If you're lucky you'll only have to find one photo in each of the events assuming all of the photos in that event were imported at the same time.
    Otherwise you'll either have to start over from scratch with a new library or move the source photos back to their original location on the boot drive.
    Then you can use AliasHerder to convert the referenced library to a managed one which you can then move to the EHD and run from there.
    Happy Holidays

  • Problem accessing classes when moved into another jar

    Hi,
    I have written some classes and want to put them in an external jar
    as a library. However, when I do this, I have to include the full path
    for them to work- what am I doing wrong? I am using JBuilder6
    Example:-
    I have a class called LogWriter in package org.MyClasses.utils which I
    am using in a class in another package (com.MyCode). If they are all in
    my src directory it works fine and I import org.MyClasses.utils
    If I compile org.MyClasses into a jar and add the jar as a library, I can
    see the classes with CodeInsight (so I know they are there). However, the line
    Logwriter.writeLog() ; (call to static method), which used to work, now only works
    if I change it to org.MyClasses.utils.Logwriter.writeLog() ;
    Any advice?
    MArk

    If the class was called MyWriter and is in org.MyClasses.utils, I have to replace all instances of MyWriter with org.MyClasses.utils.MyWriter.
    MyWriter has not altered in any way. It's now compiled separately and put into another jar rather than all classes being comipled at the same time.
    MArk

  • Final cut 7 - how to stop video from moving around in viewer?

    Hi Guys
    Any suggestions would be really appreciated.
    In FCP7 the diagonal crosshair 'X' (I don't want to see this X) has appeared in my viewer over the video clip I wish to drag onto my timeline.
    However, after setting my in and out points as normal, when I try to drag it down, the video moves in the viewer (revealing black space).
    My question is, how can I somehow 'reset' the video in the viewer window back to its locked, original position, so I can drag it down onto my timeline as I used to?

    Thanks David, I appreciate it.
    I also realised I had inadvertently changed the 'center' and 'scale' figures! So by resetting to zero the picture locked back in place.

Maybe you are looking for