FLVPlayback strangeness

I'm using FLVPlayback to play FLV videos.
It seems that if I leave the content path unassigned in the
component inspector and try to merely assign the content path in
ActionScript in "onClipEvent(load)", that the flv doesn't play,
even though it shows the content path in the variables in the
debugger. But if I assign an flv in the component inspector, that I
am then able to assign content paths sucessfully in ActionScript
when doing "onClipEvent(load)".
But after I got it to work when I do it in the "onClipEvent
(load)" with this workaround I had to get more real world. My
application must read in the name of the FLV file from an external
file. I'm trying to excute the same code in "onClipEvent
(enterFrame)" so that I can delay starting it playing till the file
name is read.
It all seems to work fine except where I choose the
contentPath. I have watched the data so I know that it is indeed
reading the flv file name into the content path, but it doesn't
seem to play it with the play() command. In testing I found that
specifying the content path in the "onClipEvent (load)" and doing
the play() command in the "onClipEvent (enterFrame)" works.
And in testing I found that when I specify the content path
in the "onClipEvent (load)" and then specifying a different content
path again in the "onClipEvent (enterFrame)" and then the play()
command in the "onClipEvent (enterFrame)" it plays the file
specified in the "onClipEvent(load)".
I'm puzzled because it also instantiates a
_level0.FLVPlayer.0 as well as the _level0FLVPlayer and the file
that it is playing seems to be listed as the content path for the
_level0.FLVPlayer.0
Does anyone have any ideas?

Thank's for the answer. I will try that!

Similar Messages

  • Is there a way to use/fix FLVPlayback skins provided with the product?

    Some of the "skins" for the FLVPlayback component cannot be used as delivered in the Flash Professional CS5 package.
    For instance, if you try simply to run the .swf file: MinimaSilverPlayBackSeekCounterVolMuteFull.swf in Program Files/Adobe/Adobe Flash CS5/Common/Configuration/FLVPlayback skins/ActionScript 3.0, you get the following error message:
    VerifyError: Error #1014: Class fl.video::UIManager could not be found.
    Such a skin cannot be used in a published application (though it will work within the Flash IDE in Test mode).
    Not all the skins have this problem. However, at least all of the Minima prefixed ones do. Of course the one I wish to use is broken. Is there a way I can fix this? If I try to publish the corresponding .fla (in FLVPlayback skins/FLA/Action Script 3.0 I get "Warning: unable to load SWC FLVPlaybackAS2.swc".

    Well I don't really understand the position you are taking here. Did you try to run the examples I gave?
    I will be a sport, though, and back up here and explain more fully.
    I had originally built a rather trivial application to experiment with the FLVPlayback component. I did this with AS-3, by the way.
    As I tried different skins I found, strangely, that when I used one of the Minima ones (for instance, the one that I listed several times above), that it would run fine in the IDE in test mode, however when I ran the published application it would not run correctly. It generated instead this error message about the fl.video class not being found.
    In trying to determine the cause of this, I found that this same error would be generated, just by trying to run the Minima skin (swf) in the Flash player by itself. And sure enough those skins that did NOT have the problem with my trivial app also did not generate any error when the swf was run in the Flash player.
    So, as you hopefully can see, I took my application out of the equation here. The question of interest is why do some of the unmodified swf skin files generate the class not found error and can they be fixed (or is there anything I can do to fix them) so that error does not happen. I had even tried to use the original FLA file for the skin (as I described in my earlier post) and recompile it. However that caused a compile error (listed in the original post) that is indicative of some AS2 being mixed in, possibly from some sub-component.
    So I guess all I was hoping for was that you would try to run the AS3 Minima...swf skin listed earlier straight from the product installation. Just run it with the Flash player. If it doesn't generate the error for you then perhaps there is something odd about my CS5 installation, or environment, or ...
    If you don't want to try this, that is your perogative. Perhaps someone else can/will. Or perhaps I can submit this as a bug? (I do not know the mechanism for that)
    I am not trying to be argumentative here. Rather, I have tried to isolate the issue. I don't know how else I can make this clear.

  • FLVplayback stop the swf if...

    Hi, I have a strange problem..
    i'm using the FlVplayback component in Flash CS4.
    On line, when i drag the seekbar cursor beyond the  loaded zone the flv stops and the swf stops working.
    The problems occurs only with flv videos, the same player works fine with mp4 (it starts again from the beginning). I'm usign defaults skin.
    Have you any idea of what happens?
    thanks
    S.

    I want others to help put the pressure to get this addressed. Apple reads these forums, you can bet, especially related to Enterprise.
    They are invoking the backup for a reason. Canceling the backup has resulted in sync failures and restores. I want the forum to get involved in applying the pressure to get this addressed immediately. This to me is as critical to implementing via enterprise as is MobileMe. Apple has to get this right.
    Message was edited by: swheat
    Message was edited by: swheat

  • FLVplayback problem, please!

    Hi everybody.
    I have a strange problem.
    So I made an application with dynamical button creation from
    a XML file. Some buttons open a movie clip containing a flv video
    (played by flvplayback). Other open swf files (loadmovie)
    The problem is: If a flv file has been played...I cannot
    click again on the buttons of the menus.....
    Swiss chocolate for the person who can help me!

    I'm not really adept with video matters, but I'll offer this as far as components/objects go.  If you have the FLVPlayback components lined up one after another along the timeline, then you might need to have empty space (blank keyframes) separating them.  Otherwise they may be suffering from an issue Flash has when you keep the same objects in adjacent frames... the latter can inherit the properties of the former.

  • FLVPlayback rendering issues

    This one is very strange. Another way to phrase the question
    would be "what does the act of adding a UIComponent to the library
    actually do?". Warning: by necessity, long winded.
    We are building a gallery that must display both images and
    videos in any order. There needs to be a transition between assets
    as you iterate over the array of assets. At any one time we have a
    movieclip that is actively displaying the asset. If it's a video,
    then there's an FLVPlayback child component in the movieclip
    created with attachMovie(). When an image is loaded we use a
    movieClipLoader. When it's time to load the next asset while the
    previous one is displaying, we clean up the hidden/background
    MovieClip with removeMovieClip() and then reuse the variable:
    // clean up any existing content
    clipToLoad_mc.removeMovieClip ();
    // get ready for the load
    clipToLoad_mc = createEmptyMovieClip ("image1_mc",
    this.getNextHighestDepth ());
    All this has been working great. We've got a nice fade with
    pan-and-zoom as well as a Tween zoom down to nothing transition
    working.The fla just has a single FLVPlayback component in the
    library. The rest of the code lives in action script files and
    classes.
    The trouble starts by adding any UIComponent to the library
    (you don't even have to use it yet, just add it to the library) and
    all of a sudden rendering the FLVPlayback control breaks. The call
    to removeMovieClip() to clean up the movieclip that's not showing
    doesn't work. Setting either of the clips _visible property to
    false doesn't work. If you're not using the FLVPlayback control,
    then iterating from image to image still works. When a video loads
    and the MovieClip hosts a FLVPlayback control, it plays (audio) but
    the videodisplay nor the skin renders. The previous image which has
    been told to disappear doesn't.
    Any clues on how to debug this? It makes no sense to me that
    the simple act of adding a UIComponent (button or anything else) to
    the library would cause a problem to something that was working
    perfectly. Delete the added component out of the library the code
    starts working again. This is a problem as we're at the stage where
    we need to add some skinned buttons.
    I can't post the project we have as it's huge. My next steps
    will be to try to build up a tiny repro case that demos the problem
    I guess. I'm hoping someone with a deep understanding of components
    and FLVPlayback will have a clue. I've already tried the drop dead
    simple repro of ploping an FLVPlayback and a button onto the stage
    and just setting FLVPlayback.contentPath via the Flash 8 IDE. That
    works. There's some hocus pocus going on with dynamically
    instantiating the FLVPlayback with two MovieClips and an image
    loaded into one with video in the other.
    If this rings a bell with anyone or you can see something
    obvious I'd love to know about. I'm quite stumped at the moment of
    how to go about debugging the issue.
    thanks,
    Mark

    additional code
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>SRM DWT</title>
    <!-- TemplateEndEditable -->
    <link href="../SRM.css" rel="stylesheet" type="text/css" />
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script type="text/javascript" src="../SpryAssets/SpryMenuBar.js"></script>
    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <style type="text/css">

  • FlvPlayback 2.1.9.23 Chrome layering bug?

    I get a strange layering problem, only in Chrome & Safari for PC.
    Basically, I'm layering a custom video player(swf) on top of the flvPlayback component (for advertising).
    In Chrome, the video/swf I'm trying to layer on top of flvPlayback always appears underneath the flvPlayback component, even though its childindex is 0 at runtime, and the swf that gets layered on top externally is set to be above in code.
    This happens with more than one type of adUnit I use. One is a swf, and the other is an html div that has a video player. In both cases, using flvPlayback has a layering bug.
    Anybody have similar issue, and/or suggestion how to remedy?
    You can see the issue here using chrome: http://panachetech.com/catalog/index.html#/premium_sponsorship/?id=16  NOTE: you might need to click the 'Lightbox Ad' thumbnail to kickstart that experience.
    Another one that is not using lightbox but has a similar problem with a swf is: http://panachetech.com/catalog/index.html#/instant_roi/?id=2
    Thanks!!
    MK

    I have a partial solution. On the Wireless/Mac filtering page, the default setup is :
    MAC Filtering
    Filter
    Allow only stations in list
    Block all stations in list
    Stations List
    MAC Address
    Click “Apply“ to save the new settings.
    Apply
    And surprise, altough this seams to be only for the Local list, the setup "Block all stations in list" will apply also for radius MAC checks !!!!
    So setting this field to "Allow only stations in list" and then rebooting the AP have partially solve the problem :
    A station MAC is checked with the radius server once, and then the station is blocked if the check was unsuccessfull and unblocked if the check was successfull.
    But their is still a problem : after the initial radius check, the station is NEVER rechecked with the radius server, so the station is BLOCKED and is never ublocked, even if you add it to the radius server at a later time. The only solution I have found is to reboot the AP.
    This is a very serious problem because generally stations are seen by the various AP before their MAC is entered into the radius server. And having to reboot all the AP of a site in order to get one station to be recognized is not an option !!!

  • Android Back Button when FLVPlayback component in full screen

    I'm launching an FLVPlayback component in to full screen by setting fullScreenTakeOver = true and setting StageDisplayState to FULL_SCREEN in an air for android app. This works fine. The video plays in full screen
    But when I press the device Back button, it quits out of the app.
    Everywhere else in the app I can catch the key_down event and do preventDefault(), stopImmediatePropogation(), but the event doesn't seem to fire when FLVPlayback is in full screen.
    I've tried adding the Key_Down event listener to NativeApplication.nativeApplication, to stage and to the FLVPlayback component itself. None of these seem to work.
    I do, however, get the correct behaviour when I test the app in Flash IDEs simulator
    Thanks
    Ben
    EDIT:
    Also worth noting. Using latest Flash CC and AIR 17 testing on an S4

    www.giancarlogenise.com
    the video is in the promo section.
    if you navigate the site without pressing the Full screen button, everything is fine.
    If you click the full screen , strange behaviours every time
    I bought this template, but I have to add the video section by myself.

  • Cannot have multiple flvplayback instances using fullscreen

    Hello,
    I am using AS3 with CS5. I created a flash project which contains multiple instances of flvplayback. Each plvplayback plays a separate video and each has its own controls. It all works fine when playing, pausing and controlling the videos. The problem is with the fullscreen functions. If I click the fullscreen button on the first flvplayback, it makes the second video go full screen. If I click the second video fullscreen button, it opens fine into its own video except when I do it three to four times. After three to four times of toggling fullscreen on the second video, it opens the first video into the browser larger than its original size but not full screen. I have tried recreating the flvplayback instances by re-importing the video files. Each flvplayback has been given its own instance name. Even when I create a separate custom button, not part of flvplayback, and give it the command to launch fullscreen on the first video, it still opens the second video to fullscreen. When I use just one video and remove the other ones, toggling fullscreen works fine for that particular video.
    I don't understand what it is going on. This is a very strange problem. Maybe I'm missing something basic so if someone can please help me on this I would greatly appreciate it.
    Thanks,
    Kris

    Using fullScreenTakeOver=false prevents only the case that flvplayback become fullscreen by  stage.displayState='fullScreen' .  
    I'm also seeking for a solution for this bug, unfortunately no luck so far.

  • Help with getting values from request. Very Strange!!

    Hello,
    My very strange problem is the following.
    I have created three dynamic list boxes. When the user select
    the first list box, the second becomes populated with stuff
    from a database. The third becomes populated when the second
    is selected. Now, I have used hidden values in order for
    me to get the selected value from the first listbox. The
    following code is my first listbox:
    <SELECT NAME="resources" onChange="document.hiddenform.hiddenObject.value = this.option [this.selectedIndex].value; document.hiddenform.submit();">
    <OPTION VALUE =""> Resource</OPTION>
    <OPTION VALUE ="soil"> Soil </OPTION>
    <OPTION VALUE ="water"> Water </OPTION>
    <OPTION VALUE ="air"> Air </OPTION>
    <OPTION VALUE ="plants"> Plants </OPTION>
    <OPTION VALUE ="animals"> Animals </OPTION>
    </SELECT>
    I use the getRequest method to get the value of hiddenObject.
    At this time I am able to get the value of hiddenObject to populate
    the second list box.
    But, when the user selects an item from the second list box
    and the second form is also submitted,
    I lose the value of hiddenObject. Why is this??
    The code to populate my second listbox is the following:
    <SELECT NAME ="res_categories" onChange="document.hiddenform2.hiddenObject2.value = this.options[this.selectedIndex].value; document.hiddenform2.submit(); ">
    <OPTION VALUE ="" SELECTED> Category</OPTION>
    Here I access a result set to populate the list box.
    Please help!!

    Form parameters are request-scoped, hence the request.getParameter("hiddenObject"); call after the submission of the second form returns a null value because the hiddenObject parameter does not exist within the second request.
    A solution would be to add a hiddenObject field to your second form and alter the onChange event for res_categories to read
    document.hiddenform2.hiddenObject.value=document.1stvisibleformname.resources.option[document.1stvisibleformname.resources.selectedIndex].value;
    document.hiddenform2.hiddenObject2.value = this.options[this.selectedIndex].value;
    document.hiddenform2.submit();You will then come across a similar problem with your third drop-down if indeed you need to resubmit the form...
    A far better approach would be to create a session scoped bean, and a servlet to handle these requests. Then when the servlet is called, it would set the value of the bean property, thus making it available for this request, and all subsequent requests within the current session. This approach would eliminate the need for the clunky javascript, making your application far more stable.

  • How can I buy films in languages other than German in Germany? Quite disappointed, i would line to watch films in Original language and not dubbed in strange ways...

    How can I buy films in languages other than German in Germany? Quite disappointed, i would like
    to watch films in Original language and not dubbed in strange ways...

    You are at the mercy of the content owners/copyright holders. They decide what the Apple can sell in each iTS.
    MJ

  • I am facing a strange problem on new iphone 5 that I bought last week. The maps app and the places in photo gallery shows the pin and my location, however there is no information of locations. Tried to close the apps, phone restart, reset etc. Please help

    I am facing a strange problem on new iphone 5 that I bought last week. The maps app and the places in photo gallery shows the pin and my location, however there is no information of locations. Tried to close the apps, phone restart, reset etc. I am accessing it via strong wireless connection and it works fine on other devices. Please help.

    zapgrap wrote:
    there is no information of locations.
    Then no information exists.  Use the Report a Problem button within the app to report it.

  • Strange discrepancy in report painter

    Hi everyone,
    I've designed a report painter with all the respective columns & formulas intact but at the Grand Total col (summation of all the sub-totals), the figure doesn't tally with all the sub-totals. All sub-totals have been added correctly but when they are added up to the Grand Total, the fig doesn't tie.
    Any clues? Have I missed out something?

    Hi Andrew,
    I've checked the sub-totals and apparently, when i double click on a sub-total to drill down to line item lvl, the fig doesn't seem to tie in with what I see in the report painter report. It's real strange that the correct fig appears upon drilling down to line item level but at a higher level, the fig isn't right. It's short of a fig which is in relation to another column.
    I've double checked the formula at the sub-total col and all the cols in the formula are present. This is the bizarre thing which I've been trying to resolve for the past few days.
    Best Regards,
    Ethan

  • Capturing DVCAM in FCP 6.0.2 and encountering strange capture behavior

    I have FCP 6.0.2 and OSX 10.5.2 and QT 7.3.1. I have been capturing several DVCAM cassettes using my Sony DSR-20 deck. Although I have done this countless times before in earlier versions of FCP, I am encountering some strange repetitive behavior. I am capturing 30 minute clips one at a time. When I use batch capture it will cue the tape up properly to the in point...and then start capturing until it gets to about 10-12 minutes in, and then capture unexpectedly stops, no dialogue box, the tape rewinds and starts capturing again from the original in point. On this second capture, the tape sails past the 10 minute mark and keeps going to the end of the 30 minute clip. It then stops, gives me the dialogue box that it has successfully captured. And it has.
    But every DVCAM tape I captured today exhibited the same behavior. Capture would be successful until about about 10 minutes in, then FCP aborts (no dropped frame message, no dialogue box) rewinds the tape back to the in point, tries again, and this time succeeds with the second pass capturing the entire clip. Note at the 10 minute mark there is no scene change or no camera start/stop.
    Have other users experienced this issue? And if so, is there a workaround or a possible patch forthcoming from FCP?
    Many thanks,
    John

    Yes, each tape has an in and out point defined. In my 6 years of editing with Final Cut and DVCAM tapes I've never encountered this issue before in the capturing process until now. I will have to see in future weeks with other captures whether this is an on-going issue or not, but at least I can capture for now.

  • Strange green lines with ATI 4850 iMac in Aperture, then crash.

    Well, I have been running my iMac, 3GHZ, ATI 4850 for about a week now. I have had 2 lockups in OSX, 1 in boot camp and 1 graphics crash.
    In OSX, all the crashes/lock-ups happen after I get these strange green lines, artifacts, that run across part of my screen. They change in length but generally always run horizontal. I can seem to find a way to post pictures here, but I have a couple screen grabs here:
    http://atothe420k.blogspot.com/
    Since I have to power off in the middle of Aperture, I am also getting corrupt databases, which take forever to rebuild.

    Well, I called into Apple Care, after my machine crashed again twice today, once in a web browser and once under EveOnline. The person said to download and use some fan control software. It installed, but didn't do much, couldn't get it to change fan speed or anything else.
    I installed iStatPro, which is great, and kept checking the temp of the ATI card, it would crash when the temp was up around 65-70 degrees C. Not sure if that is high or not.

  • Strange keyboard behavior after OS 4.2.1 upgrade

    When typing (at least, so far, in Safari) the keyboard will randomly (or so it seems) retract after typing a letter, instead of that letter being registered in the text box. It's necessary to re-locate the insertion point back in the text box to bring the keyboard back. And when I do, then the caps lock is on even though it wasn't before. This happens every few characters, but unpredictably.

    I'm getting this too. Been looking all over the Internet to find other people with the same problem.
    Its very annoying, and I'm not touching any other part of the screen - it does exactly what the OP describes, and it seems to do it all the time, when I'm typing. Only noticed it in safari because that is all I type in, and strangely enough it is not happening as I type this, and when it does happen i make sure the webpages are fully loaded. Very strange and very frustrating
    I'm also finding that rss feeds aren't updating, but thats a different problem.

Maybe you are looking for

  • ABAP for Webdynpro Portal Navigation dosn't  work

    I have a Problem. I work with ABAP for Webdynpro. I tried Navigation with absolute, relative and object based. With the java test tools in my Portal it works fine, but with Abap Component not. My Portal Version is 6.0.11.0.0 the J2EE Engine 6.40 Patc

  • Problem in SDN login and Account change

    HI, my SDN MM  Login is kailasugale at gmail.com I have password in caps and numeric,when I login in my account with my password i observed my account get change initial it was kailasugale  now its showing kailas shivaji ugale one important thing eve

  • IBook G4 Freezing up after 5-10 Min Of use

    i have a iBook G4 that started freezing up after 5-10 min of use. I took it in to the Apple Store and tech told me that it was the Hardrive.I replaced it and still encounter the same problem. It seems that when if freezes up if i tried restarting it

  • Is there an antivirus for Mac?

    I need to know if there's an antivirus for Mac

  • AME & CUDA ACCELERATION

    HI, it's appears AME can't use cuda acceleration when we export video. I mean you need to export from premiere directly without a way to add severals queued files in AME... "what is power without control ?" Is there a SDK possibility to resolve this