Swf not playing live

Hi. My site works perfectly when played locally, but now that it is on a test server my swf has disappeared. 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

sorry about that. 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 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!!!

  • 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

  • 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

  • NBATV not playing live games

    TThe new NBA season started today, I was unable to play live games through AppleTV. I was able to watch the on my iPad and then AirPlay them my TV  I could also watch them on my Mac and MacBook Air, just not through the AppleTV.
    EVerything else else is available in the NBATV app, such as NBA TV live, video vault and all the scores and settings
    i Have a friend that has the same problem, so it isn't specific to my AppleTV

    I had (have) this issue also. Resetting the Apple TV back to factory setting "Reset All Settings" works for me. I have had to do this a couple of times though already. Its quite annoying as you have to setup the Apple TV from scratch each time but its the only way I have found to be able to watch games via Apple TV. I have read a number of people reporting the same issue so hopefully a fix via an Apple TV software update is coming...

  • Strobe Media Playback and streamType='dvr' not playing "live"

    Hello,
    We're currently using Strobe Media Playback to play a DVR stream.
    These are the parameter options we're passing:
    var parameterNames = pqs.params(false);
                var parameters =
                   {    src:"<?php echo $_GET['src']; ?>"               
                    ,    autoPlay: true       
                    ,    sreamType: "dvr"
                    ,    controlBarAutoHide: true   
                    ,     highQualityThreshold: "640"
                    ,    dvrSnapToLiveClockOffset: "5"
                    ,   javascriptCallbackFunction: "onJavaScriptBridgeCreated"
    The seekbar shows Live / <time>, but it always starts from the beginning of the stream. If you move the seekbar all the way to the right, It starts playing live.
    Why is it doing this? if I take out the <dvrInfo> tag in the f4m file, and set streamType: "live", it starts from the live point.
    Any input is appreciated.
    Thanks

    Hi,
    We have a logged bug describing this issue here: http://bugs.adobe.com/jira/browse/st-422.
    Please visit it and vote it.
    Thanks,
    Mihai

  • 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>

  • 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>

  • Flash SWF not playing - PATH ISSUE

    I've got an html file in my webroot and I got the swf file in
    the webroot/Flash_video/homepage/scroll/ directory. All the
    ActionScript file in directories below that. I play the html file
    from the webroot/Flash_video/homepage/scroll/ directory and it
    works. Why isn't it showing up in the html file in the Webroot?
    Here's my code in the thml file in the webroot.
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
    width="768" height="100">
    <param name="movie"
    value="Flash_video/Homepage/Scroll/mcf_banner.swf" />
    <param name="quality" value="high" />
    <embed src="Flash_video/Homepage/Scroll/mcf_banner.swf"
    quality="high" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash" width="768"
    height="100"></embed>
    </object>

    OnDemand Junkie wrote:
    > I've got an html file in my webroot and I got the swf
    file in the
    > webroot/Flash_video/homepage/scroll/ directory. All the
    ActionScript file in
    > directories below that. I play the html file from the
    > webroot/Flash_video/homepage/scroll/ directory and it
    works. Why isn't it
    > showing up in the html file in the Webroot? Here's my
    code in the thml file in
    > the webroot.
    >
    >
    > <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=7,0,19,0" width="768" height="100">
    > <param name="movie"
    value="Flash_video/Homepage/Scroll/mcf_banner.swf" />
    > <param name="quality" value="high" />
    > <embed
    src="Flash_video/Homepage/Scroll/mcf_banner.swf" quality="high"
    > pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    > type="application/x-shockwave-flash" width="768"
    height="100"></embed>
    > </object>
    When HTML is in webroot and calls flash from
    Flash_video/Homepage/Scroll/
    the flash will appear is if it was in the webroot directory.
    It will always seek files it loads from HTML location, not
    it's original
    location.
    You must be mindful of that while authoring your movies and
    the paths need
    to be adjusted accordingly.
    In your case whatever flash loads it can no longer refer to
    it by file name
    but Flash_video/Homepage/Scroll/filename.swf
    Best Regards
    Urami
    Beauty is in the eye of the beer holder...
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • 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

  • SWF not playing in PDF

    Hello ,
    I am using FM11 with Windows 7.
    When I import a SWF in to Framemaker, it plays fine.
    When I print to PDF, the SWF just appears as an image.
    This is true if I Import By Reference or Copy Into Document.  The Embeded Adobe Flash files in PDF preference is checked.
    Any ideas?

    When you're printing to PDF, do you have the "Generate Acrobat Data" option enabled?
    FWIW, you should be using the Save As PDF option with FM11. It works quite well nowadays. Just ensure that the AdobePDF printer instance is your default when working with FM. The SetPrint utility from Sundorne ( http://www.sundorne.com/FrameMaker/Freeware/setPrint.htm ) is quite handy for this.

  • Safari not playing live audio when tapping the play pause key in IO5

    Hi. I just upgraded Ipad 2 to IO5 and now when using Safari to play "listen live" audio from various websites the play/pause button only works one out of 15 taps; I have to tap the reload icon to get it to start and stop...any suggestions?  Thanks,  Steve

    Tap Settings > Safari
    Then tap Clear History then tap Clear Cookies and Data
    Then restart the iPad.
    Hold the On/Off Sleep/Wake button down until the red slider appears. Slide your finger across the slider to turn off iPhone. To turn iPhone back on, press and hold the On/Off Sleep/Wake button until the Apple logo appears.

  • Safari will not play live stream

    Hi,
    I have been wanting to watch the live stream on abc7.com of the wildfires but am unable to.
    I have windows media player installed but I just get a blank area were it should be playing,
    what do I need?
    Thanks

    Ecnal, if it is a non-DRM .wmv file, you can download and install Flip4Mac Windows Media Components for QuickTime.

  • Sound objects in loaded swfs not playing

    I'm working in ActionScript 2.  I have a series of swfs with Sound objects.  Works just fine when I play the swf.  However, when I load them into a loader, no sound.  HELP!!!

    when you instantiate your sound, instead of using something like:
    var s:Sound=new Sound()
    use
    var s:Sound=new Sount(this);

  • NRL app not playing live games

    Hey godfrey_110
    We definitely want to get this working for you but can you provide some more information on the issue. Please include the following information:
    - In-App or Digital Pass subscription
    - Device you're accessing from
    - Which game it is affecting

    I had (have) this issue also. Resetting the Apple TV back to factory setting "Reset All Settings" works for me. I have had to do this a couple of times though already. Its quite annoying as you have to setup the Apple TV from scratch each time but its the only way I have found to be able to watch games via Apple TV. I have read a number of people reporting the same issue so hopefully a fix via an Apple TV software update is coming...

Maybe you are looking for