OSMF 1.5 RTE

I'm trying to upgrade my AS3 only application from OSMF 1.0 -> 1.5 but I'm getting the following RTE:
VerifyError: Error #1053: Illegal override of defaultFactory in mx.styles.CSSMergedStyleDeclaration.
I've taken a look at my settings and it seems to be right but theres a good chance I'm missing something...Theres also a chance that its something unrelated to OSMF but I figured I'd post here in case it wasn't...I have:
-define CONFIG::LOGGING true
-define CONFIG::FLASH_10_1 true
Building against the 4.1.0 SDK.
Building for the 10.1.0 Flash Player
I also had to set the "static-link-runtime-shared-libraries" property to "true" in my flex-config file to remove the following warning:
This compilation unit did not have a factoryClass specified
Cheers,
Kris

I would recomend starting with a clean version of your project and importing OSMF project again.  Please, check if you still have the problem.

Similar Messages

  • [svn:osmf:] 17499: Partial fix for FM-990: prevent RTE when attempting smoothing for an image where a policy file was not available

    Revision: 17499
    Revision: 17499
    Author:   [email protected]
    Date:     2010-08-27 11:05:22 -0700 (Fri, 27 Aug 2010)
    Log Message:
    Partial fix for FM-990: prevent RTE when attempting smoothing for an image where a policy file was not available
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-990
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/ImageElement.as

    Revision: 17499
    Revision: 17499
    Author:   [email protected]
    Date:     2010-08-27 11:05:22 -0700 (Fri, 27 Aug 2010)
    Log Message:
    Partial fix for FM-990: prevent RTE when attempting smoothing for an image where a policy file was not available
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-990
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/ImageElement.as

  • [svn:fx-trunk] 12399: Flex changes for adding in a resource bundle so that the OSMF RTE messages will be localized for Flex .

    Revision: 12399
    Revision: 12399
    Author:   [email protected]
    Date:     2009-12-02 16:22:43 -0800 (Wed, 02 Dec 2009)
    Log Message:
    Flex changes for adding in a resource bundle so that the OSMF RTE messages will be localized for Flex.
    QE notes: -
    Doc notes: -
    Bugs: -
    Reviewer: Gordon
    Tests run: checkintests
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/build.xml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoDisplay.as
    Added Paths:
        flex/sdk/trunk/frameworks/projects/spark/bundles/da_DK/osmf.properties
        flex/sdk/trunk/frameworks/projects/spark/bundles/de_DE/osmf.properties
        flex/sdk/trunk/frameworks/projects/spark/bundles/en_US/osmf.properties
        flex/sdk/trunk/frameworks/projects/spark/bundles/es_ES/osmf.properties
        flex/sdk/trunk/frameworks/projects/spark/bundles/fi_FI/osmf.properties
        flex/sdk/trunk/frameworks/projects/spark/bundles/fr_FR/osmf.properties
        flex/sdk/trunk/frameworks/projects/spark/bundles/it_IT/osmf.properties
        flex/sdk/trunk/frameworks/projects/spark/bundles/ja_JP/osmf.properties
        flex/sdk/trunk/frameworks/projects/spark/bundles/ko_KR/osmf.properties
        flex/sdk/trunk/frameworks/projects/spark/bundles/nb_NO/osmf.properties
        flex/sdk/trunk/frameworks/projects/spark/bundles/nl_NL/osmf.properties
        flex/sdk/trunk/frameworks/projects/spark/bundles/pt_BR/osmf.properties
        flex/sdk/trunk/frameworks/projects/spark/bundles/ru_RU/osmf.properties
        flex/sdk/trunk/frameworks/projects/spark/bundles/sv_SE/osmf.properties
        flex/sdk/trunk/frameworks/projects/spark/bundles/zh_CN/osmf.properties
        flex/sdk/trunk/frameworks/projects/spark/bundles/zh_TW/osmf.properties

    Thats good news.

  • [svn:osmf:] 14812: Fix bug where setting a resource a second time on a VideoElement caused an RTE due to the loadStateChange event listener being unregistered too soon .

    Revision: 14812
    Revision: 14812
    Author:   [email protected]
    Date:     2010-03-17 09:02:11 -0700 (Wed, 17 Mar 2010)
    Log Message:
    Fix bug where setting a resource a second time on a VideoElement caused an RTE due to the loadStateChange event listener being unregistered too soon.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/media/LoadableElementBase.as

    Revision: 14812
    Revision: 14812
    Author:   [email protected]
    Date:     2010-03-17 09:02:11 -0700 (Wed, 17 Mar 2010)
    Log Message:
    Fix bug where setting a resource a second time on a VideoElement caused an RTE due to the loadStateChange event listener being unregistered too soon.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/media/LoadableElementBase.as

  • [svn:osmf:] 16167: Fix FM-863: RTE when scrubbing to the end of the child of a SerialElement when that SerialElement has a ParallelElement within it .

    Revision: 16167
    Revision: 16167
    Author:   [email protected]
    Date:     2010-05-17 16:47:05 -0700 (Mon, 17 May 2010)
    Log Message:
    Fix FM-863: RTE when scrubbing to the end of the child of a SerialElement when that SerialElement has a ParallelElement within it.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-863
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/compositeClasses/CompositeTimeTrait.as

    When I see code errors, I stop trying to trouble shoot  because code errors account for 98% of browser rendering problems.  When you clear up your orphaned tags: mismatched <p></p> and <li></li> tags, then I'll take a closer look.
    PS. Being able to work with code is essential to using DW and 3rd party plugins.  Without basic coding skills, you're going to be lost most of the time.
    HTML & CSS Tutorials -
    http://www.html.net/
    http://w3schools.com/
    Nancy O.

  • [svn:osmf:] 14754: Fix bug FM-555: RTE when SerialElement child has a load error.

    Revision: 14754
    Revision: 14754
    Author:   [email protected]
    Date:     2010-03-15 09:25:26 -0700 (Mon, 15 Mar 2010)
    Log Message:
    Fix bug FM-555: RTE when SerialElement child has a load error.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-555
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/compositeClasses/TraitLoader.as
        osmf/trunk/framework/OSMFTest/org/osmf/elements/compositeClasses/TestTraitLoader.as

    (Removed)

  • [svn:osmf:] 13010: Temporarily disable RTE caused by missing composite traits.

    Revision: 13010
    Revision: 13010
    Author:   [email protected]
    Date:     2009-12-16 14:19:04 -0800 (Wed, 16 Dec 2009)
    Log Message:
    Temporarily disable RTE caused by missing composite traits.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/composition/CompositeMediaTraitFactory.as

  • [svn:osmf:] 9987: Fix a bug where a NaN duration in a SerialElement would overwrite the previous duration .

    Revision: 9987
    Author:   [email protected]
    Date:     2009-09-03 10:06:58 -0700 (Thu, 03 Sep 2009)
    Log Message:
    Fix a bug where a NaN duration in a SerialElement would overwrite the previous duration.  Fixing this exposed another bug in which a composite seekable trait would generate an RTE if all children had a duration of NaN, also fixed in this changelist.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/composition/CompositeTemporalTrai t.as
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/composition/SerialSeekableTrait.a s
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/composition/TestSerialEle ment.as

    Revision: 9987
    Author:   [email protected]
    Date:     2009-09-03 10:06:58 -0700 (Thu, 03 Sep 2009)
    Log Message:
    Fix a bug where a NaN duration in a SerialElement would overwrite the previous duration.  Fixing this exposed another bug in which a composite seekable trait would generate an RTE if all children had a duration of NaN, also fixed in this changelist.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/composition/CompositeTemporalTrai t.as
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/composition/SerialSeekableTrait.a s
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/composition/TestSerialEle ment.as

  • [svn:osmf:] 13985: Phase 2 of the MBR refactoring.

    Revision: 13985
    Revision: 13985
    Author:   [email protected]
    Date:     2010-02-04 22:29:47 -0800 (Thu, 04 Feb 2010)
    Log Message:
    Phase 2 of the MBR refactoring.  Implement play2 on HTTPNetStream.  Necessitated modifying the index handler to expose the stream names via a notify event (though this approach may change).  Isolate HTTP setup code to HTTPStreamingNetLoader.  Refactor NetStreamPlayTrait to be completely agnostic to NetStream type.  Merge NetStreamDynamicStreamTrait and HTTPStreamingNetStreamDynamicStreamTrait.  Introduce temporary loaded context for F4MElement to avoid RTEs.
    The end result is that RTMP and HTTP stream switching now use the NetStreamSwitchingManager, rather than RTMP using the former and HTTP using internal switching logic.  Still need to determine whether to remove HTTPNetStream's switching logic, or keep there for other use cases.  Note that we still need to extract HTTPNetStream's switching logic into one or more switching rules (that's phase 3, still to come).  Doing so might involve modifying the MetricsProvider to take into account any variations in metrics between RTMP and HTTP.
    Modified Paths:
        osmf/trunk/framework/OSMF/.flexLibProperties
        osmf/trunk/framework/OSMF/org/osmf/events/HTTPStreamingIndexHandlerEvent.as
        osmf/trunk/framework/OSMF/org/osmf/manifest/F4MLoader.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamPlayTrait.as
        osmf/trunk/framework/OSMF/org/osmf/net/dynamicstreaming/NetStreamDynamicStreamTrait.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPNetStream.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPStreamingNetLoader.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPStreamingUtils.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FIndexHandler.as
        osmf/trunk/framework/OSMF/org/osmf/video/VideoElement.as
    Added Paths:
        osmf/trunk/framework/OSMF/org/osmf/manifest/F4MLoadedContext.as
    Removed Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPStreamingNetStreamDynamicStreamT rait.as

    Many thanks for the fast reply.
    I've got a follow up question.
    What will happen if I modify the reconnect Code in the OSMF Netloader Class as recommended and then load multiple third party OSMF plugins,
    which may have included the origin OSMF version of the Netloader class.
    Which one will be used at runtime?
    Thanks in advance!

  • SharePoint 2013 RTE Custom Styles lost on Team Site Wiki Page after you select a control in the editor

    I have a weird issue in that I have custom RTE styles working fine in publishing pages, but in the team site wiki page, when you first go into edit mode you see your styles, but if you highlight some text, select say the font drop down to expand it and then
    select it again to contract it (i.e. without selecting a font), all of a sudden all of the custom styles are lost and everything reverts back to the default RTE styles.
    In my master page I am running the following script to force my styles to be loaded.
    ExecuteOrDelayUntilScriptLoaded(
    function() {
         $(
    "div[RteRedirect]").each(function()
    varid = $(this).attr("RteRedirect"),
             editSettings = $(
    "#"+ id);
    if(editSettings.length > 0 &&
    editSettings[0].PrefixStyleSheet != 'custom-rte')
                 editSettings[0][
    'PrefixStyleSheet'] =
    'custom-rte';
                 editSettings[0][
    'StyleSheet'] =
    '\u002f_layouts\u002f15\u002fFiveP\u002frteStyles.css';
                 RTE.Canvas.fixRegion(id,
    false);
    "sp.ribbon.js");
    See below screenshots (note Heading 2 is orange).
    After you collapse the font menu, you see that the orange H2 has disappeared, and selecting the font drop down again now shows all of the default SharePoint RTE styles.
    I haven't been able to capture the Event that is being called using the debugger. Any ideas how to fix this?
    Alan Coulter.

    Hi,
    For this issue, I'm trying to involve someone familiar with this topic to further look at it.
    Thanks,
    Qiao
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Qiao Wei
    TechNet Community Support

  • New to OSMF - have several questions (closed captions, tutorial, etc), please help!

    Hello,
    I came across OSMF this week and am extremely curious to learn more about this for my job and personal work/knowledge. If any of these questions could be answered I will be ever-so grateful!! Thank you.
    1) Anyone know of or have any information or tutorials or plug-ins on how to make OSMF videos work with closed captions for single or a multi-video player gallery for each video? (captions - this is very important for my job)
    2) Does anyone know of any good and easy to understand (I'm mid-level in AS3) tutorials and/or source files on how to build an OSMF player preferably in Flash?
    3) I know Flash Builder (Flex) some, but am better with Flash (CS4/5), but a lot of what I see is for Flex... what is preferred for OSMF - Flex or Flash or it doesn't matter?
    4) I searched Amazon.com, but couldn't find - are there any books for OSMF?
    Sorry I posed this in Developers also, but unsure which is appropriate for my questions. Thank you, again.

    Hi, Duane!
    This may help with your questions re: captions..
    http://sourceforge.net/apps/mediawiki/osmf.adobe/index.php?title=Captions
    As for tutorials, we've got some links to ones created by members of the community here:
    http://sourceforge.net/apps/mediawiki/osmf.adobe/index.php?title=osmf.adobe:Community_Port al
    And, as far as OSMF books, there aren't any third-party ones of which I'm aware. You can download a PDF of Adobe's OSMF Dev Guide here (the PDF link is at the upper right):
    http://help.adobe.com/en_US/OSMF/1.0/Dev/index.html
    Or, you can view the very same content in topic-by-topic form at the wiki in the links above.
    Best of luck with your endeavors!
    donna

  • How to get inputted value in a RTE field on custom page and submit by REST call in 'Sharepoint hosted app'.

    Hi I am facing the three questions below.
    1. How to use default RTE in custom page in Sharepoint hosted app.
     I saw the article of Rich text Editor (ribbon based) in a webpart in SharePoint 2013 and tried it. But it did not work well. I guess it needs code-behind setting, however sharepoint hosted app does not support code-behind.
    Does anybody know how to do this?
    2. In above case, I placed the below code on custom page and tried to get the field's value when submit button was clicked.
    <SharePoint:InputFormTextBox ID="rftDefaultValue"
    RichText="true"
    RichTextMode="FullHtml" runat="server"
    TextMode="MultiLine" Rows="5">
    </SharePoint:InputFormTextBox>
    In debugger, the returned value was 'undefined'.
    var note = $('#hogehoge').val();
    Is it possible to get the RTE value? If yes, please let me know how to do this.
    3. I need to submit the RTE value using REST call.
    In this
    article in MSDN, the item creation sample treats single line text field. Does anybody know the sample for RTE?

    Hi,
    According to your description, you might want to use Rich Text Editor control in your SharePoint hosted app.
    First of all, I would suggest you post one question in one thread to make it easier to be discussed, which would also help you get a quick solution.
    Though we can add this control into a SharePoint hosted app, however, as we can’t add code behind for it, plus with the potential compatibility issues in different
    browsers, I would suggest you use other JavaScript Rich Text Editor plugins instead.
    Two JavaScript Rich Text Editor plugins for your reference:
    http://quilljs.com/
    http://nicedit.com/
    If you want to submit the value of Rich Text Editor control to a SharePoint list using REST call, since the content in the Multiple Line of Text column is wrapped
    with nested HTML tags, the similar requirement would also be applied to the content to be submitted.
    Here is a code snippet about how to update a Multiple Line of Text column for your reference:
    updateListItem(_spPageContextInfo.webAbsoluteUrl, "List018", 1);
    function updateListItem(siteUrl, listName, itemId)
    var itemType = GetItemTypeForListName(listName);
    var item = {
    "__metadata": { "type": itemType },
    "MultiTextEnhanced": "<div><a href='http://bing.com/'>Bing</a><br></p></div>",
    "Title": "123"
    $.ajax({
    url: siteUrl + "/_api/web/lists/getbytitle('" + listName + "')/items(" + itemId + ")",
    method: "GET",
    headers: { "Accept": "application/json; odata=verbose" },
    success: function (data) {
    console.log(data);
    $.ajax({
    url: data.d.__metadata.uri,
    type: "POST",
    contentType: "application/json;odata=verbose",
    data: JSON.stringify(item),
    headers: {
    "Accept": "application/json;odata=verbose",
    "X-RequestDigest": $("#__REQUESTDIGEST").val(),
    "X-HTTP-Method": "MERGE",
    "If-Match": data.d.__metadata.etag
    success: function (data) {
    console.log(data);
    error: function (data) {
    console.log(data);
    error: function (data) {
    console.log(data);
    // Getting the item type for the list
    function GetItemTypeForListName(name)
    return"SP.Data." + name.charAt(0).toUpperCase() + name.slice(1) + "ListItem";
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Patrick Liang
    TechNet Community Support

  • How can I get RTE information in operator interface (LV) from TS API?

    Hi!
    I have operator interface in Labview and use TS API to run tests.
    I would like to eliminate RTE dialog and to show error messages directly in front panel control.
    I have created callback for TS Application Manager BreakOnRTE event.
    It works good and I can lock dialog apearance.
    But if I try to get ErrorObject from event parameter (execution) is is empty (has no error information).
    But this parameter is real execution which contains step with RTE.
    When I allow the dialog appearance in this callback, it contains RTE information.
    Where can I get error information from this callback or get it any another way?
    Thanks in advance for any assistance.
    Solved!
    Go to Solution.

    I have found the way to get RTE from callback BreakOnRunTimeError of ApplicationMgr.
    This way is:
     Execution->GetThread[0]->GetSequenceContext[0]->GetRuntimeErrorMessageEx().
    It was not clear for me: all Error fields in step and Sequence are not filled yet on callback time.
    Only the context method can return error message.
    The question is closed.

  • Is there  any way to use osmf plugin with videodisplay component?

    Hello
    i use flex sdk hero (17689 build)
    i want to use OSMF plugin for the  captioning. i created object of media element with metadata for captioning plugin so  eventually i get object of CaptioningProxyElement type from mediaFactory ,  than i pass it to the source of videoDisplay> in source setter of videoDisplay setUpSource()  is called . in setUpSource  the type of source is checked and videoElement is created and assinged to videoPlayer( of type MediaPlayer) according  to the source type.The problem is that  my source is of type  CaptioningProxyElement (extended from MediaPlayer) so setUpSource ignores it , eventually not assining it to videoPlayer.  i can't extend VideoDispay and override source either , since videoPlayer is of type mx_internal , it's not accessible .
    thanks in advance.
    private function setUpSource():void
            // clean up any listeners from the old source, especially if we
            // are in the processing of loading that video file up
            cleanUpSource()
            // if was playing a previous video, let's remove it now
            if (videoPlayer.media && videoContainer.containsMediaElement(videoPlayer.media))
                videoContainer.removeMediaElement(videoPlayer.media);
            var videoElement:org.osmf.media.MediaElement = null;
            // check for 4 cases: streaming video, progressive download,
            // an IMediaResource, or a VideoElement. 
            // The latter 2 are undocumented but allowed for flexibility until we
            // can support OSMF better after they ship OSMF 1.0.  At that point, support
            // for a source as an IMediaResource or a VideoElement may be removed.
            if (source is DynamicStreamingVideoSource)
                // the streaming video case.
                // build up a DynamicStreamingResource to pass in to OSMF
                var streamingSource:DynamicStreamingVideoSource = source as DynamicStreamingVideoSource;
                var dsr:DynamicStreamingResource;
                // check for two cases for host: String and URL.
                // Technically, we only support URL, but we secretly allow
                // them to send in an OSMF URL or FMSURL here to help resolve any ambiguity
                // around serverName vs. streamName.
                if (streamingSource.host is String)
                    dsr = new DynamicStreamingResource(streamingSource.host as String,
                                                       streamingSource.streamType);
                else if (streamingSource.host is URL)
                    dsr = new DynamicStreamingResource(URL(streamingSource.host).host,
                                                       streamingSource.streamType);
                if (dsr)
                    var n:int = streamingSource.streamItems.length;
                    var item:DynamicStreamingVideoItem;
                    var dsi:DynamicStreamingItem;
                    var streamItems:Vector.<DynamicStreamingItem> = new Vector.<DynamicStreamingItem>(n);
                    for (var i:int = 0; i < n; i++)
                        item = streamingSource.streamItems[i];
                        dsi = new DynamicStreamingItem(item.streamName, item.bitrate);
                        streamItems[i] = dsi;
                    dsr.streamItems = streamItems;
                    dsr.initialIndex = streamingSource.initialIndex;
                    // add video type metadata so if the URL is ambiguous, OSMF will
                    // know what type of file we're trying to connect to
                    dsr.mediaType = MediaType.VIDEO;
                    videoElement = new org.osmf.elements.VideoElement(dsr, new RTMPDynamicStreamingNetLoader());
            else if (source is String)
                var urlResource:URLResource = new URLResource(source as String);
                videoElement = mediaFactory.createMediaElement(urlResource);
                // If the url could not be resolved to a media element then try
                // telling osmf the media is a video and try again.
                // We do not specify the media type as video the first time,
                // so we can have the chance to play audio.
                if (videoElement == null)
                    urlResource.mediaType = MediaType.VIDEO;
                    videoElement = mediaFactory.createMediaElement(urlResource);               
            else if (source is MediaResourceBase)
                videoElement = mediaFactory.createMediaElement(MediaResourceBase(source));
            else if (source is org.osmf.elements.VideoElement)
                videoElement = source as org.osmf.elements.VideoElement;
            // reset the visibilityPausedTheVideo flag
            playTheVideoOnVisible = true;
            // set up videoPlayer.autoPlay based on whether this.autoPlay is
            // set and whether we are visible and the other typical conditions.
            changePlayback(false, false);
            // if we're not going to autoPlay (or couldn't autoPlay because
            // we're hidden or for some other reason), but we need to seek
            // to the first frame, then we have to do this on our own
            // by using our load() method.
            if ((!autoPlay || !shouldBePlaying) && autoDisplayFirstFrame)
                load();
            // set videoPlayer's element to the newly constructed VideoElement
            // set the newly constructed videoElement's gateway to be the videoGateway
            videoPlayer.media = videoElement;
            if (videoElement)
                if (videoElement.getMetadata(LayoutMetadata.LAYOUT_NAMESPACE) == null)
                    var layout:LayoutMetadata = new LayoutMetadata();
                    layout.scaleMode = scaleMode;
                    layout.verticalAlign = VerticalAlign.MIDDLE;
                    layout.horizontalAlign = HorizontalAlign.CENTER;
                    layout.percentWidth = 100;
                    layout.percentHeight = 100;
                    videoElement.addMetadata(LayoutMetadata.LAYOUT_NAMESPACE, layout);
                if (videoElement && !videoContainer.containsMediaElement(videoElement) )
                    videoContainer.addMediaElement(videoElement);
            else
                // if our source is null, let's invalidateSize() here.
                // if it's a bad source, we'll get a playbackError and invalidate
                // the size down there.  If it's a good source, we'll get a
                // dimensionChange event and invalidate the size in there.
                invalidateSize();

    See my FAQ*:
    http://www.macmaps.com/macosxnative.html#SCANNER

  • How to load a ByteArray FLV in OSMF?

    I'm working on a local application ( it's not a website or nothing related ) and I have various FLVs with a very simple encryptation method (just like adding 10 at each byte).
    I can load/play them using NetStream.appendBytes() after my decrypt, but that happens only after I read all video data.
    What I really need is to stream those videos from a remote url, and decrypting while receiving data, using a OSMF player that I already have.
    This is my current code just to play my decoded FLV byte array
    private function playBytes(bytes:ByteArray):void
                // detecting it's header
                if (bytes.readUTFBytes(3) != "FLV")
                    _text.appendText("\nFile \""+ file +"\" is not a FLV")
                    return void;
                bytes.position = 0;
                netConnection.connect(null);
                netStream = new NetStream(netConnection);
                netStream.client = { onMetaData:function(obj:Object):void { } }
                video.attachNetStream(netStream);
                addChild(video);
                // put the NetStream class into Data Generation mode
                netStream.play(null);
                // before appending new bytes, reset the position to the beginning
                netStream.appendBytesAction(NetStreamAppendBytesAction.RESET_BEGIN);
                // append the FLV video bytes
                netStream.appendBytes(bytes);
    [I moved the discussion from OSMF, to here, due the lack of attention there]

    I looked at it a couple of month ago and, frankly, don't remember exact package that takes care of it. I don't have OSMF code on this machine - so I cannot look into it now.
    I doubt there are many resources on the web regarding this. This is a very specialized functionality and very few people attempted to do what OSMF does. We have figured out certain aspects but were not able to completely replicate it. Again, it is a very daunting task to search of byte offsets and match with file format specs.

Maybe you are looking for