Can I call flex to show a context menu from Javascript in a Flex mobile app?

I have started with actionscript and flex just 4 days ago. I need to create a mobile app that displays an external swf (do not have the source code) in an html page. When a user clicks on a point on the swf, a javascript function can be called. I want to use the Javascript function to call  actionscript code to display a context menu showing - send SMS, send email etc.. Is this possible at all?
Please suggest any alternatives also. 

Thanks. I using StageWebView to display a local HTML file(file://). But while I tried adding ExternalInterface addCallBack code and tested in the emulator - got the following error
Main Thread (Suspended: Error: Error #2067: The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime.)
Does it mean ExternalInterface cannot be used in a Mobile project using StageWebView?

Similar Messages

  • I can't add a tv show to my ipod from itunes

    I can't add a tv show to my ipod from itunes

    Why not? What happens when you try? Any error messages?  Does the video play in iTunes? What format is it in? 
    B-rock

  • How can I get anniversaries to show on my calendar from my contact list?

    How can I get anniversaries to show on my calendar from my contact list?

    well i dont know if this is what you want but you could says it is a birthday and it will tell you when it is, it can remind you, and even tell you what number (i.e. 23rd anniversary)
    - actually nevermind that wont work because it will always say birthday and you cant have two birthdays scheduled for the same person. i do not think that is possible without actually putting it in calendar to repeat every year and just telling you. Sorry.

  • Hide PerformancePoint "Show Details" Context Menu Item

    Hi,
    How to Hide PerformancePoint “Show Details” Context Menu Item in ScoreCard?
    I have tried the below code but i didnt get anything.
    if (PPSMA.MenuOptionHelper) {       
                PPSMA.MenuOptionHelper.prototype.showDetails = function () { return false; };
    Thanks & Regards
    Poomani Sankaran

    Hi Poomani,
    Refer this article
    http://electrovoid.wordpress.com/2012/05/03/pps-hide-show-details/
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Is there any way to prevent the right click context menu from combining Stop/Reload?

    Is there any way (about:config tweak, or something) to prevent the right click context menu from combining Stop/Reload?
    Screenshot of what I'm talking about: http://picsend.net/images/873089StupidReloadSto.png

    I did try the add-on ''Menu Editor'' https://addons.mozilla.org/en-US/firefox/addon/menu-editor/ but even when I separate the navigation reload and stop icons and explicitly have both stop and reload set to be visible on the right click context menu I only get the one option showing.
    Whilst there may be some way of changing this I do not know how to and I do not really see any use case for making such a change. Only one option of the choice: stop or reload, is available at any instance in time, but that is the option you are able to use, the other option is not active and so is not displayed.

  • Flex mobile app - which data grid control to use?

    Hi,
    Trying to build my first Flex mobile app in FlashBuilder 4.6 and I need a grid control to display a 2 dimmensional array of 6 columns x 50 rows.
    The user doesn't don't need to have any interraction with the grid except for scrolling the rows.
    I was looking at using dataGrid component but adobe doesn't recommend it for mobile apps.
    Is there a grid component that is recommended for mobile apps?
    Thanks

    Here it is.
    // Show empty grid to start
    private function initGrid():void
        const dataArray:Array = new Array(1);
        var values:Array = new Array(1);
        values[0] = "";
        dataArray[0] = values;
        grid.dataProvider = new ArrayCollection(dataArray);
    // Build array and feed it to the grid - 50 rows x 9 columns dataGrid (grid)
    protected function FillGrid():void
    var rows:int = 50;
    var columns:int = 9;
    // rows array
    const dataArray:Array = new Array(rows);
    // Get rows
    for(var row:int=0; row<rows; row++)
      const arrLine:Array = [columns+1];
      arrLine[0] = row+1;
      for(var col:int=1; col<columns+1; col++)
       // columns array
       arrLine[col] = Math.floor(Math.random()*10);
      dataArray[row] = arrLine;
    // At this point the multi dimensional array is assembled, now we connect it to the dataGrid
    grid.dataProvider = new ArrayCollection(dataArray);
    <!-- The DataGrid's dataProvider and typicalItem are set at initialize time by the initializeDataProvider method. -->
    <s:Panel id="tablePanel" x="519" top="91" width="470" height="400" color="#827259" fontSize="18" title=".">
    <s:DataGrid id="grid" left="5" right="5" top="5" bottom="5" selectionMode="singleRow" initialize="initGrid()" fontSize="17" >
      <!-- The default item renderer is used by the first 6 columns to display
      the dataProvider item's array element value at col. -->
      <s:itemRenderer>
       <fx:Component>
        <s:DefaultGridItemRenderer>
         <fx:Script>
          <![CDATA[
           override public function prepare(hasBeenRecycled:Boolean):void
            label = data[columnIndex];
          ]]>
         </fx:Script>
        </s:DefaultGridItemRenderer>
       </fx:Component>
      </s:itemRenderer>
      <s:columns>
       <s:ArrayList>
        <!-- Columns inherit the DataGrid's itemRenderer. -->
        <s:GridColumn id="zero"    headerText="N0" width="65" resizable="false"/>
        <s:GridColumn id="one"     headerText="N1" width="45" resizable="false"/>
        <s:GridColumn id="two"     headerText="N2" width="45" resizable="false"/>   
        <s:GridColumn id="three"   headerText="N3" width="45" resizable="false"/>   
        <s:GridColumn id="four"    headerText="N4" width="45" resizable="false"/>
        <s:GridColumn id="five"    headerText="N5" width="45" resizable="false"/>
        <s:GridColumn id="six"     headerText="N6" width="45" resizable="false"/>
        <s:GridColumn id="seven"   headerText="N7" width="45" resizable="false"/>
        <s:GridColumn id="eight"   headerText="N8" width="65" resizable="false"/>
       </s:ArrayList>
      </s:columns>
    </s:DataGrid>
    </s:Panel>       
    Tomexxus

  • How to remove Button from Flex Mobile app actionbar with AS3?

    How exactly would i remove a Button from the actionBar "actionContent" in a flex mobile app?
    I tried these:
        this.stage.removeChild(menu_btn);
        this.removeChild(menu_btn);
        stage.removeChild(menu_btn);
        this.stage.removeElement(menu_btn);
        this.removeElement(menu_btn);
        stage.removeElement(menu_btn);
    I'm not having any luck with those. Im guessing where it is located in the actioncontent isn't considered the stage. Any ideas?
        <s:actionContent>
                            <s:CalloutButton id="menu_btn" icon="@Embed('assets/images/menu/menu_btn.png')" visible="false">
                                      <s:VGroup>
                                      <s:Button id="btn_one" label="Button" />
                                      </s:VGroup>
                            </s:CalloutButton>
                  </s:actionContent>
    The actionContent is setup like that, I know like with most mxml stuff I could give it an ID to reference it but im not sure how how to give the action content an id number `<s:actionContent id="testID">` does not work. So how can i access this to remove it? making it invisible isn't cutting it i need to actually remove it.

    Does this do what you are looking for?
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView">
        <s:actionContent>
            <s:Button id="excess" label="excess" />
            <s:Button label="remove" click="this.navigator.actionBar.actionGroup.removeElement(excess);" />
        </s:actionContent>
    </s:View>

  • Datagrid for flex mobile apps

    Hello,
    Since in-built Datagrid component is not optimized to be used in flex mobile apps, what is the best alternative we can go ahead with?
    I have seen some of the posts which says that we can use List. But I'm still unable to find how List can be used. As we would need multiple columns, should we be using multiple Lists for each column?
    Kindly let me know if any of have have got this working and how.
    Appreciate your help..
    -Deepak

    Anyone please?:) Flex HarUI ??

  • What can i do if i accidentally deleted my iPhoto from my macbook air and the App Store couldn't recognize that i have bought it before and required me to buy it again ... should i buy it again or what ? i can't manage my photos now ...

    what can i do if i accidentally deleted my iPhoto from my macbook air and the App Store couldn't recognize that i have bought it before and required me to buy it again ... should i buy it again or what ? i can't manage my photos now ...

    Log into the app store using the Apple ID you used to set your computer up. Look under purchases. If it is not there you may need to accept it or to unhide it
    LN

  • Flex Mobile App eats memory on device

    Hi,
    I have my flex mobile app that manages a lot of bitmapdata objects. Every bitmapdata is disposed after use. It's a multi-layer drawing app, and I have many SpriteVisualElements displayed on the screen. Every SpriteVisualElement contains 4 SpriteVisualElement that I use to paint different images. The problem is that on device (iPad2) the app eats a lot of RAM. It's not a memory leak problem (the memory is properly released when I return to the first view). I don't know what to do... please help me!
    ps: on Flex profiler the app seems to consume 6 times less RAM

    oooooh nooooo
    you have to pay Apple first
    and then request a certificate and provisioning file
    and then try and figure out how to convert the certificate to a .p12 file
    and cross your fingers and hope they will allow it in their store
    and you have to own a mac, although there are some convoluted ways to get a certificate using a pc you still cant get onto the store without a mac

  • How to show tree context menu in screen reader mode

    Hi, experts
    I want to know is there a way to show context menu of a tree in screen reader mode. Or is there some way to get access to the actions in the context menu?
    We added actions such as "refresh", "delete" into the context menu. But in screen reader mode, I can't find a way to access them.
    Regards,
    Chris

    Hi François! Thanks you for your answer.
    I tried to do it, but didn't work, I couldn't reach the events NODE_CONTEXT_MENU_REQUEST and ITEM_CONTEXT_MENU_REQUEST I my implementation class.
    I found a example transaction to this problem (SMARTFORMS) I will debug it and try to found the solution.
    Thanks again.

  • How can i create a link in the context help from frontpanel elements like knobs and so on

    i want to create on context sensitive online help and therefore need to know how i can place a hyperlink in the context help from labVIEW of a frontpanel element

    lotto;
    You can place your help file in LabVIEW help directory, which should be in \help. If you place your help file in that directory, then when you start LabVIEW, you can access your help from LabVIEW's help menu (there will be an extra entry with the name of your help file.)
    To link your control or vi to this help file, open the front panel (or the panel where you edit the control) and open the VI setup. In the help path field write the following:
    :\name.hlp
    Where "name" in the name of your help file. in the "Help Tag" field you should enter the tag you already assigned to the topic in the help at design time. (I suggest the tag to be similar as the vi or control name.)
    After all this, the next time you start LabVIEW,
    you should be able to access the context help file to your control or vi by right-clicking on it and selecting "Online Help".
    IMPORTANT NOTE: Be aware that you may loose files you locate in special directories in LabVIEW, like the help, because those directories might be overwritten when you upgrade your software. Another option can be to locate your help file in a directory other than LabVIEW's help. The steps are almost the same, except that you won't be able to access your help file from LabVIEW's help menu.
    Best regards;
    Enrique
    www.vartortech.com

  • How can I have html5 audio continue to play in background in iOS7 from my flex mobile app

    I have mobile app I've developed in flash builder 4.6 (flex 4.12 sdk) and I have a stagewebview component which contains HTML5 audio (mp3 retrieved from my web server and streamed / played via the app)... I want to have the ios version of the app CONTINUE to play the mp3 / html5 audio when the user presses the home button on their iphone or opens another app... so that when multitasking, my audio continues to play (where theres no other NEW audio started, for instance).
    I have added the following to my manifest but it still doesnt do what Im after. I used this in another mobile app where I just play audio from the url directly in flash builder (i.e. NOT via webview component) -- but here it seems the webview suspends (Im guessing)...
    <iPhone>
        <InfoAdditions><![CDATA[
            <key>UIDeviceFamily</key>
            <array>
                <string>1</string>
            </array>
            <key>UIBackgroundModes</key>
            <array>
                <string>audio</string>
            </array>
        ]]></InfoAdditions>
        <requestedDisplayResolution>high</requestedDisplayResolution>
    </iPhone>
    Is there a way around this so my audio continues to play? My test device is an iphone 4 running the latest version of ios7

    You can import audio files into Logic (as easy as drag and drop).  You can download these loops from the Internet from a variety of sources both free and paid.  Just do a Google search for those.
    Once you've imported the file into Logic Pro, right click on the audio region and scroll down to the "Convert" option about halfway down the menu.  The top option will be "Add to Apple Loops library" - click this, and it'll add the file into your Apple loops.
    It won't affect the other loops in the library.

  • How can I call external SSL application to enter Payments from EBS 10.5.10?

    Hello
    I am not able to do
    [Can I call any ActiveX control in the Forms under Oracle EBS 11.5.10 ?|http://forums.oracle.com/forums/thread.jspa?threadID=1086549&tstart=135]
    Now I am looking for some ideas or alternatives or suggestions.
    We are at EBS 11.5.10 on 9i and window environment.
    Background:
    We have a custom application that runs in EBS to enter payments againts Customers, Invoices or Orders. (pl do not recommand iPayments)
    When payment type is CreditCard upon saving a procedure calls a consol apps to charge the card electronicaly using Authorize.net APIs.
    Problem:
    Now this procedure of calling (consol apps) is not PCI compliance as unencrypted card number is passed to console app. (consol app is not using SSL connection)
    Solution:
    Created SSL web site using .NET and can call this using WEB.SHOW_DOCUMENT. Because this is external apps hence I can not get data/response back to calling form (Oracle EBS). This solution is not very elegant as user has to manually query (in the EBS) after saving/submitting/closing web page.
    Any other idea to improve above solution or or suggestions for new one. Except for payment part everything else in this suitation is in EBS.
    Thanks a lot.

    All Gurus please give some advice. Its is for EBS 11.5.10 (not 10.5.11 typo in the message title). Thanks..

  • How can we call a task in process definition A from Process definition B

    Hi,
    Is that possible to call a task in process definition A from Process definition B?
    Thanks.

    Sure, as long as you can come up with the correct query to lookup the task key for the task you want to run.
    provIntf.addProcessTaskInstance(taskKey, processInstanceKey);
    -Kevin

Maybe you are looking for

  • CS5 photoshop color shift problem

    When I open or copy any image into photoshop, for some reason it changes the colors.  For example if I have an image that has blue text, when I open it in photoshop the text becomes purple.  Has anyone heard of this problem before?

  • Need help in designing fetching of huge amount of records from a DB

    Hello, I am having a starard application which fetches data from MSSQL Server using this standard code: CallableStatement cs; Connection connection; cs = connection.prepareCall("{call " + PROCREQUEST_SP + "(?,?,?)}"); cs.execute(); ResultSet rs = cs.

  • Is there an easier way to creating complex trim marks?

    I'm creating the surface graphics for a box/package cut-out and it will require multiple trim marks. I could make individual trim marks for the box but their would be over 30 edges. Could there be a script out there that would make it easier? Thank y

  • Mac mini - wouldn't start

    No luck with any number of power cycles. Just no way to go past initial apple logo. Appreciate suggestions.

  • Can not find print queue

    I sent a label print job from my Mac Mini to a Dymo 300 label printer. Job was wrong and I could not cancel or find print queue. Mac help said, printer icon will appear on dock while printing (does not) to click and stop or delete from there. Tried g