flash pages not displaying in xampp

Problems with the Windows version of XAMPP, questions, comments, and anything related.

flash pages not displaying in xampp

Postby lonewolf » 16. August 2006 11:53

I have just installed win32-1.5.3a, i can view the index page at http://localhost/index.html but when i put my own flash pages in the directory they are not showing. any ideas ? is there a feature that i need to switch on ?
lonewolf
 
Posts: 2
Joined: 16. August 2006 11:42

Postby maxnorris » 21. August 2006 15:52

Are you embedding the flash into a web page, or just accessing them directly?

Embedding into a page isn't terribly hard, but if you don't get it quite right it wont work. Here's an example.

Your file for sake of argument is "myFlashMovie.swf". Edit your page's HTML and include this where you want the flash file to appear:

Code: Select all
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="550" HEIGHT="400" id="myMovieName">
<PARAM NAME=movie VALUE="myFlashMovie.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="myFlashMovie.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="400"
NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>


If the file is in a subfolder somewhere you can specify that with the file name. Note that you're essentially defining the flash movie twice, that's because Internet Explorer is looking for the Object tag, while FireFox works off of Object.. this'll cover all the bases. You'll need to edit height, width, background color etc etc but you get the idea.

It should show it correctly. (Assuming you have a flash plugin working right)
maxnorris
 
Posts: 17
Joined: 21. August 2006 06:51

Postby lonewolf » 21. August 2006 18:18

Sorry i should have stated.The flash page works fine when launched from the desktop or on my web host server. It has been published and embedded as per flash 8. For some reason when i go to the page through XAMPP it see's the page(title bar comes up) but the content is not displayed. HTML pages show fine....any thoughts?
lonewolf
 
Posts: 2
Joined: 16. August 2006 11:42

Postby Izzy » 22. August 2006 02:04

In the XAMPP Welcome Page:

http://localhost/xampp/index.php

There is a menu item under Demos for a Flash Art feature.

Does this work?
Last edited by Izzy on 27. August 2006 00:55, edited 1 time in total.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby Izzy » 22. August 2006 09:18

I do not answer to post via PM. Reason is the forums are for everyone's benefit.
lonewolf wrote:yeah i can see the Flash Art no problem, that is what is throwing me..cannot understand why going through localhost/foldername/pagename the page content is not showing .

Then XAMPP is working as it should. The problem must be in your code.

I run serveral sites that have Flash and I do not have a problem.

Perhaps you should paste you code so it can be looked at.

Here is one of my flash embeded objects in a html file:
Code: Select all
<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="460" height="380" id="coffeexml" align="middle">
<param name="movie" value="salescontactform.swf"/>
<param name="quality" value="high" />
<param name="FlashVars" VALUE="xmlfile=salescontactform.xml&w=460&h=380"/>
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="bgcolor" value="#ffffff" />
<embed src="salescontactform.swf" FlashVars="xmlfile=salescontactform.xml&w=460&h=380" quality="high" bgcolor="#ffffff" width="460" height="380"
 name="coffeexml" scale="noscale" salign="lt" align="middle" type="application/x-shockwave-flash"
 pluginspage="http://www.macromedia.com/go/getflashplayer" />
 </object>
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 128 guests