QST:: How do I embed flash into a hosting C++ app??

hi there
i want to write a windows app that embeds flash. the app will
be written in c++ (visual c++), and there needs to be communication
(two-way) between the c++ app and the flash movie. is this
possible, and how do i do it? does it involve using
ExternalInterface?
tia
//bhu----

Depends on what the communication is to be. If all you want
is Flash to get information and read it and send it back to the
application, yes this is possible.
However, if you want Flash to write to application on the
server -- no it's not possible -- this is for security reasons.
I would also ask why Visual C++. If you have to use MS why
not ASPNET and C#, which would allow you to use Flash Remoting. I
don't know much about Visual C++

Similar Messages

  • How do I embed .txt into my iWeb website?

    HOw do I embed .txt into my iWeb website with domain purchased from go daddy.com

    You want to embed a text file into a web page?  To read or for downloading? 
    To add a multipage text file to a webpage see this demo page: Scrolling Text Box.  For a single text file just drag the text file onto an iWeb page and it will automatically be added as a text box.  To download the file zip, put it on your GoDaddy.com account folder and use a hyperlink to the zipped file like in this demo page: LinkTestPage

  • How do I embed bitmaps into a built (.exe) LabVIEW application?

    I am trying to embedd bitmap images (icons) into the exe file of a built LabVIEW application. I tried it, and got them in a "data" folder. I want everything in the .exe file, you know, just like C/C++ or just about any other programming language.
    If anyone has any tips, I would be grateful.
    I know about embedding the images in the controls, but that is not my goal. I need images as files to be embedded, somehow, into the .exe. The reason is I am using the picture control to read the images, but they are static once they are read. If it is possible for the picture controls to somehow retrieve the images from some other source, that would work also.
    Otherwise, if someone knows how to dynamicall
    y embed bitmap or other images into buttons in an array, that would be useful as well.
    Thanks

    > I am trying to embedd bitmap images (icons) into the exe file of a
    > built LabVIEW application. I tried it, and got them in a "data"
    > folder. I want everything in the .exe file, you know, just like C/C++
    > or just about any other programming language.
    >
    > If anyone has any tips, I would be grateful.
    >
    > I know about embedding the images in the controls, but that is not my
    > goal. I need images as files to be embedded, somehow, into the .exe.
    > The reason is I am using the picture control to read the images, but
    > they are static once they are read. If it is possible for the picture
    > controls to somehow retrieve the images from some other source, that
    > would work also.
    >
    > Otherwise, if someone knows how to dynamically embed bitmap or other
    > images i
    nto buttons in an array, that would be useful as well.
    >
    Actually, many C and C++ programs, like LV itself have folders of data
    that aren't linked into their code. But, if that is what you are
    looking for, one pretty easy way is to load the images into memory and
    place them into a 2D array of data, a string etc. Make an array of
    these and make the value default. At runtime, you can now skip the file
    I/O, or you can write the data to a temporary on launch and read them
    back whenever you like.
    Greg McKaskle

  • How do I embed fonts into Captivate projects?

    This question came up in May 2006 but was never really
    answered. I'd like to know how to embed fonts into my Captivate
    projects so that the output looks the same on all computers. While
    the text animations are fine, the Text Caption fields are the ones
    that seem to have fonts that go walkies on other computers. I know
    you can embed fonts in PDFs. Why not in Captivate (unless I'm
    missing something in 2.0).

    First, a tip for the forums: If you use the URL tags, your
    post won't require horizontal scrolling - sorry, but I use Firefox
    and entering a long URL totally blows my ability to smoothly read
    the post ... you can manually add a text link by using the "L" tag
    as shown below (I've put spaces in to avoid this being turned into
    another text link)
    [ L = Your Text]
    http://www.yourdomain.com [ /
    L ]
    Back to your issue, Charinos. I'm glad you did find the URL,
    but that thread and your problem are not even in the same world.
    That thread deals with fonts in text-entry boxes (boxes for
    end-user text-entry), and you are talking about text-captions, an
    entirely different object.
    In fact, if you make changes and save those changes to a
    text-caption, then publish the project, the fonts in your text
    captions will remain stable and are not dependent on the fonts
    installed on the end-viewer's machine. The reason is that when the
    SWF is compiled, the text captions are converted to images and so
    long as the file is viewed as intended in the HTML document - at
    the proper size - the stretching you describe cannot take place.
    I'm not saying you are seeing things, but if my understandings of
    the Captivate machine are correct, what you are saying is happening
    cannot
    be happening. Something else is going on, like a failure to
    save changes, use of non-conforming text-caption boxes with a
    resultant loss of margins, or something.
    Sorry I'm not more help. I can't duplicate what you are
    seeing but I hope someone else can help you out - I may still be
    misunderstanding your issue.

  • Embed Flash into Java Application

    Hello Friends,
    I need to develop a Java Swing application which can display the menus using Flash. So basically I want to embed flash in the Java swing application such that when the user clicks a button in the flash menu, the menu will pass a command to the Java Swing application and vice-versa.
    I am looking to use Flash this way, because using Flash we can create really good looking and smooth menus as opposed to Java Swing. I also want a solution which will be platform independent.
    Please let me know how to do this. Atleast give me some pointers or website tutorial which will guide me in this.
    Thanks a ton.
    S

    moshegym wrote:
    como puedo visualizar archivos swf en javaSer?a mejor hacer un "thread" (?hilo?) nuevo aqu?, y escribir en ingl?s.
    Tambi?n, T? debe mirar aqu?:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=695658
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=605662
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=686514
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=749760
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=682919
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=580785
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=628218
    http://forum.java.sun.com/thread.jspa?threadID=637018&messageID=3719465
    (I found this information in this link: http://forum.java.sun.com/thread.jspa?forumID=57&threadID=768376)
    Edited by: Encephalopathic on Mar 25, 2008 2:40 PM

  • How do I get sdo_point into C host variables from OTT structures?

    How do I get sdo_point info into C host variables from structures generated by OTT?
    Databse Version 10.1.0
    I am using OTT to generate C structures for the Oracle Spatial datatype sdo_geometry. The file is generated as
    #ifndef GEOMETRY_ORACLE
    # define GEOMETRY_ORACLE
    #ifndef OCI_ORACLE
    # include <oci.h>
    #endif
    typedef OCIRef sdo_geometry_ref;
    typedef OCIRef sdo_point_type_ref;
    typedef OCIArray sdo_elem_info_array;
    typedef OCIArray sdo_ordinate_array;
    struct sdo_point_type
    OCINumber x;
    OCINumber y;
    OCINumber z;
    typedef struct sdo_point_type sdo_point_type;
    struct sdo_point_type_ind
    OCIInd _atomic;
    OCIInd x;
    OCIInd y;
    OCIInd z;
    typedef struct sdo_point_type_ind sdo_point_type_ind;
    struct sdo_geometry
    OCINumber sdo_gtype;
    OCINumber sdo_srid;
    struct sdo_point_type sdo_point;
    sdo_elem_info_array * sdo_elem_info;
    sdo_ordinate_array * sdo_ordinates;
    typedef struct sdo_geometry sdo_geometry;
    struct sdo_geometry_ind
    OCIInd _atomic;
    OCIInd sdo_gtype;
    OCIInd sdo_srid;
    struct sdo_point_type_ind sdo_point;
    OCIInd sdo_elem_info;
    OCIInd sdo_ordinates;
    typedef struct sdo_geometry_ind sdo_geometry_ind;
    #endif
    I can successfully access the sdo_gtype and sdo_ordinates using the following ProC code
    exec sql begin declare section;
    int sptype;
    double coord[100000];
    sdo_geometry *spgeom;
    sdo_ordinate_array *spcoords;
    exec sql end declare section;
    /* allocate memory for the geometry host variable */
    exec sql allocate :spgeom;
    select bounds into :spgeom from boundary;
    /* retrieve the geometry type from the geometry host variable into a host variable */
    exec sql object get sdo_gtype from :spgeom into :sptype;
    /* allocate memory for the sdo_ordinate_array host variable */
    exec sql allocate :spcoords;
    /* move the coordinates from the geometry host variable into the sdo_ordinate_array host variable */
    exec sql object get sdo_ordinates from :spgeom into :spcoords;
    /* determine the number of coordinates */
    exec sql collection describe :spcoords get size into :numord;
    /* move the coordinates from the sdo_ordinate_array host variable into a host array */
    exec sql for :numord collection get :spcoords into :coord;
    I cannot, however, figure out how to get point data out of the host variable spgeom. If I prepare code analagous to the other types in the geometry structure, I get an error. I can see that sdo_point is different because it is a struct within the geometry definiton of typedef OCIRef but my knowledge of C is sufficeintly weak that I cannot figure out how to get sdo_point into C host variables. Some sample code for getting the sdo_point data would be greatly appeciated.
    Thanks, Chris

    To get point data from geometry column use following
    select a.location.sdo_point.x, a.geometrycolumn.sdo_point.y
    from tablename a;
    Do not forget to alias the table.

  • How to incorporate live tiles into a Project Siena app (kinda)

    Hi guys,
    I have been playing around with getting some live tiles into my project siena app (Astronomy Action Centre), and at last I have managed it.
    What I did was as follows
    Publish your app as normal and import it into Visual Studio
    When you have it imported paste this code into the init.js file. I pasted mine into the following location of that file. Near the top of the file (just before the var statements)
    CODE TO PASTE
    var notifications = Windows.UI.Notifications;
                    var recurrence = notifications.PeriodicUpdateRecurrence.hour;
                    var urls = [
                        new Windows.Foundation.Uri("url1"),
                        new Windows.Foundation.Uri("url2"),
                        new Windows.Foundation.Uri("url3"),
                        new Windows.Foundation.Uri("url4"),
                        new Windows.Foundation.Uri("url5")
                    notifications.TileUpdateManager.createTileUpdaterForApplication().enableNotificationQueue(true);
                    notifications.TileUpdateManager.createTileUpdaterForApplication().startPeriodicUpdateBatch(urls, recurrence);
    END OF PASTE
    What you need to do now is replace the url1,url2,url3,url4,url5 with data sources.
    I got mine from http://www.buildmypinnedsite.com/en
    This site creates live tiles for your webpage but we are going to use the datasources for our app.
    Enter the RSS details of the site that you want to have as a live tile into this site.
    Here is the RSS url from my own site
    http://www.viewfromascope.com/feed/
    follow the steps through to the last one and you will get a code like this
    <meta
    name="msapplication-TileColor"
    content="#000000"/>
    <meta
    name="msapplication-notification"
    content="frequency=30;polling-uri=http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=1;polling-uri2=http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=2;polling-uri3=http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=3;polling-uri4=http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=4;polling-uri5=http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=5;
    cycle=1"/>
    Now copy the links below in place of the url1,url2,url3,url4,url5 in the code we pasted into visual studio.
    http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=1
    http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=2
    http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=3
    http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=4
    http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=5
    Now save and run your app, if you browse to your Start menu and pin your app you should see the live tiles updating.
    the caveat is that you have no control over the layout of the tiles, it seems to work best in wide and square format, the large tile updates but keeps repeating the same news.
    So there it is live tiles on a project siena app.
    if anyone can add to this I would love to hear from you, or if you have any questions please let me know.
    Latest Version of my own Project Siena App with live tiles
    http://apps.microsoft.com/webpdp/app/0c8cff77-1e0f-445b-9628-92fe602d2c98
    Ronan

    If you aren't going to use a live tile on an actual website, you don't have to use buildmypinnedsite dot com.
    Here is a template. If you have multiple REST/RSS sources, you can use different sources for each of the 5 items that are cycled. They can be from different sites. You need to check if images in the feeds are enclosures. If they are, then the feed won't
    work properly. You can use text and image based feeds or text only, just don't use any that have enclosed images. Here is a template you can copy and paste. replace the red text with your own customized information.
    var notifications = Windows.UI.Notifications;
    var recurrence = notifications.PeriodicUpdateRecurrence.HalfHour;
    var urls = [
    new Windows.Foundation.Uri("http://notifications.buildmypinnedsite.com/?feed=http://whateverrssfeed1&amp;id=1"),
    new Windows.Foundation.Uri("http://notifications.buildmypinnedsite.com/?feed=http://whateverrssfeed2&amp;id=2"),
    new Windows.Foundation.Uri("http://notifications.buildmypinnedsite.com/?feed=http://whateverrssfeed3&amp;id=3"),
    new Windows.Foundation.Uri("http://notifications.buildmypinnedsite.com/?feed=http://whateverrssfeed4&amp;id=4"),
    new Windows.Foundation.Uri("http://notifications.buildmypinnedsite.com/?feed=http://whateverrssfeed5&amp;id=5")
    notifications.TileUpdateManager.createTileUpdaterForApplication().enableNotificationQueue(true);
    notifications.TileUpdateManager.createTileUpdaterForApplication().startPeriodicUpdateBatch(urls, recurrence);
    -- Barb Bowman

  • How do I "embed" video into my iWeb site?

    Haven't figured this one out yet. So what am I missing here? Could someone tell me how to "embed" into my iWeb site?
    Thanks,
    Chris

    [Search this forum|http://discussions.apple.com/search.jspa?threadID=&q=embed+video&objID=f1 108&dateRange=last90days&userID=&numResults=15&rankBy=10001]
    With iWeb '08 you can embed video with the HTML Snippet. [Look here|http://web.mac.com/wyodor/Embed_Media> and then [here|http://web.mac.com/wyodor/iFrame>.

  • How can I embed ical into my webpage

    Is there an easy way to embed my iCal calendar into my webpage? I already know it can be done using Google Cal but I stopped using Google Cal.

    I don't believe this can be done directly from iCal. A work around might be to save it has a .pdf file and put that in the site. Or save and upload it to Google Calendars and then insert it into the site with the supplied code. There is software that will sync iCal with Google, but I'm sorry, I can't remember what it's called.
    Good luck

  • How do I embed flash movie with detection

    Hi - I want to embed a movie below a banner image in a web
    page. I want to use flash detection so that the right player is
    used. I've got Flash professional 8 so it spits out an HTML page
    with the flash detection script written to it. In the body section
    of the HTML is a <script> tag with the document.write called
    if the detection is succesful. What I've tried to do is put my
    banner image in a div above the script tag. This seems to work in
    Firefox but gives me a tiny little stretched banner image and a
    tiny little stretched flash movie when I try the page in IE7.
    I've attached my HTML below. Why is this happening?

    I found the answer - I was using dynamic positioning of
    elements in a javacript file and was using
    document.documentElement.clientHeight to get the clientheight. IE7
    no longer recognises this and has started using the standards
    compliant document.body.clientHeight.

  • How do I embed flash movie in MUSE?

    I am trying to embed a Flash movie in a new page on my site. I want the Flash movie to open in a new page, full screen without header or footer. I have puploaded a page with the correct code (I think) . The page opens but remains blank. The swf movie file does not launch. The files work fine on my hard drive.

    Jgrummel, I tried pasting in your code with the name of an audio file, but it did not work even when I published. My guess is that the file needs to ALREADY be on the server, but then I thought if that was the case, does the embed code have to have a folder reference? I am not a coder, so I am trying to figure out at random. Can you provide any step-by-step process for getting audio files to play in the background WITHOUT the player being seen or being loaded in another page? Is the only option to use a thrid party server, like youtube, BUT with that issue is that I get suck with player controls that I do not wnat and it does not loop.

  • How to save Internal table into Excel Sheet in App. Sever in Background

    How can i save my file int excel in application server in background.
    i am able to do in fronend but not in back ground.

    HI
    see this example code where i had write EXCEL to INTERNAL TABLE and then TO APPLICATION SERVER
    assign this program to background thats all
    REPORT  ZSD_EXCEL_INT_APP.
    parameter: file_nm type localfile.
    types : begin of it_tab1,
            f1(20),
            f2(40),
            f3(20),
           end of it_tab1.
    data : it_tab type table of ALSMEX_TABLINE with header line,
           file type rlgrap-filename.
    data : it_tab2 type it_tab1 occurs 1,
           wa_tab2 type it_tab1,
           w_message(100)  TYPE c.
    at selection-screen on value-request for file_nm.
    CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
    EXPORTING
    *   PROGRAM_NAME        = SYST-REPID
    *   DYNPRO_NUMBER       = SYST-DYNNR
    *   FIELD_NAME          = ' '
       STATIC              = 'X'
    *   MASK                = ' '
      CHANGING
       file_name           = file_nm
    EXCEPTIONS
       MASK_TOO_LONG       = 1
       OTHERS              = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    start-of-selection.
    refresh it_tab2[].clear wa_tab2.
    file = file_nm.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
      EXPORTING
        filename                      = file
        i_begin_col                   = '1'
        i_begin_row                   =  '1'
        i_end_col                     = '10'
        i_end_row                     = '35'
      tables
        intern                        = it_tab
    EXCEPTIONS
       INCONSISTENT_PARAMETERS       = 1
       UPLOAD_OLE                    = 2
       OTHERS                        = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    loop at it_tab.
      case it_tab-col.
       when '002'.
        wa_tab2-f1 = it_tab-value.
       when '004'.
        wa_tab2-f2 = it_tab-value.
      when '008'.
        wa_tab2-f3 = it_tab-value.
    endcase.
    at end of row.
      append wa_tab2 to it_tab2.
    clear wa_tab2.
      endat.
    endloop.
    data : p_file TYPE  rlgrap-filename value 'TEST3.txt'.
    OPEN DATASET p_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    *--- Display error messages if any.
      IF sy-subrc NE 0.
        MESSAGE e001(zsd_mes).
        EXIT.
      ELSE.
    *---Data is downloaded to the application server file path
        LOOP AT it_tab2 INTO wa_tab2.
          TRANSFER wa_tab2 TO p_file.
        ENDLOOP.
      ENDIF.
    *--Close the Application server file (Mandatory).
      CLOSE DATASET p_file.
    loop at it_tab2 into wa_tab2.
      write : / wa_tab2-f1,wa_tab2-f2,wa_tab2-f3.
    endloop.

  • How to import iPhoto Library into the new Photo app

    Hello so, my Mac just updated to the new Photo app. but how to I get my iPhoto Library over? I didn't get the option to import my iphoto library over there. it is really annoying me, since I dont want to use the new app before I know to import over.

    You don't import, you just open the library with the new app.
    Hold down the option (or alt) key key and launch Photos. From the resulting menu select 'Choose Library'

  • Embedding Flash into a Flash page

    Hey all...my first post here.
    I've recently learned Flash and have had pretty good success figuring out challenges that come up...however I am stuck on one now and am looking for help.
    I am designing a site for a music project that I manage.  The band also uses another free site, Reverbnation, for promotions and such.  The site provides a mailing list function, and you can embed an already provided "widget" onto your HTML web page that will automatically add people to your e-mail list if they choose to sign up.
    The problem I am having is that the page the widget is going to be on is now all Flash.  I can't figure out how to get the widget into the Flash page.  The Flash page itself is really nothing elaborate.
    Here is the code for the widget that they provide:
    <img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNzQyMTEwMDU3NjUmcHQ9 MTI3NDIxMTQyMTQwNiZwPTI3MDgxJmQ9ZmFuX2NvbGxlY3Rvcl9maXJzdF9nZW4mZz*x/Jm89ZDlkZTU1NWQ2YWFlN DRiMDlhMzU4MDgxZDM1OTk2ZWUmb2Y9MA==.gif" /><embed type="application/x-shockwave-flash" src="http://cache.reverbnation.com/widgets/swf/11/fancollector.swf?page_object_id=artist_708835 &backgroundcolor=EEEEEE&font_color=000000&posted_by=artist_708835" height="100" width="434" /><br/><a href="http://www.reverbnation.com/gigfinder" onclick="javascript:window.location.href=&quot;http://www.reverbnation.com/c./a4/11/708835/Artist/708835/Artist/link"; return false;"><img alt="Land Gigs" border="0" height="19" src="http://cache.reverbnation.com/widgets/content/11/footer.png?1" width="434" /></a><br/><img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://www.reverbnation.com/widgets/trk/11/artist_708835/artist_708835/t.gif"/><a href="http://www.quantcast.com/p-05---xoNhTXVc" target="_blank"><img src="http://pixel.quantserve.com/pixel/p-05---xoNhTXVc.gif" style="display: none" border="0" height="1" width="1" alt="Quantcast"/></a>
    Any ideas on how I would embed this into my Flash page to be a functioning widget?
    Thanks!

    your published swf will be embedded in an html file.  add your widget code to that html file.
    you can use html, styles, divs etc to position the swf and widget.
    or, if you want to incorporate that widget within your swf, you might be able to load
    http://cache.reverbnation.com/widgets/swf/11/fancollector.swf?page_object_id=art%20ist_708 835&backgroundcolor=EEEEEE&font_color=000000&posted_by=artist_708835
    and manage.

  • Embed flash file without using IFrame UI

    Hi all,
    Can any one tell me how i can embed flash file without using IFrame UI ?

    Hi
    To run a flash file you will definetely need a platform for which you need a shockwave player or a simple browser window. From webdynpro, the purpose of making it run through a IFrame is at runtime, the frame acts as a window for the flash file to run. Hence its the direct option of running it. Otherwise, you need to use a external window to invoke it seperetely in a browser window to run the file.
    If you have any specific issues, do let us know, or else its the best option @!
    thanks
    sathya

Maybe you are looking for

  • Need advice on Unity Voice Mail Please

    Chaps. Around 4 years ago, i inherited a CCM v4 as part of a business relocation. I've had no formal training on CCM, so everything i know, I've taught myself. The system includes a Unity VM server, which until today has been switched off, as we've h

  • Study material for certification

    is the study material for certification available online free of cost???????? if yes then plz specify the link.........

  • Check for updates not working in 9 pro

    I am running Acrobat 9 pro on a Vista machine. Acrobat appears to have been malfunctioning (bates numbering is not working properly), and I uninstalled (and deactivated) Acrobat, and then reinstalled it. After reinstallation, I used the check for upd

  • Where can I get a copy of Firefox 4.0 or 5.0 to replace the Firefox 6.0 that I have now?

    Go back to Firefox 4 or 5 and quit messing with what was a good browser. I had Yahoo as my home page and it was a nice non glaring shade of brown that didn't hurt ones eyes, now it is so damn bright with all of the colors that are available with Fire

  • Export Import Procedure

    Hi Friends, How can i make ex-im procedure to come by default in PO. Thank You, Ashok