Get Player Size form within a Plugin

Does anyone know how I can get the sixe of the osmf media player itself from within the plugin? Not the media element mind you the player.

If you get the display object trait then displayTrait.displayObject will point to an object on the Stage ( probably a Video or a Sprite).
If the displayObject is not null then:
displayObject.loaderInfo.width — the width of the movie as set in FLA or through SWF metadata
displayObject.loaderInfo.height — the height of the movie as set in FLA or through SWF metadata
displayObject.stage.stageWidth — the stage width ( the object must be on the stage )
displayObject.stage.stageHeight — the stage height ( the object must be on the stage )
displayObject.stage.scaleMode — the current scale mode ( the scaleX, scaleY, scaleZ properties offer more information about what happens)
If the display object is not yet on the stage ( the stage property is null) then you can listen for the "ADDED_ TO_STAGE" event in order to detect that and update your informations.

Similar Messages

  • How to get absolute path of a form within the Forms

    Aslam o Alikum (Hi)
    How to get absolute path of a form within the Forms 6i or 9i
    For example
    i am running a from "abc.fmx" from C:\myfolder directory
    can i get the form path 'C:\myfolder' by calling any any function from "abc.fmb"

    There is no direct call that will always work. What you need to do is call get_application_property(current_form). This may have the full path in it, depending on if that path was defined when the form was launched. If there is no path, then you need to use TOOL_ENV.GETVAR to read the Forms<nn>PATH and the ORACLEPATH, parse those out into individual directories and then check for the FMX in each.
    I already have some code to do all this for you see:
    http://www.groundside.com/blog/content/DuncanMills/Oracle+Forms/?permalink=4A389E73AE26506826E9BED9155D2097.txt

  • How to get names of INCLUDE or FORM within included forms

    Hello,
    I want to get names of Include program and included form within included forms.
    I tried SY-REPID or SY-CPROG but these two SYST variables return the name of report program that performs the form, not the name of Include or form.
    Please give me any advice about how to get names of include / included form.
    thanks and regards,
    Hozy

    You can use the statement
    READ REPORT <Report name> into itab
    to read the source code into an internal table.
    Later you can use the "Contains Pattern" operator to get the statements that you need.

  • ORACLE 11G: Embedding an ORACLE Form within an ADF JSF page

    We are currently reviewing the options available to allow us to embed an ORACLE 11G form within an ADF application (11.1.1.4), we are aware of the 'oraformsfaces' functionality but wanted to ask whether there were any other options available to us within ORACLE 11G?
    The reason for the question is that we were informed by ORACLE prior to upgrading to ORACLE 11G that the facility to embed an ORACLE form was 'standard' within ADF 11G hence the reason for upgrading.
    Thanks in Advance!
    Neil

    As I noted before, when you seamless, if you mean the user will be unaware that he has switched from a Forms app to an ADF app then I think he will notice - some clever integration of things like JS maps and Graphs might be seamless but a complete ADF app would be obvious to a user. Physically the Forms widgets are a different technology to ADF Faces - you can get the colors the same, you can event get the widgets the same size but it will pretty much be impossible to get the same because you are not comparing apples and apples.
    Regarding your questions
    1) Do you mean the time it takes to start up the applet? Possible longer than ADF but not necessarily
    2) Each form runtime process will have its own database connection and each user has his own applet.
    3) "Considerable" is subjective - it will involve some work but we specifically built the JS api to help
    Your last point - are you refering to "evolve core business logic into a common layer" what I mean here is that if you have a business process (e.g. hire_employee) which involves creating a new record,ordering a laptop and getting a security pass - then you could take that code out of Forms and put it somewhere else. You could then call that code from Forms (your old apps that you still need) and also call it from your new apps (so calll that code rather than calling the Forms application to do the job). - Of course, there is effort involved there...
    One final point to make ADF is NOT Forms - its not the "new" Forms and it doesn't replace Forms - so any change between Forms and ADF is by no means "go to the next version" - they are different technologies with different sweet spots - moving one to the other will be a considerable effort, and I would say one which should also accompany business process changes (if possible) as well..
    Hope this helps
    Grant

  • How can I get the size of a file with apple script

    I try to get the size of a file within an apple script. But I did not find information how to do this.

    There are two ways. I think Apple is moving toward using System Events, which is listed first.tell application "Finder"
    set myFile to selection as alias
    --this just gets a file for me to work with
    --coercing it into an alias is required for the other functions
    end tell
    tell application "System Events"
    get size of myFile
    end tell
    set myInfo to (info for myFile)
    get size of myInfo

  • End User Can Not Open A Form within Responsibility

    Hi to all,
    I have an end user who tries to click on a form within a responsibility. And the form does not launch. As matter of fact, the browser green progress bar does not show up. There are other forms within that same responsbility that she is able to launch.
    This end user was not having this issue before. She was able to launch any forms under any responsibility without any issue.
    I tested the same responsbility and same forms on my machine as was able to launch without any issue.
    These are the following conditions the end user has:
    IE 7
    Jinitiator 1.3.1.29
    I tried the following steps to remedy the issue:
    Cleared cache and cookies.
    Clear jar cache
    Did not fix the problem
    Reinstalled Jinitiator
    Did not fix the problem
    I turned on the show java console and show exceptions dialog box on end user jinitiator. When I go back and click on the problematic form, no java console shows up, nor does any exceptions dialog box.
    Does anyone have an idea, why this may be occurring and how to resolve this issue.
    Thanks
    F. Lucio
    Edited by: Ferreira Lucio on Oct 9, 2009 1:15 AM

    Greetings Hussein,
    I worked on your recommend steps, and still unable to resolve issue:
    Try opening the form using your username from the user's machine, and do the same with this specific user from some other machine.
    I logged onto oracle with my credentials, and went to the same responsibility and form. This issue happens to me. But when I go back to my local machine. I have no problems.
    Did you try using some other browser on the user's machine (for example, Firefox)?
    I installed firefox, but everytime I click on a form, it tells me to download jinitiator.
    Any recent changes have been done on the user's machine or in the user's profile options?
    Unsure what profile options have changed for user
    Note: 310961.1 - How To Enable The Java Console Jinitiator 1.1.8 and 1.3
    Note: 232651.1 - How to Enable Tracing in Jinitiator
    If none of the above helps, obtain FRD and see if you get more details about the error -- See (Note: 150168.1 - Obtaining Forms Runtime Diagnostics (FRD) In Oracle Applications 11i).
    I uninstalled jinitiator, then reinstalled. Turned on java console and enabled tracing. Console/tracing does not come up for this form. On other forms it does.
    I uninstalled jinitiator a third time. Then reinstalled. What I notice is that jinitiator still has the java console checked and tacing parameters set. What I believe could be happening is the jinitiator is not being uninstalled completely.
    Where or how can I check if the jinitiator gets removed completely.
    I have check the control panel and jinitiator is not there. I also check HKLM and it is not there also.
    Any ideas how to move forward.

  • Preview Selection Tool-How to get selection size in Preview?

    One of my favorite tricks in Preview (prior to Leopard) was being able to hold the alt-key to get the selection size. Leopard killed this amazing feature and now I have to open Photoshop every time I want to get the size of something. Does anyone out the have any idea how to quickly get selection size in Preview in Leopard? I thought I would just be able to make a selection, crop the image and get the size that way, but worst of all, the image size only reflects the original image size and not the newly cropped size. The latter seems like a bug and the former is annoying.

    I've been on Leopard for a year and I was always able to just put the cursor on the image, draw my box and hit the crop button. In the last week, I've lost the ability to draw my box. It's like it's been disabled. I've restarted to no avail. This was a great little feature as I do not want to load every picture into iPhoto.

  • Interacrive forms within the SAP GUI

    Hello
    I want to work with interactive forms within the SAP GUI, with ABAP.
    I've managed to display a generated PDF in an ABAP screen, with CL_GUI_HTML_VIEWER, using the method LOAD_DATA. The problem now is getting the filled data out of the form. Is there any standard way of doing it? (getting the data without saving the file)
    I've thought of some ways, such as getting the filled file somehow as a binary file, or handling the document's Submit button, but I haven't managed to get any of them to work.
    Is there any way to make it work, or use the different PDF classes to do it..
    Thanks

    Hello
    I want to work with interactive forms within the SAP GUI, with ABAP.
    I've managed to display a generated PDF in an ABAP screen, with CL_GUI_HTML_VIEWER, using the method LOAD_DATA. The problem now is getting the filled data out of the form. Is there any standard way of doing it? (getting the data without saving the file)
    I've thought of some ways, such as getting the filled file somehow as a binary file, or handling the document's Submit button, but I haven't managed to get any of them to work.
    Is there any way to make it work, or use the different PDF classes to do it..
    Thanks

  • How to call Interactive form within Workflow ?

    Hi,
    I have created a interactive form within WebDynpro for ABAP which triggers a workflow for approval. Now I would like to open the same interactive form by the approver and approve the request.
    Any input for calling interactive form from Workflow would be helpful.
    Regards
    Ravikumar

    u need to create the events step by step in the workflow.
    first event would be the condition which should be checked so that it gets triggered when the condition is satisfied.
    second would be the the triggering in which u will get this triggered. u need to create a class in which the adobe form's code will be present like the FM it generates etc.in this class u will to write some methods for eg: if u create method say send_mail in this class u will code all the logic for sending the adobe form as a mail and u assign this in the workflow. So now, in the workflow all the methods that u assign will get triggered.

  • My iPhoto screen previously showed thumbnails for each film roll. Now I only have individual  pictures. I have lost my film roll categorization, though I have tried to sort by film roll. How do I get back to thumbnails within each film roll?

    My iPhoto screen previously showed thumbnails for each film roll. Now I only have individual  pictures. I have lost my film roll categorization, though I have tried to sort by film roll. How do I get back to thumbnails within each film roll?

    what version of iPhto? Of the OS?
    there is a thumbnial size slider in either the lower right hand or left hand corner of the iPhoto window - does sliding it resolve your issue?
    LN

  • Do I need ACF on each client machine to enable Interactive forms within WDJ

    hello All,
    I want to integrate the Interactive Forms in some of my Web Dynpro JAVA Applications, which in turn will be run inside a Portal.
    Wanted to know if installing the ACF on each client machine is a pre-requisite to view the PDFs directly inside the EP screen.
    The EP version is 7.00 SP18. We do have the ADS configured in one of the server.
    I know ACF was required on each client machine for EP 6.0, not sure about the 7.0 version though.
    Where can I see the pre-requisites for using ADF forms within WDJ?
    Any pointer is greatly appreciated.
    Thanks

    Sandip,
    Do refer [this|http://help.sap.com/saphelp_nw70/helpdata/EN/2c/241a427ff6db2ce10000000a1550b0/frameset.htm] link. It has the information you need. Short text from the same link
    "Interactive forms in the ISR framework are part of ZCI. They can be used as of SAP NetWeaver SPS 10 at runtime in Web Dynpro for ABAP based on Zero Client Installation (ZCI). To enable this, the forms must contain special scripting, which you insert when you create new forms in Form Builder.
    Until now, you needed to install Active Component Framework (ACF) on the front-end PC to use interactive forms. As of SAP NetWeaver 7.0 SPS10, ZCI enables you to use interactive forms in Adobe Reader without any additional plug-ins. ACF is therefore no longer required for interactive forms."
    So you can conclude that you wouldnt need the ACF plugin on each client PC.
    Thanks,
    GLM

  • Flash Player 11.7.700.202 Plugin Download

    Please can someone point me to the msi download for Flash Player 11.7.700.202 Plugin (non-IE).  I can find the msi download for Active X (IE), but not for the plugin.  Thanks!

    Hello,
    Welcome to Adobe Forums.
    Flash Player 11.7.700.202 Plugin .msi : http://download.macromedia.com/get/flashplayer/current/licensing/win/install_flash_player_ 11_plugin.msi
    Thanks,
    Vikram

  • Not a nested form, but a form within a form??

    Hello, all.
    I've been given a task to add a file upload form to a page whereby all of the contents of the page are already contained within a form.  I know that it is not possible to nest form tags; however, would it be possible to place an iFrame within the form that contained another form, without being considered nested, and without screwing up the original form?
    Or would it be better to just place the iFrame in a div outside the form, and keep it hidden until called upon?
    I suppose that I _could_ just use a JavaScript popup to use another form; but if I can avoid that AND get this to work, that would be preferred.
    Thoughts?
    Thanks,
    ^_^

    Yes, you can place a separate form within an iframe. However, as Ian points out, the problem you'll have is a UX problem - how will you synchronize the submission of data between the two forms? I'm sure you can get where you want to get, but you'll definitely need to spend a bit more time testing this part.
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/
    Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
    GSA Schedule, and provides the highest caliber vendor-authorized
    instruction at our training centers, online, or onsite.
    Read this before you post:
    http://forums.adobe.com/thread/607238

  • How to get swap size by using system call?

    How can I get the size of swap.What system call or library Routines can be used? please help me.

    Hi,
    Threre's an interface called swap_ctl by wich you can get more information related to virtual memory. Here's an example:
    #include <stdio.h>
    #include <stdlib.h>
    #include <unistd.h>
    #include <sys/stat.h>
    #include <sys/swap.h>
    #include <sys/param.h>
    int
    main(int argc, char*argv[])
    swaptbl_t *st;
    int swap_count, i;
    long long swap_total=0, swap_avail=0;
    long pgsize_in_kbytes = sysconf(_SC_PAGE_SIZE) / 1024L;
    if ((swap_count=swapctl(SC_GETNSWP, NULL)) == -1)
    perror("swapctl(SC_GETNSWP)"), exit(-1);
    if (swap_count == 0)
    (void)printf("No swap files/partitions allocated\n"), exit(0);
    * Although it's not particularly clear in the documentation, you're
    * responsible for creating a variable length structure (ie. the
    * array is within the struct rather than being pointed to
    * by the struct). Also, it is necessary for you to allocate space
    * for the path strings (see /usr/include/sys/swap.h).
    st = (swaptbl_t*)malloc(sizeof(int) + swap_count * sizeof(struct swapent));
    if (st == NULL)
    perror(argv[0]), exit(-1);
    st->swt_n = swap_count;
    for (i=0; i < swap_count; i++) {
    if ((st->swt_ent.ste_path = (char*)malloc(MAXPATHLEN)) == NULL)
    perror(argv[0]), exit(-1);
    if ((swap_count=swapctl(SC_LIST, (void*)st)) == -1)
    perror("swapctl(SC_LIST)"), exit(-1);
    for (i=0; i < swap_count; i++) {
    swap_total += st->swt_ent.ste_pages * pgsize_in_kbytes;
    swap_avail += st->swt_ent.ste_free * pgsize_in_kbytes;
    (void)printf("Total swap = %lld available swap = %lld\n",
    swap_total, swap_avail);
    return 0;
    There's a very interesting document about Solaris Kernel/Performance Stats available at http://www.idiom.com/~gford/admin/howto/perf.html. Very interesting.
    Hope this helps

  • Get folder size

    I am trying to get the size of a folder I used:
    Set Archive to "Martha:EyeTV Archive"
    Set ASize to size of (info for Archive)
    I get and error on "info for Archive" saying it can find the file. This is a folder not a file. Do I have to use a shell script:
    Set ASize to word 1 of (do shell script "/usr/bin/du -ks" & quoted form of (POSIX path of (Archive as string)))

    By the way, since the Standard Additions scripting dictionary describes the “info for” command as deprecated, maybe you'd better use the following code:
    set Archive to POSIX file "/Volumes/Martha/EyeTV Archive" as alias
    tell application "System Events" to set ASize to size of Archive
    You could also ask for the “physical size” property of the Archive folder.

Maybe you are looking for

  • Constant disconnection from my PS3

    I recently just about a Linksys WRT54G2 and ever since I have constantly been kicked off the Playstation Network. It's quite frequent and annoying. I've searched and found a number of different reasons and possible fixes but would like to hear from a

  • Adding text to a text node

    hi apologies for the simple question ive been searching endlessly for how to add text to a text node so far I have text body = doc.createTextNode("mynodename"); previous_element.appendChild(body); but what mthod do i use to put in the string beween i

  • Video in Photoshop CS6

    Sorry if this is the wrong place to ask but I have just started to try something using video in CS6. I have 82 sequential images and I am trying to string them together as a sort of stop motion film (think the intro to the Monkeys). I have done the f

  • Document viewer, 3rd party

    Hi all, just got a Curve from Tmobile, and have found that Tmobile does not support Blackberry software above 4.2, thus I don't have Documents to Go bundled.  Anyone found a 3rd party software to store and view Word documents that they have had luck

  • Error Message nsp.kext

    Hi, Whenever I am updating my OS or installing any application I get an error massage saying that I nsp.kext needs to be updated. How critical is this file? Can I ignore this message as I cannot see any problems functionally as of now? Thanks