Server + flash

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
aravona
Forum Contributor
Posts: 347
Joined: Sat Jun 13, 2009 3:59 pm
Location: England

Server + flash

Post by aravona »

Okie dokie - I'm uploading a bit of prebuilt flash to a website.

I've tested the .swf using IE and Firefox, works happily. Even though I'm on vista and vista + flash != a happy bunny all the time

I embed the flash into the index page it starts to mess up. I upload the index.php to the server - I've put the flash folder up as well, in the same file I did on the local machine.

The flash uploads fine, but when I try and view the work IE and Firefox both stop responding and just give up.

I have no clue about the server settings, I have very limited access at this point.

I'm begging for a quick fix but I know there probably isnt one.

Any thoughts would be welcome
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Server + flash

Post by josh »

I think you need to tell us how to replicate the problem
aravona
Forum Contributor
Posts: 347
Joined: Sat Jun 13, 2009 3:59 pm
Location: England

Re: Server + flash

Post by aravona »

I'm not sure how you'd replicate it unless anyone has had a similar problem.

The flash swf. works fine, when it uploads to the host server on the main index page, it doesnt download and it crashes the browser.

I'm not sure anyone could replicate the problem, or would want to, but the problem is its not downloading and therefore not playing.

I have no server information and none of this is my own work from scratch simply someone elses work I'm having to alter for a live site. I jsut wanted to know if people knew what was wrong, i.e server side problem or something I've done wrong
Reviresco
Forum Contributor
Posts: 172
Joined: Tue Feb 19, 2008 4:18 pm
Location: Milwaukee

Re: Server + flash

Post by Reviresco »

Need to see your object/embed code, and what is meant by "mess up" and "stop responding".
aravona
Forum Contributor
Posts: 347
Joined: Sat Jun 13, 2009 3:59 pm
Location: England

Re: Server + flash

Post by aravona »

this is the code i am trying to embed the flash with

Code: Select all

           
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="529" height="265" id="babyslideshow" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="babyslideshow.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffcc" />   <embed src="images/flash/baby/babyslideshow.swf" quality="high" bgcolor="#ffffcc" width="529" height="265" name="babyslideshow" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>

This code came directly from a working website I have access to but all I get is a pink background in IE or a pink decorative image background in Firefox.

Runs fine until I try and view it on the live site - noscript tags remove the enitre thing and I get nothing but whitespace

It's impoved slighty on not responding - meaning the OS has stopped the program running - but its now not crashing like this
Reviresco
Forum Contributor
Posts: 172
Joined: Tue Feb 19, 2008 4:18 pm
Location: Milwaukee

Re: Server + flash

Post by Reviresco »

These two parameters (one in embed and one in object) are different:

Code: Select all

<param name="movie" value="babyslideshow.swf" />
and

Code: Select all

<embed src="images/flash/baby/babyslideshow.swf"
Is the swf at just babyslideshow.swf, or images/flash/baby/babyslideshow.swf?
aravona
Forum Contributor
Posts: 347
Joined: Sat Jun 13, 2009 3:59 pm
Location: England

Re: Server + flash

Post by aravona »

Its the longer file path - images/flash/baby/babyslideshow.swf

So they need to be the same? If so that was annoyingly simple and something I shouldn't have missed!

This semi corrected it but I'm still not getting the images displayed, but I'll double check the folders

EDIT: as far as I can tell the images for the slideshow are in the correct folder on the server
Post Reply