Embedded ActiveX in a Flex app

We have a requirement to embed a signed ActiveX control in
both a Flex and an AIR application. Flex does not support HTML
content, but AIR does, but it still filters out the Object tags. We
are looking for some help to see how we can achieve this, either
via a custom component or a hook available to make this possible.
We've explored the iFrame approach, but have run into more issues
than solutions with that approach.
Thanks!

Hi Cnunciato,
Can you please expalin a bit more the whole process with which i willl be able to use activex in flex and which will also help in hoating activex in IE.
If you could provide some link to some example or some sample code , i would be highy grateful.
Thanks
Vasu Gulati.

Similar Messages

  • Embedding swf/parts of flex app in pdf

    Hi,
    We want to be able to export to pdf in our flex app.  I know alivePDF among others do this.  However, we want to take the extra step to be able to embed flex into the pdf itself - making the pdf interactive and not just a report.  Is there a third party library that someone can recommend that can do this?  I believe lifecycle services does this, but we don't have a license.
    Thanks in advance.

    You must use the 3.4.1 SDK that is provided on LiveCycle DVD or from an installation of Workbench (See the Customizing LiveCycle Workspace ES2 at at  http://help.adobe.com/en_US/livecycle/9.0/customizeworkspaceui.pdf or the Creating Flex applications enabled for LiveCycle Workspace ES2 guide http://help.adobe.com/en_US/livecycle/9.0/createflexapps.pdf guide).
    There are functions in the SwfConnector component that allows you to communicate with the IFrame but as far as I know, there are no APIs that are exposed.
    I'll defer to others if they know about it.
    Hope that helps!

  • Is it possible to embed an external control (eg ActiveX) into a Flex app?

    I'd like to build an app, and Flex seems to be a good option.
    The Flex stuff would be hosted in an application within the Adobe
    ActiveX Flash Player. The communication between the hosting
    application and the Flex application would be possible via the
    ExternalInterface. However, I'd need to embed a special control (in
    fact a word processor) in one of the panels of the Flex
    application. Is there a way to do it? It could be a browser window
    as well.
    Thx

    I am new to flex myself but as musch as i know and if i have
    rightly understood your problem than if the control is compatible
    to flex ie: written in action script version supported by the flex
    version you are using than you can create a library project and add
    the action script code to it. now add the flex library project or
    the resulting .SWC file to your original project's library build
    path. your new control will apear in the custom controls
    list

  • Embeded Flash movies in Flex app

    Hi,
    Flex noob with no real Flash experience. I have successfully
    loaded a Flash analogue clock swf file into an app I'm
    experimenting with in Flex. I used the image tag and is works well.
    I would like to also embed a Flash movie which is a news scroller.
    This movie calls in an external XML file as it's text source (who's
    content I change dynamically with php) and the original movie was
    wrapped in some html which passed in some 'param' parameters. Can
    anyone explain how Flex handles Flash movies like this?,
    many thanks,
    Mike

    I found a solution to my problem so I thought I'd answer my
    own question here for the good of others who may experience the
    same issue. When using Flex on your local machine (localhost),
    security precautions inherent in Flash prevent the movies from
    showing up in Flex. Once I tested on the production server the
    movies showed up fine. The problem was nothing to do with the
    param's being passed in and Flex did not need any of the info from
    the html wrapper as far as I can make out,
    Hope that saves another newbie from some hair pulling,
    cheers,
    Mike

  • Generating PDF with Flex App (swf) embedded

    Hi,
    Does anyone has the experience in developing a Flex Application that is to be
    embedded into a PDF and open in the Reader/Acrobat for data capturing?
    How to embed the Flex Application (swf) into a PDF in a Livecycle process?
    With the XML data prepopulated into the PDF (embedded with a schema) and
    accessible by the Flex Application when open in Reader/Acrobat.
    Users will still be able to save the data filled in the Flex Application into the PDF
    and also to generate a XML data (with data capturing in the Flex App) to be
    submitted back to the server.
    How can these be achieve? Any example?
    Thanks alot.

    Just wondering, am I in the correct section of the forum? it seems like most of the discussions listed here are related to form designing rather than form rendering.
    I know this is FORMS ES section, just that i come across something that might related to the topic.
    Has anyone try out Adobe LiveCycle PDF Generator ES2 new features?
    Based on Adobe Upgrade Center http://www.adobe.com/products/livecycle/upgrade/pdfgenerator.html, it mentioned that PDF Generator ES2 has the ability to embed SWF files in PDF.
    But is this also applicable to Flex Application compiled SWF file?
    Does the generated PDF function as a normal interactive form?
    Able to retain its embedded schema and objects (scripts)?
    I will try to install LC ES2 to try out but need sometime to setup the system, really appreciate if someone can give me a head start.
    Thanks.

  • Embedding HTML page into Flex using Adobe AIR

    Hi,
    This is Siva Kumar. Need help in embedding an HTML in Flex .
    We are using Adobe Air. To embed an HTML in Flex we used
    <mx:HTML> tag. Its working fine but whts the problem is its
    not allowing to download files / attachements. I tried to use
    google flex iframes to resolve this issue. I am able to download
    files/attachments if I open application as web / standalone. If I
    try to open same application using adobe air its giving error like
    " ExternalInterface is not available in this container.
    Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or
    other browsers that support NPRuntime are required"
    Later wht I found is at present ExternalInterface is not
    supporting adobe air.
    Could anybody help me to resolve this issue. If anybody has
    any idea on how to overcome this issue. Please suggest me to
    resolve this issue. Thanks in Advance.
    Thanks,
    Siva Kumar

    looks like your equipmentArray is empty. Put a breakpoint inside that method to see if there is any data.

  • How to call Flex app from Javascript in portal question

    I've setup my flex 4 app with a callback function. The flex app is embedded in a Java portlet on a WebLogic Portal 10.3.2. How can I call the Flex app from the portlets javascript function? Code below shows how the flex app is embedded in the wrapper jsp.
    <script language="JavaScript" type="text/javascript">
            AC_FL_RunContent(
                        "src", "<%= srcPath %>",
                        "id", "<%= (String)request.getAttribute("portlet_name") %>",
                        "name", "<%= (String)request.getAttribute("portlet_name") %>", 
                        "width", "<%= request.getAttribute("width") %>",
                        "height", "<%= request.getAttribute("height") %>",
                        "align", "middle",
                        "quality", "high",
                        "FlashVars", "PORTLET_WS=<%= request.getAttribute("window_state")%><%= wsrpEncodedChannel %>",
                        "allowScriptAccess","sameDomain",
                        "type", "application/x-shockwave-flash",
                        "pluginspage", "http://www.adobe.com/go/getflashplayer");         
    </script>

    Thanks for the response. I followed the instructions in the link, but it does not appear to work within a Weblogic 10.3.2 portal. My Flex app is wrapped in a Java JSR 286 portlet. Should this approach work or is there a different approach for the portlets wrapper JavaScript to call a Flex callback function?
    thanks
    Dan

  • Ebedded Flex app does not play automatically

    I have a flex app that is embedded in a web page.
    When the page loads for the first time the app does not run
    automatically but is in "loop" mode.
    In order to embed the application in the html page we have
    copied the html and javascript files that the Flex builder
    generates :
    AC_OETags.js, history.htm, history.js etc.
    This only happens the first time the page is loaded,
    subsequently it loads and plays automatically.
    I would be grateful is anyone has some insight here.

    Thanks for your answer, we found a similar workaround.
    We did the following:
    1) disable automatic starting of the SWF in the script that
    created the plugin by adding these parameters:
    "play", "false",
    "loop", "false",
    2) adding some own javascript to the template-html:
    var isMovieLoaded = false;
    function setIsMovieLoaded(){
    isMovieLoaded = true;
    function start(id) {
    var swf = document.getElementById(id);
    if (swf) {
    swf.Play();
    function playMovie(){
    if( !isMovieLoaded ){
    start( "${application}" );
    window.setTimeout("playMovie()", 3000);
    3) calling setIsMovieLoaded() via ExternalInterface from the
    loaded application when initializing:
    if (ExternalInterface.available)
    ExternalInterface.call("setIsMovieLoaded");
    This way when the application loads and plays correctly, the
    delayed call to playMovie in the html-template does nothing,
    because the flag isMovieLoaded was already set by the application.
    If that is not the case, the movie is explicitly startet via
    the start function.
    Thanky anyway :-)

  • Standalone Flex App

    I want to use some components from a Flex app that we are
    developping to create a standalone application for some of our
    clients who just want to use a few (small) features of our
    application.
    I'm planning to use the in-process HSQLDB database and no
    server-side code (i.e. no server at all), and have the following
    questions:
    1. Did anyone try to this yet? Is it at all possible?
    2. How can I setup a jdbc connection to an in-process
    (embedded) hsqldb, without going through a server object?
    Thanx in advance for any suggestion (even: "not possible,
    forget it...")
    Rui

    You want to look for Adobe Apollo (coming out next year) or
    mdm Zinc's product. At least with Zinc, You can make standalone
    Flex exe projects that can connect to local databases etc...

  • Flex app doesnt not appear until mouse over?

    I have a flex app embeded into a web page. It seems to work right in FF and Chrome but all the IE users it is just blank, and stays blank until you move the mouse over the blank spot where it is supposed to be...then it appears instantly. Does anyone have any clue why or how to fix this?
    Thanks!!

    I found an answer here: http://forums.adobe.com/message/1979424#1979424
    I need to set focus on load like this:
    <body onload="document.getElementById('WeddingBandBuilder').focus()">
    However I am having trouble doing this because the <body> tag is locked my the template..is there a way I can do the equivalent with a script in the <head> tag?

  • Can I load a swf into my Flex app that loads other swf's?

    The code below loads an AS2 swf into my Flex mobile for IOS app and it works.  If that AS2 swf has like a circle in it that runs across the stage, it loads and displays properly when run in FlashBuilder.
    <?xml version="1.0" encoding="utf-8"?>
    <s: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"
                                     initialize="init()">
              <fx:Script>
                        <![CDATA[
                                  import mx.core.UIComponent;
                                  private var request:URLRequest = new URLRequest("http://PATH_TO_AS2_SWF");
                                  private var loader:Loader = new Loader();
                                  private var myComponent:UIComponent = new UIComponent; 
                                  private function init():void{
                                            myComponent.percentHeight = 100;
                                            myComponent.percentWidth = 100;
                                            loader.load(request);
                                            myComponent.addChild(loader);
                                            player.addElement(myComponent);
                        ]]>
              </fx:Script>
              <s:Group id="player"
                                   height="100%" width="100%"/>
    </s:Application>
    But if that AS2 swf loads other swf's, they don't load or display.  My FlashBuilder debugger reports no errors or security sand box violations.   I'm using the most elemental code in my AS2 swf so as to not cause problems.  This is it in its entirety:
    this.onLoad = function(){
              _root.loadMovie("http://[PATH_TO_REMOTE_SWF]");
    The paths to the remote content are fine because swf's load and display fine from AS2 swf when run on it's own - not embedded in Flex app.  They also load and run fine if I cut out the AS2 swf and access directly from my Flex code.  So I know there isn't a path issue.  More likely not accessing the right layer in the AS2 swf from Flex or something.  Or maybe security sandbox violation but I don't see anything reported in the FlashBuilder debug console.  When run console just reports:
    [SWF] SwfMobile.swf - 2,639,761 bytes after decompression
    [SWF] assets/swf/AS2.swf - 1,470 bytes after decompression
    Is there something inherently wrong with loading swf's that load other things?  Even if I have the AS2 swf load jpgs they don't load so the format of the target content at the end of the chain doesn't seem to be the issue.  Just the act of embedding a swf that loads other things seems to be the problem.

    Ah, yes. Using an AVM1 SWF could prove difficult...
    I'm going on about 3 hours of sleep at the moment, but let me toss out a few thoughts I have and hopefully something will stick...
    Ok, so my first thought what to try and cast the loaded content as a MovieClip and call methods on that, but the fact they are AVM1 throws that out the window.
    That leaves LocalConnection, as you mentioned. But this would require you to have code on the receiving end to handle the connection... no good either.
    But what if you created a "bridge" in AS2 that holds all the code for the receiving end of LocalConnection (or has the control logic itself, perhaps even eliminating the need for LocalConnection all together!). I think maybe this is what you were trying to do already by loading a SWF into a SWF? Well instead of loading your bridge at runtime, what if you statically linked it into your project as a class?
    *a few moments later*
    Well it looks like you can in fact link in a a symbol created for AVM1, but it will only come in as a SpriteAsset, and will not include any custom code (which makes sense, since they use entirely different class constructs).
    To do the test, I created a symbol exported for actionscript (AS2/Flash8), then linked it in with a CSS style embed. I then instantiated the class and called describeType on it.
    So in summery, it looks like calling custom code on the bridge is out (I did not test this extensively, that was just my first impression with this simple test). However, if you may be able to perform the actions you need by attempting to cast the loaded content into something AVM2 can recognize. Apparently it does this automatically when linked in statically, so maybe there is something there worth looking into... mainly, can you do what you need using only the base class and no custom code?
    Keep me posted!

  • Providing application-level help within Flex apps

    What is the general guideline / approach for help (not
    embedded or field-level help but page level or application level
    help like you get when you click Help in most applications) within
    a Flex app? Is it to spawn a new Window that goes to standard
    HTML-based help engines/content or to display the content in a
    dialog within the Flex application itself? Thanks

    Slow down! Found it here:
    http://raghunathraoflexing.blogspot.com/2006/12/flex-i-frame.html

  • How CAn I Use a URL variable in Flex App

    Let say the link to a web page embedding a flex 2.0 app is
    http://www.myname.com?name=Bruce
    and I need to use the URL.name variable in the Flex app.
    How can I access URL parameters inside my Flex app?
    Bruce

    You probably know by now but I though maybe a could actualy
    answer someone question.
    {Application.application.parameters.name)
    put that in mx:text and you can see the var "name"

  • Ipad 3 supports FLASH/FLEX Apps, web or not

    ipad 3 supports FLASH/FLEX Apps, web or not?

    Apps, yes. Embedded in a web-page, no.
    Specifically, a FLEX application bundled as an iOS app and sold through the App Store or distributed ad hoc using an enterprise license will work just fine.
    Embedded FLASH (e.g., in a web-page) requires that the browser have a Flash plug-in. iOS doesn't support browser plug-ins, and Adobe dropped development and support for mobile versions of Flash (iOS and Android) a year ago (and laid off the staff related to it), so there will never be one. For what it's worth, Adobe has made it clear that it's also going to drop support for desktop browser plugins as well in the near future (in part because of the wider array of browsers requiring support, and also because Microsoft is dropping browser plugin support from their Windows 8 Metro browser and from their Windows RT browsers).
    Going forward, Adobe presumes everyone will stick with HTML5+JavaScript in browsers and a FLEX will be used for standalone application development. They are already modifying their products to reflect this change.

  • Flex apps will not run in Browser after install

    I am running IE 6 (Wintel) and have tried both installers for
    the most recent Flash player -- activeX and the other standalone
    one. I cannot view any Flex apps now in my browser - most notably
    the derby examples. It seems to hang on a screen that has the title
    "Flash Player Installation" -- like something in the apps is
    sniffing for the player, not finding it, and then hanging on some
    "automatic" install hook that has been built for Flex but not
    completely implemented yet. That is my suspicion, but I just want
    it to work -- do I need to uninstall/reboot/install again ? Any
    tips would be greatly appreciated as I need to start a Flex 2
    project next week. thanks.

    You definatately need to run the unistaller 1st. Also make
    sure that all IE browser are closed, and that nothing that could
    possibly be using IE functionality (things like outlook, file
    manager etc...) are not running or the uninstall may well fail.
    Once this is succefully accomplished, re-install.

Maybe you are looking for

  • Error with Java Virtual Machine Laucher

    Hi, I'm getting the follwowing error with I try to lauch universal installer. Fatal exception occured. Program will exit. Does anyone have any idea what's going on? I have java ee 5 sdk installed on my machine.

  • Why is my macbook pro running so slow and so slow to reboot?

    Hello, I edit using Lightroom and Photoshop and I'm having an issue while editing. After editing around 8-10 photos in Photoshop the computer starts running unbelievably slow. After each 8-10 photos I have to close down everything and reboot. Even th

  • Problem in running MS DOS command in ODI

    Hi, I am trying to execute the following command through ODI- cmd /c dir E:\Files\LLP_AFS\*.txt /b /a:-d > E:\Files\LLP_AFS\Filenames_llp_afs.txt But it is giving me error.I have tried several ways e.g. OSCommand,ODI procedure but no luck. I have exe

  • Error message when trying to delete rejected clips

    When I try to delete the rejected clips in some projects (from the event panel) I get the following error message: "The operation could not be completed. Error writing file: /Users/lee/Movies/iMovie Events.localized/imovie-001/04dx 01-1.mov" This onl

  • No iPhones in Saudi Arabia ..!

    Hello, *I am one of the iphone fans and I want to make a complaint out the provider here in my country.* *In Saudi Arabia, we are facing an issue with the iphone's distributer which is MOBILY! At the beginning, we were so happy that Mobily announced