Hi i'm having trouble embedding the flash object within an html page to work can anyone tell me what i'm doing wrong.
First all the files are in the same directory on my local computer.
I have changed this line in LoadingXML.as file
var request:URLRequest=new URLRequest('http://www.flepstudio.org/utilita/MultiFLVPlayer/videos.xml');
to
var request:URLRequest=new URLRequest('videos.xml');
as requested
i have changed the videos.xml file to only contain:
vid_0.flv
thumb_0.jpg
video 1 title
and this is the source of my test html page which i just copied a small piece from this news group page:
HTML Code:
<html>
<head>
</head>
<body>
<h1 align="center">MULTI VIDEO PLAYER multi FLV video player</h1>
<div align="center">
<div style="overflow: visible; padding-left: 550px; display: block; position: relative; width: 0px; height: 0px; left: 0px; top: 0px; z-index: 65535; opacity: 0.5;"></div>
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" name="obj1" id="obj1" border="0" height="400" width="550">
<param name="movie" value="main.swf">
<param name="quality" value="High">
<embed src="main.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" height="400" width="550">
</object>
</div>
<p align="center"><strong>Description</strong>Multi FLV videos player.
</body>
</html>
i'm running windows xp service pack 2 on a pentium 4 2.9 Ghz
and the flash plugin is installed correctly as i can use the video player on this page perfectly.
any help would be appreciated
thanx