Fire plugs or code in webdynpro from flash island

Hello, I have a simple question, is there a way to fire plugs, events or code inside the webdynpro if I have a button in a flash island ?
Edited by: Isaac Mena on Aug 20, 2009 6:34 PM

Hi,
with the help of these things you can fire a plug or event.
Adobe Flex Builder 2 or 3
Adobe Flash Player 9 Update 3
Flash Island Flex library
A Web Dynpro component with a FlashIsland UI element
and the procedure as follows
1.open the view and, select the RootElement in the Outline view and choose FlashIsland from the context menu entry Replace With
2.Select the RootElement and enter the name of your  component to the property swfFile, for example: myFlash.swf. This file has to be stored in the mime repository. The relevant path is: <Web Dynpro DC name> -->Resources -->src --> mimes --> Components --> component name>.
3.Select the RootElement and choose Insert Event from the context menu. Specify the name according to the Flash/Flex componentu2019s event name. Specify an action for the onAction event as described in Creating Actions
Regards
Manohar

Similar Messages

  • Xcelsius integration in WebDynpro Java Flash Islands

    Hi,
    We developed a visual composer application with CE 7.20 SPS 03 and we try to integrate a xcelsius gauge in to VC 7.20. It works fine with passing single or multiple parameters to xcelsius with webdynpro java flash islands, but how do we get the value from xcelsius back to webdynpro java.
    How do we have to name the event in webdynpro flash island? Which event is triggered when change a slider or a gauge? Is there any document?
    I need your help.
    Best regards,
    Murat Y.

    Creating Flash Island Events
    To implement the Visual Composer application if data has changed on the Flash island side, we need to define a Flash Island event. In this example, the Web Dynpro application needs to be updated once the user has changed one of the two slider values. The Web Dynpro application will trigger an event that will be handled in Visual Composer. Once you have created a Flash island event entry, you can assign a Web Dynpro action method to be called if the Flash island event is raised.
    1.     Right-click RootElement again and create a SliderCostsEvent and a SliderRevenuesEvent:
    2.     Assign the following attribute values to the Flash island event entries:
    SliderCostsEvent:
    SliderRevenuesEvent:
    Note:
    The Flash island event name must be the same as the name in the corresponding Data Connection Range and Property. For example, in the Xcelsius Data Connection, we defined a Range u201CSliderRevenuesu201D. Once the referring value is changed, the Flash island event SliderRevenues is called (which is bound to a Web Dynpro action method) and also the data is written to the SliderRevenues Flash island property (which is bound to a Web Dynpro context attribute). Once an Action method is called from the Flash island event, the data is transferred to the Web Dynpro context.
    The onAction property points to a method Update(), which you need to create in the FlashIslandView (see implementation following).
    3.     Now we will create the event that will refresh the data in the Visual Composer application. Go to the Events tab of the Component Controller and click New. Enter RefreshData as the event name and click Finish.
    4.     Create the Component Controller method that will be called by the viewu2019s Update method. Go to the Component Controlleru2019s Methods tab and create a new method by clicking New. In the dialog box, select Method and click Next. Enter the name of the method, i.e. updateData and click Finish. Save the application.
    5.     Right-click on this method and select Navigate To  Implementation. This will open the implementation code of this method.
    The method should look like this:
    public void updateData( )  {
        //@@begin updateData()
           wdThis.wdFireEventRefreshData();
        //@@end
    The Update method of the FlashIslandView calls the Update method of the Component Controller; see implementation below:
    public void onActionUpdate(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
         //@@begin onActionUpdate(ServerEvent)
           wdThis.wdGetCostRevenueCompController().updateData();
        //@@end
    The Update method of the Component Controller will trigger the event that will refresh the Visual Composer UI with the new data. The reason for the multiple calls is that actions that are defined in the view cannot fire events but they can call a method, so we need to call a Component Controller method that will fire the event.
    6.     Next, you should expose this event in the Interface Controller. Right-click the event and select Copy. Go to the Interface Controller, select the Events tab and paste the event.

  • Data connection between Java Webdynpro - Flex Flash Island

    Hi,
    I'm developing a Java Webdynpro with connection to a Flex Flash Island. I'm using Flex 3.2.
    I've already set up the connection from WDJ to Flex, by using Events and the FlashIsland.fireEvent method, this all works fine. Now I'm trying to update a value in WDJ, to be updated in Flex. This gives the following error:
    Error: Error #1023: Stack overflow occurred.
         at Function/http://adobe.com/AS3/2006/builtin::apply()
         at mx.binding::Watcher/wrapUpdate()
         at mx.binding::PropertyWatcher/eventHandler()
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()
         at UWLApplication/set opentask_updated()
         at MethodInfo-4234()
         at Function/http://adobe.com/AS3/2006/builtin::call()
         at sap.core.wd.context::WDContextListener/execute()
         at sap.core.wd.context::WDContext/notifyListeners()
         at sap.core.wd.context::WDContext/_set()
         at sap.core.wd.context::WDContext/set()
         at sap.wd.island::WDIsland/storeProperty()
         at sap.wd.island::WDIsland/onUpdateProperty()
         at mx.binding.utils::ChangeWatcher/wrapHandler()
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()
         at UWLApplication/set opentask_updated()
         at MethodInfo-4234()
    This is especially strange, cause before I had a refresh button in which I updated my entire item collection. Now, I have added this field and suddenly I get this error !
    Does anybody has any idea what this could mean? Any help would be much appreciated ...
    My field in Flex:
    \[Bindable\]
    public var opentask_updated:Number;
    <mx:Text id="opentask_updated_text" text="{opentask_updated.toString()}" />
    My adaptions in WDJ:
    public void getInbox( )  {
           wdContext.currentInboxElement().setOpentask_updated(0);
    public void wdDoInit()  {
           getInbox();

    Solved!
    It appeared to be a "long" parameter and I was trying to put it in a "Number" parameter in Flex (because there is no long in Flex)
    When I changed both to String, it worked!

  • Help Editing code from a published html file with flash detection enabled from flash

    hi guys ive publish a html file with flash detection enabled from flash
    heres the code from the publish html:
    <!-- saved from url=(0013)about:internet -->
    <html lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>main</title>
    <script language="javascript"> AC_FL_RunContent = 0; </script>
    <script language="javascript"> DetectFlashVer = 0; </script>
    <script src="AC_RunActiveContent.js" language="javascript"></script>
    <script language="JavaScript" type="text/javascript">
    <!--
    // Globals
    // Major version of Flash required
    var requiredMajorVersion = 9;
    // Minor version of Flash required
    var requiredMinorVersion = 0;
    // Revision of Flash required
    var requiredRevision = 45;
    // -->
    </script>
    </head>
    <body bgcolor="#ffffff">
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <script language="JavaScript" type="text/javascript">
    <!--
    if (AC_FL_RunContent == 0 || DetectFlashVer == 0) {
         alert("This page requires AC_RunActiveContent.js.");
    } else {
         var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
         if(hasRightVersion) {  // if we've detected an acceptable version
              // embed the flash movie
              AC_FL_RunContent(
                   'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0',
                   'width', '800',
                   'height', '600',
                   'src', 'main',
                   'quality', 'high',
                   'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
                   'align', 'middle',
                   'play', 'true',
                   'loop', 'true',
                   'scale', 'showall',
                   'wmode', 'window',
                   'devicefont', 'false',
                   'id', 'main',
                   'bgcolor', '#ffffff',
                   'name', 'main',
                   'menu', 'true',
                   'allowScriptAccess','sameDomain',
                   'allowFullScreen','false',
                   'movie', 'main',
                   'salign', ''
                   ); //end AC code
         } else {  // flash is too old or we can't detect the plugin
              var alternateContent = 'Alternate HTML content should be placed here.'
                   + 'This content requires the Adobe Flash Player.'
                   + '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
              document.write(alternateContent);  // insert non-flash content
    // -->
    </script>
    <noscript>
         // Provide alternate content for browsers that do not support scripting
         // or for those that have scripting disabled.
           Alternate HTML content should be placed here. This content requires the Adobe Flash Player.
           <a href="http://www.macromedia.com/go/getflash/">Get Flash</a>
    </noscript>
    </body>
    </html>
    now since the default codes places my flash movie on upper left corner, ive made my own tables with the flash on it, how or where do i place this code to the upper codes?
    <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <th valign="middle" scope="col"><table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <th height="600" bgcolor="#333333" scope="col"><script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','800','height','600','src','main','quality','high','pluginspage','http://www.adobe.com /shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','main' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="800" height="600">
              <param name="movie" value="main.swf">
              <param name="quality" value="high">
              <embed src="main.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="800" height="600"></embed>
            </object></noscript></th>
          </tr>
        </table></th>
      </tr>
      <tr>
        <td height="30" bgcolor="#990000"><table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <th scope="col"><table width="800" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <th scope="col"><div align="left" class="style1">Copyright 2009 St. Paul of the Cross Parish. All Rights reserved.</div></th>
                <th width="400" scope="col"><div align="right" class="style1">Usage outside our permissions guidelines requires our prior written consent.</div></th>
              </tr>
            </table></th>
          </tr>
        </table></td>
      </tr>
    </table>
    Tnx in advance!

    Hi
    Can you tell me which version of dreamweaver you are using (and flash pro, if you have it), as the code you provided has element of a number of different versions (e.g. your js flash files are reasonably new, but your flash inserted into the html body is old, but with the cs3 version of flash player indicated!). Also the detect flash file is no longer required.
    PZ

  • ExternalInterface | How to get called from flash in"xml flavor"?

    Hi guys,
    I have seen that ActiveX version of Flash Player issues an
    event (FlashCall) that describes using xml the function call that
    the programmer has called with ExternalInterface.call method.
    That xml has the form : <invoke
    name="thenameofthefunction"><arguments>...</arguments></invoke>
    However, regarding the NPPlugin version, when you make a
    "ExternalInterface.call" flash always ask to its container to
    "evaluate" a chunk of javascript code.
    Also, both flash player versions (ActiveX and NPPlugin)
    provide the "CallFunction" method that allows you to pass, in a
    single parameter, an xml (in the same form as the one from
    "FlashCall" event) describing the actionscript function (and its
    arguments) to be called.
    I would need to use the "xml flavor" in both directions
    (flash to container and container to flash) independently of the
    version of Plash Player being used (ActiveX or NPPlugin). The
    reason: I do not have any problem parsing and consuming xml and,
    however, I do not want to write a javascript interpreter at all.
    Does anyone know if there is any possibility to instruct
    flash npplugin, in any way, to describe the function calls using
    xml instead of javascript?
    Any suggestion will be welcome.
    Best regards.

    Hi people,
    Finally I've got the answer to my question:
    It seems that there is not a feasible way to achieve that
    Flash Player (Netscape Plug-in) calls into its wrapper using the
    XML pattern that uses its "brother" (ActiveX Flash Player). Thus,
    the solution is to interpret the chunk of javascript code in the
    best way that is suitable for your (my) needs.
    Bellow, for your convenience, is the answer I got from one of
    the player architecs.
    Thanks a lot to Matt, Gary and all the people that replied to
    this topic.
    For the Netscape plug-in, I think the easiest thing for him
    to do is
    just to parse the JS coming from the Player. You don't need a
    full
    _JavaScript interpreter to do it. The _JavaScript code
    generated always
    follows the same basic pattern. A parser to transform it into
    XML or
    any other data structures would probably only be a few
    hundred lines.

  • LoadVars-using send to pass a variable from flash to php

    For the life of me, I've tried everything:
    I've researched LoadVars on Adobe forum, used David Powers'
    books, googled 'flash to php', LoadVars, etc. and tried
    sendAndLoad, send, and using $_POST, $_GET, $_REQUEST.
    $HTTP_POSTVARS but I keep getting this same error. any advice
    please?
    I have a Unix server running Apache/PHP 4 - LoadVars worked
    to load name-value pairs into an array -see thread)
    My goal with this simple app is to prototype being able to
    pass a variable from flash to a variable in php.
    Parse error: syntax error, unexpected T_VARIABLE in
    flash_to_SQL.php on line 5
    Actionscript 2.0 code:
    var c :LoadVars = new LoadVars();
    c.testing = "123FOUR";
    c.send ("
    http://127.0.0.1/flash_to_SQL.php","_self","POST");
    php code: (I also tried $_POST, $_GET, $_REQUEST.
    $HTTP_POSTVARS)
    <?php
    //mysql 4.1.2, php 4 , NO mysqli
    ecbo $_REQUEST ['testing'];
    /?>

    var formData:LoadVars = new LoadVars();
    formData.fname = "Name";
    formData.send("
    http://www.website.com/flash_php.php",
    formData, "POST");
    <?php
    $name = $_POST['fname'];
    echo $name;
    ?>

  • How to get list of logged-in users from Flash Media Server in a Flash programm? (Or login/logout notifications)

    Hi there,
    I'm Very sorry for asking this. I guess it's a very basic problem, but I'm very new to Flash and Flash media Server and I need a very fast answer...
    Currently I'm working on a Director project using a flash program which connects to Flash Media Server (I guess version 3, it's quite old). Unfortunately they forgot to make a flash method to send the actual userlist (or a notification when someone logged in or out) to Director. AND, unfortunately, they lost the source code of that flash programm, so I cannot look into it or alter it *sigh*.
    Now I want to do a new flash programm which covers the old one, letting all known methods "pass trough" and building an additional method to gain the user list (or login/out notification).
    How do I get the login information from Flash Media Server? (Would be good if you could provide an idea already for flash code... as I said I'm a tard at flash till now)
    Thank you so much. And I hope you understand my situation asking here...
    Jana

    hparmar : yes, that's what I feared... I hoped it would be possible to tell the server from which application I do need the login information. What a mess.
    Dimo Hristov: thanks for your offer! I already tried decompiling the flash program with the shareware version of Trillix Decompiler. It only decompiled the UI (in a terrible way) but no source code at all. It was the shareware version where I can decompile 2 or 3 programms to test the software. Are you sure the non-free version of Trilix Flash Decompiler will do..?

  • How can I force focus from flash to another plugin app in FireFox such as with the e.focus() Java Script command in Internet Explorer

    Can you force focus from a Flash app to another plugin such as Unity3d using a JS command similar to e.focus() which works in Internet explorer. The following code works in IE, but not FireFox? Any solution would be helpful. Is it even possible?
    function hideSWF(){
    e=document.getElementById("flash_content");
    e.style.width = 1 + 'px';
    e.style.height = 1 + 'px';
    e=document.getElementById("u3dobjmsiediv_unity");
    e.focus() ;
    function showSWF() {
    e=document.getElementById("flash_content");
    e.style.width = gameWidth + 'px';
    e.style.height = gameHeight + 'px';
    e.focus() ;
    == This happened ==
    Every time Firefox opened
    == Always existed when switching from Flash app to a different app. ==
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4

    No, I am saying that this isn't the forum for help with that. This forum is for Firefox user support, and the helpers in this forum aren't versed in development issues like that - we're volunteers, not Mozilla developers and don't work for Mozilla. You are better off asking about that in a forum where other web site developers do support.

  • Running a java applet from flash

    Hi,
    How do you run a java applet from within a Flash movie?
    Is it necessary for the user to download a java interpreter, or is there an interpreter somehow built into their browser that can run applets?

    I was wondering , I don't know too much about Flash
    I remember seeing some classes in amongst the Flash
    files when it installed , but couldn't tell you whart they
    do (at the moment , but you've got me interested)
    maybe you should rethink your strategy for building your page (and your movie) maybe build the movie around
    your applet , or preload it then replace a an area of your movie area with your applet (the way you handle rollovers).
    the advantage is you can make calls to applet methods
    from Flash as it supports Javascript.
    jus remember to set the scriptable <PARAM> to true
    Users shouldn't have to download the plug-in or JRE
    you should specify it in the OBJECT or EMBED tag so
    if they don't have it , the browser will tell them.
    of course this is going to change as Microsoft are stopping support for JAVA , users will then have to download the plug-in from Sun in order to view or use JAVA on the internet.

  • Opening an HTML popup from Flash, not as tab

    Hi
    I need to open an HTML popup from Flash (using ActionScript in
    Flex 4).
    Thus far I found a solution, and it does work in Safari - a new
    and separate HTML window is popped up (with a new web page).
    private function popUpTheHtmlEditor():void {
      var url:String = "http://www.adobe.com";
      var request:URLRequest = new URLRequest(url);
      try {
        navigateToURL(request, '_blank');
      } catch (e:Error) {
        trace("Error occurred!");
    But in (my) Firefox (with my settings), when I click on the Flash
    (Flex) button, the page is being opened in a new tab.
    I need a solution which pops up the HTML page in a new/separate
    window, as far as possible regardless of the browser (and browser
    settings).
    I found an example where a popup is opened from HTML, and it opens a
    separate window (a real popup) in my Firefox:
    http://www.gtalbot.org/FirefoxSection/Popup/PopupAndFirefox.html
    -> "Open a requested popup"
    The JavaScript code seems to be:
      OpenRequestedPopup(this.href, this.target); return false;
    with this function def:
      function OpenRequestedPopup(strUrl, strTarget)
        if (WindowObjectReferenceOfRequestedPopup == null || WindowObjectReferenceOfRequestedPopup.closed)
        WindowObjectReferenceOfRequestedPopup = window.open(strUrl, strTarget, "top=" + windowTop + ",left=" + windowLeft + ",width=" + windowWidth + ",height=" + windowHeight + ",menubar,toolbar,location,resizable,scrollbars,status");
        else
        if(WindowObjectReferenceOfRequestedPopup.focus)
          WindowObjectReferenceOfRequestedPopup.focus();
    How could I call such code from ActionScript? Should this work through
    ExternalInterface? I couldn't even get this to work:
      ExternalInterface.call('alert', 'foo');
    Should I use swfobject.js for embedding the .swf in the HTML wrapper?
    Any other ideas?
    The two files are pasted below.
    Here's the compiler command I'm using:
      mxmlc -output button.swf -target-player 10.0.0 flash_to_editor.mxml
    I'm running the examples locally (as files, not over http). Would it
    help to place the files on a server?
    Tobi
    <?xml version="1.0" encoding="UTF-8"?>
    <mx:Application
      xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      horizontalAlign="center" verticalAlign="middle">
      <fx:Script>
        <![CDATA[
    import mx.controls.Alert;
    import flash.external.ExternalInterface;
    import flash.net.URLRequest;
    // This 'http://www.adobe.com' is just an example URL.
    // Works but opens tab in FF (not a separate window):
    private function popUpTheHtmlEditor():void {
      var url:String = "http://www.adobe.com";
      var request:URLRequest = new URLRequest(url);
      try {
        navigateToURL(request, '_blank');
      } catch (e:Error) {
        trace("Error occurred!");
    // Doesn't work:
    // var url:URLRequest = new URLRequest("javascript:alert('foo'); void(0);");
    // navigateToURL(url, "_self");
    // How to get this to work?
    private function popUpTheHtmlEditor():void {
      ExternalInterface.call('alert', 'foo');
    // How to get this to work?
    private function popUpTheHtmlEditor():void {
      ExternalInterface.call('launch','http://www.adobe.com');
      // Or
      // ExternalInterface.call("window.open", "http://www.adobe.com", "win", "height=200,width=300,toolbar=no,scrollbars=yes");
    // Perhaps it's necessary to try different approaches:
    // (As soon as I get two approaches to work.)
    private function popUpTheHtmlEditor():void {
      var s:String;
      if (ExternalInterface.available) {
        // Necessary? Safe?:
        // Security.allowDomain('*');
        s = ExternalInterface.call('launch','http://www.adobe.com');
      } else {
         // TODO: Then try URLRequest?
         s = "Wrapper not available";
      Alert.show(s);
        ]]>
      </fx:Script>
      <s:Panel title="One way to open the HTML editor"
      width="75%" height="75%">
        <s:Button id="button" label="Open the HTML editor"
        click="this.popUpTheHtmlEditor();"
        horizontalCenter="0" verticalCenter="0"/>
      </s:Panel>
    </mx:Application>
    <html
      xmlns="http://www.w3.org/1999/xhtml"
      xml:lang="en" lang="en">
      <head>
        <title>html_around_swf.html</title>
        <script type="text/javascript">
    function launch(url) {
      alert(url);
      //  OpenWin = this.open(url, "FOO", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width=400,height=200");
        </script>
      </head>
      <body>
        <object id="button" name="button" width="550" height="400"
        classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
          <param name="movie" value="button.swf" />
          <param name="allowScriptAccess" value="always" />
          <embed id="foo" name="button" src="button.swf" width="550" height="400"></embed>
        </object>
      </body>
    </html>

    Hi, 
    Here's a solution.
    1. Make ExternalInterface work when files are loaded as local files: 
    Go to
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l 
    In tab Global Security Settings: Edit Locations -> Add Location ->
    browse to the .swf file, add it. Make sure it's in the list (under the
    Edit Locations drop down, with a green check mark.) 
    Now open the HTML wrapper in a browser (eg Firefox). 
    Now this works (ActionScript): 
    private function popUpTheHtmlEditor():void {
      ExternalInterface.call('alert', 'foo');
    On Windows: perhaps:
    http://techjig.blogspot.com/2008/03/flash-global-security-settings-windows.html
    "In order for external interface functions to be called, you must also
    specify the folder/file where the swf file is located." 
    The above setup isn't necessary when the files are on a server. 
    Also see: 
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/external/External Interface.html#call()
    ""ExternalInterface" "
    "call() method" 
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7ea6.html
    "About ExternalInterface API security in Flex" 
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf626ae-7fe8.html#WS2d b454920e96a9e51e63e3d11c0bf69084-7f31
    "Using the ExternalInterface API to access JavaScript" 
    2. Open a real popup: Example: 
    ActionScript: 
    private function popUpSomething():void {
      var editorPathOrUrl:String =
        'wrapper.html';
      var windowName:String =
        "SomeNameSeeDocs";
      var windowFeatures:String =
        "toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes,width=500,height=700";
      ExternalInterface.call(
        'launch',editorPathOrUrl,windowName,windowFeatures
    JavaScript: 
    function launch(editorPathOrUrl,windowName,windowFeatures) {
      windowRef = window.open(
        editorPathOrUrl,windowName,windowFeatures
    Works in all browser I tested except Opera. 
    Tobi

  • Reg calling Transaction code in Webdynpro ABAP

    Hi All,
    Can I call Transaction code in Webdynpro ABAP Portal Application. If so, how can this be possible? Can anybody give me a lead?
    Thanks.
    Kumar Saurav.

    Hi,
    The most easy Way is here:
    1) Test any Webdynpro Application from SE80 when the webdynpro Browser opens to display output
    Copy its HTTP link, Suppose we get the below link
    http://r3d01web1.Siemens.dk:8001/sap/bc/webdynpro/sap/z_dynamic_view?sap-client=002&sap-language=EN
    2) Now replace some part of the above link ( webdynpro/sap/z_dynamic_view?sap-client=002&sap-language=EN )  with the new link part ( gui/sap/its/webgui?~transaction=PA30 )
    So that the newly generated link is such that the below one:
    http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30
    Note in place of PA30 you can put any of your desired tcode.
    3) Now Just Make a webdynpro component and in its View layout put a LINK TO URL ui element
    and in its property REFERENCE just past the http link ( http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30 )
    4) Activate and test your webdynpro Application.

  • Mac Projector Crashes When exported From Flash CS5.5

    Something strange that i noticed, when i had exported a presentation for a Mac,
    on a 64 bit windows 7 using flash cs5.5.
    the applicaton gets the paths of a few swfs from an XML file
    and loads them one after the other.. there is a small bit of interactivity.
    .. tested this projecter on various versions of MAC, it crashes often,crashes earlier if i switch applications.  what follows here is a part of a report that was generated on an  OS X 10.7.3,
    works fine if the projector is exported from flash cs5.
    i need it to work when exported from flash cs5.5.. any suggestions on what i need to change in my application so that it works when exported from flash cs5.5?
    Your help would be appreciated Thanks in Advance
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x00000000500d98eb
    VM Regions Near 0x500d98eb:
    Memory tag=240         000000000ebd0000-000000000ec90000 [  768K] ---/rwx SM=NUL 
    -->
    __TEXT 0000000070000000-0000000070142000 [ 1288K] r-x/rwx SM=COW  /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
    Application Specific Information:
    objc_msgSend() selector name: orderOut:
    objc[9434]: garbage collection is OFF
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libobjc.A.dylib                 0x92115d47 objc_msgSend + 23
    1   com.macromedia.Flash Player.app 0x00467d96 main + 240950
    2   com.macromedia.Flash Player.app 0x0047efda main + 335738
    3   com.macromedia.Flash Player.app 0x002feae2 0x1000 + 3136226
    4   com.macromedia.Flash Player.app 0x0033a77b 0x1000 + 3381115
    5   com.macromedia.Flash Player.app 0x00462718 main + 218808
    6   com.macromedia.Flash Player.app 0x004628b2 main + 219218
    7   com.apple.CoreFoundation        0x98e0b3df __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
    8   com.apple.CoreFoundation        0x98e0ad96 __CFRunLoopDoSources0 + 246
    9   com.apple.CoreFoundation        0x98e34c68 __CFRunLoopRun + 1112
    10  com.apple.CoreFoundation        0x98e3447c CFRunLoopRunSpecific + 332
    11  com.apple.CoreFoundation        0x98e34328 CFRunLoopRunInMode + 120
    12  com.apple.HIToolbox             0x9289117f RunCurrentEventLoopInMode + 318
    13  com.apple.HIToolbox             0x928984e7 ReceiveNextEventCommon + 381
    14  com.apple.HIToolbox             0x92898356 BlockUntilNextEventMatchingListInMode + 88
    15  com.apple.AppKit                0x98fe8a9c _DPSNextEvent + 678
    16  com.apple.AppKit                0x98fe8306 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113
    17  com.apple.AppKit                0x98fe4675 -[NSApplication run] + 911
    18  com.apple.AppKit                0x99278261 NSApplicationMain + 1054
    19  com.macromedia.Flash Player.app 0x000032a2 0x1000 + 8866
    20  com.macromedia.Flash Player.app 0x000031c9 0x1000 + 8649
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib          0x97d3f90a kevent + 10
    1   libdispatch.dylib               0x99a75c58 _dispatch_mgr_invoke + 969
    2   libdispatch.dylib               0x99a746a7 _dispatch_mgr_thread + 53
    Thread 2:
    0   libsystem_kernel.dylib          0x97d3e83e __psynch_cvwait + 10
    1   libsystem_c.dylib               0x9237ce78 _pthread_cond_wait + 914
    2   libsystem_c.dylib               0x9232482a pthread_cond_wait + 48
    3   com.macromedia.Flash Player.app 0x003ff62f 0x1000 + 4187695
    4   com.macromedia.Flash Player.app 0x0001a06c 0x1000 + 102508
    5   com.macromedia.Flash Player.app 0x003ff70c 0x1000 + 4187916
    6   com.macromedia.Flash Player.app 0x003ff73a 0x1000 + 4187962
    7   com.macromedia.Flash Player.app 0x003ff847 0x1000 + 4188231
    8   libsystem_c.dylib               0x92378ed9 _pthread_start + 335
    9   libsystem_c.dylib               0x9237c6de thread_start + 34
    Thread 3:
    0   libsystem_kernel.dylib          0x97d3e83e __psynch_cvwait + 10
    1   libsystem_c.dylib               0x9237ce78 _pthread_cond_wait + 914
    2   libsystem_c.dylib               0x9232482a pthread_cond_wait + 48
    3   com.macromedia.Flash Player.app 0x003ff62f 0x1000 + 4187695
    4   com.macromedia.Flash Player.app 0x0001a06c 0x1000 + 102508
    5   com.macromedia.Flash Player.app 0x003ff70c 0x1000 + 4187916
    6   com.macromedia.Flash Player.app 0x003ff73a 0x1000 + 4187962
    7   com.macromedia.Flash Player.app 0x003ff847 0x1000 + 4188231
    8   libsystem_c.dylib               0x92378ed9 _pthread_start + 335
    9   libsystem_c.dylib               0x9237c6de thread_start + 34
    Thread 4:
    0   libsystem_kernel.dylib          0x97d3e83e __psynch_cvwait + 10
    1   libsystem_c.dylib               0x9237ce78 _pthread_cond_wait + 914
    2   libsystem_c.dylib               0x9237cf7b pthread_cond_timedwait_relative_np + 47
    3   com.macromedia.Flash Player.app 0x003ff5f8 0x1000 + 4187640
    4   com.macromedia.Flash Player.app 0x001c58fe 0x1000 + 1853694
    5   com.macromedia.Flash Player.app 0x003ff70c 0x1000 + 4187916
    6   com.macromedia.Flash Player.app 0x003ff73a 0x1000 + 4187962
    7   com.macromedia.Flash Player.app 0x003ff847 0x1000 + 4188231
    8   libsystem_c.dylib               0x92378ed9 _pthread_start + 335
    9   libsystem_c.dylib               0x9237c6de thread_start + 34
    Thread 5:
    0   libsystem_kernel.dylib          0x97d3e83e __psynch_cvwait + 10
    1   libsystem_c.dylib               0x9237ce78 _pthread_cond_wait + 914
    2   libsystem_c.dylib               0x9237cf7b pthread_cond_timedwait_relative_np + 47
    3   com.macromedia.Flash Player.app 0x003ff5f8 0x1000 + 4187640
    4   com.macromedia.Flash Player.app 0x00305328 0x1000 + 3162920
    5   com.macromedia.Flash Player.app 0x003ff70c 0x1000 + 4187916
    6   com.macromedia.Flash Player.app 0x003ff73a 0x1000 + 4187962
    7   com.macromedia.Flash Player.app 0x003ff847 0x1000 + 4188231
    8   libsystem_c.dylib               0x92378ed9 _pthread_start + 335
    9   libsystem_c.dylib               0x9237c6de thread_start + 34
    Thread 6:: com.apple.audio.IOThread.client
    0   libsystem_kernel.dylib          0x97d3cc22 mach_msg_trap + 10
    1   libsystem_kernel.dylib          0x97d3c1f6 mach_msg + 70
    2   com.apple.audio.CoreAudio       0x9cd8e9fe HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned long, unsigned long, mach_msg_header_t*, unsigned int) + 122
    3   com.apple.audio.CoreAudio       0x9cd8ea6a HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, unsigned int) + 60
    4   com.apple.audio.CoreAudio       0x9cd86e5f HALC_ProxyIOContext::IOWorkLoop() + 1145
    5   com.apple.audio.CoreAudio       0x9cd86926 HALC_ProxyIOContext::IOThreadEntry(void*) + 136
    6   com.apple.audio.CoreAudio       0x9cd86898 __HALC_ProxyIOContext_block_invoke_6 + 20
    7   com.apple.audio.CoreAudio       0x9cd8681d HALB_IOThread::Entry(void*) + 69
    8   libsystem_c.dylib               0x92378ed9 _pthread_start + 335
    9   libsystem_c.dylib               0x9237c6de thread_start + 34
    Thread 7:
    0   libsystem_kernel.dylib          0x97d3f02e __workq_kernreturn + 10
    1   libsystem_c.dylib               0x9237accf _pthread_wqthread + 773
    2   libsystem_c.dylib               0x9237c6fe start_wqthread + 30
    Thread 8:
    0   libsystem_kernel.dylib          0x97d3f02e __workq_kernreturn + 10
    1   libsystem_c.dylib               0x9237accf _pthread_wqthread + 773
    2   libsystem_c.dylib               0x9237c6fe start_wqthread + 30
    Thread 0 crashed with X86 Thread State (32-bit):
    eax: 0x00dbe0e0  ebx: 0x00dbe0e0  ecx: 0x99985548  edx: 0x500d98cb
    edi: 0x0000036e  esi: 0x00aad0e0  ebp: 0xbfffe4f8  esp: 0xbfffe488
    ss: 0x00000023  efl: 0x00010202  eip: 0x92115d47   cs: 0x0000001b
    ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
    cr2: 0x500d98eb
    Logical CPU: 1

    Looks like it was a memory problem with the jvm.ini file.
    Pumped it up to 256 and it works now.
    Hope this helps anyone else in the future if they come across it.
    Thanks.

  • How do I open a new browser window from Flash

    I wish to open a new browser window from Flash and when the new window closes to return to the location from whence I started.
    ThomasChen

    The command to open a new window would be the "_blank" part of a command to link to a web page in the code below.
    navigateToURL(new URLRequest("http://www.anothersite.com", "_blank"));
    As far as the new window closing and getting back to where you were in the original window, I don't understand where that original window might have gone to... You should be wherever you last left it.

  • How to get "Subject" & "Message" text from Flash form to default e-mail MS Outlook?

    Hi,
    I have the following code which is working fine except I can't get the user typed data from flash form to my default e-mail (MS Outlook) application. How to edit the following code?
    In the code:
    1) To  ---->  this field is okay since this email ID doesn't change
    2) Cc  ---->  this filed is also okay since no changes will be in email ID
    3) Subject  ----> this may not be always as "Feedback", user may like to change the subject
    Whant I would like to add more here is:
    1) From  ----> this text to be retrieved from "fromText.txt" input text box
    2) Message  ----> this text to be retrieved from "MessageText.txt" input text box
    //1.Button event listener
    SendMail.addEventListener(MouseEvent.CLICK, SendEMail);
    //2.The SendMail function open up email application to send email.
    function SendEMail(event:MouseEvent):void {
    var email:URLRequest = new URLRequest("mailto:[email protected]?CC=[email protected]&Subject=Feedback");
    navigateToURL(email, "_blank");
    Thanks in advance for any support.
    Regards.

    Thanks for the reply. I tried the code and result is like the following:
    To: [email protected]
    Cc: [email protected]
    Subject: [object TextField]?body=From: [object TextField]
    Body: Blank
    The problem exist in SUBJECT & BODY.
    Further help, please.
    Thanks.
    PS: I removed the ? before body and put & ------> the result is as follows:
    To: [email protected]
    Cc: [email protected]
    Subject: [object TextField]
    Body: From: [object TextField]
               [object TextField]
    One more thing that it opens an empty web page with the following text in adress bar:
    mailto:[email protected]?CC=poweruser@helpdesk&Subject=Feedback

  • Quick time player useing fire fox disconnect code 3285

    I,am having issues using quick time plug in with the fire fox browser code 3285 disconnected

    I am usng IE 7 and the sound starts automatically straight
    away, and the site doesnt take that long to load.. 2/3 secs, but I
    am on quite high broadband, but still
    There was no problem with that

Maybe you are looking for

  • How to beat the 32KB limit in AQ messages?

    We are using AQ for publishing and subscribing XML messages through InterConnect and have developed a PL/SQL API for apps to use. We use the "normal" design of RAW payload, but the DBMS_AQ.ENQUEUE procedure has a max RAW payload size of 32KB. The pro

  • Creation of Sequences in Oracle

    Hi If i want to create large number of sequences around 30 to 35 sequences in a single database,Is there any performance down in oracle server or any limitation? Please explain if so ! As in next project we are going to create around 30 to 35 sequenc

  • Installation error - CE 7.1

    Dear all, My installation stops with an error asking me to check the following file : xuser_c_J2EE.log The log shows the following error: FATAL: Put xuser entry failed: USER data newer than component I am trying to install SAP NetWeaver CE 7.1 SP5 on

  • How to link MacBook Pro 15" Retina with 2 EIZO ColorEdge CE240W monitors

    I have the new MacBook Pro 15" with retina display (with 2 thunderbolt outputs, 2 USB, and an HDMI) and 2 EIZO ColorEdge CE240W monitors (they have a VGA, DVI, 2 downstream USB, 1 upstream USB). How can I go about linking my MacBook Pro to the two EI

  • AVG/Quorum Location

    Hi all, We've been tasked in creating a automatic failover between SQL servers that reside in different datacenters in the result of a complete datacenter failure. We've worked with AVG before, and have used file share witness as the quorum. The prob