Can you use multiple plugins on one piece of media?

can you use multiple plugins on one piece of media?
...so for example have one plugin for a UI control bar, another for tracking, and another for advertising?
If this is possible how? What types of plugin would each plugin be and what sort of media element would be required?
Or is this not the correct approach? If not what would the correct approach be?
Thanks in advance for support.

I have got this plugin to set it's proxiedElement.
To do so, I needed to follow David_RealEyes advice too.
But I still can not acheive what I set out to find out, all I was trying to do was trace the current time of the videoElement, to begin to understand how plugins work. Can anyone advise please? Thanks in advance for support.
I thought to acheive this I would just need to add  a listener for like this:
dispatcher.addEventListener(TimeEvent.CURRENT_TIME_CHANGE,  onTimeChange);
Then write the function like this:      
private function onTimeChange(e:TimeEvent):void
             trace('**********onTimeChange: '+ e.time)
...But this doesn't work.
What am I doing wrong?
Here's the class now for the TraceListenerProxyElement
package
    import org.osmf.elements.*;
    import org.osmf.events.*;
    import org.osmf.media.*;
    import org.osmf.metadata.*;
    import org.osmf.traits.*;
    public class TraceListenerProxyElement extends ProxyElement
        public function TraceListenerProxyElement(wrappedElement:MediaElement)
            trace('TraceListenerProxyElement')
            super(wrappedElement);
        // Overrides
        override public function set proxiedElement(value:MediaElement):void
            trace('override set proxy')
            trace('value: ' + value)
            if(value)
               super.proxiedElement = value;
               trace('proxied element set')
               enableListeners()
            super.proxiedElement = value;
            trace('proxied el: ' + proxiedElement)
        private function enableListeners():void
            trace('enableListeners')
            dispatcher = new TraitEventDispatcher();
            dispatcher.media = proxiedElement;
            dispatcher.addEventListener(AudioEvent.MUTED_CHANGE, processMutedChange);
            dispatcher.addEventListener(AudioEvent.PAN_CHANGE, processPanChange);
            dispatcher.addEventListener(AudioEvent.VOLUME_CHANGE, processVolumeChange);
            dispatcher.addEventListener(BufferEvent.BUFFER_TIME_CHANGE, processBufferTimeChange);
            dispatcher.addEventListener(BufferEvent.BUFFERING_CHANGE, processBufferingChange);
            dispatcher.addEventListener(DisplayObjectEvent.DISPLAY_OBJECT_CHANGE, processDisplayObjectChange);
            dispatcher.addEventListener(DisplayObjectEvent.MEDIA_SIZE_CHANGE, processMediaSizeChange);
            dispatcher.addEventListener(DRMEvent.DRM_STATE_CHANGE, processDRMStateChange);
            dispatcher.addEventListener(DynamicStreamEvent.AUTO_SWITCH_CHANGE, processAutoSwitchChange);
            dispatcher.addEventListener(DynamicStreamEvent.NUM_DYNAMIC_STREAMS_CHANGE, processNumDynamicStreamsChange);
            dispatcher.addEventListener(DynamicStreamEvent.SWITCHING_CHANGE, processSwitchingChange);
            dispatcher.addEventListener(LoadEvent.BYTES_TOTAL_CHANGE, processBytesTotalChange);
            dispatcher.addEventListener(LoadEvent.LOAD_STATE_CHANGE, processLoadStateChange); 
            dispatcher.addEventListener(PlayEvent.CAN_PAUSE_CHANGE, processCanPauseChange);
            dispatcher.addEventListener(PlayEvent.PLAY_STATE_CHANGE, processPlayStateChange);
            dispatcher.addEventListener(SeekEvent.SEEKING_CHANGE, processSeekingChange);
            dispatcher.addEventListener(TimeEvent.COMPLETE, processComplete);
            dispatcher.addEventListener(TimeEvent.DURATION_CHANGE, processDurationChange);
            dispatcher.addEventListener(TimeEvent.CURRENT_TIME_CHANGE, onTimeChange);
            proxiedElement.addEventListener(MediaElementEvent.TRAIT_ADD, processTraitAdd);
            proxiedElement.addEventListener(MediaElementEvent.TRAIT_REMOVE, processTraitRemove);
        private function onTimeChange(e:TimeEvent):void
            trace('**********onTimeChange: '+ e.time)
        private function processAutoSwitchChange(event:DynamicStreamEvent):void
            trace("autoSwitchChange", event.autoSwitch);
        private function processBufferingChange(event:BufferEvent):void
            trace("bufferingChange", event.buffering);
        private function processBufferTimeChange(event:BufferEvent):void
            trace("bufferTimeChange", event.bufferTime);
        private function processComplete(event:TimeEvent):void
            trace("complete");
        private function processCanPauseChange(event:PlayEvent):void
            trace("canPauseChange", event.canPause);
        private function processDisplayObjectChange(event:DisplayObjectEvent):void
            trace("displayObjectChange");
        private function processDurationChange(event:TimeEvent):void
            trace("durationChange", event.time);
        private function processLoadStateChange(event:LoadEvent):void
            trace("loadStateChange", event.loadState);
        private function processBytesTotalChange(event:LoadEvent):void
            trace("bytesTotalChange", event.bytes);
        private function processMediaSizeChange(event:DisplayObjectEvent):void
            trace("mediaSizeChange", event.newWidth, event.newHeight);
        private function processMutedChange(event:AudioEvent):void
            trace("mutedChange", event.muted);
        private function processNumDynamicStreamsChange(event:DynamicStreamEvent):void
            trace("numDynamicStreamsChange");
        private function processPanChange(event:AudioEvent):void
            trace("panChange", event.pan);
        private function processPlayStateChange(event:PlayEvent):void
            trace("playStateChange", event.playState);
        private function processSeekingChange(event:SeekEvent):void
            trace("seekingChange", event.seeking, event.time);
        private function processSwitchingChange(event:DynamicStreamEvent):void
            trace("switchingChange", event.switching);
        private function processVolumeChange(event:AudioEvent):void
            trace("volumeChange", event.volume);
        private function processDRMStateChange(event:DRMEvent):void
            trace("drmStateChange", event.drmState);
        private function processTraitAdd(event:MediaElementEvent):void
            trace("Trait Add: " + event.traitType);
        private function processTraitRemove(event:MediaElementEvent):void
            trace("Trait Remove: " + event.traitType);
        private var dispatcher:TraitEventDispatcher;

Similar Messages

  • Can you use multiple TOCs in one project at different times?

    I am new to RoboHelp and I have version 11. The premise is that I have inserted a map of the United States and I have placed and image map for each state to direct them to the individual state's topic I have created. But I want to customize each state's table of contents. Is that possible? If so how is it done? Any help is much appreciated.
    Thank you.

    Can we step back and clarify what you mean by customising each state's TOC?
    The image map takes the user to a topic for that state. If the project is set to keep the topics synchronised to their position in the TOC, the user will see what you have set up in that states chapter.
    What is it that you want to happen that is not provided by that?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Can you have multiple users for one account?

    Can you have multiple users for one account? if so how do you set it up.
    We are using it for our department and it would be great to see who created what form instead of it being all one name.

    Each person should have their own account. You can easily share the forms with other people in your department. You will be able to see who the author of the form is.
    More information on how to share :
    http://forums.adobe.com/docs/DOC-2462
    Information on how to copy a forms to a different account :
    http://forums.adobe.com/docs/DOC-1390
    Hope this helps
    Gen

  • Can we use multiple queries on one template

    Can we use multiple queries on one template

    Hi,
    if you're using data templates for your data set, you
    can put multiple queries in the XML data template.
    The queries may then be linked (or not) by the "link
    name" tag ...
    Grtz.Following you answer here...do you know eventually how/if possible to preview a report (with XMLP Desktop) that is using data templates for the data set?
    Thanks,
    Liviu

  • In iPhoto can you label multiple photos in one step or do you have to label them one by one?

    In iPhoto can you label multiple photos in one step or do you have to label them one by one?

    what are you calling a "label"  You can set the title for multiple photos by selecting them and using the batch change command
    LN

  • Can you use multiple email addresses on the owa app?

    Can you use multiple email addresses on the Microsoft OWA App?

    You can do it but there is a delay from the bluetooth speaker.  You'll need an iphone or ipad using the Apple app "Control", airplay setup, bluetooth speaker, and an Apple laptop or desktop. 
    I used my laptop to connect to my bluetooth speaker so that sound streams to my bluetooth device. Then, on my iphone I opened Control and connect the music to my airplay and my laptop at the same time.  The music goes to your airplay speaker, and then to my laptop which then blue tooths it to my speaker.  But, as I said the bluetooth takes an extra step to stream it and so the music is not in sync.  Its like a second and a half delay....

  • Can i use multiple ipods on one account

    How do i use multiple ipods on one account so that we can share the music that we own and has been downloaded from cd's

    Just import the CD music into the libraries used by the different devices. Yo can use Home Sharing
    Understanding Home Sharing
    Troubleshooting Home Sharing
    CD music is not locked to any account

  • Can you have multiple ipods under one itune accounts on one computer same log in

    i have nurmeous ipods and iphones and i have 4 different log ins on my computer for them can i have them all under one log in without resyncing and putting songs and pictures on each one???

    "How to use multiple iPods with one computer" http://docs.info.apple.com/article.html?artnum=300432

  • Can you use two ipads with one itune account

    We have two ipads and one Itunes account.  Are we able to have separate accounts within iTunes so my husband can have his games on his account and I can have mine?

    Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer

  • TS3297 Can I use multiple accounts on one device/ computer?

    I'm an American in Japan. I use the American iTunes/App store, but I also want to purchase things in the Japanese store for apps for my MacBook Pro. Can I use both stores? I have a gift card for the JP store, but no account yet. Will both be accepted on my Mac?
    I have dollars to my credit in the American store and a 10,000 yen gift card to the Japanese store.

    Unfortunately you can't do the logical and convenient thing of authorizing a computer with multiple Adobe IDs that are active simultaneously.
    You can authorize accounts from different vendors; one account per vendor.
    If you have multiple operating system users set up on the computer,  you can register different OS users as different Adobe Account users.

  • Can you have multiple users on one apple Id and utilize iCloud?

    My family shares an apple Id and we each have multiple Apple devices. When we use iCloud we "cross pollinate" each others devices with contacts, calendar events, etc.  is it possible to manage multiple users on one apple Id with iCloud activated or are separate ID's required?

    iCloud isn't designed as a multi-user service. Either you all have the same ID, and all your data is available to everyone, or you all have separate IDs and keep your data separate. You can share calendars, so that for example you could all have your own calendars but have one which is common to everyone:
    http://help.apple.com/icloud/#mm6b1a9479
    If you want to share contacts you will have to do it manually. If you want to do file transfer you will have to find a third-party alternative.

  • Can I use multiple IDs for one iTunes and multiple devices

    We have one family computer with iTunes, my older brother has an iPhone and I have an iPhone. A family ID was previously used to purchase songs for the family to share. My older brother has created an apple ID for his iPhone, and l have a yet unused apple ID. my brother downloaded songs etc onto the family iTunes that I would like to share, there are songs on the family apple ID that we would both like. Can you download purchases from multiple apple IDs into one iTunes  account, then sync that data onto multiple phones that each have a separate ID? Is iTunes linked to one ID? Can purchases from multiple IDs be grouped together in our family account. Also do I Actually need a separate Apple for my iPhone to prevent private messages and contacts being shared?
    Thanks for any advice

    I forgot to add my iPhone is brand new and unused, and also that the iTunes account has non purchased songs on there. Can these be shared. As it is a new computer the purchases from the family ID have not been downloaded yet

  • Can you display multiple photos on one page with slide tool to transition between them?

    Hi Folks,
    I have a series of photos taken from the exact same location but on different days. I would like to display them on one page but use a slide tool/bar to move or transition between the photos. If the slide bar can display the date of the photo then that would be great.
    Can this be done in adobe?
    Any help would be great.
    Thanks.

    A Steve mentioned you can use a button to display an image. If you use JavaScript, you wouldn't have to show/hide multiple buttons but could instead dynamically set the button icon programmatically. The setup for something like this is a bit involved, but it's not overly complicated. Post again if you'd like more details.
    The slide bar is the thing that would have to faked as there is no such built-in control, but something functionally equivalent could be done, it just may not behave as smoothly as you want.

  • Can i use multiple-Swfs in one page to implement the real multi-thread?

    When there are multiple .swfs  in one web page,  if there will be multiple instaces of flashPlayer and run in multiple thread ?-- Per Swf Per instance and Per thread, is it?

    hi,
       It will not work at all In web browser enviornment. If you considering to
    make a scheme in which u use two swfs one helper swf for background
    processing and another for Displaying Front End.Problem remains there if you
    manage to send data from your one swf to the other in same page using
    localConnection . When the processing starts in the helper swf whole page
    will going to be stucked for the period until the helper swf has done
    processing the data.So its no use at all. Altough this library can help you
    make time slice based threads http://code.google.com/p/async-threading/

  • Can you have multiple clickboxes on one page

    Sorry... a few complicated things are coming up. I am doing a
    large project with LOTS of interactivity, which involves simulating
    a customer filling in a form and then clicking a button to move on.
    So one one page I have both a Text Entry box, and sometimes also a
    click box.
    I made the Text Entry box action "none," and put the "go to
    next" on the click box action.
    Now my boss wants two more links added to each and every
    page... a TABLE OF CONTENTS button, and also a NEXT PAGE button.
    When I added these two additonal buttons, it seems to be confusing
    Captivate.
    This is understandable, as Captivate is probably thinking
    "what the heck do you want me to do first."
    What I need to know is (a) is it possible to have multiple
    Interaction buttons or clickboxes on the same page, each doing a
    different thing; and (b) if so... how???
    (Secretly I hope the answer is NO because it will simplify my
    life tremendously).
    Thank you, QuizQueen

    Hi again QuizQueen
    Of course you may have multiple Buttons or Click Boxes on a
    single slide and have each do something different when the user
    clicks. It's all in how you configure the Buttons or Click Boxes.
    Personally I think it's easier if you use Click Boxes as I
    believe them to be more flexible.
    Often what is missed is a specific setting. When you look at
    the Options tab of the Click Box properties, you should see a
    button with a down arrow. This button is located to the immediate
    right of where you would type a URL. Click that button and you
    should see an option to open the destination in a new window. But
    click again and you see another option that is easily missed. This
    would be the option to "Continue playing project". That one is
    easily missed because it was in a disabled state (grayed out)
    initially. So if you DE-select this option, the Click Box or Button
    will carry out its assigned action without releasing the pause on
    the slide.
    Hopefully that helps you better understand it.
    Cheers... Rick

Maybe you are looking for

  • Unbounded task flow with pageflowscope

    Hi, In my application, I have create unbounded task flow for each menu. For each menu task flow I have created a pageFlowscope bean. When I try to use this bean in any request scoped bean called from within the UTF, I get the pageFlowSCoped bean inst

  • "Resurrecting" trusty G4

    Hi all, I'm hoping you smart folks out there can give me some advice. I've decided to resurrect my old G4, which has been patiently waiting in its box for a new task since I got the G5 a couple years ago. It occurred to me that I can hook it up to my

  • Error in url for running forms

    Whenever I try to run a form on the web from Form Builder 9i (Patch 3), it generates a URL like http://%%20"http://strexler-us.us.oracle.com:8888/forms90/...&RENDER=YES" including the embedded " marks, etc. The page cannot be accessed unless I delete

  • Firefox crashed and when opened, it opened with just the first 25 tabs only. Also, I sessionrestore.js does not exist. Just sessionstore bak files.

    Hello, when it crashed, I did not get the normal window to select tabs to restore. It just opened the first 25 or so tabs. I looked in other forums about the sessionrestore.js file and searched for it but it doesn't seem to exist. I did this: copy an

  • What´s the font used to compose the Illustrator screens?

    Hi An user asked me outside the forum but I was not able to answer...this question now is more for curiosity than asking him. What´s the font family used in the Adobe Products (Illustrator spec...)...I mean what´s the font family used to compose the