browse: forums | FAQ
Connecting Tech Pros Worldwide

Hey there! Do you need Apache Web Server help?

Get answers from our community of Apache Web Server experts on BYTES! It's free.

using flash with apache

chunk1978's Avatar
Familiar Sight
 
Join Date: Jan 2007
Posts: 226
#1: Jan 20 '07
hi everyone,

i'm using apache 1.3 on Mac OS X and i'm trying to enable apache to work with flash. the mime types are set in the httpd.conf file like this:

Expand|Select|Wrap|Line Numbers
  1.  
  2.     #
  3.     # AddType allows you to tweak mime.types without actually editing it, or to
  4.     # make certain files to be certain types.
  5.     #
  6.     AddType application/x-tar .tgz
  7.     AddType application/x-shockwave-flash    swf
  8.     AddType application/futuresplash    spl
  9.  
  10.  
but it seems that my flash movies stall at the intro loading bar... the only way to play them is to right-click on the movie and click "play"... only after that will the loading bar start to move (if the preloader hasn't finished loading yet). Tthe movie does preload, but it doesn't display the preloader, nor will it start on its own even after the preloader finishes loading (still have to click play regardless)...

this happens in both Safari 2.0 and Firefox.

any ideas?



Motoma's Avatar
Moderator
 
Join Date: Jan 2007
Location: Maine, USA
Posts: 2,912
#2: Jan 24 '07

re: using flash with apache


Quote:

Originally Posted by chunk1978

hi everyone,

i'm using apache 1.3 on Mac OS X and i'm trying to enable apache to work with flash. the mime types are set in the httpd.conf file like this:

Expand|Select|Wrap|Line Numbers
  1.  
  2.     #
  3.     # AddType allows you to tweak mime.types without actually editing it, or to
  4.     # make certain files to be certain types.
  5.     #
  6.     AddType application/x-tar .tgz
  7.     AddType application/x-shockwave-flash    swf
  8.     AddType application/futuresplash    spl
  9.  
  10.  
but it seems that my flash movies stall at the intro loading bar... the only way to play them is to right-click on the movie and click "play"... only after that will the loading bar start to move (if the preloader hasn't finished loading yet). Tthe movie does preload, but it doesn't display the preloader, nor will it start on its own even after the preloader finishes loading (still have to click play regardless)...

this happens in both Safari 2.0 and Firefox.

any ideas?

It sounds like your preloader isn't correctly calling the next stage.
chunk1978's Avatar
Familiar Sight
 
Join Date: Jan 2007
Posts: 226
#3: Jan 25 '07

re: using flash with apache


Quote:

Originally Posted by Motoma

It sounds like your preloader isn't correctly calling the next stage.

my preloaders work with online servers, just not with apache
Motoma's Avatar
Moderator
 
Join Date: Jan 2007
Location: Maine, USA
Posts: 2,912
#4: Jan 25 '07

re: using flash with apache


Quote:

Originally Posted by chunk1978

my preloaders work with online servers, just not with apache

Do you have a URL that I could test out?
chunk1978's Avatar
Familiar Sight
 
Join Date: Jan 2007
Posts: 226
#5: Jan 25 '07

re: using flash with apache


Quote:

Originally Posted by Motoma

Do you have a URL that I could test out?

humm... i tested my other movie that was on the web already and that worked fine in my apache setup... so there must be some error (???) with the other movies preloader... but i have no idea what it could be since they have almost the same preloader
Motoma's Avatar
Moderator
 
Join Date: Jan 2007
Location: Maine, USA
Posts: 2,912
#6: Jan 25 '07

re: using flash with apache


Well, I guess this has reached the end of my expertise, I would be amazed if this was a problem with Apache, as I have never encountered this.
If the Movie Clip doesn't start, and the preloader doesn't bring you to the next stage, then I would be inclined to say that this is a flash problem.
Sorry I couldn't be more help.
chunk1978's Avatar
Familiar Sight
 
Join Date: Jan 2007
Posts: 226
#7: Jan 25 '07

re: using flash with apache


Quote:

Originally Posted by Motoma

Well, I guess this has reached the end of my expertise, I would be amazed if this was a problem with Apache, as I have never encountered this.
If the Movie Clip doesn't start, and the preloader doesn't bring you to the next stage, then I would be inclined to say that this is a flash problem.
Sorry I couldn't be more help.

i'm sure it will be an easy fix... and thanks so much for suggesting i try a different flash doc in my localhost... at least now i know it's not an apache issue...
Reply