Flash problems on PHP pages - dreamweaver

hi, i'm building a site that's basically a bunch of php-pages
(header, content, menu...) that are loaded into a index.php page
using "require" and javascript etc. anyways, many of the pages will
include flash files and this is causing some problem. have been
doing this kind of stuff before, but the flash code has changed
with the new version of dreamweaver. and i'm having trouble
figuring out what the problem is.
the index page is at
http://www.onion-berlin.com/test
the logo animation (flash) sits on a page called header.php
and works like it should
but the mustavuori.php page in the content div isn't working.
the text is there, but the flash doesn't show.
the flash icon on the index.php page (in dw) looks broken,
but on mustavuori.php not.
what's wrong?
i put the
<script src="Scripts/swfobject_modified.js"
type="text/javascript"></script>
in the head-section of the index page,
but where should this stuff go:
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
<script type="text/javascript">
<!--
swfobject.registerObject("FlashID");
//-->
</script>

and yeah, don't pay attetion to the news section. the links
& pages are not yet in place...

Similar Messages

  • Flash video in php page

    Hi
    i insert flash video to php page and it's ok but.
    i want to ask if i could i insert any video to it liek avi or
    mpg or any and it will be converted when upload automatically
    thanks in advance.

    macnux wrote:
    > Hi
    > i insert flash video to php page and it's ok but.
    > i want to ask if i could i insert any video to it liek
    avi or mpg or any and it will be converted when upload
    automatically
    >
    > thanks in advance.
    >
    It can be done, since youtube does it. But that requires
    heavy-duty programming and I suspect some
    special server components (maybe Flash Server must be
    installed too or something).
    In any case that's not something you can do with Dreamweaver
    or without a thorough knowledge of
    server-side programming.
    An alternative is to create a swf file in Flash that will
    import linked media. You can link
    quicktime videos dynamically and play them in the swf.
    I'm not sure what other video formats are supported. You
    might want to look into the Flash Media
    Player component.
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    An Ingenious WebSite Builder:
    http://sitelander.com

  • Problem displaying php page in dreamweaver

    I am having problems displaying php scripting on dreamweaver.
    Need your advice.
    Installed dreamweaver 8, Coldfusion 7, mysql, php5.2 (using
    windows installer).
    Created file test.php ror testing containing
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    <body>
    date is:<b><?php echo Hello ?></b>
    </body>
    </html>

    ulises_arsi wrote:
    > I am having problems displaying php scripting on
    dreamweaver.
    Tell us what the problems are.
    > Installed dreamweaver 8, Coldfusion 7, mysql, php5.2
    (using windows installer).
    PHP needs to be configured with a web server, such as Apache
    or IIS.
    ColdFusion is also a webserver, but as far as I know, it
    cannot be
    configured to serve PHP pages.
    > date is:
    <?php echo Hello ?>
    The only thing that would display is an error message. Hello
    needs to be
    enclosed in quotes:
    <?php echo 'Hello'; ?>
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • Flash Video in PHP page wont load/play.

    I have a page that I have inserted a Flash Video into using
    the INSERT > MEDIA > FLASH VIDEO tool. I have done this
    before with success and no problem.
    I have been reading other threads on this forum and have
    noted other things to be careful of. In particular, I have already
    turned off the option to "Prompt Users to Download. . . " and this
    solved the first problem I had. I have also checked to make sure
    that I have the Scripts folder in the proper directory. The odd
    part is that it has always made that folder before, but it is not
    making that folder for me. I copied one from another project I did
    and put it in the directory, but it still does not work.
    Does this have to do with the fact that it is on a PHP
    include page in a CSS container? Any thoughts or suggestions would
    be appreciated.
    Thanks!

    >
    > I have opened the access restrictions on the page so it
    is open for viewing
    > at:
    http://mstproductions.com/customer_data/accela.php
    Home « Error 404
    Error 404
    Oops! It look's like you might be lost. :(
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Flash Button not showing on php page

    Hi Folks,
    Hopefully this is a simple problem. I've added a Flash Button
    via the Insert Media -> Flash Button in DW8. Unfortunately the
    button does not show up when the php page is loaded up to the
    server. And yes, I did make sure to upload the button file. When I
    look at the source code from the server, the flash part looks a
    little different compared to how it normally looks on a .htm page.
    Here's what the 'view source' in the browser shows:

    David,
    I don't know what that file is. Can you elaborate?
    Thanks,
    Chris
    quote:
    Originally posted by:
    Newsgroup User
    chriscatalano wrote:
    > Hopefully this is a simple problem. I've added a Flash
    Button via the Insert
    > Media -> Flash Button in DW8. Unfortunately the
    button does not show up when
    > the php page is loaded up to the server. And yes, I did
    make sure to upload
    > the button file.
    But did you upload this file?
    Scripts/AC_RunActiveContent.js
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • Footer displayed inaccurately in Dreamweaver CS4 php page

    Hi,
    I recently upgraded from Dreamweaver 8 to Dreamweaver CS4. Our organization site uses mostly php pages. When I attempt to open these pages in Dreamweaver CS4 the footer menu bar displays innacurately down through the center of the page and won't allow any edits as it acts like a top layer or something. Usually it acts as a menu bar on the top of any page on our website.
    As it should appear from an online screen shot: You'll notice the orange menu bar across the top.
    A shot of the Design View in Dreamweaver CS4:  You'll see the menu options are running down the center of the page as text.
    This is the code : Can also be visited at www.axisdance.org
        <div id="footer">AXIS Dance Company &middot; 1428 Alice Street, Suite 200 &middot; Oakland, CA 94612<br />
            Phone: 510-625-0110 &middot; Fax: 510-625-0321
        </div><!--end footer-->
        <div id="navBar"><!--<a name="navigation" class="minimize"> </a><br />-->
            <!-- begin list for menu-->
            <ul id="udm" class="udm">
                <li><h2><a href="index.php">home</a></h2>
                </li>
                <li><h2><a href="about.php">about us</a></h2>
                    <ul>
                    <li><a href="about.php">About AXIS</a></li>
                    <li><a href="about_news.php">News</a></li>
                    <li><a href="about_mediaKit.php">Media Kit</a></li>
                    <li><a href="about_dancers.php">Dancers</a></li>
                    <li><a href="about_staff.php">Board & Staff</a></li>
                    <li><a href="about_jobs.php">Jobs & Auditions</a>
                    <ul>
                        <li><a href="about_internships.php">Internships</a></li>
                        </ul>
                    <li><a href="about_faq.php">FAQ</a></li>
                    <li><a href="about_contact.php">Contact Us</a>
                        <ul>
                        <li><a href="about_contact_directions.php">Directions</a></li>
                        </ul>                   
                    </li>
                    </ul>
                </li>
                <li><h2><a href="performance.php">performances</a></h2>
                    <ul>
                    <li><a href="performance.php">Performance Calendar</a></li>
                    <li><a href="performance_repertory.php">Repertory Clips </a></li>
                    <li><a href="performance_gallery.php">Image Gallery</a></li>
                    <li><a href="performance_reviews.php">Reviews</a></li>
                    <li><a href="performance_booking.php">Booking AXIS</a></li>
                    <li><a href="performance_collaboration.php">Collaborating Artists</a></li>
                    </ul>
                </li>
                <li><h2><a href="education.php">education</a></h2>
                    <ul>
                    <li><a href="education.php">About Education </a></li>
                    <ul>
                        <li><a href="kids.php">Dance Access/KIDS!</a></li>
                        <li><a href="Adults.php">Dance Access (Adults)</a></li>
                        </ul>
                    <li><a href="education_danceAccess.php">Class Schedule</a></li>
                    <li><a href="education_hiring.php">Booking Dance Access</a></li>
                    <li><a href="education_summerIntensive.php">Summer Intensive</a></li>
                    <li><a href="education_resources.php">Resources</a>
                        <ul>
                        <li><a href="education_resources_videos.php">Media</a></li>
                        <li><a href="education_resources_articles.php">Essays & Articles</a></li>
                        <li><a href="assets/teachersGuide.pdf">Teacher's Guide (PDF)</a></li>
                        </ul>                   
                    </li>
                    <li><a href="education_likeUs.php">Companies Like Us</a></li>
                    </ul>
                </li>       
                <li><h2><a href="support.php"> support </a></h2>
                    <ul>
                    <li> <a href="support.php"> Ways to Support</a></li>
                    <li><a href="support_volunteering.php">Volunteering</a></li>                   
                    <li><a href="support_mailingList.php">Join Mailing List</a></li>                   
                    <li><a href="support_store.php">AXIS Store</a></li>                   
                    <li><a href="support_funders.php">Funders &amp; Donors </a></li>                   
                    <li><a href="support_webSupporters.php">Web Supporters</a></li>                   
                    </ul>
                </li>
            </ul>
            <img src="images/shim.gif" width="800" height="1" border="0" alt="navigation bar" /><br />
        </div><!--end navbar-->
    </div><!--end center-->
    <div id="copy">
        <div id="right">&copy; 1999-2010. AXIS Dance Company  <br>
            <a href="http://www.facebook.com/pages/AXIS-Dance-Company/56899952604?ref=ts" target="_blank"></a> <a href="http://www.youtube.com/user/AXISDanceComp" target="_blank"></a> <a href="http://www.axisdance.org/support_mailingList.php" target="_blank"></a><br />
        </div>
        <div id="powered"> </div>
        <div class="clear"> </div>
    </div><!--end copy-->
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-10598516-1");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    </body>
    </html>
    This seems like a simple solution but I'm just not sure what it would be.
    Thanks

    The live view or preview functions do not work and lead to the error: "Not Found, the requested URL/html/index.php was not found on this server.'   This is another issue that I don't understand.
    Unfortunately, I did not develop this website and have a minimal knowledge of html and Dreamweaver.  I'm not sure if I can answer the question about which menu system we're using - would seeing the code of the footer help?   I'll paste below in case.  
    And just to be clear, the problem only occurs in editing in Dreamweaver, but when uploaded to our server it appears correctly.
    Thanks for your help!
        <div id="footer">AXIS Dance Company &middot; 1428 Alice Street, Suite 200 &middot; Oakland, CA 94612<br />
            Phone: 510-625-0110 &middot; Fax: 510-625-0321
        </div><!--end footer-->
        <div id="navBar"><!--<a name="navigation" class="minimize"> </a><br />-->
            <!-- begin list for menu-->
            <ul id="udm" class="udm">
                <li><h2><a href="index.php">home</a></h2>
                </li>
                <li><h2><a href="about.php">about us</a></h2>
                    <ul>
                    <li><a href="about.php">About AXIS</a></li>
                    <li><a href="about_news.php">News</a></li>
                    <li><a href="about_mediaKit.php">Media Kit</a></li>
                    <li><a href="about_dancers.php">Dancers</a></li>
                    <li><a href="about_staff.php">Board & Staff</a></li>
                    <li><a href="about_jobs.php">Jobs & Auditions</a>
                    <ul>
                        <li><a href="about_internships.php">Internships</a></li>
                        </ul>
                    <li><a href="about_faq.php">FAQ</a></li>
                    <li><a href="about_contact.php">Contact Us</a>
                        <ul>
                        <li><a href="about_contact_directions.php">Directions</a></li>
                        </ul>                   
                    </li>
                    </ul>
                </li>
                <li><h2><a href="performance.php">performances</a></h2>
                    <ul>
                    <li><a href="performance.php">Performance Calendar</a></li>
                    <li><a href="performance_repertory.php">Repertory Clips </a></li>
                    <li><a href="performance_gallery.php">Image Gallery</a></li>
                    <li><a href="performance_reviews.php">Reviews</a></li>
                    <li><a href="performance_booking.php">Booking AXIS</a></li>
                    <li><a href="performance_collaboration.php">Collaborating Artists</a></li>
                    </ul>
                </li>
                <li><h2><a href="education.php">education</a></h2>
                    <ul>
                    <li><a href="education.php">About Education </a></li>
                    <ul>
                        <li><a href="kids.php">Dance Access/KIDS!</a></li>
                        <li><a href="Adults.php">Dance Access (Adults)</a></li>
                        </ul>
                    <li><a href="education_danceAccess.php">Class Schedule</a></li>
                    <li><a href="education_hiring.php">Booking Dance Access</a></li>
                    <li><a href="education_summerIntensive.php">Summer Intensive</a></li>
                    <li><a href="education_resources.php">Resources</a>
                        <ul>
                        <li><a href="education_resources_videos.php">Media</a></li>
                        <li><a href="education_resources_articles.php">Essays & Articles</a></li>
                        <li><a href="assets/teachersGuide.pdf">Teacher's Guide (PDF)</a></li>
                        </ul>                   
                    </li>
                    <li><a href="education_likeUs.php">Companies Like Us</a></li>
                    </ul>
                </li>       
                <li><h2><a href="support.php"> support </a></h2>
                    <ul>
                    <li> <a href="support.php"> Ways to Support</a></li>
                    <li><a href="support_volunteering.php">Volunteering</a></li>                   
                    <li><a href="support_mailingList.php">Join Mailing List</a></li>                   
                    <li><a href="support_store.php">AXIS Store</a></li>                   
                    <li><a href="support_funders.php">Funders &amp; Donors </a></li>                   
                    <li><a href="support_webSupporters.php">Web Supporters</a></li>                   
                    </ul>
                </li>
            </ul>
            <img src="images/shim.gif" width="800" height="1" border="0" alt="navigation bar" /><br />
        </div><!--end navbar-->
    </div><!--end center-->
    <div id="copy">
        <div id="right">&copy; 1999-2010. AXIS Dance Company  <br>
            <a href="http://www.facebook.com/pages/AXIS-Dance-Company/56899952604?ref=ts" target="_blank"></a> <a href="http://www.youtube.com/user/AXISDanceComp" target="_blank"></a> <a href="http://www.axisdance.org/support_mailingList.php" target="_blank"></a><br />
        </div>
        <div id="powered"> </div>
        <div class="clear"> </div>
    </div><!--end copy-->
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-10598516-1");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    </body>
    </html>

  • Dreamweaver CS 3 crashes opening PHP pages

    This just started happeing yesterday. I try to open php pages and Dreamweaver freezes up. It worked fine on Thursday. I tied re-installing yesterday. It worked for a while, then crashed again.
    Running on Windows 7. Have been using it on this computer for 2+ yrs with no problem.

    Just avoid having your Epson as the default.
    The solution, weird as it sounds, is to make a generic printer driver your default printer. If you don't have one, download it here:
    http://www.adobe.com/support/downloads/product.jsp?product=pdrv&platform=win
    All part of the fascinating world of Photoshop CS3.

  • Flash cs3 and php problem (system error)

    Hi All,
    Been checking out a free utility, called Tell A Friend - followed the instructions to a t but still getting system error.
    Here is the php code:
    <?php
    $to = ($_POST['friend']);
    $link = ($_POST['link']);
    $subject = "Tell a friend";
    $message = "Your friend ";
    $message .= $_POST['name'] . " wants advice you the following link: ".$link;
    $headers = "My WebSite Name";
    if(@mail($to, $subject, $message, $headers))
    echo "answer=ok";
    else
    echo "answer=error";
    ?>
    The main swf has a main.as attached:
    * Flash Tell A Friend
    * http://www.FlepStudio.org        
    * Author: Filippo Lughi          
    * version 1.0                      
    package
    import flash.display.*;
    import flash.events.*;
    import flash.utils.*;
    import flash.external.*;
    import flash.net.*;
    public class main extends MovieClip
      private const PHP_URL:String="sendMail.php";
      private var checker:CheckEmail;
      private var timer:Timer;
      public function main()
       addEventListener(Event.ADDED_TO_STAGE,init);
      private function init(evt:Event):void
       removeEventListener(Event.ADDED_TO_STAGE,init);
       stage.frameRate=31;
       checker= new CheckEmail();
       addInputListener();
       addSendListener();
      private function addInputListener():void
       clip_mc.name_txt.background=true;
       clip_mc.name_txt.backgroundColor=0x999999;
       clip_mc.name_txt.addEventListener(FocusEvent.FOCUS_IN,onFocusIn);
       clip_mc.name_txt.addEventListener(FocusEvent.FOCUS_OUT,onFocusOut);
       clip_mc.email_txt.background=true;
       clip_mc.email_txt.backgroundColor=0x999999;
       clip_mc.email_txt.addEventListener(FocusEvent.FOCUS_IN,onFocusIn);
       clip_mc.email_txt.addEventListener(FocusEvent.FOCUS_OUT,onFocusOut);
      private function onFocusIn(evt:Event):void
       evt.target.background=true;
       evt.target.backgroundColor=0xFFFFFF;
      private function onFocusOut(evt:Event):void
       evt.target.backgroundColor=0x999999;
      private function addSendListener():void
       clip_mc.send_mc.mouseChildren=false;
       clip_mc.send_mc.buttonMode=true;
       clip_mc.send_mc.addEventListener(MouseEvent.MOUSE_DOWN,onSendDown);
      private function onSendDown(evt:MouseEvent):void
       if(clip_mc.name_txt.text!="")
        if(checker.initCheck(clip_mc.email_txt.text))
         sendEmail();
        else
         displayPhrase("Invalid Email");
       else
        displayPhrase("Invalid name");
      private function sendEmail():void
       clip_mc.send_mc.mouseEnabled=false;
       var variables:URLVariables=new URLVariables();
       variables.name=clip_mc.name_txt.text;
       variables.friend=clip_mc.email_txt.text;
       variables.link=ExternalInterface.call('window.location.href.toString');
       var request:URLRequest=new URLRequest();
       request.url=PHP_URL;
       request.method=URLRequestMethod.POST;
       request.data=variables;
       var loader:URLLoader=new URLLoader();
       loader.dataFormat=URLLoaderDataFormat.VARIABLES;
       loader.addEventListener(Event.COMPLETE,onMessageSent);
       try
        loader.load(request);
       catch (error:Error)
        trace('Unable to load the document.');
      private function onMessageSent(evt:Event):void
       var vars:URLVariables=new URLVariables(evt.target.data);
       if(vars.answer=='ok')
        displayPhrase("Message Sent!");
       else
        displayPhrase("System Error!");
       clip_mc.send_mc.mouseEnabled=true;
       clip_mc.name_txt.text="";
       clip_mc.email_txt.text="";
      private function displayPhrase(s:String):void
       clip_mc.display_txt.text=s;
       resetPhrase();
      private function resetPhrase():void
       timer=new Timer(1500,1);
       timer.addEventListener(TimerEvent.TIMER,hidePhrase);
       timer.start();
      private function hidePhrase(evt:TimerEvent):void
       clip_mc.display_txt.text="";
    Any help appreciated. This is a great viral marketing tool, when it ever works
    Kind Regards,
    Boxing Boom

    Never seen such an error, but if it's in the status bar of the browser then it shouldn't be Flash problem. You can check what's happening in your swf by creating a dynamic text field and setting it's text in every major action, that is: requesting PHP and getting back response, to what's just happened.
    So, on the Flash side you can see whether the browser error stops the PHP script and immobilizes further actions.
    What I'd do is create a new Flash file and PHP file and just send 1 variable to PHP, change it somehow and send it back to Flash and print it in a text field. That way you can check whether it's the method you're using to request PHP or just PHP or something else. Step by step adding complexity and checking on which of these steps the error occurs.
    I wish you good luck.
    Ps. It's probably a very rookie problem, we just don't know the source.

  • Loading HTML or PHP page in flash

    Hi,
    I would like someone to tell me if there is a way to load html or php page in flash just like a movieclip without actually navigating from the flash player(by using getURL code). Basically, I am wondering if there is a way to load a html file just like we load movieclips and perform all the functions of html page.
    Thanks,
    Abinash

    No.  Flash can only display html content in textfields and only supports a very limited number of html tags (look up the htmlText property of TextFields).  So to display an html/php file is not possible.

  • Convert DW html pages to PHP in Dreamweaver CS4

    Created web pages in DWCS4 in html but discovered because I need some form pages to interact with MySQL that I should have created pages using DW PHP format. Is there a simple way to convert all html pages to php using dreamweaver CS4? OS is Win XP. Have access to hosting company with MySQL, PHP,PHPAdmin.

    I would recommend against Nancy's suggestion here (and it's REALLY weird to see myself typing that).
    I say it only because you are working within an existing site that likely already has links going to the .html file you are changing.
    If you do a Save As and create a new .php file based on the still existing .html file, you will need to manually change the links on the pages that are currently pointing to the that .html file so they will point to the new .php file. You would need to either open the pages individually and fix the links, or use DW's Find & Replace feature and do a site-wide correction.
    However, if you change the file extension from within the Files tab instead, DW will  update any pages that link to it automatically.

  • Dreamweaver and Flash Builder for PHP

    I have created a php database in Dreamweaver, can this database be imported or converted to Flash Builder for PHP?

    MySQL has nothing to do with Dreamweaver or any other development software. It's a DBMS (which stands for DataBase Management System). More simply, it's a way to store data. Other DBMS are PostgreSQL, Oracle, and so on..., as mentionned above.
    To use your existing MySQL database with FlashBuilder for PHP, simply specify where you store your PHP services on your computer when you create your project. Then FB will attempt to connect to MySQL with the help of your PHP code.
    And you'll be able to retrieve your data in the brand new Spark Datagrids !
    Hope it'll help.
    Julien.

  • Flash Player and web page problems

    I have just switched all my webpages over to an SHTML basis at my website (www.mgytypes.org) but am experiencing a problem with one page namely http://www.mgcars.org/mgccy/umlvideos.shtml.
    The original page - http://www.mgcars.org/mgccy/umlvideos.htm - loads OK, ... but the new page http://www.mgcars.org/mgccy/umlvideos.shtml comes up with an error that if you press cancel on it continues OK but I want to avoid the error report!
    This is related to the Flash Player embedded in the page in some way, but I cannot figure out what it is or how to remedy this.
    Can one of you clever people out there help me figure this out please?
    Thanks
    Paul

    You should place your swf in a CSS sized div container on the html page. If the scale width and height is set to 100% and it is not placed in a sized div, then there is nothing to contain the swf from trying to be the scale, or be the size of the page width (or height which ever it attains first).

  • Reset a variable from flash in the parent php page

    I know how to pass vars from php to flash and from flash to a
    "new" php page but here is my question.
    I have a php page (page1.php) with some HTML and a php
    variable called $number. page1.php also has an embedded test.swf
    movie. While working with the test.swf movie, I want to send data
    back to the $number var on the page1.php without reloading the
    page1.php because then it would reload the test.swf movie.
    I have been able to use javascript to change background
    colors on page1.php from within the test.swf movie but cannot
    figure out how to set a php variable from within the test.swf
    movie.
    Is this possible?

    That's what I ended up doing.
    I wrote the var to a db from page1.php using a separate php
    page and then changed the data in the db from flash using the same
    separate php page.
    Doing this made the same var or data available to both
    page1.php and test.swf without changing state.
    Just wanted to know if there were another way without using a
    db or xml file.

  • Optimize php page for browsers lacking flash, so that it replaces flash objects with static images

    Hello,
    I basically want to have my php pages with flash swf objects to be smart enough to replace the flash swf's with static images or other content for the non-flash user (iphone, ipad, etc.) who visits the website.  I guess this would be an option or perhaps a script that just sent the visitor to a version of the .php page that is tailored to them, a version of the page designed for non-flash users.
    I've done a little bit of reading up and have found that some people like to use DOM scripts like
    Unobtrusive Flash Objects (UFO) v3.22
    or what seems to be the successor:
    SWFObject 2.0
    What is better?  Is there a better script out there to use at this point?  Advice would be much appreciated.

    I guess I will reiterate this.
    I would like someone to tell me which one of these scripts that I have mentioned above would be best to use.
    What am I trying to do?  Well from my understanding these scripts allow me to have multiple versions of the website, so that it loads up with static images in place of the flash swf's for... NON FLASH USERS.
    The script will be able to detect whether the flash capabilities of the browser are sufficient, and if not display the web page accordingly.
    SO.  I'm looking for an answer as to what is the best script to use, if it's not one of the scripts I am asking about.
    @The Shocker.. if I wanted to research it on the net by googling, which I already have, I wouldn't be using this forum.  I'm looking for someone who is knowledgeable in this area of expertise to give me a recommendation, based on information they can give me that is logical and clear.  And then I can do further research once I feel I'm being sent in the right direction.
    Thanks in advance to anyone who would like to offer me some direction on this.

  • MM_XSLTransform error every time in PHP page

    When I apply an XSL Transformation to a PHP page, the page
    displays with an MM_XSLTransform error saying the XML file is not a
    valid XML document -- even though it absolutely
    is valid XML. This is totally reproducable.
    Here's a simple example:
    library.xml:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <library>
    <owner>Mister Reader</owner>
    <book>
    <isbn>1-2345-6789-0</isbn>
    <title>All About XML</title>
    <author>John Doe</author>
    <language>English</language>
    <price currency="usd">24.95</price>
    </book>
    <book>
    <isbn>9-8765-4321-0</isbn>
    <title>CSS Made Simple</title>
    <author>Jane Smith</author>
    <language>English</language>
    <price currency="usd">19.95</price>
    </book>
    </library>
    library.xsl:
    <xsl:stylesheet version="1.0" xmlns:xsl="
    http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" encoding="iso-8859-1"/>
    <xsl:template match="/">
    <h1><xsl:value-of select="library/owner"/>'s
    Library</h1>
    <xsl:for-each select="library/book">
    <p><em><xsl:value-of
    select="title"/></em>
    by <xsl:value-of select="author"/>
    (ISBN <xsl:value-of select="isbn"/>)</p>
    </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>
    library.php:
    <?php
    //XMLXSL Transformation class
    require_once('includes/MM_XSLTransform/MM_XSLTransform.class.php');
    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    <body>
    <?php
    $mm_xsl = new MM_XSLTransform();
    $mm_xsl->setXML("library.xml");
    $mm_xsl->setXSL("library.xsl");
    echo $mm_xsl->Transform();
    ?>
    </body>
    </html>
    When viewing the file library.php, the following error is
    displayed in the browser, followed by the raw XML:
    library.xml is not a valid XML document.
    Non-static method DOMDocument::loadXML() should not be called
    statically, assuming $this from incompatible context in file
    library.xml.
    I wonder whether there is a problem with the include file
    MM_XSLTransform, version 0.6.2. Since that include file begins with
    a "TODO" note from the programmer, I wonder whether it's not quite
    release-ready.
    Anyone else having this problem?
    Environment:
    - Testing Server on localhost
    - Windows XP Pro SP2
    - Dreamweaver 8.0.2
    - PHP 5.1.4
    - MySQL 5.0.2.1
    - PHP MyAdmin 2.8.1

    Jon9999 wrote:
    > I wonder whether there is a problem with the include
    file MM_XSLTransform,
    > version 0.6.2. Since that include file begins with a
    "TODO" note from the
    > programmer, I wonder whether it's not quite
    release-ready.
    It was release-ready. It worked fine in PHP 5.0, but changes
    in PHP
    5.1.4 caused it to break. As I understand, Adobe is preparing
    a PHP
    hotfix that solves several problems caused by the 8.0.2
    updater. It also
    fixes this one.
    In the meantime, you can easily hand fix it yourself.
    Comment out line 301, which looks like this:
    $xml = DOMDocument::loadXML($content);
    Then insert the following two new lines immediately below:
    $doc = new DOMDocument();
    $err = $doc->loadXML($content);
    The rest of the script then continues with this:
    restore_error_handler();
    So, when you have finished, lines 301-304 will look like
    this:
    //$xml = DOMDocument::loadXML($content);
    $doc = new DOMDocument();
    $err = $doc->loadXML($content);
    restore_error_handler();
    Just in case you're interested in what the problem was: line
    301 uses
    loadXML() as a static method of the DOMDocument class. As of
    PHP 5.1.4,
    this isn't allowed. The substitute lines create a DOMDocument
    object,
    and then call the method on the new object.
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

Maybe you are looking for

  • My MacBook Pro would take AGES to load

    My MacBook Pro takes absolutely ages to load and after an hour. The  logo disappears and the loading icon disappeared and came back. I have no idea why but I am frustrated with my MacBook. I think I need a refund.

  • URGENT: how to change billing email

    Instead of using a credit card to purchase music, I use iTunes gift cards. For the gift cards, I get the receipt in my email. How can I change the email I recieve my receipts from. Need help ASAP!!!

  • I can't pair my itouch with my jabra cruiser2

    I have a Jabra Cruiser2 speakerphone which is bluetooth. Many people have cobbected their itouch to it, to play their music over their car radios but when I try to bluetooth them together the itouch just keeps "searching" Help, I bought this thing so

  • Melhores práticas para documentar projetos BW

    Pessoal boa tarde. Estamos em estudo de uma melhor forma de desenvolver documentações para desenvolvimento de aplicações BW. Por acaso alguém conhece algum padrão de documentação ou pode recomentar alguma "Best Pratices", para se criar os documentos

  • Consolidation Status

    Hi, We have an application in HFM (Ver. 9.3) which is completely consolidated. We copied the application using the copy application utility and created a new application. When we see the consolidation status in new application, the highest level show