There's any example of using the gateway plugin functionality?

Hello again!!! xD
There's any example of using the gateway plugin functionality?

To put your custom media element loaded from a plugin on the stage, you can use a MediaContainer object:
var adContainer:MediaContainer;
adContainer.width = 468;
adContainer.height = 60;
adContainer.addMediaElement(adElement);
addChild(adContainer); // assuming we're on a Sprite.
The video element can be in its own container:
var videoContainer:MediaContainer;
videoContainer.width = 468;
videoContainer.height = 60;
videoContainer.addMediaElement(videoElement);
addChild(videoContainer);
Regardless of wheter or not the adElement and videoElement are in a parallel element together, each indiviual view will appear in the assigned container.
Does that anwer your question?
Cheers,
Edwin

Similar Messages

  • I would like to know if there are any classes in using the iphone in the South Bay area (around Torrance) of Los Angeles County?

    I would like to know if there are any classes in using the iphone in the South Bay area (around Torrance) of Los Angeles County?

    Apple stores have classes, look online for the Apple store closest to you & their schedules. Here's Apple's free iPhone app to do so right on your phone:
    http://itunes.apple.com/us/app/apple-store/id375380948?mt=8

  • Is there a C# example of using the ExpressionEdit Control Custom Button Event Handler

    TestStand 4.1
    C# 2008
    I have added the event handler to the ExpressionEdit events as I would any event handler:
    exprEdit.ButtonClick += new NationalInstruments.TestStand.Interop.UI.Ax._ExpressionEditEvents_ButtonClickEventHandler(_ExpressionEditEvents_ButtonClickEvent);
    Next, I create the Event Handler using the syntax
    public void _ExpressionEditEvents_ButtonClickEvent(NationalInstruments.TestStand.Interop.UI.ExpressionEditButton btn)
    I get the following error when I try to build:
    Error 1 No overload for '_ExpressionEditEvents_ButtonClickEvent' matches delegate 'NationalInstruments.TestStand.Interop.UI.Ax._ExpressionEditEvents_ButtonClickEventHandler' 
    I assume this means that I don't have the correct parameters or types in my Event Handler declaration but it matches the Object Browser.  Any ideas on what I am missing?
    Solved!
    Go to Solution.

    Try removing the "Ax." from your namespace qualifier as I marked below.  I think you want the one in just the UI namespace.
    Edit: well not necessarily.  Is your exprEdit variable declared as "NationalInstruments.TestStand.Interop.UI.Ax.AxExpressionEdit" or as "NationalInstruments.TestStand.Interop.UI.ExpressionEdit"?
    If it is an AxExpressionEdit then I think you will want your event handler to look like this:
    void exprEdit_ButtonClick(object sender, NationalInstruments.TestStand.Interop.UI.Ax._ExpressionEditEvents_ButtonClickEvent e)
     -Jeff
    skribling wrote:
    TestStand 4.1
    C# 2008
    I have added the event handler to the ExpressionEdit events as I would any event handler:
    exprEdit.ButtonClick += new NationalInstruments.TestStand.Interop.UI.Ax._ExpressionEditEvents_ButtonClickEventHandler(_ExpressionEditEvents_ButtonClickEvent);
    Next, I create the Event Handler using the syntax
    public void _ExpressionEditEvents_ButtonClickEvent(NationalInstruments.TestStand.Interop.UI.ExpressionEditButton btn)
    I get the following error when I try to build:
    Error 1 No overload for '_ExpressionEditEvents_ButtonClickEvent' matches delegate 'NationalInstruments.TestStand.Interop.UI.Ax._ExpressionEditEvents_ButtonClickEventHandler' 
    I assume this means that I don't have the correct parameters or types in my Event Handler declaration but it matches the Object Browser.  Any ideas on what I am missing?
    Message Edited by Jeff.A. on 06-11-2010 03:25 PM
    Message Edited by Jeff.A. on 06-11-2010 03:28 PM

  • Is there a way I can use the iPhoto maps function within Keynote?

    Hi,
    I recently brought a Macbook Pro, and am having my first go at using Keynote. Having previously played with iPhoto, there is the map function built in, and I was wondering whether there is a way to use this in Keynote?
    I was hoping to avoid using a screenshot of google maps as its not interactive, and plus quite bland too.
    Any way this can be done?
    Thanks,

    Keynote can not interact with other applications other than launch a web browser, it cant display web content within a Keynote presentation.
    The only way Keynote can be used to display a "live" web content is to launch a browser at a specific webpage, Google Maps for example,
    To try this place a shape on the slide, select it then:
    Inspector > Hyperlink > Enable as Hyperlink > link to webpage;  type in the web address in the URL box

  • Using the random song function

    Ive been using my iPod touch for a couple of days now but one thing's been bugging me since I got it:
    I choose random title, every time I hit next it gives me a random title (perfect) but once you go into coverflow, choose a song yourself and hit next (or the song is over) it stays within the album. I dont want that. Is there any way to change this behaviour?

    Hi Afreen,
    Thanks for your answer.
    I've had a look at the example.
    I am very new to this kind of stuff so please bear with me.
    I can't quite figure out what other function apart from DAQ_Rate I should be using.
    I have read the first link but in the online help it states the following
    Range: -3: 20 MHz clock used as the timebase (50 ns) (E Series only).
    1: 1 µs.
    2: 100 kHz clock used as the timebase (200 ns) (E Series only).
    2: 10 µs.
    3: 100 µs.
    4: 1 ms.
    5: 10 ms.
    Whereas the link states "Currently, it says that -3 and -1 are valid codes for the timebase parameter" which seems to conflict with what the online help says??
    Also in the example it uses the high-level function WFM_Op which (from reading the document title NI-DAQ for PC
    Version 6.9.1 User Manual) to output a waveform. But I am using DAQ_Rate to input a signal (not output).
    For waveform generation I am using WFM_Rate.
    In my code what can I substitue the call to DAQ_Rate for?
    For the card I have what should the timebase and sampleInterval be if I want to input a signal which has a sample rate of say 204.8??

  • Using the XPATH expression function in Transformation activity

    Hi,
    I have to map the variable value(other than the source variable) to one of the node in the target variable in the transformation activity. For that I am using the XPATH expression function bpws:getVariableData ('variableName') and map it to corrsponding target node. But this mapping is not at all happening. The same prolem occurs while using function ora:getInstanceID() in transformation function. Then I could find a metalink note id: 387381.1,saying it as the bug in 10.1.2.2 BPEL PM, which they are covering in the next release. But our BPEL PM version is 10.1.3.3. But still the same type of problem occurs.
    Please let me know, is there are any solution for using the ora:getInstanceID() , bpws:getVariableData in Transformation activity.

    Hi,
    I dont understand why would you need to use the "bpws:getVariableData" function.
    When you are mapping a source-node to a target-node, it usually assigns the value in the source-node to the target-node, which is as good as using the "bpws:getVariableData" function.
    So, technically speaking you need to use this function explicitly to achieve that ...
    Also, if you want the instance-id, you can use the "ora:getInstanceId()" directly in the BPEL code than using it in the transformation.
    Regards,
    Madhu.

  • I am going to buy unlocked iphone 5.. i will be going to india nxt months and will stay there for a while... so my question is will i get warrenty in india.. and will there be any problem with using indian sims..?? thnx for the help..

    i am going to buy unlocked iphone 5.. i will be going to india nxt months and will stay there for a while... so my question is will i get warrenty in india.. and will there be any problem with using indian sims..?? thnx for the help..

    The warranty for the iPhone is not and has never been International.
    Warranty and support are ONLY valid in the country of origin.  The only exception is the EU where the entire EU is treated as one country.
    If the device will be used in India, buy it in India.
    An unlocked iPhone will work on any supported GSM carrier world wide.  The LTE portion of a US purchased, unlocked iPhone is unlikely to work outside North America as it does not support the appropriate bands used in other countries.

  • Is there any constrain in using the same order type for MTS and MTO

    Hi,
    i have the constrain to use single production order type .
    Can i use single order type for MTO and MTS.
    is there any constrain in using the same order type for MTS and MTO.
    pls help me.

    Hi,
    There is no constraint or limitation in using the same production order type for MTS and MTO . Settings in requirement class and material master will mainly control whether the flow is MTS or MTO.
    Regards,
    Mrinal

  • Is there any way to use the bundled PHP compiler without web sharing on?

    Is there any way to use the bundled PHP compiler without Web Sharing on? Is there a way to make sure Web Sharing only allows local access so others on the network cannot access it? Any other easy way to get a PHP compiler on a Mac? I currently run Mac OS X 10.7.4. Any other security issues that might pop up from leaving Web Sharing on? Basically I just want a local PHP compiler so I can do some coding.

    You can use another router as an 'extender' (I know that this will work seemlessly with AirPort Extemes and AirPort Express's - you'll have to check with your router manufacturer to determine what they recommend for range extenders).
    You may also want to take a look at this link - http://www.wi-fiplanet.com/tutorials/7-tips-to-increase-wi-fi-performance.html - it may offer some tips.
    Clinton

  • Hello, I bought a used iphone 3gs, and iphone locked to one operator there is any chance to unlock the phone forever?

    Hello, I bought a used iphone 3gs, and iphone locked to one operator there is any chance to unlock the phone forever?

    ONLY the carrier to which it is locked can unlock it.
    Contact that carrier and ask if they offer this service and if you qualify

  • Is there is any way to show the nomber of shares of any post in facebook page using android view not desktop view

    is there is any way to show the nomber of shares of any post in facebook page using android view not desktop view

    Sorry, its not related to Mozilla Profucts.

  • Is there any way to create a circular buffer using the INSERT ARRAY function?

    I saw the example using the REPLACE ARRAY function, but it uses too much CPU power on my laptop. I'm using it for a very sensitive application and saw that the INSERT ARRAY function used much less CPU power.
    I am also not wiring the index on the INSERT ARRAY function so that whatever is read from the buffer is added to the array.
    However, since it is not indexed, I don't know how to set the "write" index back to 0 when it reaches a certain sized array (ie 1000 elements). I was looking for an array property node, but couldn't figure out if one exists for the "current write index".
    Can anyone help?
    Thanks

    I will try to answer this question to my best understanding. I apologize if I interpreted the question wrong.
    You are using the "Insert Array" vi without wiring the index. By doing that, new elements will be added (appended) to the array.
    If you just want to know the current index to stop your acquisition when the array reach certain amount of elements, then you can use the "Array Size" vi to keep track of the size of the growing array. Remember that Array Size = last index + 1 because the index start at zero.
    A second option is that you may want to start over the array when it hits the maximum number of elements that you will allow. If that's the case, then you may want to re-initialize the array to a NULL state by stablishing a condition (for example, when the
    size of the array is 1000, re-initialize). I provided an example attached to this message showing how this can be accomplished. In the example, an 1D array grows in size using the "Insert Array" vi and inserting a random number. When the array reach 4 elements, it is re-initialized. You can expand this example by saving the array first to a file or some other holder before re-initializing the array. The example is in LabVIEW 6.
    Finally, if you want to replace the current values with new values, I think you do not have other choice but to use the "Replace Array" vi.
    Hope this can be of help.
    Regards;
    Enrique Vargas
    www.vartortech.com
    Attachments:
    array_example.vi ‏20 KB

  • Any Examples of using ActiveCollectionModelDecorator with POJO data control

    Are there any Examples of using ActiveCollectionModelDecorator with POJO data control in any of the sample packs?

    OK, here's an quick example. Create a new Windows Forms application and add a ScatterGraph and a Label to the form. Add a cursor to the ScatterGraph, then add the code below to the form. This generates 50 random data points when the form is loaded and plots them, then uses the cursor's AfterMove event to display the current X and Y positions in the label. Here's the code:
    Private Sub OnFormLoad(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Const dataLength As Integer = 50
    Dim xData(dataLength - 1) As Double
    Dim yData(dataLength - 1) As Double
    Dim rnd As Random = New Random
    For i As Integer = 0 To dataLength - 1
    xData(i) = i
    yData(i) = rnd.NextDouble() * 10
    Next
    ScatterGraph1.PlotXY(xData, yData)
    End Sub
    Private Sub OnAfterMoveXYCursor(ByVal sender As Object, ByVal e As NationalInstruments.UI.AfterMoveXYCursorEventArgs) Handles XyCursor1.AfterMove
    Label1.Text = String.Format("({0}, {1})", e.XPosition, e.YPosition)
    End Sub
    Hope this helps.
    - Elton

  • There is any table which makes the relation between sold to party and ship

    Hi Gurus,
    There is any table which show the relation between ship to party and sold to party.
    regards
    gursharan

    You can get this information from KNVV, KNVP Tables.
    Refer following link: http://www.erpgenie.com/abap/tables_sd.htm ....Customer Master Data for more detailed explanation.
    Please award points if you find this information useful / resolves your issue.
    Letme know if you need more information.
    Thanks,
    Ramesh

  • Any tips for using the battery ? T500

    Are there any tips to use the battery for a long time ?
    I've seen the posts somewhere that "conditioning" is not needed for this battery, Li-on based ?
    Is recharging when the battery is half-charged a bad habit ?
    Thanks

    Hello shong9,
    First you should load your battery 36h, then unload it normally, till it will go to sleep or hibernate
    (depends on setting in power manager).
    Second load it 24, then unload it normally till it went to sleep or hibernate.
    Third and last, load it 12h, then unload it normally till it went to sleep or hibernate.
    Then you battery has got it´s full capacity and the powermanger will do all for you, to keep it healthy.
    You should leave the battery in your machine, if using AC.
    When you are working mobile, then charge it, when it´s necessary. 
    That´s it.
    Follow @LenovoForums on Twitter! Try the forum search, before first posting: Forum Search Option
    Please insert your type, model (not S/N) number and used OS in your posts.
    I´m a volunteer here using New X1 Carbon, ThinkPad Yoga, Yoga 11s, Yoga 13, T430s,T510, X220t, IdeaCentre B540.
    TIP: If your computer runs satisfactorily now, it may not be necessary to update the system.
     English Community       Deutsche Community       Comunidad en Español

Maybe you are looking for

  • Create an Error Message

    Hi All, I'am trying to create a pop up message if the user try to close the adobe reader window before filling up an Eform. So typically the user will have the form open but if the user didnt complete the form or for some reason got busy doing someth

  • Attaching a Domain name

    I recently purchases a domain name and now I want to attach it to an actual site I've been working on. My dad owns the web space and I've established a link from his site to my own but I don't know how to attach the domain to the actual site. If some

  • Getting one window to progress to another using swing

    Ive got to design a simple quizgame interface using Swing. Its got to have a player's front-end - gives a selection of questions where the user selects one of five answers, a scoring front-end - displayed after game that allows user to enter their na

  • Google Custom Search on my .Mac webpage

    Hi I put a HTML snippet from Google's Custom Search in my iWeb page but do not get any results. I read about registering the .Mac pages in the Google search index in other posts. Is this also needed for the Custom Search? Thanks, Tim

  • HT3562 unable to unlock screen

    how do i unlock screen?