Video comes in front on stage automatically  after android app activate/deactivate

Hi,
I overlayyed TextField over video on stage.
video and textfield is added on stage like
stage.addChildAt(video,0);
stage.addChildAt(textfield,1);
video.attachNetStream(netstream);
the above source code works perfect for android air app If I don't activate/deactivate the app.
But If I deactivate the app by tapping home and then activate the app (by tapping the app icon), video becomes on top of textfield.
How can I push the video below the textfield?
I have checked the video index its 0 and I have also tried to remove the video and add it back on stage at index 0 but that also does change anything.
Thanks for your help!

I've written several apps that use video and there are definitely some known ordering issues. 
I believe that it has to do with the fact that the Video object is able to use GPU rendering (which is basically handled outside of the display list).  As you've described, the ordering issue doesn't seem to appear until you deactivate/reactivate the application.
You might want to look at this message from December 11th 2012:  http://forums.adobe.com/message/4914005
There's some additional information in the bugbase - here :  https://bugbase.adobe.com/index.cfm?event=bug&id=3354849
As described, there is a poorly documented application.xml element, <containsVideo>true</containsVideo> that can be manually added to the application.xml file (with a text editor/notepad) - it belongs inside the <android></android> element.  
This may or may not resolve your issue.  However in my case (very similar to your description), adding this element to the application.xml did cause the application to respect the intended order when deactivated and then reactivated.
Hope this is useful information for you.

Similar Messages

  • HT2472 I must have done something inadvertently and now if I have more than one application open the one I click on comes up front and center and the other apps disappear. How do I reset to have them both up and open and viewable at the same time?

    I must have done something inadvertently and now if I have more than one application open, the one I click on comes up front and center and the other apps disappear. How do I reset to have them both up and open and viewable at the same time?

    Hi Jan, Almost sounds like Expose or Spaces....
    http://support.apple.com/kb/HT2503

  • I keep having a youtube video come up on Facebook when I open ithe APP.

    I have the FaceBook app installed on my iPad (phone app) & today everthing I go into it a YouTube video comes up for me to play. I HAVE NOT PLAYED IT. Does anyone have any idea what is happenind? This just started today. Ia ir pssible that this could be a virus?

    No virus - read this thread.
    https://discussions.apple.com/message/16256318#16256318

  • Video not working on the first run of Android app

    I couldn't find any results regarding this problem. Maybe I'm just using wrong keywords as it is difficult to explain.
    Has anyone else encountered that video is not working on the first run of Android app? By first run I mean directly after installing. I'm using NetConnection, NetStream, Video objects and GPU renderMode. By working I mean it's not showing and can't hear the audio. I haven't yet debugged deeper so I don't know if the problem is actually related to the code loading the video.
    I've encountered the following issues, which may or may not be related, regarding the the first run and Video object:
    - The first run takes about 20 seconds to start. After that, the start is pretty much instant. If you clear app's cache, it again takes the 20 seconds to launch. The video works after clearing app's cache.
    - When creating the first Video object, the app flashes screen to black for a few frames. This is why I create a dummy Video object in the beginning.
    I use AIR 13, going to upgrade to 14, but I'm quite sure this problem and the issues have been for a while.

    I should add that we're using flv, not mp4. And they're progressively downloaded, not local.

  • Satellite Pro L40 PSL4BE restarts automatically after shutdown

    Hi,
    I have an issue where my laptop starts up automatically after seemingly going into hibernation and shutting down by closing the lid. (I have it configured so it goes into hibernation when i close the lid.)
    The strange thing is that this only happens when it's hooked up to the power supply. If i close the lid when it's on battery power it goes into hibernation and remains shut down as it should.
    This all started when i changed my power scheme from "Balanced" to "Performance". Setting it back to "Balanced" did not help, nor did setting it to the lowest setting. Also, it used to come back out of hibernation automatically after i opened the lid, this no longer happens either.
    I am unsure of whether this is a software or hardware issue.
    Over the weekend i've reinstalled the laptop using the supplied recovery discs and applied all updates and patches for Vista but the problem remains, so now i am leaning more towards it being a hardware issue even though i have no idea what kind of hardware malfunction could be causing this.
    Does anyone have an idea of what could be causing this behavior?

    Hello,
    Thanks for the replies. I'm afraid i haven't found any solution yet.
    Over the weekend I installed Ubuntu on this laptop and tried to hibernate but it demonstrated the exact same behaviour as under Vista. it shuts down and like 10 seconds after it boots back up. this leads me to believe that the problem is hardware related in some way. it would surprise me that both vista and a linux distro would have the exact same issues. So now i'm back on the Vista i restored using the restore discs.
    I haven't tried installing a windows xp yet though i suspect i'll have the same issues.
    @Sasha
    The thing is that the problem isn't in windows hibernating or not shutting down when the lid closes. It does that part just fine. What it shouldn't do however is restarting by itself whithout my intervention several seconds after it shut down. no matter the setting, that can't be normal behaviour.
    @borge & Jonnie
    Have any of you already had contact with the toshiba helpdesk on this issue? if so, what did they say? i haven't had the time to call them yet.
    I'll update as i find out more.

  • My canon 600D stops recording videos automatically after 8 seconds.

    my canon 600D stops recording videos automatically after 8 seconds. i can't find anything of that sort in the settings menu.
    what settings should be used??

    my canon 600D stops recording videos automatically after 8 seconds. i can't find anything of that sort in the settings menu.
    what settings should be used??

  • After I burn my DVD Video comes up instead of Menu

    After I burn my DVD Video comes up instead of Menu.  How do I get rid of this? 

    Go into the Map mode of your iDVD project and make sure there is nothing listed in the Auto Play bin at the left. 
    If there is drag it out and try again.
    Follow this workflow to help assure the best qualty video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    OT

  • My quicktime player won't play any videos on my Mac X os. The video will start on quicktime then automatically start

    My quicktime player won't play any videos on my Mac X os. The video will start on quicktime then automatically start. I installed DiV X today and all this happened is there anyway to fix this?? I went through everything dragging the icon to the trash and deleting it from safari extentions.

    Download and install
    Perian from  http://perian.org/
    You should read this support page  http://perian.org/#support   in case you need to delete older codecs.  In Macintosh HD/Library/Quicktime/ delete any files relating to DivX (Perian already has them), particularly any DivX extension to Safari. However it should be noted that Perian is not an internet plugin and will not play DivX files imbedded on a website. For that you will need the DivX Player browser plugin available from  http://www.divx.com/en/software/mac  Note that Perian will be discontinued after the release of Mountain Lion:  http://reviews.cnet.com/8301-13727_7-57434082-263/perian-plug-in-for-quicktime-t o-be-discontinued/?tag=txt;title

  • [svn:fx-trunk] 10826: When a Video is removed from the stage or becomes invisible, the video will now pause playback.

    Revision: 10826
    Author:   [email protected]
    Date:     2009-10-02 10:28:43 -0700 (Fri, 02 Oct 2009)
    Log Message:
    When a Video is removed from the stage or becomes invisible, the video will now pause playback.  This features is controlled through a new property, playWhenHidden, which defaults to false (meaning we don't play the video when it's hidden).  When it becomes visible/on-stage again, we will start playing the video if autoPlay=true.  Otherwise, the video will not automatically start playback.
    This property still needs to be reviewed by PARB.
    Also, updating a comment in SkinnableContainer relating to a FIXME I own.
    QE notes: -
    Doc notes: -
    Bugs: SDK-21928
    Reviewer: Deepa
    Tests run: checkintests, mustella VideoElement/VideoPlayer
    Is noteworthy for integration: Yes
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21928
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.as

    Is this the same trouble you are having?
    http://discussions.apple.com/thread.jspa?threadID=826805&tstart=0
    DP G5 2GHz    

  • I just upgraded my iPad from 4.3.3 to the newest - I think 6.1.3.  I cannot find my photos and videos.  I tried a restore, but after 3 hours, it's timing out.  Pardon my ignorance on asking this question; but is there a way to find my photos?

    I just upgraded my iPad from 4.3.3 to the newest - I think 6.1.3.  I cannot find my photos and videos.  I tried a restore, but after 3 hours, it's timing out.  Pardon my ignorance on asking this question; but is there a way to find my photos?  I do nto care about anythign else.
    Here are the steps I though I took this morning:
    Backup iPad
    Connect to iTunes and downlaod newest version of iTunes and then newest iOS
    restart Vista Laptop
    upgrade to newest iOS
    I knew somethign was wrong when it took about 6 hours to upgrade the iPad
    at the end it errored with this message error (-50), but the upgrade worked
    I was expecting to see all my photos but didn't see them
    I have tried a restore to a back up 2 times.  The first time took 3 hours and just sort of timed out - it kept saying that there was an hour to go
    I tried it again 2 hours ago and same message.
    They are very valuable to me and so now I am panicking
    Your help is much appreciated

    Hi Eric Ferguson,
    Thanks for using Apple Support Communities.
    For troubleshooting on this, take a look at this article:
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/ts3694
    Error 13, 14, 35 and 50 (or -50)
    These errors are typically resolved by performing one or more of the steps listed below:
    Perform USB isolation troubleshooting, including trying a different USB port directly on the computer. See the advanced steps below for USB troubleshooting.
    Put a USB 2.0 hub between the device and the computer.
    Try a different USB 30-pin dock-connector cable.
    Eliminate third-party security software conflicts.
    There may be third-party software installed that modifies your default packet size in Windows by inserting one or more TcpWindowSize entries into your registry. Your default packet size being set incorrectly can cause this error. Contact the manufacturer of the software that installed the packet-size modification for assistance. Or, follow this article by Microsoft: How to reset Internet Protocol (TCP/IP) to reset the packet size back to the default for Windows.
    Connect your computer directly to your Internet source, bypassing any routers, hubs, or switches. You may need to restart your computer and modem to get online.
    Try to restore from another known-good computer and network.
    Best of luck,
    Mario

  • All of a sudden (video) files added to my iTunes library after a certain date aren't playable on other devices.

    hello!
    All of a sudden I have a weird issue with playing video-files added to my iTunes library after a specific date.
    This is the situation so far:
    I encode the video for iTunes with the same settings for the last 3 years. I know these vids play on all my devices. AppleTV & iPad. All of a sudden videos added to my library after the 8th of september aren't playable on my AppleTV and iPad. I can play them directly in iTunes and by accessing them directly via the finder and quicktime.
    The following errors occur:
    When I pull the video from iTunes on my AppleTV.. the video simply doesn't play.
    When I pull the video from iTunes on my iPad I get a message that the file can't be found.
    When I push the video from iTunes to the AppleTV using airplay I get a message that there has occured an error while connecting to the AirPlay-device "Apple TV". The necesary file could not be found. In addition when the AppleTV is switched off it doesn't turn on doing this, suggesting that there is something missing on my mac itself.
    All the above errors aren't popping up when I choose a video that has been put in my library before the 9th of september. Then everything works as expected.
    This is what I tried:
    Turning off and on home sharing on all devices including the mac.
    Logging in wiht a different apple ID though using the same ID as before.
    I created a new iTunes library and populated with a video that was added after the 8th of september and one that was added before the 9th of september. Surprisingly the older one played and not the newer one.. while they both used the same encoding settings. The new library was locally on my mac as my original library is on a NAS.
    I encode my videos with Quicktime 7 Pro using the following settings:
    H.264 (current frame rate, key-frames:automatic, re-order frames, automatic bitsize)
    Medium Quality
    Multi-pass
    current resolution (which is always 1280 X 720)
    AAC sound
    44.100 kHz
    128kbps
    I'm using the Mountain lion 10.8.2 and iTunes 10.7 Mountain lion got updated a few days after 19th of september and iTunes i think as well. Both versions were released after this issue seemed to pop up.
    I also have two video-files encoded on the same day with the same settings that dragged into the iTunes library on the 9th of september. One works.. the other doesn't.
    So I wonder if there is somebody out there that can tell me what might have happened here and how I could fix this issue.
    Thank you in advance.

    Hi Seraphiel07.
    I have a very similar issue. Hardware involved:
    Apple MacMini (Mid 2011) - OSX 10.8.2. iTunes 10.7. Home Sharing enabled.
    Apple TV (3rd Generation). Home Sharing (access) enabled.
    Apple MacBook Pro (15" Mid-2009). OSX 10.8.2. iTunes 10.7. Home Sharing enabled.
    Apple iPad 2 (Wifi only). iOS 6
    Apple iPhone 4S. iOS 6
    All connected through:
    Apple Time Capsule 8.0211n (4th Gen)
    I have an iTunes library on the MacBook Pro, shared over "Home Sharing" and another (duplicate content, different library name) iTunes library on my MacMini, which is also accessed through the Apple TV.
    All software is current (as of Sep 26th).
    All movies are iTunes purchases. 80 in total.
    All files are purchased (and home shared) under one account.
    My last two iTunes purchases both HD movies on 09/17/2012 and 09/05/2012 refuse to appear on any device accessing either of the two Libraries over Home Sharing. It should be noted that every other movie (the other 78) all show up and play correctly. I therefore know it is not an issue with connectivity, otherwise I would see zero movies available.
    I have:
    1. Removed all content from each Library and re-added
    2. Upgraded the OS on the MacMini 10.8.2
    3. Tested viewing the two missing movies on other Apple devices and no luck.
    4. Turn home sharing on and off within iTunes and also on each device.
    It would appear to me that the issue is with the files themselves, rather than the devices as different devices and different versions have been tested.
    All comments welcome.

  • SSRS 2008 R2 Services not restarting automatically after reboot

    SSRS 2008 R2  Reporting instance not restarting automatically after patches install.  Is there a way to resolve the issue
    Windows 2008 R2 Server
    16 GB RAM

    Hi,
    Follow this article to resolve the issue:
    Reporting Services service doesn't start after the installation of MS12-070 security patch
    http://blogs.msdn.com/b/mariae/archive/2012/11/12/reporting-services-service-doesn-t-start-after-the-installation-of-ms12-070-security-patch.aspx
    Workaround 1:
    Modify the registry to increase the default time-out value for the service control manager. To increase this value to 60 seconds, follow these steps:
    1. Click Start, click Run, type regedit,and then click OK.
    2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control.
    3.  In the right pane, locate the ServicesPipeTimeout entry.
    Note If the ServicesPipeTimeout entry does not exist, you must créate it. To do this, follow these steps:
    a.On the Edit menu, point to New, and then click DWORD Value.
    b.Type ServicesPipeTimeout, and then press ENTER.
    c.Right-click ServicesPipeTimeout, and then click Modify.
    d.Click Decimal, type 60000, and then click OK.
    This value represents the time in milliseconds before
    Restart the computer for the changes to take effect. Check that SSRS services can be started now.
    You cannot start SQL Server Reporting Services after you apply the update that is discussed in KB 2677070
    http://support.microsoft.com/kb/2745448/en-us
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Concerning: VGA monitors using an Aluminum Powerbook G4 PowerPC 2004 15"-screen 1.5Ghz  The DVI (converted to VGA) video output stopped working on this computer after 9 years of service. This raises question 1:  Is there any way of fixing this? I've tried

    Concerning: VGA monitors using an Aluminum Powerbook G4 PowerPC 2004 15"-screen 1.5Ghz
    The DVI (converted to VGA) video output stopped working on this computer after 9 years of service. This raises question 1:
    Is there any way of fixing this? I've tried the usual: triple checked all vga cables & devices through trial & error. Bought a new DVI-VGA adapter. Reset PRAM, PMU, etc. Nothing works. Something is probably damaged, because my KVM switch was not working unless I hot-reseated the vga cable into it, leading to this DVI port, and that is pretty rough stuff.
    Question 2 (related):
    This dovetails into this: Can I drive a VGA monitor with the s-video output port on this computer. It would take an s-video (male)-to-15-pin-VGA adapter. Has anyone does this? So far, I haven't even found the adapter mentioned anywhere.
    Thanks for reading this.
    el7

    Thanks for the useful feedback, Knucklesmac. I agree. I must have blown something on the logic board -- because I had a faulty old KVM switch that would not switch between computers without some nasty hot-plugging/unplugging the VGA video cables. (wince!). It's like when Dizzy Dean ruined his arm because a line drive hit him in the foot and he readjusted his mechanics around the injury. I take the blame because this has been a great computer, and does not deserve any blame.
    If it will help anyone else reading this thread, C2G (née Cables to Go) has some interesting ideas for still getting external video out of this computer:
    -USB-to-VGA
    http://www.cablestogo.com/product/30545
    -Convert s-video or composite video signals to high resolution VGA
    http://www.cablestogo.com/product/40971
    The price range is $75-$85, which doesn't make horse sense to me for such an old computer -- which has a lot of life in it anyway, because its own 15" monitor is not chopped liver.
    el7

  • Start script automatically after place Word text in indesign document

    I need start a script, automatically, after plece Word text in indesign document...
    It's possible ???

    This is how I'd approach it - it captures a 'place' or 'paste' of a blob of text. It is not perfect - it will also 'fire' if you simply copy some text from one frame in the document to an empty frame, but I don't think that would be an issue in most cases.
    Create a page item on the pasteboard; use the Active Page Item Developer palette to set the List of Subjects to * (just an asterisk), and the Event Filter to subjectModified* ('subjectModified' with an asterisk appended). Set the attached ExtendScript to the script shown below.
    I've not tested this heavily - it's only a proof of concept...
    (function(theItem)
      const kKeyForSavedTextLength = "com.rorohiko.savedTextLength";
      do
        var theFrame = theItem.eventSource;
        if (! (theFrame instanceof TextFrame))
          // Not a text frame - bail out
          break;
        var previousTextLength =
          theFrame.getDataStore(
            kKeyForSavedTextLength);
        if (previousTextLength == null)
          previousTextLength = 0;
        if (previousTextLength > 0)
          // Already has text in it - bail out
          break;
        var curTextLength = theFrame.contents.length;
        theFrame.setDataStore(
          kKeyForSavedTextLength,
          curTextLength);
        if (curTextLength == 0)
          // No text in it - bail out
          break;
        alert("Pasted or placed a blob of text");
      while (false);
    (theItem));

  • Process chain to trigger automatically after file arrives in AL11.

    Hi All,
    There is a text file(.txt) which comes from mainframes team every Sunday between 11 AM to 6 PM and gets placed in AL11 inbound directory following which we manually trigger a process chain which uses this file.
    The requirement is that this chain should trigger automatically after the file arrives in AL11 in BW.
    Is it necessary for the mainframe team to send another control file or some other file in addition to the text file to trigger this process chain..?
    Is there any other way the process chain can be triggered in BW without any changes required from the mainframe team.
    Additional information:
    Also I came to know that this can happen through some system command statements using SM49 we can schedule this chain.
    Else can some ABAP Program code be used to make this process automatic?
    Please help me.

    Hi,
    You can do the following, in your process chain change the start variant and make it event dependent. Now you can do the following,
    1) Create a table in SE11 which will have fields like Process chain name and execution date as primary fields. This table will be used further for checking purpose.
    2) Now create a ABAP program as shown in below given article, in this program in addition to raising an event you will have to read the file from app server.
    3) If program can read file from app server means you will raise an event and make entry in above table for preventing further execution of process chain. If program can't read file from app server then program will simply end without doing anything.
    4) Now you can schedule this program after every hour or 30 min. as per your requirement, the program will first check if the process chain execution entry exists in the above 'Z' table or not. If entry exists means the process chain has been already executed and the program will be terminated.
    5) You can use FM to read data from app server. You need to be careful while placing file on app server, because it has to be different naming convention or something else to identify that the current day file is available.
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a01cc44a-5aac-2d10-3eaa-a3bbf645d25c?QuickLink=index&overridelayout=true]
    Regards,
    Durgesh.

Maybe you are looking for

  • Analytical query help

    Hi All, I am not able to even paste the simple of texts here , so I am trying to attach a picture ,please have a look. Regards Rahul Pic: http://img340.imageshack.us/i/piculj.jpg/

  • Do i need to install 10gr1 before installing 10gr2

    My assumption was that i don't need to install 10gr1 before installing 10gr2, but when i downloaded "10g Release 2 (10.2) for AIX 5L Based Systems (64-Bit)" from otn website, Its size was only 1.2GB and after i unzip and did cpio command, It only ext

  • WRT110 Only provides wireless to other computers when wired to a separate laptop

    This never seemed to happen on our old computers, but now that my fiancee and I are both running Windows 7 and switched our Internet Service Provider, here is our problem: Every time I try to open my laptop and connect to our router, it connects, but

  • IAS server and DB on same host vs seperate hosts

    the company IT security folks showed my the policy, which they cannot explain it: "it is recommended that any DBMS be installed on a host system dedicated to its support. By separating the DBMS server from iAS server, access to that platform can be m

  • Define userdefined types in package spec

    perfectly working userdefined in one schema when brought in to package spec of another schema give me an error: Error(26,6): PLS-00540: object not supported in this context. I am looking for some rules to follow when decalring types in a package spec