getting values from flash .swf file using java/javascript

Posted on 2005-04-25
Last Modified: 2010-04-17
I have three text boxes followed by a send button in my .swf file. On click of send button call is made to the request url mentinoed in my xml file.
The text boxes names "senderName","emailFriend1","emailFriend2".
The flash code call in my jsp is:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=",0,0,0" width="720" height="920" id="celebrate6" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="celebrate6.swf" />
<param name="loop" value="false" />
<param name="menu" value="false" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="celebrate6.swf" loop="false" menu="false" quality="high" bgcolor="#ffffff" width="720" height="920" ID="celebrate6" name="celebrate6" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="" />

I need to get these text box values in my java code.
I have tried to access using request.getAttribute("senderName"),       request.getParameter("senderName") but either of them returns null.

I am in desperate need of some help as to how do I get these values in my code.

Thanks in advance,
Question by:sasmitha

    Expert Comment

    the simplist way is to create a function in Java called XYZ(a,b,c) and call it in Flash useing Call XYZ(A,B,C), this way flash will call the function in java and return the parimeters.

    Accepted Solution

    a more detailed anser can be found on

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    A short article about a problem I had getting the GPS LocationListener working.
    A short article about problems I had with the new location API and permissions in Marshmallow
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now