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.

Similar Messages

  • VB Script not working correctly the first attempt

    I have a VB script that loads the active channels data into a Report. 
    The weird thing is that upon first run (pressing F5) of the script it does not update my Graph Data on either page of my 3 page Report (1st page has a table and the 2/3 pages have a graph). Upon the second attempt of running the script it will update the Graph on page 2 but the not on page 3 and finally one the third run of the script it will update page 3's Graph.
    I added code to cycle through each sheet and bring the active sheet to the front of the Report but no change in behavior. I can simply ad a For Loop to repeat the data loading procedure 3 times but this is just bad coding in my opinion, I would like my code to be efficient.
    If anyone has any ideas or similar experiences please let me know what resolution you came too. Code is below.
    Thanks.
    Option Explicit 'Forces the explicit declaration of all the variables in a script.
    'PScript Function --- Finds the Graph or Table to be Changed and calls Subroutine
    Dim iObjNo, sObjectName, sCurveName, iCurveNo, iSheetNo, aSheetName,
    '---- Cycles Through the Graphic Sheets of the Report
    For iSheetNo = 1 to GraphSheetCount
    aSheetName = GraphSheetNGet(iSheetNo)
    GraphSheetShow(aSheetName)
    For iObjNo = 1 To ObjectNoMax 'Loop over all objects in DIAdem REPORT
    sObjectName = ReportObj(iObjNo) 'Gets the object name
    If sObjectName <> "" Then 'Ensures that the object is not deleted
    Select Case ReportObjType(iObjNo) 'Gets the object type
    Case "2D-Axis"
    Call Change2DAxis(sObjectName) 'Calls procedure to change the objects of the 2D axis system
    Case "2D-Table"
    Call Change2DAxisTable(sObjectName)
    Case "FreeText"
    Call GraphObjMoveToForeground(sObjectName)
    End Select
    End If
    Next
    Call PicUpdate(True)
    Next 'goto next sheet
    ' --- Procedure to change object of the 2D axis graph system ---
    Sub Change2DAxis(sObjectName)
    Call GraphObjOpen(sObjectName) 'Opens the 2D axis system
    D2AxisColor = "blue" 'Sets the axis color
    For iCurveNo = 1 To CurveNoMax 'Loop over all curves
    sCurveName= D2CurveObj(iCurveNo) 'Gets the curve name
    If sCurveName <> "" Then 'Ensures that curve is not deleted
    Call GraphObjOpen(sCurveName) 'Opens the curve object
    '--- Gets a reference to the active channel and set the data for the correct graph
    If sObjectName = "DELCDgraph" Then
    D2CChnYName = Data.Root.ActiveChannelGroup.Channels.Item("DELCD").GetReference(eRefTypeIndexName) 'Sets the curve to the Current Channel
    End If
    If sObjectName = "PIDgraph" Then
    D2CChnYName = Data.Root.ActiveChannelGroup.Channels.Item("PID").GetReference(eRefTypeIndexName) 'Sets the curve to the Current Channel
    End If
    D2CurveColor = "red" 'Sets the curve color
    Call GraphObjClose(sCurveName) 'Closes the curve object
    End If
    Next
    Call GraphObjClose(sObjectName) 'Closes the 2D axis system
    End Sub
    ' --- Procedure to change table object values of column 2 ---
    Sub Change2DAxisTable(sObjectName)
    Call GraphObjOpen(sObjectName) 'Opens the 2D axis system
    If sObjectName = "DELCDtable" Then
    '--- Gets a reference to the active channel
    D2TabChnName(2) = Data.Root.ActiveChannelGroup.Channels.Item("Concentration").GetReference(eRefTypeIndexName)
    ' --- Gets references to permanant channel containing Compound Names and Units
    D2TabChnName(1) = Data.Root.ChannelGroups(1).Channels("Compound").GetReference(eRefTypeIndexName)
    D2TabChnName(3) = Data.Root.ChannelGroups(1).Channels("Units").GetReference(eRefTypeIndexName)
    End If
    If sObjectName = "PIDtable" Then
    '--- Gets a reference to the active channel
    D2TabChnName(2) = Data.Root.ActiveChannelGroup.Channels.Item("Concentration").GetReference(eRefTypeIndexName)
    ' --- Gets references to permanant channel containing Compound Names and Units
    D2TabChnName(1) = Data.Root.ChannelGroups(1).Channels("Compound").GetReference(eRefTypeIndexName)
    D2TabChnName(3) = Data.Root.ChannelGroups(1).Channels("Units").GetReference(eRefTypeIndexName)
    End If
    If sObjectName = "mainTable" Then
    '--- Gets a reference to the active channel
    D2TabChnName(2) = Data.Root.ActiveChannelGroup.Channels.Item("Concentration").GetReference(eRefTypeIndexName)
    ' --- Gets references to permanant channel containing Compound Names and Units
    D2TabChnName(1) = Data.Root.ChannelGroups(1).Channels("Compound").GetReference(eRefTypeIndexName)
    D2TabChnName(3) = Data.Root.ChannelGroups(1).Channels("Units").GetReference(eRefTypeIndexName)
    End If
    Call GraphObjClose(sObjectName) 'Closes the 2D axis system
    End Sub
    ' --- Renames all Sheets of the current report with the Sample Name
    Call GraphSheetRename("TABLE", Data.Root.ActiveChannelGroup.Name & " Table")
    Call GraphSheetRename("PID", Data.Root.ActiveChannelGroup.Name & " PID")
    Call GraphSheetRename("DELCD", Data.Root.ActiveChannelGroup.Name & " DELCD")
    Call PicUpdate(True)
    Solved!
    Go to Solution.
    Attachments:
    TempCode.txt ‏5 KB

    The recording mode is kind of a joke. Maybe it's good for 2+2 but it does not seem to record 98% of what I do. Maybe I'm missing something? It also does not seem to be variable friendly. I much prefer scripting either way.
    This is what it recorded for the actions that parallel the code I attached above.
    Call PicUpdate(0) '... PicDoubleBuffer
    Call PicUpdate(0) '... PicDoubleBuffer
    Call PicUpdate(0) '... PicDoubleBuffer
    Call GRAPHSHEETRENAME("TABLE", "TABLE") '... GraphSheetName,GraphSheetNameII
    Call GRAPHSHEETRENAME("TABLE", "FO.GC.212__@@CurrDate@@TABLE") '... GraphSheetName,GraphSheetNameII
    Call GRAPHSHEETRENAME("FO.GC.212__@@CurrDate@@TABLE", "TABLE") '... GraphSheetName,GraphSheetNameII
     So I long ago disregarded the record mode.
    One more detail about my above problem is that all my problems started when I moved from DIAdem Evaluation (which I believe is the Pro edition) to DIAdem Advanced edition. When I originally wrote the script in Evaluation Edition it worked great, everytime. Once I purchased DIAdem and ran the script on Advanced Edition, I began having the problems with the curves not updating their data properly every script cycle.
    Thanks.

  • Class not found on the first run

    The piece of code following is in my servlet. The first time (after start
              WL server) I access the servlet, WL complains It can't find
              ArgosClientBeans.ArgosSession and gives me a "500" error in the browser.
              But if I open up the a new browser and re-run it, it would see and create
              the bean fine.
              What's going on? Am I missing something?
              Thanks,
              Tin
              try {
              argosSessionBean = (ArgosClientBeans.ArgosSession)
              Beans.instantiate(getClass().getClassLoader(),"ArgosClientBeans.ArgosSession
              } catch (Exception e) {
              argosSessionBean = null;
              throw new weblogic.utils.NestedRuntimeException("cannot instantiate
              'ArgosClientBeans.ArgosSession'", e);
              

    The problem was indeed related to the failure to load the plugin.
    I renamed the package containing my test using the refactor command.
    But the refactor did not update the plugin.xml file. This was prevent
    the test plugin to load and generating the exception.
    The fact that the refactoring does not update the plugin.xml is already
    entered as a bug:
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=72296
    Thanks Chris for the suggestion.
    Best regards,
    Cedric
    Chris Senior wrote:
    > I have had the same kind of exception being raised (ClassNotFoundEx)
    > where the reported class is my TestCase.
    > However after stepping through lots of complex Eclipse class loader code
    > I found that the plugin it was dependent on (the one who's functions I
    > was testing) was not loading correctly. The plugin class
    > (BundleActivator) start() method was crashing with a dumb NullPointerEx.
    >
    > What I found irritating was that this exception (the real one) was never
    > reported!? Rather Eclipse failed to start my plugin and then failed to
    > load any classes from that plugin.
    > This caused my test case not to be loaded because it's dependent classes
    > were not correctly loaded.
    >
    > Normally stuff like this would get written to the log files. However in
    > headless JUnit test mode I can't find the logs (the workspace mentioned
    > in the launch does not exist). Are there any? If so where?
    >
    > Maybe you have a similar problem?
    >
    > - Chris
    >

  • Sound/videos not working Hp pavillion.First via internet now effected itunes +desktop

    Any help would be much apreciated!
    I have a HP Pavilion g6-2102au Notebook PC.
    My sound and video for my computer is not working and I need it badly for lectures for uni.
    It started when I went to play Itunes radio and then NOTHING. Now online music and movies such as youtube clips, movies online wont play or it will come up with a message saying clip is not available at this time.
    I have all the latest shock waves and adobe software.  It will just stop after about 2 second of playback (after some tinkering youtube videos can then play but with no sound)
    Its also effected my desktop to where my itunes music or movies wont play either as well as start up music.
    Things I have tried:
    Obviously, Takin the battery out a few times too and left it
    Tried to fix in control panel via find and fix audio devices, manage audio devices. It says "audio device is not set as default" but it cannot fix the problem.
    I have tried to restore to a prevous date. didnt work.
    (It says in my audio settings AMD not plugged)  so I re downloaded AMD software: didnt work.
    Tried Un install and re install shock wave flash and adobe. didnt work.
    Dont know what to do anymore.
    Help me please
    Ive spent hours trying to fix this

    Hi
    See if this thread has the solution to your problem. HP Expert Dragon-Fur has explained it & given few links for the steps of resolution:
    http://h30434.www3.hp.com/t5/Notebook-PC-Sound-and-Audio/lost-sound/m-p/4231472
    Regards
    ++Please click KUDOS / White thumb to say thanks
    ++Please click ACCEPT AS SOLUTION to help others, find this solution faster
    **I'm a Volunteer, I do not work for HP**

  • [Forum FAQ] Group Policy Preferences Scheduled Tasks Item not working when the option Run whether user is logged on or not is selected

    Scenario:
    We use one of the following Group Policy Preferences Scheduled Tasks item to deploy a task to clients:
    Computer Configuration -> Control Panel Settings -> Scheduled Tasks -> New -> Scheduled Task (At least Windows 7)
    Computer Configuration -> Control Panel Settings -> Scheduled Tasks -> New -> Immediate Task (At least Windows 7)
    User Configuration -> Control Panel Settings -> Scheduled Tasks -> New -> Scheduled Task (At least Windows 7)
    User Configuration -> Control Panel Settings -> Scheduled Tasks -> New -> Immediate Task (At least Windows 7)
    (Note that on some platforms, "At least Windows 7" is replaced with "Windows Vista and later.")
    After designating a user account to run the task, we select “Run whether user is logged on or not” option, and “The Do not store password…”
    check box is automatically grayed out (See Figure 1).
    Figure 1
    After finishing configuring the task item, on a client, we run command
    gpupdate/force to forcefully update group policy. However, on the client, when we check if the task is listed in Task Scheduler snap-in, the task is not displayed, and when we run
    gpresult/h report.html to collect group policy result for troubleshooting, we see an error as similar as shown in the following figure (Figure 2).
    Figure 2
    Cause:
    To make the scheduled task run whether the user is logged on or not, we need to store the password of the designated user account. However, for the content of the scheduled
    task item is stored in Sysvol where it’s not safe to store passwords, this function has been deprecated.
    Workaround:
    We can run the task with system account
    NT Authority\System, or we can use specific user accounts to run the task when the given user is logged on. (See Figure 3)
    Figure 3
    Reference:
    MS14-025: Vulnerability in Group Policy Preferences could allow elevation of privilege: May 13, 2014
    http://support.microsoft.com/kb/2962486
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Hello Everyone,
    Succeeded !!!!!!!
    Even i was struggling with this same Problem to execute a batch via Window scheduler and set the setting to "Run whether the user is logged in or not".
    I tried many time but the batch runs with " Run
    whether user is logged on" and not with "Run
    whether user is logged on or not".
    what i discovered is that there was one mapped drive
    path in my batch file which was not the complete path like y:/AR.qvw actually what i did i changed that map path to the complete path like \\servnamename\d$\AR.qvw and the batch executed successfully with the setting "Run
    whether user is logged on or not"
    The
    conclusion is that check the dependency of the script on external resources because when you check this option "Run
    whether user is logged on or not" It actually conflicts. This my discovery.
    If
    you have any question write me on [email protected]
    Thanks
    & Regards,
    Arun

  • SHIFT key does not work - one the first letter gets capitalized

    When typing a word in ALL CAPS by pressing the SHIFT key, only the first character appears in CAPS. All subsequent characters appear in lower case even though the SHIFT key is continually pressed.
    The workaround is to backspace over the lower case character(s) one at a time as they are typed and type them again in CAPS, or use the CAPS LOCK key.
    This problem surfaced after a string of updates (Combo 10.5.2 update; Graphics update; keyboard firmware update) and I cannot be certain which one (if any) is responsible for the snafu.
    As someone who types a lot, I urgently need to have this fixed. Thanks.
    Andreas

    I solved the SHIFT key problem. As it turns out, it was not the result of any update or buggy piece of software code, but a conscious (albeit erroneous) decision on my part.
    A few days ago, I installed a new version of TypeIt4Me and in perusing the various settings, I selected the “No DOuble CAps” option. I misinterpreted what this option would do. It modifies the behavior of the SHIFT key which I then thought was a bug in my system.
    TypeIt4Me, btw, by Riccardo Ettore, is a wonderful application. I have used it for more than a decade, and I can honestly say it is the most valuable shareware utility I have ever installed on my macs. I strongly and unconditionally recommend it to all mac users.
    Andreas

  • Firefox icon in the Taskbar will not start on the first click, sometimes needing to click 2 or 3 times for it to open (and this is after a fresh reboot with Firefox not running in Task Manager.

    Upon a fresh reboot the Firefox icon in the Taskbar will not work on the first click, sometimes it will not work at all and I need to go to Start-> then click the Firefox icon in the Start menu. Why is it that the icon won't start up on the first click?

    Same issue - however firefox will open but I can not click on only of my tool bar shortcuts - the writing on the google age is greyed out so I can not click on anything. Still no resolution? I have deleted the folders and re-installed - it will open and then locks and it will not work????

  • Trackpad of MacBook Pro mid 2009 does not respond to the first click/tap

    Have the following problem and wasn't able to find any sollution here somewhere
    if I click on a link or choose a checkbox or do anything by clicking it does not work with the first click/tap and I have all settings right.
    a PRAM reset had no effect on that problem.
    so I still have to click/tap several times to access a menu, a safari-tab, or anything else…

    thank you.
    still I am not sure if it really solved my problem, but it looks very good.
    was a bit irritated in the beginning, because I got no feadback if I had done the SMC reset right.
    If the problem will be back too soon, I will continue this discussion.
    THX

  • Ive just upgraded my late 2009 macbook, and things are not working properly. First of all, when I started the computer first time after installing Mountain Lion, some message advised me that some files were impossible to install.

    Ive just upgraded my late 2009 macbook, and things are not working properly. First of all, when I started the computer first time after installing Mountain Lion, some message advised me that some files were impossible to install. Once I wrote my password, and for now on, everytime I start the session, another window advise me that "Java SE 6" is missing, due that, the computer can't run some "CS5Service Manager". If I try to install it, the download ends with an error. If finally, you skip the istallation, you arrive to the dock, but the menu bar at the top of the screen doesn't show up.
    In addition, my trackpad doesn't works either. I can move the arrow but i can't click anywhere, probably because the option of clicking by touching is disabeled and I can't performance a regular click.
    I'll be very glad if someone know what the heck is happening with my computer. Anyway, I'm going to the genius bar next Saturday. Thx!

    We're sorry.
    We can't find the article you're looking for.
    Please return to the Apple Support homepage.
    Sigh.

  • I was running KeyPassFox with Firefox 8.0.1, but the plugin does not work in the new release (9) . Is there a way to restore my previous version with all of my bookmarks intact? I do not mind if I have to restore the plugins myself.

    I was running KeyPassFox with Firefox 8.0.1, but the plugin does not work in the new release (9) . Is there a way to restore my previous version with all of my bookmarks intact? I do not mind if I have to restore the plugins myself.
    The plugin shows on the list as enabled and functioning, yet the tool does not show on the toolbar. It would appear that I need to restore the previous version of Firefox and wait until a newer release of the plugin is available before upgrading the browser.

    I copied the iTunes file from the external drive and it's in both places.  I thought all I would need is the iTunes program (which I downloaded to new computer) and my iTunes library file.  There must be something else that's missing.  My iTunes library looks the same on the new computer as it does when I open it on the external drive.  If I click on an iTunes library song from my new computer, it will only play if I have the external drive plugged in.
    My back-up drive is a mess.  I have multiple copies of music, video, photo, and document files and I don't know how that happened. ={  Obviously, I don't know how to back up stuff properly and there are back-up files extending over a 6- to 8-year period.  I think all I did was just drag and drop the main folders from the back-up drive to the same main folders on the C: drive.  Also (and I'm kind of fuzzy on this) Windows used to automatically save music files in a folder within my document files (which makes no sense to me).  As my Jewish friends would say, "Oy Vey!" 

  • Hello! I have installed Photoshop on PC WIN 7 64bit. When I store first time a Photoshop docuument, it works fine - after re-opening and doing changes I trying again to store it - it does not work anymore! First it does not accept the name (message "It ca

    Hello! I have installed Photoshop on PC WIN 7 64bit. When I store first time a Photoshop docuument, it works fine - after re-opening and doing changes I trying again to store it - it does not work anymore! First it does not accept the name (message "It can not be stored because the nam is invalid" With 2. trial it tells me that the data is blocked and I don't have the rights - and I should chenge them. But I am working as the Admin on my PC - and each trial to change the rights of the data is as well not possible because of missing rights - even I am Admin! I must always store the data with a new name, then it works, but I also cannot remove the old datas or shift them into the waste paper - because of no rights! -- sorry for not perfect english, I am German native speaker! Tahnks a lot for help!

    Hi,
    I am using a Nvidia 4200M adapter in my Laptop, Driver 266.96, Direct X 11
    In my desktop I am using an ATI XFX 6950, latest revision drivers (I am not at home right now so I cant get that info).
    The issue I did describe above, but it was a long explanation.
    In some flash games the game files load initially and get as far as the "click to start" button. Then the flash area usually goes either all white or all black (usually depending on the falsh game default background color) and then it stays that color. Cant see anything after hitting start (usually most games have an intro video or animation before the game starts, but I cant see any of it.
    For the very few games that do start, the flash game or application does not seem to work correctly in that when the rare game starts, it wont save any game files or save files to the pc and so if I exit the game (navigate away to another page or close browser) and then later come back, even though I click the option to save games (and ensure that the flash application slider shows it can save files and lots of space) it does not save and I have to start from the beginning all the time.
    More explanation I gave above.

  • I'm running Windows XP and FF 8.0. I'm having more trouble than ever with intermittent streaming and videos not playing all the way through. What is the easiest way to fix this?

    . I'm running Windows XP and FF 8.0. I'm having more trouble than ever with intermittent streaming and videos not playing all the way through. What is the easiest way to fix this?

    That may be a problem with the VLC plugin. VLC has never worked for me properly on the occasions that I've tried it on Windows and Linux, so I have stop using it. There are usually other plugins or media players available that work better.
    What kind of media files are that?
    For WMP files you can install the new Windows Media Player plugin you can also try RealPlayer and QuickTime if it is about media that those programs can handle to see if that works better.
    * https://support.mozilla.com/kb/Using+the+Windows+Media+Player+plugin+with+Firefox
    * http://kb.mozillazine.org/Windows_Media_Player#Missing_plugin
    * http://www.interoperabilitybridges.com/windows-media-player-firefox-plugin-download

  • My work computer runs Outlook 2003, which I know will not work with the iCloud, so I hard sync.  But then the new info on my iPhone does not backup to iCloud.  Is there a solution?

    I have a Macbook and iPhone and like to back up to iCloud.  However, my work computer runs Outlook 2003, which I know will not work with the iCloud.  The company has no plans to update anytime soon.  Since the calendar and contact list on my office computer are my primay ones, I hard sync through iTunes.  The problem is that any data synced from Outlook 2003 to the iPhone from iTunes does NOT later backup to iCloud.  Is there a solution?

    I have the same problem with Outlook 2003 and Win XP which the multinational organisation I work for standardises on and will probably stay with forever!

  • Hi am trying to save Data into a write to measurement file vi using a NI PXI 1042Q with a real time mode but it is not working but when i run it with uploading it into the PXI it save in to the file

    Hi am trying to save Data into a write to measurement file vi using a NI PXI 1042Q and DAQ NI PXI-6229 with a real time mode but it is not working but when i run it without uploading it into the PXI it save in to the file please find attached my vi
    Attachments:
    PWMs.vi ‏130 KB

     other problem is that the channel DAQmx only works at real time mode not on stand alone vi using Labview 8.2 and Real time 8.2

  • HT1379 The USB ports on my 30" Cinema are not working.  The monitor has not been used for a year or so, and the computer is a Mac Book Pro, 1012 model running OS Mavericks.  I need to move the computer between two locations, and the other monitor is a 27"

    The USB ports on my 30" Cinema HD display appear to not work.  The monitor has not been used for almost a year, when I upgraded to a new Mac Book Pro and the 27" retina display.  Now I need to move the computer back and forth between two locations using the two displays.  The need for operating USB ports is essential.  Any ideas.  The display appears entirely normal.  Am running OS X 10.9.

    Disregard, problem solved.

Maybe you are looking for