Integrating Flash movie with E-commerce Java Application.
The situation is following:
I designed an e-commerce java application with jsp pages, servlets and java classes. The application is deployed on tomcat and is accessed from, for example http://ip:port/web_context/index.jsp. In that application have a module called “A”, which started another server written in Java on another port. This server handles all user requests for module “A” and is running on, for example http://same_ip:another_port. This module works on the top of communication between the e-commerce application, the java server and the flash client which is loading on the index page of the module “A”.
The problem is that the index.jsp for the module “A”, which contains the flash client, does not work if the flash movie is embedded in standard way:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="320" height="240">
<param name="movie" value="movie.swf">
<param name="quality" value="high">
<embed src="movie.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="320" height="240"></embed>
In this case the flash client does not make connection with the server. And if I debug the app everything stops on Socket client = server.accept ();
It is only work if the movie is embedded in the following way:
<iframe id="page" name="page" width="100%" height="300" src="file://LOCAL_PATH\movie.swf" scrolling="yes" >
In this case everything work wonderful but it is not a good idea to use a local path to the movie.
Does anybody have suggestions?
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Glitch in my first Flash project||keress||Newbies||8||12-28-2006 02:49 PM|
|Loaded Flash Movie not moving to Next Page||gp_330||Flash MX 2004||13||11-16-2005 10:36 PM|
|Playing default video program within main flash movie||webharvest||Flash MX ActionScript||0||04-20-2005 01:14 PM|
|displaying beyond Flash Movie bounds in html?||damienschaefer||Flash 5 Actionscript||2||09-26-2002 11:51 AM|
|exporting flash a movie||hasson||Newbies||2||09-11-2000 11:40 AM|