+ Reply to Thread
Results 1 to 7 of 7

Thread: Flash Player, An Image Gallery, Not loading in php, but loads directly

  1. #1
    dquigley's Avatar
    dquigley is offline x10 Sophmore dquigley is an unknown quantity at this point
    Join Date
    Sep 2008
    Location
    Fresno, CA
    Posts
    249

    Flash Player, An Image Gallery, Not loading in php, but loads directly

    Hello, I need help with my portfolio website.


    I am trying to paste a image gallery flash thing on the page, but it doesnt seem to load.

    It does however load if u use the direct link to it

    http://dquigley.x10hosting.com/gallery/gallery.html

    Please help! :dunno:

    P.S. Having trouble uploading files, they will be uploaded in a second if u need them
    Attached Files
    Last edited by dquigley; 12-21-2009 at 10:33 AM. Reason: Uploaded files


  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Flash Player, An Image Gallery, Not loading in php, but loads directly

    It is amazing anything displays at all.

    Pasting together entire web pages is not the way to do things.

    In your specific case, I would guess the problem might lie in the address to gallery.swf. It seems to be http://dquigley.x10hosting.com/gallery/gallery.swf .

    In http://dquigley.x10hosting.com/gallery/gallery.html you can address it as gallery.swf, but when you paste that page into http://dquigley.x10hosting.com/gallery.php , gallery.swf resolves to http://dquigley.x10hosting.com/gallery.swf , which does not exist.

    Quick fix: Edit /gallery/gallery.html so that you have the full path http://dquigley.x10hosting.com/gallery/gallery.swf instead of just gallery.swf
    Last edited by descalzo; 12-21-2009 at 10:36 AM.

  3. #3
    dquigley's Avatar
    dquigley is offline x10 Sophmore dquigley is an unknown quantity at this point
    Join Date
    Sep 2008
    Location
    Fresno, CA
    Posts
    249

    Re: Flash Player, An Image Gallery, Not loading in php, but loads directly

    You are the man, and you deserve a cookie, but I cant help u there, so have some credits and rep as a thank you instead
    Edit:
    Huh, now I'm having trouble finding out what loads the xml file, as the xml file contains the image stuff darn:dunno:
    Edit:
    gallery.html

    Code:
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>test</title>
    <style type="text/css" media="screen">
    body {
        margin: 0;
        padding: 0;
        text-align: center;
    }
    </style>
    </head>
    <body bgcolor="#d0d0cc" align="center">
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!--
    Choose a category
    1 of 5
    -->
    <!-- saved from url=(0013)about:internet -->
    <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="810" height="720" id="test" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="gallery/gallery.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#d0d0cc" /><embed src="gallery/gallery.swf" quality="high" bgcolor="#d0d0cc" width="810" height="720" name="gallery" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>
    </body>
    </html>
    Last edited by dquigley; 12-21-2009 at 10:57 AM. Reason: Automerged Doublepost


  4. #4
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Flash Player, An Image Gallery, Not loading in php, but loads directly

    Whereever you got the Image Gallery should have the documentation.

  5. #5
    dquigley's Avatar
    dquigley is offline x10 Sophmore dquigley is an unknown quantity at this point
    Join Date
    Sep 2008
    Location
    Fresno, CA
    Posts
    249

    Re: Flash Player, An Image Gallery, Not loading in php, but loads directly

    Unfortunately, the author does not have any documentation as I can find, its supposedly open source but that is all that was said, hard to believe I know, but it would be great if u could help me figure out where the xml file is called

    Here is where I found it, Number 7

    http://www.devwebpro.com/37-free-fla...o-gallery/364/
    Edit:
    Well I didnt figure out which file was loading it but I moved the xml file up one directory and that fixed it.. If anyone does figure out what files loads it I would still like to know, thank you much ^__^
    Last edited by dquigley; 12-21-2009 at 12:36 PM. Reason: Automerged Doublepost


  6. #6
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Flash Player, An Image Gallery, Not loading in php, but loads directly

    If a reference to the XML file (is it a playlist?) doesn't appear in the source, it's probably hard-coded (at least, there's a hard-coded default) in the flash movie.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  7. #7
    dquigley's Avatar
    dquigley is offline x10 Sophmore dquigley is an unknown quantity at this point
    Join Date
    Sep 2008
    Location
    Fresno, CA
    Posts
    249

    Re: Flash Player, An Image Gallery, Not loading in php, but loads directly

    I think your right, its probably in the flash file, thats what ur saying right? I have the tools to edit that but I dont need too, the information is what was important to me, knowing this I can edit it in the future if I need to, thanks a bunch, Ill rep and cred u too


+ Reply to Thread

Similar Threads

  1. Unstand PHP?
    By o0slowpaul0o in forum Tutorials
    Replies: 8
    Last Post: 01-07-2008, 09:16 PM
  2. How to protect images without htaccess using PHP
    By frznmnky in forum Tutorials
    Replies: 0
    Last Post: 12-26-2007, 11:51 AM
  3. Sigo con problemas con phpbb2
    By reciecho in forum Soporte
    Replies: 7
    Last Post: 10-20-2007, 06:28 PM
  4. "PHP Startup: Invalid Library" - Interesting error
    By javaguy78 in forum Free Hosting
    Replies: 5
    Last Post: 03-27-2007, 02:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers