how to use flash content in a jsp page???
843838Feb 21 2007 — edited Feb 26 2007hey guys,
i'm trying to create a user interface in flash.
the problem is, since it is a web application, this user interface requires user authentication.
In addition, it also requires domain management(similar to yahoo/hotmail where a user logs in and is redirected to his/her own page/domain)
hence, i have no option but to create the interface in jsp.
however, the interface has to be as dynamic and attractive as flash content.
I tried to use the "publish" option provided in flash mx 2004(the flash file is converted into html).
But i don't know how to associate the flash component with the java components(database).
I'll provide a preview of a simple flash file which shows a button. This file is converted into html using the publish option:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled-2</title>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="550" height="400" id="Untitled-2" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Untitled-2.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="Untitled-2.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="Untitled-2" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object><br>
hi this is flash content, ain't it cool
</body>
</html>