How can I add my own dynamic flash to Apex Applcation?

Hi all,
Can I add my own flash to Apex applcation and enable the flash to communicate with my applcation using XML?
I want to customise the action of my flash. The flash will get a xml from a PL/SQL procedure just as flash charts get xml from apex_util_flash.
Is it possible to call a PL/SQL procedure or an apex application process from a flash?
Is there another way of doing this?
thanks

I haven't tried any coding experience in flash , so my answer would be a bit vague.
But I am basing my logic on this thread Calling PHP function from Flash (it says PHP but the code example involves a server request from flash)
Set up an Application process that returns your XML (as the server response using ht.p)
// object which sends to php
var send_lv:LoadVars = new LoadVars();
// object that receives
var load_lv:LoadVars = new LoadVars();
// the load_lv accepting variables
load_lv.onLoad = function(success:Boolean)
    if(success)
             //Do your thing here
             //Parse the XML in flash using this valiable as the source
        else
            trace("load error goes here")
  $.ajax({
  type: "POST",
  url: "wwv_flow.show",
  data: {
  p_flow_id : $v('pFlowId'),
  p_instance : $v('pInstance'),
  p_flow_step_id : 1,
  p_request : ""
//This section is based on the documented server request format using jQuery (given in comments above)
// send_lv sending out variables and instructing the returned variables to go to load_lv
send_lv.p_flow_id = <fetch page element value of pFlowId>  //corresponding to $v('pFlowId')
send_lv.p_instance = <fetch page element value of pInstance>  //corresponding to $v('pInstance')
send_lv.p_flow_step_id = <page number>
send_lv.p_request  = 'ON Demand Application Process Name'
send_lv.sendAndLoad("wwv_flow.show",load_lv,"POST");-------------------------------------------
You might also be interested in this flash library named SWFHttpRequest Flash/Ajax Utility
Apparently, it adds a JavaScript object for performing XMLHttpRequest-like requests fro flash.
Hence you should be able to use you standard javascript like Ajax request using that.
Else check for similar libraries for flash/give the server request section of your flash documentation a good read.
You might have to play around a bit with the code and your flash documentation to get it working , but I hope this would have given you some pointers.

Similar Messages

  • How can I add a library of flash movies to my site?

    I posted this same question on the Dreamweaver forum and a suggestion was made that I try over here for help, so please excuse the duplicate question.
    How can I add a library of flash movies to my site?
    Hey there everyone and thanks for reading my question.
    I have a library of flash movies (specifically a library of maps) and when the map movies are run in Flash they call each other just fine (i.e. the USA map will load the Georgia map when Georgia is clicked on the USA map, etc etc etc for each state).
    HOWEVER, when I insert the USA map in one of my site pages (I'm working on the site using Dreamweaver CS4) the USA map page will load, but when a state is clicked the area on the page for the map goes blank and the state map does not load.
    Short of coding a specific path in each of my state maps (in the Flash editor) is there a way to tell Dreamweaver there is a library of maps, look there for the sub-map?
    and if I do have to code the path to the map, can I code a relative path rather than a specific URL address for the maps?
    I know this is probably one of those simple things, but I'm not seeing it (can you tell I'm new at this??)
    Thanks in advance for any help!
    Frances

    Hey again,
    Thanks for the helpful suggestions. Everyone's comments got me to thinking about what the path was in the calls from the maps.
    here is what finally worked:
    on (release)
    loadMovie("../FlashIMapDownloads/georgia.swf", 0);  
    this script code is in the action script for the "georgia" button of my main map - a US Map. (I hope I'm describing all this correctly).
    I'll post this same info in the Dreamweaver forum too.
    Thanks again!
    Frances

  • How can i add my own number in imesseges

    Hi my name is kawaljit kaur.suddenly my phm's imesseges stop working...its just using my apple id which i dnt want...plz tell me how can i add my own cell number in imesseges.thnx

    Hi, Kawaljit kaur.
    Thank you for visiting Apple Support Communities. 
    Here are a couple troubleshooting resources I would recommend when experiencing this issue. 
    Phone number missing on iPad or iPod touch
    If your phone number is not listed on an iPod touch or iPad, follow these steps:
    Update to the latest version of iOS.
    Verify that you're using the same Apple ID that you are using on your iPhone.
    On your iPad or iPod touch, sign out of your Apple ID in the following locations:
    Settings > Messages > Send & Receive. Tap your Apple ID, then tap Sign Out.
    Settings > FaceTime. Tap your Apple ID, then tap Sign Out.
    Sign in to your Apple ID with FaceTime and iMessage.
    If your phone number is still not listed, follow these steps:
    Sign out of your Apple ID on all iOS devices, including your iPhone, in the following locations:
    Settings > Messages > Send & Receive. Tap your Apple ID, then tap Sign Out.
    Settings > FaceTime. Tap your Apple ID, then tap Sign Out.
    Sign in to your Apple ID on your iPhone.
    When activation is complete, your Apple ID and all verified email addresses should be visible in Settings > Messages > Receive At and also in Settings > FaceTime.
    Now sign in to your Apple ID on your other iOS devices.
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    If you experience any issues with activation, see the article below. 
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/ts4268
    Cheers,
    Jason H. 

  • How can I add my own files to the TV Shows Library instead of the Movie Library?

    I have my own TV Shows in m4v format.  I can drag and drop the TV Shows into the iTunes Movie Library.  How can I add my files to the TV Shows Library?  Can I group them by show in the TV Shows Library?

    Select the files in iTunes.
    Right click - get info.
    Select the Options tab and set Media kind to TV Show.
    Better yet, use something like MetaZ to tag the files before adding them to iTunes.
    -> http://www.macupdate.com/app/mac/36029/metaz

  • How can I add advertisement code into flash game?

    hi mates,
    just want to ask about loading advertisement code!
    How do you add the advertisement code (adsense) into flash games??
    my site Funny Games have over 5k games but they are getting from others sites thus I have no original files. How can I add more code into the current files?

    Unless the games were pre-made to allow you to specify some variables in the page code or some external file, you won't be having any luck... you cannot add code to the games unless you have the source files, which you apparently don't have.

  • How can I add radio buttons dynamically?

    Hi,
    I need to add radio buttons dynamically. I will be having a set of options which will be coming form a web service call and I need to convert those options into radio buttons and show it to the user. How can I do it?
    Thanks,
    Hali George

    Yep .... I too would  rather have seen more time put into that kind of stuff than parallax scrolling.

  • How can I add a UserGroup input in an APEX Login Page

    Hi,
    I am willing to add a UserGroup input (dropdown) in APEX Login page, but I see the default Login page supports only two parameter, i.e. Username and PWD. I see the authentication function wwv_flow_custom_auth_std.login(
    P_UNAME => :P101_USERNAME,
    P_PASSWORD => :P101_PASSWORD,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||':1'
    takes only username and pwd. But I need to add one more field, how can I accomplish this ?

    Hi,
    I have similar structure of the accounting like you.
    I have table users, roles, ...
    Then i use script like this:
    select nvl(1, null)
    from APEX_USER u,
    APEX_USER_ROLE r
    where u.active = 'Y'
    and r.USER_ID = U.ID
    and u.user_name = v('APP_USER')
    and r.appl_id = v('APP_ID')
    and r.is_edit = 'Y'
    and ((instr(group_name, ',NB_EOS,') > 0 and :P2_STATUS not in ('2','0'))
    or instr(group_name, ',NB_ADV_NT_ADM,') > 0 and :P2_STATUS not in ('2','5', '0')
    or instr(group_name, ',NB_CALL_ADMIN,') > 0 and :P2_STATUS not in ('2','5', '0'))
    There i have set the row for each application and user with my defined roles.
    Regards
    J :D

  • How can you add your own print and export buttons to the CR viewer toolbar?

    I posted a previous question that was asking how to get around the Information Bar in IE7 when you export and print.  Unfortunately the CR viewer file download code gets blocked by IE7 because the buttons don't directly download the file.  However, I have been able to get a regular button that calls the following code and streams the file to the client and IE7 does not block it. 
    Sub PrintPDF(sender As Object, e As System.EventArgs)
         Dim crReportDocument as ReportDocument
         Dim crExportOptions as ExportOptions
         Dim crDiskFileDestinationOptions as DiskFileDestinationOptions
         Dim Fname as string
         CrReportDocument = New ReportDocument()
         CrReportDocument.Load(Server.MapPath("estactionlist.rpt"))
         Fname = Server.MapPath("./") & Session.SessionID.ToString & ".pdf"
         CrDiskFileDestinationOptions = New DiskFileDestinationOptions()
         CrDiskFileDestinationOptions.DiskFileName = FName
         CrExportOptions = crReportDocument.ExportOptions
         With crExportOptions
              .DestinationOptions = CrDiskFileDestinationOptions
              .ExportDestinationType = ExportDestinationType.DiskFile
              .ExportFormatType = ExportFormatType.PortableDocFormat
         End With
         CrReportDocument.Export()
         Response.ClearContent()
         Response.ClearHeaders()
                    Response.AddHeader("content-disposition", "attachment;filename=test.pdf")
                    Response.ContentType = "application/pdf"
                    Response.Charset = ""
                    Response.WriteFile(Fname)
                    Response.Flush()
         Response.Close()
         System.IO.File.Delete(Fname)
    End Sub
    So here are my questions?
    1. Is it possible to add a custom print control/icon to the CR viewer toolbar?
    2. If one is not possible, then is it possible to override the CR viewer print and export buttons with your own subroutines like the one above?
    I just want my page to look nice and hate to have print and export buttons outside of my CR viewer. 
    Thanks,
    Kevin

    It might be possible to replace the buttons in a windows app since you can retrieve the toolbar as a toolbar object in the winform viewer  ( ToolStrip toolBar = (ToolStrip) crystalReportViewer1.Controls[3]; )  however with a web app, it's a lot more difficult.
    The problem is that that you need to parse the Request string to try and figure out if the print / export button was clicked.  The code below makes the print button disappear if you click it, so you should be able to modify it to call your custom printing / exporting code instead  (You have to do this check in a postback)
            Dim I As Integer = 0
            If Request.Form.AllKeys.Length > 0 Then
                For I = 0 To Request.Form.AllKeys.Length - 1
                    Response.Write(Request.Form.Keys(I).ToString & "<BR>")
                    If Request.Form.Keys(I).ToString = "CrystalReportViewer2:_ctl2:_ctl2.x" Then
                        CrystalReportViewer2.HasPrintButton = False
                    End If
                Next
           End If
    Shawn

  • How can I add my own calendars in iCal?

    I have recently added new calendars to iCal (File>New Calendar Group) in preparation to import my google calendars (previously exported).  However when I am prompted to choose the calendar in which to import the data, the options I have created are 'greyed' out.  How do I activate these calendars so I can choose them?

    Hi
    You need to create a calendar (File -> New Calendar). With calendar groups you can group several calendars but you need calendars, as only calendars can contain events.
    Regards, Michael

  • How can I add my own screensaver? Macbook pro 10.8.2

    once upon a time i found a screen saver and i downloaded it, it was cool, i just recently upgraded to mountain lion and for some reason it is way out of alignment and all pushed up to the top of the screen. So I went to the website to see if I could get a newer more up to date copy, I downloaded one but now i have no idea how to add it into the list of them to choose from. Any help would be apreciated, Thanks, Ben D.

    It isnt an image, this is where i got it from; http://thecolourclock.co.uk. and there is no folders button in that screen on mountain lion.

  • How can I add new background on iweb?

    Dear all,
    somebody knows how can I add new backgroungs on iweb? and also how can I add my own themes?
    Cheers

    bobzhuman wrote:
    You can add new backgrounds in the "page"..."layout" section of the "inspector"...no limit to what you can add. Remember to use low resolution pics (72 dpi vs 300 dpi) and think of the size necessary for a "wallpaper" on your desktop. ex. http://www.desertmoon.net/Coryhamilton/Home.html done with a Jumsoft theme (baseball dark) as a core.
    The file used as a background on that site is located at http://www.desertmoon.net/Coryhamilton/Home_files/grunge.jpg
    It's dimensions are 1200px by 797px and 284k in file size. I guess there might be a reason to have the width set for 1200px even though file sizes could benefit from a smaller dimension repeating graphic, but running the file through Photoshop or even Elements would let the owner "Save For Web" as a .jpg - medium quality and get the file size down to about 108k so that the page would load quite a bit faster.

  • How can I add a pause after each photo to my flash file?

    How can I add a break to my sequence of photos on a flash file.
    I created a flash with different photos and I want each one to stay on the stay for about a minute before moving away.
    How do I do this? Please help

    //Timers are measured in milliseconds
    var minuteTimer:Timer = new Timer(60000);
    minuteTimer.addEventListener(TimerEvent.TIMER, exchangePhoto);
    function exchangePhoto(e:Event):void{
         //put your code of exchanging your photo here
    //you have to start the timer explicitly, when your app starts
    minuteTimer.start();

  • How can i add form of my own to "SAPM07DR"

    i been asked to add form develop by me to the standart program "SAPM07DR" .
    this task came from the need of the implementation
    of the "material management" , assign forms and program.
    now i get the output "ZWE4"  ,
    and i want to assign form of my own  ,
    i tried to add smart form but i get message
    "Errors occurred while processing output"
    so I want to try layout  with  standard program "SAPM07DR" .
    how can i add form of my own to this program

    First, you must copy this program to your own program with "ZSAPM07DR" then copy the include program where the routine pass through the program
    example: entry_we03 -> from include M07DRENT and M07DRAUS
             change this include to ZM07DRENT and ZM07DRAUS
    The next step is binding your form in the program.
    what forms do you use ? Sapscript or Smartforms ?
    in this Program already used Sapscript. You can See there is Open_Form Function in that Program.
    I suggest you to Bind Smartforms.
    IF you use smartforms, Remark All Statement from
    "PERFORM open_form_sammel." to "PERFORM close_form." before endform
    that perform including in M07DRAUS -> FORM lesen_wes USING objky lgortsplit.
    after that put this program to replace the remark :
    data : FMNAME type RS38L_FNAM.
    DATA: ls_control_param      TYPE ssfctrlop.
    set preview parameters
          MOVE 'X' TO ls_control_param-no_dialog.
          MOVE 'X' TO ls_control_param-preview.
          MOVE 'PRINTER'  TO ls_control_param-device.
    *break-point.
    *****Print SmartForms
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
            EXPORTING
              FORMNAME           = TNAPR-SFORM
            IMPORTING
              FM_NAME            = FMNAME
            EXCEPTIONS
              NO_FORM            = 1
              NO_FUNCTION_MODULE = 2
              OTHERS             = 3.
         CALL FUNCTION FMNAME
         EXPORTING
             control_parameters   = ls_control_param
         TABLES
             traptab           = traptab
         EXCEPTIONS
             formatting_error = 1
             internal_error   = 2
             send_error       = 3.
         if sy-subrc NE 0.
    *******message 'Error' type 'S'.
         endif.
    *******End Smartforms
    Hope This Help...

  • A friend mailed me a flash drive with music on it from his pc...  mostly wma files.  How can I add these to my itunes library?

    My friend created a BIG music file on his pc then saved it to a flash drive.  It is mostly wma files..  how can I add this to itunes library?

    Install Flip4Mac's WM Components (from their download page), required to play WMA in QuickTime, the Finder's preview column, and many other applications -- but not iTunes!
    Open your WMA file in QuickTime Player (Pro version required), then save as reference movie.
    Drag the newly created .mov file onto iTunes. Now you can play it as you would any other song.
    Some metadata is copied to the QuickTime file, and you can edit/add tags in iTunes. Remember to keep the original WMA files in place, as your reference .mov files still point to them. If you don't mind one more conversion step, you can then liberate your WMAs within iTunes. Select your WMA songs in iTunes, go to the Advanced Menu, click Convert selection to MP3/AAC, then enjoy your music on the iPod.

  • How can I add a turning number to a Flash web form?

    How can I add a turning number to a Flash web form?

    what's a "turning number"?

Maybe you are looking for