PHP, HTML and Flash

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ronald Raygun

    PHP, HTML and Flash

    I am building a website and I am displaying an animated image. The image
    was originally an animated gif. However, the graphic designer has told
    me that the best way forward (better animation + smaller file size),
    would be to use a small .swf file.

    Currently, I am using the <img/tag in my HTML file, to have the image
    loaded and displayed in the page. I will need to change this line so
    that instead of the animated gif file, teh browser loads and displays
    the swf file - only problem is that I have no idea how to do this. Does
    anyone know how to do this?

    PS: I have searched Google (PHP + embedded Flash) etc, not turning up
    what I want
  • Jerry Stuckle

    #2
    Re: PHP, HTML and Flash

    Ronald Raygun wrote:
    I am building a website and I am displaying an animated image. The image
    was originally an animated gif. However, the graphic designer has told
    me that the best way forward (better animation + smaller file size),
    would be to use a small .swf file.
    >
    Currently, I am using the <img/tag in my HTML file, to have the image
    loaded and displayed in the page. I will need to change this line so
    that instead of the animated gif file, teh browser loads and displays
    the swf file - only problem is that I have no idea how to do this. Does
    anyone know how to do this?
    >
    PS: I have searched Google (PHP + embedded Flash) etc, not turning up
    what I want
    >
    Probably because you're looking for the wrong information. PHP doesn't
    display embedded flash. HTML does.

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    • sivaji

      #3
      Re: PHP, HTML and Flash

      On May 7, 5:17 pm, Ronald Raygun <inva...@domain .comwrote:
      Currently, I am using the <img/tag in my HTML file, to have the image
      loaded and displayed in the page. I will need to change this line so
      that instead of the animated gif file, teh browser loads and displays
      the swf file - only problem is that I have no idea how to do this. Does
      anyone know how to do this?
      Sorry! We can't seem to find the resource you're looking for



      Comment

      • Rik Wasmus

        #4
        Re: PHP, HTML and Flash

        On Wed, 07 May 2008 14:17:59 +0200, Ronald Raygun <invalid@domain .com>
        wrote:
        I am building a website and I am displaying an animated image. The image
        was originally an animated gif. However, the graphic designer has told
        me that the best way forward (better animation + smaller file size),
        would be to use a small .swf file.
        A better way would be a small, animated GIF file. If it's just an animated
        image, not text that has to be selectable and no interaction, that really
        is the way to go if you need a snall animation. At the very least provide
        it as an alternative for those who don't have Flash, or have it disabled.
        Currently, I am using the <img/tag in my HTML file, to have the image
        loaded and displayed in the page. I will need to change this line so
        that instead of the animated gif file, teh browser loads and displays
        the swf file - only problem is that I have no idea how to do this. Does
        anyone know how to do this?
        >
        PS: I have searched Google (PHP + embedded Flash) etc, not turning up
        what I want
        Having a Flash object on your page is just pure HTML, so ask in a Flash or
        HTML group, or read one of the hundreds of tutorials on the net. This has
        little to do with PHP.

        If your Flash object is interactive (i.e. it requires info based on user
        actions) it can load XML from the server, so just build some XML with one
        of the several plugins available to you in PHP.
        --
        Rik Wasmus

        Comment

        • Joker7

          #5
          Re: PHP, HTML and Flash

          To restore balance to the world Ronald Raygun wrote in
          44GdnTUqTdNWALz VnZ2dnUVZ8v6dnZ 2d@bt.com
          >I am building a website and I am displaying an animated image. The
          >image was originally an animated gif. However, the graphic designer
          >has told me that the best way forward (better animation + smaller
          >file size), would be to use a small .swf file.
          >>
          >Currently, I am using the <img/tag in my HTML file, to have the
          >image loaded and displayed in the page. I will need to change this
          >line so that instead of the animated gif file, teh browser loads and
          >displays the swf file - only problem is that I have no idea how to
          >do this. Does anyone know how to do this?
          >>
          >PS: I have searched Google (PHP + embedded Flash) etc, not turning up
          >what I want
          Will give you a start
          Chris

          <object classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000"
          codebase="http://download.macrom edia.com/pub/shockwave/cabs/flash/swflash.cab#ver sion=5,0,0,0"
          >
          <param name=movie value="yourfile .swf">
          <param name=quality value=high><par am name="BGCOLOR" value="#CCFF00" >
          <embed src="files/sound.swf" quality=high
          pluginspage="ht tp://www.macromedia. com/shockwave/download/index.cgi?P1_Pr od_Version=Shoc kwaveFlash"
          type="applicati on/x-shockwave-flash" >
          </embed>
          </object>

          --
          Superb hosting & domain name deals http://dn-22.co.uk
          The Handyman http://www.looker.me.uk


          Comment

          Working...