Swf not playing in browser

Hi. My site works perfectly when played locally, but now that it is on a test server my swf has disappeared. The swf is an empty shell in which an xml file is played. I have encountered this before and have fixed it, but I cannot find where my code is wrong this time. Any ideas?
http://www.d1082919.mydomainwebhost.com/test/about.html

thanks. Here is the code from the fla:
/* Crossfading slide show   */
/* Author: Todd Dominey     */
/* http://whatdoiknow.org   */
/* http://domineydesign.com */
// set random # variables - each must be 0 for first 'while' loop below
var randomNum = 0;
var randomNumLast = 0;
// parent container
var container_mc = this.createEmptyMovieClip("container",0);
// movie clip containers
container_mc.createEmptyMovieClip("loader1_mc",2);
container_mc.createEmptyMovieClip("loader2_mc",1);
// preload watcher
this.createEmptyMovieClip("watcher_mc",100);
// load xml
images_xml = new XML();
images_xml.ignoreWhite=true;
images_xml.onLoad = parse;
images_xml.load("images.xml");
function parse(success) {
if (success) {
imageArray = new Array();
var root = this.firstChild;
_global.numPause = Number(this.firstChild.attributes.timer * 1000);
_global.order = this.firstChild.attributes.order;
_global.looping = this.firstChild.attributes.looping;
_global.fadetime = Number(this.firstChild.attributes.fadetime);
_global.xpos = Number(this.firstChild.attributes.xpos);
_global.ypos = Number(this.firstChild.attributes.ypos);
var imageNode = root.lastChild;
var s=0;
while (imageNode.nodeName != null) {
imageData = new Object;
imageData.path = imageNode.attributes.path;
imageArray[s]=imageData;
imageNode = imageNode.previousSibling;
s++;
// place parent container
container_mc._x = _global.xpos;
container_mc._y = _global.ypos;
// parse array
imageArray.reverse();
imageGen(imageArray);
} else {
trace('problem');
// depth swapping
function swapPlace(clip,num) {
eval(clip).swapDepths(eval("container_mc.loader"+num+"_mc"));
function loadImages(data,num) {
if (i==undefined || i == 2) {
i=2;
createLoader(i,data,num);
i=1;
} else if (i==1) {
createLoader(i,data,num);
i=2;
function createLoader(i,data,num) {
thisLoader=eval("container_mc.loader"+i+"_mc");
thisLoader._alpha=0;
thisLoader.loadMovie(data[num].path);
watcher_mc.onEnterFrame=function () {
var picLoaded = thisLoader.getBytesLoaded();
var picBytes = thisLoader.getBytesTotal();
if (isNaN(picBytes) || picBytes < 4) {
return;
if (picLoaded / picBytes >= 1) {
swapPlace("container_mc.loader2_mc",1);
alphaTween = new mx.transitions.Tween(thisLoader, "_alpha", mx.transitions.easing.Regular.easeOut,0,100,_global.fadetime,true);
timerInterval = setInterval(imageGen,_global.numPause,data);
delete this.onEnterFrame;
function imageGen(data) {
// random, or sequential?
if (_global.order=="random") {
// choose random # between 0 and total number of images
while (randomNum == randomNumLast) {
randomNum = Math.floor(Math.random() * data.length);
trace(randomNum);
loadImages(data,randomNum);
randomNumLast = randomNum;
} else if (_global.order=="sequential") {
// start at 0, increment to total number of images, then drop back to zero when done
if (p==undefined || p==data.length && _global.looping=="yes") { p=0; } else { break; }
loadImages(data,p);
p++;
} else {
trace ("order attribute in xml isn't correct - must specify either 'random' or 'sequential'");
clearInterval(timerInterval);
stop();
and here is the code from the xml file:
<!-- 
'timer' :: number of seconds between each image transition
'order' :: how you want your images displayed. choose either 'sequential' or 'random'
'looping' :: if the slide show is in sequential mode, this stops the show at the last image (use 'yes' for looping, 'no' for not)
'fadeTime' :: velocity of image crossfade. Increment for faster fades, decrement for slower. Approximately equal to seconds.
'xpos' :: _x position of all loaded clips (0 is default)
'ypos' :: _y position of all loaded clips (0 is default)
-->
<gallery timer="4" order="sequential" fadetime="2" looping="yes" xpos="0" ypos="0">
<image path="images/loop_1.jpg" />
<image path="images/loop_2.jpg" />
<image path="images/loop_3.jpg" />
</gallery>

Similar Messages

  • Swf file not playing in browser

    I have a problem with a swf file which will not play in web browser.
    It played fine until I updated my site. I therefore suspected a pathing issue within dreamweaver and looked thorugh that forum for an answer.
    I tried typing the absolute path to the swf file in the browser address bar and found it straight away. When I clicked on it the screen stayed blank.
    I checked the path to the file and the flv file was relative to the document and not the site.
    swf plays fine in flash player, flash, and locally on dreamweaver.
    I moved the swf up the file tree and changed the links accordingly but still would not play.
    I also tried saving it as a new swf from flash, but that doesn't play either.
    I added another swf to the containing folder and that played fine in the browser.
    When I open the fla file in flash it only shows a flv playback movie, not the elements, I think this is because it was created in after effects.
    Here is the link to the containing folder, the swf file is Home_page_movie_V2.swf
    http://www.joinerycadsolutions.com/Flash/01 Home
    I have other swf files playing fine and this swf played ok originally so I still think it's a pathing problem but I am not that savvy on flash and cannot figure it out.
    Any help would be greatly appreciated, just bear in mind my low level of ability.
    Thanks
    Stuart

    The .swf is loading just fine... but it is expecting to load a .flv video file.
    The path inside the .swf to the .flv file is not correct. The path inside the .swf to the .flv file needs to be relative to the .swf as it's located on the Web page, NOT the physical location of the .swf.
    Here is the absolute address of the .flv:
    http://www.joinerycadsolutions.com/Flash/01%20Home/Home%20V1.flv
    Here is a test player using that address:
    http://www.cidigitalmedia.com/tutorials/flash/cidm_simple_vid_player.html
    So unless your .swf is broken, it just a pathing issue.
    From an old post:
    Pathing issues
    Almost always when it works on the local machine and not the server, it's a pathing problem.
    You can put your Flash related files in whatever folders you want, they do NOT have to be in the root, they do NOT all have to be in the same folder. But if you have a problem and if sticking them all in the root folder works, then you know that the issue was a pathing problem.
    Just remember that paths used in the .swf become relative to the Web page on which the .swf is placed, NOT it’s physical location.  So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root folder, you are in effect, removing that .swf from flash/data and putting it in root. So if the .swf is loading any related files (xml, images, video, etc), the path used inside the .swf to load the .xml file has to be relative to it's new location in root and then back down into flash/data. This is true even though when testing the .swf by itself, it can be inside flash/data and work just fine, since relative to it's location, the path is just fine, they are in the same folder. But if that same path is used when the .swf is placed on a page two folder levels up, the relative path has changed, the old "same folder" path will not work.
    In fact if you are placing the .swf on a web page in a different folder than the .swf is stored in, and that .swf calls external assets, then direct clicking and opening of the .swf in it’s folder should NOT work! That’s because the paths to the external assets should be relative to the Web page and not the physical location of the .swf.
    So just be sure that you use addresses relative to the final Web page locations (not physical file locations) and you can put the Flash related files in what ever folders you want.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    Best wishes,
    Adninjastrator

  • SWF not Playing in Web page

    I have a swf embedded in a webpage that is not playing when accessed on the server or client machines.  In the index.htm I have the following:   When I go to the page in the browser I get no image or error message just nothing shown.  What am I missing?  Thanks Mark
    <HTML>
    <HEAD>
    <TITLE>CallCenter.swf</TITLE>
    </HEAD>
    <BODY>
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
    WIDTH="1192" HEIGHT="623" id="myMovieName">
    <PARAM NAME="movie" VALUE="CallCenter.swf">
    <PARAM NAME="quality" VALUE="high">
    <PARAM NAME="bgcolor" VALUE="#FFFFFF">
    <PARAM NAME="play" VALUE="true">
    <PARAM NAME="loop" VALUE="true">
    <PARAM NAME=bgcolor VALUE="#FFFFFF">
    <EMBED src="CallCenter.swf" quality=high bgcolor=#FFFFFF WIDTH="1192" HEIGHT="623"
    NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"
    play="true" loop="true"
    PLUGINSPAGE="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
    </EMBED>
    </OBJECT>
    </BODY>
    </HTML>

    I am receiving the error message 2148 on connection refresh.  Here is where I am at now with the work flow:
    1.  Published a swf that is connected via xml maps to a folder called call center on my server..  When I open the swf from that local location on the server it works perfectly(open from file not thru http).  Updates and functions on refresh.
    2.  Server is an application server running IIS.  Using Front page to publish files to local intranet web pages.  Import the swf to frontpage embed into index.html inside a flash movie player.  Save, when viewed thru Internet explorer the error comes up 2148. Accessed from the server thru HTTP or on the network can see the dashboard and functions after you click OK to turn error off, but when you refresh the connection the error comes back.
    3.  Have global settings to the rootwww folder as always allow.
    4.  Have a crossdomain policy file in the root directory rootwww saved as crossdomain.xml:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM
    "http://www.macromedia.com/xml/dtds/cross-domainpolicy.
    dtd">
    <cross-domain-policy>
    <allow-http-request-headers-from domain="*"
    headers="*" secure="false" />
    <allow-access-from domain="*" secure="false" />
    </cross-domain-policy>
    What am I doing wrong?
    Thanks
    Mark

  • .flv not playing in browser

    Hi Everyone-
    I'm facing an enormous conundrum and I was hoping somebody here may be able to shed some light on it.
    I have a flash presentation that presents .flv files to the user. I have the main menu in a .swf file, and when the user selects one of the segments to watch, it calls up another .swf to display inside with an .flv embedded in it. This is so we only have to program one little popup menu and it frames all the videos. The presentation is going to be burned to a disc so a user will be able to watch it locally without having to be connected to the internet. Initially, I would just publish a Flash projector file and be done with it, but the disc kicks up the AutoPlay program on a PC, and the client has indicated that this simply will not do; it has to run right out of the box without the user doing anything. I offered what I figured would be a benign solution; embed the .swf into an html file and have it launch in the browser upon insertion.
    Here is where it gets sticky: The whole presentation works just fine ... until I try watching it in a browser on a PC. The .flv file simply will not play. At all. The file works fine if I open the containing .swf, and the menu .swf, locally or deployed to a server. I've tried re-embedding and re-publishing on a Mac and a PC, I've tried fixing the Javascript call in the HTML file, I've checked my video codecs (on2 VP6) I've put all the files on the root of the disc, I've put all the files in a sub-folder of the disc, I've checked, double-checked and double-dog-checked all of my pathnames, tested it in every browser on every computer I can get my hands on... but still no dice.
    The bizarre part is that all of the similar projects we've done are not working as well, so I can't check how the previous ones were set up for any kind of comparison. I'm sorry if this a long-winded post, but after hours of research and publishing and moving, I'm not any closer to a solution. I'm really hoping someone can help me out here.
    Thanks in advance!
    -Park

    The video does not have a skin on it. It just loads, plays and ends. I have an ActionScript listener attached so that when the video ends, it goes back to the main menu.
    I hope it will be helpful to add in some info that I left out of the first post. I don't know how handy it will be, but here we go:
    The presentation is coded in AS2. It was built before AS3 came out, and since all the projects we've done have been very similar, it's easier (and cheaper) to just swap out some files and graphics than fixing what ain't broken.
    I'm using Flash CS3 on a Mac running 10.6.6, but I've also tried publishing it on a PC with Windows XP in CS3 as well.
    The only place the .flv files don't work is in a web browser on a PC, regardless of whether it's embedded in an .html file or if opened by the browser. If I view the .swf files in Flash Viewer, the .flvs load right up, and they work when I view them directly in an .flv player as well.

  • SWF not playing in "state"...?

    I have a "state" setup as a screen saver screen in my catalyst project. Within that state I have one swf file. Basic logo with some images that are sliding in from the left. I created the swf in Flash Pro CS5 and the swf plays like it should when I open it by itself.
    When I run my air program my idel time takes the user to my screen saver state and the swf appears but it is not playing.
    I don't understand this.
    I have made sure the swf in FC is not a button and is just the swf. I do not see an auto play or loop option.
    Need some help.
    Thank you.

    I see this now. I forget that I need to tell catalyst to play the swf. I have inserted the play swf action into each possible interaction leading to the screen saver state.
    It is working now.
    Thank you much!!!

  • Flash not playing in browser

    I've only been using Flash for about a year but this is the
    first time I've run into this problem. I have a simple Flash file
    (swf) that plays fine in Dreamweaver and/or Contribute. But, when I
    publish it to the web, it does not appear. I've attached the code.
    If anyone can offer suggestions, I'd appreciate it. Thanks.

    HawkYF wrote:
    > I've only been using Flash for about a year but this is
    the first time I've run
    > into this problem. I have a simple Flash file (swf) that
    plays fine in
    > Dreamweaver and/or Contribute. But, when I publish it to
    the web, it does not
    > appear. I've attached the code. If anyone can offer
    suggestions, I'd appreciate
    > it. Thanks.
    >
    What is the URL ?
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Using Acrobat 8, Embeded audios are not playing in browser.

    I have PDFs with embeded audio. But when load PDFs online and open in browser then AUDIO is not playing.

    Hi Piyush_Bajpai,
    Do you have flash player installed on the machine?
    Please use this link to download Flash Player -
    http://helpx.adobe.com/acrobat/kb/reader-acrobat-flash-player-download .html#main_download
    If the problem still persists, please help us undersrtand the problem by answering the below -
    1. Are there any errors when the content does not play ?
    2. What audio content type (file extension) are you trying to use ?
    3. Do you access PDF files (having audio/video) from an http url  ?
    4. Could you please provide one such sample file to help me replicate ?

  • Podcast Audio Files Not Playing In Browser

    I have a music podcast on my site, built by iWeb8. On my last podcast addition I published to folder and opened the site from the folder on my machine. Everything was fine except the browser would not play the MP3 files (VBR) of the podcast. I can open and play these files with quicktime but it does not work when viewing via the browser.
    These files also play in iWeb.
    Any ideas or suggestions?

    I think that everybody but Apple agrees that QuickTime is not the best way to play audio files on the internet.
    The statistics show that over 90% of surfers have flash.
    If you're having problems with Firefox, what chance have you got with IE?
    iWeb '08 coverts your MP3 files to .MOV.
    '09 seems to have addressed this issue.
    I stopped using QT about a year ago. This simple flash player is easy to implement and has the advantage of buffering....
    http://www.iwebformusicians.com/MusicPlayers/Flash.html

  • SWF not play

    Using Captivate 5, I create 2 projects. Project 1 was inserted into project 2 (as SWF)
    The inserted project does not playing beyond 22 slide. Does anyone have a solution?

    Hello and welcome to the forum,
    Inserting a Captivate generated SWF into another Captivate file is not always a good idea. Could you explain the reason? Maybe we could find another solution for you.
    Lilybiri

  • Edge animation not playing in browser?

    I created a portfolio slideshow in Edge Animate, it plays beautiful inside of Animate but it will not play in any browser, I'm not sure why.
    Any ideas why?

    What do you need to know about how it is set up?
    I'm on a Mac, I've used Safari, Firefox, Chrome and Opera.. doesn't play on any.

  • Swf Not download in Browser

    Hi,
    Anybody any thing idea about Swf Not Download in IE,Firefox,etc.... How do Security that SWF Files?
    Thanks

    there's a swf banner at the bottom of the page.  it's positioned too far down the page, but it is displaying.  is that the problem?

  • SWF not playing correctly in Flash Player

    When I create a new SWF - only sometimes - the SWF shows (in
    Flash Player, Projector, Exe ONLY) up blank or missing quite a bit
    of the animation, buttons, etc. It plays fine when opened in the
    Flash application or as a "Test Movie" but not when opened directly
    from the Flash Player!
    Any ideas?
    Thanks,
    Mike

    ekim2005 wrote:
    > When I create a new SWF - only sometimes - the SWF shows
    (in Flash Player,
    > Projector, Exe ONLY) up blank or missing quite a bit of
    the animation, buttons,
    > etc. It plays fine when opened in the Flash application
    or as a "Test Movie"
    > but not when opened directly from the Flash Player!
    could it be that you have multiple version of Flash program
    install and
    the one that is set to default is older one ?
    For instance, Flash MX 2004 and Flash 8 , authoring in flash
    8 but preview happen
    in MX 2004 ? this is my exact setting, for compatibility
    test. This would make
    new files fail to perform properly.
    Regards
    Urami
    Happy New Year guys - all the best there is in the 2006
    <urami>
    http://www.Flashfugitive.com
    </urami>
    <web junk free>
    http://www.firefox.com
    </web junk free>

  • How can I get my swf files playing on browser?

    Hello,
    I've been designing my first website and have used dreamweaver, which is very new to me. I've followed a very good beginners guide to making websites and all was well. However, it had nothing about uploading swf files. So I did some research, and found that the easiest way was to insert them into a div box using the media section and choosing swf. again all was well, I can preview it in chrome etc.. and all works fine.
    I've come to uploading my site and I've used filezilla, uploaded all the files but I can't see the swf playing on the website. I've looked into it and I just can't find the answer. I've tried uploading them directly into the root folder as well but that doesn't work.
    Can somebody please help me!!
    here are the links:
    www.creativecanvassing.co.uk = the swf should be positioned between the orange logo and the "national direct marketing company' text. There is also the section in picture which has the same problem
    not too sure how to attach the copy of the file that shows its all working
    Thanks

    Hello,
    are you really sure that you have uploaded this page with contents? I've got this, when calling this link: http://www.creativecanvassing.co.uk/pictures.html:
    Your swf file is running in my IE8 like a charm in all your other pages.
    Hans-Günter

  • Embedded swf not playing in Captivate 4

    Hi - I have embedded a flash authored swf into CP4, it is published from flash as a ver 9 swf.  I am using Flash Player 10 on the PC. It's a single frame swf and contains AS3 code to make a simple rollover image popup (further development is planned but just testing for now).  It works when viewed standalone in a browser or with the flash player
    In CP4 when played by either previewing it or by publishing and viewing in a browser, the screen with that swf on it is a 'white screen of death'.  I have tried the following:
    1. clicking and unclicking synchronise with project
    2. click and unclick externalize animations check box in prefs - the swf file was also manually copied over to the publish directory
    3. set display for "duration of animation"..also tried 'rest of slide' and 'specific time'
    4. click and unclick - 'synchronise with project'
    5. Set Actionscript Version in prefs to "AS3"
    6. I placed another different swf (flash ver9) onto the following slide in CP4 - this one with no Actionscript content at all - just a simple timeline based motion tween.  It works!
    Does anyone know if CP4 cannot accept embedded swf's with Actionscript 3 code in them?

    Hi there
    Oftentimes the warning about referencing Root is simply a nuisance and may be totally ignored.
    I find that the animation works here on my own PC if I click Edit > Preferences... > Project node > Publish Settings node and configure for AS3.
    Perhaps try that?
    Cheers... Rick
    Click here for Adobe Certified Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Mono not playing from browser

    After updating to 10.2 when I play a dual mono clip from the browser window its not coming out in the speakers. I guess it is something MIDI setup og something because it peaks on the internal fcpx audio meter. But the meter is only showing one channel (M) - and when I put it in the project line where there is a two channel audio out it plays in the speakers. What is it I need to change so I can hear the audio from the browser window?
    Kind regards
    Henrik

    I too am having this problem. Did not have this issue in previous versions of FCPX.
    I'm monitoring thru a MOTU896mk3, and browser audio is being sent to another output (in this case Analog 1) rather than the Main Left/Right. Dragging the clip onto the timeline sends the audio out the correct outputs so I can hear it. There doesn't seem to be a dialog window anywhere to correct this so I'm assuming this is a bug.
    This is a MAJOR pain in the butt - I edit music concerts shot with independent (not timecode locked) cameras and being able to hear the audio in the browser is a huge requirement.
    Hopefully this is dealt with quickly as I'm sure that I'm not the only one who finds it to work with this issue.

Maybe you are looking for

  • Currency translation key issue on web

    Dear BI Colleauges, I am facing a problem with respect to currency translation.Issue is that.When i execute the report on web(Please note variable exists for 0currency).I do right click and use the Global currency option.I am trying to convert EUR to

  • Bursting Program errors with "Error while generating the Document"

    Hello Folks Here is my bursting control file <?xml version="1.0" encoding="UTF-8"?> <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi"> <xapi:globalData location="stream"> </xapi:globalData > <xapi:request select="/XMLEXCEL1/LIST_G_Q0"> <

  • Since updating to Firefox 4.0.1 - many people are unable to open folders when logged into Eircom Webmail

    Since updating to Firefox 4.0.1. many people report being unable to open folders in their Eircom Webmail. There are two versions of Eircom Webmail-Basic and Advanced- and the problem only occurs in Advanced version. When clicking on folder it 'greys

  • Lost attachments in Mail

    If I open an email too soon after arriving in my Inbox I will risk losing the attachment. I'm using Mac Mail on MacOSX 10.6.4 If I wait the 15 to 20 seconds for the download to complete this does not happen, but with the number of emails I get this i

  • HT6114 HP Office Jet Pro 8500 Scanner no longer works with Mavericks upgrade

    I have an all-in-one printer/copier/fax/scanner, HP Office Jet Pro 8500.  The scanner no longer works with the Mavericks upgrade.  Is it possible to get the scanner back in use?  The printer and fax is fine, but I really use the scanner a lot.  Pleas