Welcome to TalkGraphics.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2012
    Posts
    3

    xdp6 Changing SWF filenames in script code

    Hello,

    Can someone help me with inserting my Xara animation onto my web page.

    I have created a banner with Xara Animation and would like to put on my site,

    I have uploaded the saved swf file to my images folder for site but am not sure were i put the file name within the
    code given by Xarra a copy of zara code bellow,

    any help with this would be awesome.

    Cheers,
    Newbie Steve


    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="468" height="61">
    <param name="movie" value="xar26AD.swf" />
    <param name="quality" value="high" />
    <param name="menu" value="true" />
    <EMBED src="xar26AD.swf" quality="high" bgcolor="#FFFFFF" WIDTH="468" HEIGHT="61" NAME="yourmovie" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
    <video src="xar26AD.swf" controls width="100%" height="100%"></video>
    </object>

  2. #2
    Join Date
    Jul 2010
    Location
    Noo Yawk
    Posts
    443

    Default Re: Changing SWF filenames in script code

    Quote Originally Posted by persuit179 View Post
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="468" height="61">
    <param name="movie" value="xar26AD.swf" />
    <param name="quality" value="high" />
    <param name="menu" value="true" />
    <EMBED src="xar26AD.swf" quality="high" bgcolor="#FFFFFF" WIDTH="468" HEIGHT="61" NAME="yourmovie" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
    <video src="xar26AD.swf" controls width="100%" height="100%"></video>
    </object>
    The bold items should be the important bits. The code above is looking for a file names xar26AD.swf in the same directory as the page/script. You should be able to add a relative path to that (or failing that, an absolute path), such as "images/xar26AD.swf" (or "../images/xar26AD.swf", if the page/script is in a directory that is the same level as the images directory).

    -- Ben
    -----------------------
    Ben Morgan: ad1066 AT gmail thingy
    Chapter 13 Press: www.chapter13press.com
    Burn After Reading: www.burnafterreadingpress.com

  3. #3

    Default Re: Changing SWF filenames in script code

    If you are using Xara for your site building, just drag'n'drop the .swf file onto your Xara page and the code will be created for you when published.
    Remember to size the created placeholder to the size of the banner as Xara will only create a 192x192pixel placeholder.

  4. #4
    Join Date
    Dec 2012
    Posts
    3

    Default Re: Changing SWF filenames in script code

    Hey Ben,
    Thanks for the reply i will try this and see what happens....
    Thanks again
    Steve

    Hey Sledge,
    Unfortunately im not using Xara for this one would be all to easy otherwise will keep in mind for next one.
    Thanks
    Steve

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •