Flash ActiveX in C++ app - how to communicate?

Hello everybody!
I think that most of the people here on this forum will not be familiar with C++, but familiarity with Flash ActiveX controls is actually more than enough to help me!
Here is my situation. I'm doing some desktop application (C++), and I want to use some fancy graphics for GUI, and I think flash would be the good idea. Possible solutions include using GDI (too primitive), OpenGL (too complex for my task), Silverlight (not well supported yet) and Flash - which I will probably choose. And I need your help with some questions.
I'm using Visual C++ (MFC), so I just placed the Flash ActiveX control on the form, then loaded the SWF with put_Movie()/Play(), and now trying to communicate:
A) To communicate from flash to C++, e.g. to report when the button inside SWF is clicked. I think FSCommand is the solution here. Please tell me if any other methods exist.
B) To communicate from C++ to SWF - some mechanism to fire events in C++ and catch those events in flash (ActionScript). This is the part where I don't have any answers and need your advice.
Any kind of help would be much appreciated!

Still no reply.
I am waiting for any clue.
please help, I need it urgently.

Similar Messages

  • How to open the numeric keyboard in a mobile Flash Builder 4.5 app

    I would like to open the numeric keyboard in a mobile Flash Builder 4.5 app when click on a text field instead of the full keyboard.  Is this possible?

    It looks like this is implemented in Flashbuilder 4.6 through the softKeyboardType command:
        <s:TextInput softKeyboardType="number" />
    Here's a link to good article on it:http://devgirl.org/2011/11/29/flex-mobile-development-flex-4-6-cool-new-soft-keyboard-feat ures-sample-w-source/

  • Flash ActiveX, FScommand

    Hello All
    I would appreciate a little guidance on a issue I'm having.
    I am using A'ware 7.02 and Flash 8.
    I am building a wrapper program that launches a flash-based
    assessment that is designed to work with a Scorm-compliant LMS.
    There has been a breakdown in rolling out the LMS, so I've had to
    simulate an LMS within the wrapper, so that it can run on a network
    drive until the servers are ready.
    The assessment communicates with a flash-based utitlity that
    directs most of the communication between Aware and the Assessment.
    The only way I have been able to successfully have all three
    pieces communicate with each other is to launch the two flash
    pieces using the Shockwave for Flash Active X control. The problem
    is there are 5 assessments and growing, each in a unique location.
    I have had to have a unique sprite for each assessment because I
    can't figure out how to do a relative path in the control.
    I don't like not being able to add assessments without going
    back into the Aware peice. Any suggestions?
    I have not seen any documentation on best practices when
    having three different programs communicate this way.

    Few questions...
    1. When you refer to 'two flash pieces' in your fifth
    paragraph, are these
    the utility and the assessment itself?
    2. IMO you'll have to learn the inner workings of the utility
    in order to
    have it launch each new assessment on the fly. It should be
    possible to do
    this, however.
    3. Relative paths should not be a problem in the ActiveX
    itself...rather,
    you'll be using the ActiveX to control the logic of the
    utility.
    4. Finally a general question...if this tool/simulation
    you're building is
    a short-term solution until the servers are set up, is it
    really worth
    building? Why not just wait until the servers are ready?
    OTOH, it might be
    a great thing for you, as you'll be learning a lot about
    Flash-AW
    communication.
    Additional comments....
    SCORM based assessments that I've worked with send out a data
    package when
    the 'submit' button is pressed by the assessment-taker and
    this follows a
    stardard format of 9 specified fields. If you like send me
    the relevant
    files (including the FLA of the utility if you can get it)
    and I'll try to
    sort it all out for you.
    Also, as you say there is little documentation on having
    three programs
    communicate. There is, however, a nice little piece of
    documentation on the
    Flash ActiveX control API, which I'll send you if you contact
    me.
    -Marc Lee
    [email protected]
    "Like Fries w/ That?" <[email protected]>
    wrote in message
    news:[email protected]...
    > Hello All
    > I would appreciate a little guidance on a issue I'm
    having.
    > I am using A'ware 7.02 and Flash 8.
    > I am building a wrapper program that launches a
    flash-based assessment
    that is
    > designed to work with a Scorm-compliant LMS. There has
    been a breakdown in
    > rolling out the LMS, so I've had to simulate an LMS
    within the wrapper, so
    that
    > it can run on a network drive until the servers are
    ready.
    >
    > The assessment communicates with a flash-based utitlity
    that directs most
    of
    > the communication between Aware and the Assessment.
    >
    > The only way I have been able to successfully have all
    three pieces
    > communicate with each other is to launch the two flash
    pieces using the
    > Shockwave for Flash Active X control. The problem is
    there are 5
    assessments
    > and growing, each in a unique location. I have had to
    have a unique
    sprite for
    > each assessment because I can't figure out how to do a
    relative path in
    the
    > control.
    >
    > I don't like not being able to add assessments without
    going back into
    the
    > Aware peice. Any suggestions?
    >
    > I have not seen any documentation on best practices when
    having three
    > different programs communicate this way.
    >

  • Making ActiveX Server with App Builder

    OK I am writing a program in C++. I want the GUI to be in Labview and I need the C++ program and Labview GUI to communicate. So I used the app builder to create an ActiveX Server. So how do I use this? Do I use the GUI.tlb instead of the normal labview.tlb? Do I still create an application reference to Labview or do I create an application reference to GUI.exe since this is my executeable now? I can't find much documentation on this at all... Please help!

    > OK I am writing a program in C++. I want the GUI to be in Labview and
    > I need the C++ program and Labview GUI to communicate. So I used the
    > app builder to create an ActiveX Server. So how do I use this? Do I
    > use the GUI.tlb instead of the normal labview.tlb? Do I still create
    > an application reference to Labview or do I create an application
    > reference to GUI.exe since this is my executeable now? I can't find
    > much documentation on this at all... Please help!
    Switch over to using the GUI components that you mention. Think of it
    this way, your C++ program could need to use both LabVIEW and GUI. For
    that to work, most of the connection pieces have to be specific about
    what they are dealing with.
    Greg McKaskle

  • PDF Portfolio on Flash ActiveX

    Is there any way to open PDF Portfolio's SWF file in Flash ActiveX (Visual C++ project)? How to implement communications between Flash ActiveX and its container? I know that Adobe has public PDF Reference and PDF portfolio is a part of this, but I can’t find any information about viewing PDF Portfolio content.

    I was looking for it but I could not find. Please, give me the directions where I can find that documentation. Give me the link or send that documentation to [email protected] I'll be very grateful for any information concerning this subject. Can you tell me also what company has implemented viewing of PDF Portfolios with this method?

  • I still get plug in failure even after uninstall and reinstalled adobe flash to my mac os x 10.7.5 (4 bit) with flash 16.0.0.235 how do I get this fixed??? HELP

    I still get plug in failure even after uninstall and reinstalled adobe flash to my mac os x 10.7.5 (4 bit) with flash 16.0.0.235 how do I get this fixed??? HELP

    That crash appears to be casued by the Facebook plug-in.
    Create a new account (systempreferences -> accounts or Users & Groups on 10.7 and 10.8), make a new Library in that account, import some shots  and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account.

  • Error message while installing Flash ActiveX

    I've recently installed Macromedia Flash MX 2004 with the
    idea of using as a tool for designing webpages. Everything was fine
    until I was asked to download Flash ActiveX 9.0 (which I already
    had) and I couldn't. I tried uninstalling Flash MX 2004 and then
    installing the ActiveX, but it was useless. Then I looked for help
    at Adobe site and I got the same results: nothing. I'm thinking
    that it can be some problem with the registry, because after
    installing Flash MX 2004 I was warned about a registry change by
    Scott Patrol (security program). However, I've posted a logfile of
    my registry on other forums and I was told it was clean.
    The problem is definitely not related with downloading the
    files, but with the installation process, as I've downloaded the
    files, and when trying to instal, the process stops at
    "Registering: C:\WINDOWS\Macromed\Flash\Flash9f.ocx".
    If someone can help me, I would be grateful.
    Agus77in

    It's something called Quickbooks; see How to close Internet Explorer and other programs running on Windows?

  • Flash activex version problem

    dear all
    my problem is as follows, please bear with me:
    i have a vb6 application which uses flash activex control to show swf files on my forms.
    when using flash10d.ocx (which was the latest at the time i first used it) everything worked fine and all flash files did their thing...
    since new versions of the ocx file have been released my app doesnt work properly anymore (some of the flash files appear distorted/dont refresh/resize properly, some doesnt appear at all.)
    i know that i can uninstall any version and re-install my flash10d.ocx. and if do, everything works fine again.
    but that cannot be a solution, cause my end users might (rightfully) want to be updated with the latest flash they can have. and i dont even have direct contact with any of them...
    any side-by-side installation i tried ended-up with vb using the latest version intalled, ignoring the older one
    any comment and direction will be greatly appreciated, i've been crawling the web for some time now...finding absolutely zilch
    thanx a lot in advance
    E.

    Hi Olga,
    Please try this
    Resolution
    Set Flash Player Security Settings to allow the local drive to be trusted. Also see the Xcelsius 2008 Installer Release Note on Adobe Flash Player Security.
    This will also occur if you snapshot or export to a local format such as PPT, HTML or Word and try to run the SWF file.
    To enable trust:
    1.)    Go to http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
    2.)    Select "Always Allow"
    3.)    In the "Always trust files in these locations:" drop down, select "Add location""
    4.)    Browse for the location in which your SWF file is located or add C:\
    Hope this helps.
    Regards
    Nikhil

  • I keep getting an error message which says at the top Flash Player Plug in App error _11_9_117.exe.

    I keep getting an error message which says at the top Flash Player Plug in App error _11_9_117.exe. In the lower part of the message, it says "exception unknown software exception (0X0000710 occurrred int the application 0X7780a389. What does this mean and how can I get rid of it?
    Longhorn

    I keep getting an error message which says at the top Flash Player Plug in App error _11_9_117.exe. In the lower part of the message, it says "exception unknown software exception (0X0000710 occurrred int the application 0X7780a389. What does this mean and how can I get rid of it?
    Longhorn

  • How Bridge communicates with third party applications?

    Hi,
    Is it possible to communicate between Adobe Bridge and a third party application using Bridge SDK?
    I want to learn how Bridge can communicate with other application? Bridge SDK have samples that explain how Bridge communicates with other Adobe applications like Photoshop and Indesign. Can anyone guide me or provide me a sample where Bridge communicates with a third party application?
    Thanks.

    As an example, this shows one way of getting a list of selected files from Bridge via Photoshop using C#
    using System;
    using System.Collections;
    using ps = Photoshop;
    namespace getBridgeFiles
        class Program
            static void Main(string[] args)
                ps.ApplicationClass app = new ps.ApplicationClass();
                String Code = "var fileList;"+
    "if ( BridgeTalk.isRunning( 'bridge' ) ) {"+
    "var bt = new BridgeTalk();"+
    "bt.target = 'bridge';"+
    "bt.body = 'var theFiles = photoshop.getBridgeFileListForAutomateCommand();theFiles.toSource();';"+
    "bt.onResult = function( inBT ) { fileList = eval( inBT.body ); }"+
    "bt.onError = function( inBT ) { fileList = new Array(); }"+
    "bt.send(8);"+
    "bt.pump();"+
    "var timeOutAt = ( new Date() ).getTime() + 5000;"+
    "var currentTime = ( new Date() ).getTime();"+
    "while ( ( currentTime < timeOutAt ) && ( undefined == fileList ) ) {"+
    "bt.pump();"+
    "$.sleep( 100 );"+
    "currentTime = ( new Date() ).getTime();"+
    "}}"+
    "if ( undefined == fileList ) {"+
    "fileList = new Array();}"+
    "fileList = decodeURI(fileList.toString());";
                String RC =  app.DoJavaScript(Code, null, null);
                ArrayList list = new ArrayList();
                list.AddRange(RC.Split(new char[] { ',' }));
                for (int index = 0; index < list.Count; index++){
                    Console.WriteLine(list[index]);
                Console.ReadLine();

  • I need adobe flash player on my app

    Hello
    I am using UIWebView in my app to run my WEB application, currently am facing an error with adobe flash player is not available, which is not supported by iPad, could any one please suggest me how handle this situation.

    Briansyddall
    in native app how can we use Photon Browser,
    could you please explain me in brief

  • Macromedia Shockwave Flash ActiveX

    How I can to capture frame from flash file to png without
    background and with considering semitransparency?

    Hola samsara 1970:
    Pues al parecer o tienes desactivado el control active x del
    sockwave Flash
    Player o bien tienes activado el bloqueo de ventanas
    emergentes o pop us,
    pero entonces te saldría también la linea amarilla
    superior que te dice que
    "internet explorer ha bloqueado en aras de su seguridad....",
    por lo que
    supongo que será solamente la primera de las opciones.
    Para solucionarla vete en Internet Explorer a
    Herramientas/Administrar
    Complementos y asegúrate de que en el desplegable te
    dice: "Mostrar todos
    los complementos actualmente instalados en Microsoft Internet
    Explorer",
    tras lo cual te mostrará la lista de plugins del
    navegador de internet.
    En ésa lista eliges el Shockwave Flash Object y, debajo,
    en configuración,
    activas la casilla habilitar.
    That's all.
    Salu2
    `8¬}
    Juan Muro
    "samsara1970" <[email protected]>
    escribió en el mensaje
    news:ejiu02$84v$[email protected]..
    > Hola: después de dar mil vueltas por la web
    buscando una solución y no
    > encontrarla es que decidí pedir ayuda en este foro.
    El tema es que quiero
    > instalar un programa, y al darle doble click al exe,
    aparece un cartelillo
    > de
    > los grises de ERROR con la única opción de
    aceptas que dice "unable to
    > register
    > shockwave flash activex control". Quisiera saber que es
    lo que puedo y
    > tengo
    > que hacer. Gracias.
    > Mi sitema operativo es Windows xp profesional, service
    pack 2. Tengo
    > instalados los shockwave y flash player, las
    últimas versiones. Espero que
    > alguien me pueda ayudar. Desde ya muchas gracias. Atte.
    Valeria Echegaray
    >
    >

  • My Macromedia Flash ActiveX Control isn't compatible with Windows 7 / 64bit

    I have downloaded the newest version of Adobe flash, and it installs like normal...and I think it is working fine....but on some sites (even You Tube) and some software programs, I get this message:
    Your version of Macromedia Flash ActiveX Control isn't compatible with this version of Windows.
    I am tired of wasting so much time with this...I read on the net that some people compiled their computer to 86...whatever that means....but no one explained how to do it.
    I have a Flash professional in ADOBE MASTER COLLECTION C6 / but all programs and sites default to the normal Flash player (that constantly gets updated,

    I have a similar problem, Win 7 64-bit, I did a clean install*, downloaded latests (Adobe - Install Adobe Flash Player), and after restarting my computer, Win7 64-bit Action Center popped up: "Your version of Macromedia Flash ActiveX Control isn't compatible with this version of Windows" with no error codes to look up knowledge base. Like seriously, no one from Adobe answered this in 9 months?! And the steps in Common problems | Flash Player sound like I need to purchase support before I file a report?
    Currently, my Firefox plugins only show Shockwave Flash 13 not Adobe Flash. Do I need to install Flash plugin for Firefox? (http://download.macromedia.com/pub/flashplayer/current/support/install_flash_player.exe)
    Thanks!
    * as per How do I do a clean install of Flash Player?:
    1. Add or Remove programs ... Flash ... uninstall,
    2. deleted all files & folders in C:\Windows\system32\Macromed\Flash, C:\Windows\SysWOW64\Macromed\Flash, %appdata%\Adobe\Flash Player, %appdata%\Macromedia\Flash Player),
    3.  verified that the files “FlashPlayerCPLApp.cpl”, "FlashPlayerApp.exe", and "FlashPlayerInstaller.exe" in C:\Windows\system32\ (for 32-bit systems) or C:\Windows\SysWOW64\ (64-bit system) were deleted,
    4. prepared to use Unlocker http://www.emptyloop.com/unlocker/ if any files couldn't be deleted,

  • I no longer have a credit card and it wont let me update my apps how do i erase credit info from iphone

    i no longer have a credit card and it wont let me update my apps how do i erase credit info from iphone

    Hello there, NayNay32.
    The following Knowledge Base article offers up some great infomation in regards to changing your payment information in iTunes:
    iTunes Store: Changing your payment information
    http://support.apple.com/kb/ht1918
    There is also a link to see what to do if you do not have the None option or cant select it:
    Why can’t I select None when I edit my payment information?
    http://support.apple.com/kb/TS5366
    If your issue still persists, then:
    Get help
    If you need help changing your payment information, contact iTunes Store support.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • So im trying to buy logic pro and just recently put enough money in gift cards on my account but every time i click buy app and go to billing info and then click ok it just shoots me to the first screen and did not charge for app how can i buy it ?

    so im trying to buy logic pro and just recently put enough money in gift cards on my account but every time i click buy app and go to billing info and then click ok it just shoots me to the first screen and did not charge for app how can i buy it ?

    This may sound stupid, but I'm gonna throw it out there anyway. Is it possible, that if I have enough junk on my desktop it might disrupt the signal? It seems odd, but it kind of looks like my signal is strong and relatively steady now that I've cleaned my desktop. I do tend to get very cluttered. I use a lot of reference images and save text clippings to use later... it just piles up very quickly.
    So, I wonder if all that extra effort my system has to do keeping up with the junk might have something to do with the drop outs?

Maybe you are looking for

  • Remove duplicates items in List

    I created a WebAPI and its calling an SQL Server to get my data. I created a List<> to populate and get those items back to UI. However, in my output there are duplicates due to the data. Is there a way to remove the duplicate strings before passing

  • Left join and where clause with not equal ( ) returns too many rows

    Say I have something like this Table A ========= Id OrderNum Date StoreName AddressKey Table B ======== Id StreetNumber City State select a.* from [Table A] a left join [Table B] b on a.AddressKey = b.Id where a.StoreName <> 'Burger place' The troubl

  • Photoshop CC 2014 zerschneidet Papier bei Epson 7900

    Der aktuelle Epson 7900 Treiber (Oktober 2013) funktioniert nicht mit Photoshop CC 2014 unter OS X Mavericks, der gleiche Treiber mit den gleichen Einstellungen funktioniert fehlerfrei (auch wenn die Bedienung eine Frechheit von Epson ist) unter Phot

  • Can't control iphone via car dashboard anymore

    I have a 2014 Hyundai Accent that has an iPod USB connector.  Until about a few days ago I was able to play things using the dashboard of the car.  All of a sudden now, when I plug in the iPhone nothing will play.  I have to manually press Play on th

  • CHV plugin crashes fcp studio

    Hello Yawl! 1)  I dropped chv's film plugin on my clip and while rendering my program crashes? any ideas? 2)  I am sorry I have one more question.  I am trying to export as a quicktime move. I then take that video into compressor where I will transco