Solved

Integrating JSP and Flash

Posted on 2006-11-19
6
252 Views
Last Modified: 2010-04-01
I have a JSP page  with an embeded flash file using the following code.

assume that '<c:out value="${myForm.resource}" />'   prints:  'myLocation/myFlashFile.swf' into the object.

I would like some code or function to send an event to the server when the myFlashFile.swf has ended.  

-----------begin jsp-flash code----------

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
        WIDTH="320" HEIGHT="240" id="Yourfilename" ALIGN="">
        <PARAM NAME=movie VALUE="<c:out value="${myForm.resource}" />">
        <PARAM NAME=quality VALUE=high>
        <PARAM NAME=bgcolor VALUE=#FFFFCC >
        <EMBED src="<c:out value="${myForm.resource}" />"
               quality=high bgcolor=#FFFFCC
               WIDTH="640" HEIGHT="480" NAME="<c:out value="${myForm.resource}" />"
               ALIGN="" TYPE="application/x-shockwave-flash"
               PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
        </EMBED>
</OBJECT>

-----------end jsp-flash code----------

How do I send HTML data triggered by this flash file ending?
0
Comment
Question by:tmonteit
  • 2
  • 2
6 Comments
 
LVL 5

Expert Comment

by:deeppra
ID: 17977334
in the code base u can write the <c:out> statement
0
 

Author Comment

by:tmonteit
ID: 17982916
Example please.  All I know of the "code base" is an example I found online.  How to embed a flash in jsp.
0
 
LVL 10

Accepted Solution

by:
jaggernat earned 500 total points
ID: 17984430
0
 
LVL 5

Expert Comment

by:deeppra
ID: 17984895
This is the jsp page in the same dir u keep the flash file "swflash.cab"


<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        codebase="swflash.cab#version=6,0,0,0"
        WIDTH="320" HEIGHT="240" id="Yourfilename" ALIGN="">
        <PARAM NAME=movie VALUE="<c:out value="${myForm.resource}" />">
        <PARAM NAME=quality VALUE=high>
        <PARAM NAME=bgcolor VALUE=#FFFFCC >
        <EMBED src="<c:out value="${myForm.resource}" />"
               quality=high bgcolor=#FFFFCC
               WIDTH="640" HEIGHT="480" NAME="<c:out value="${myForm.resource}" />"
               ALIGN="" TYPE="application/x-shockwave-flash"
               PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
        </EMBED>
</OBJECT>
0
 

Author Comment

by:tmonteit
ID: 17991848
Can we go to the beginner level?

What's the "swflash.cab"?

So my page runs a flash.swf file after its done running I want the flash to redirect to another web page.
0

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.

Join & Write a Comment

Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
What is Backup? Backup software creates one or more copies of the data on your digital devices in case your original data is lost or damaged. Different backup solutions protect different kinds of data and different combinations of devices. For e…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

705 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

17 Experts available now in Live!

Get 1:1 Help Now