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);

Similar Messages

  • The training tutorials under creative cloud learn are loading but not playing

    The training tutorials in creative cloud learn are loading but not playing, is there a problem with adobe tv?

    Hi sarahhunter1,
    Please try playing video in Google chrome browser.
    Regards,
    Romit Sinha

  • HT4061 My movie that I down loaded is not playing or what do I do to watch them.

    My movie that I down loaded is not playing.

    This is the Videos App icon. When you tap on that it launches the videos app. If that is where you are trying to play the movies and it is not working, try quitting the app and then restart the iPad and try again.
    Quit the app and restart the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button. Restart the iPad.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    If that doesn't work, try this.
    Swipe to the right from your first home screen to get to the iPad Spotlight search. Type in the name of any of your movies in the field at the top. When the movie appears in the search - tap on it and it should start to play. Let it play for a minute or so - hit done - go back to videos app and see if all is OK.
    If that doesn't work, reboot the iPad and see if that helps.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • Loaded SWF not displaying

    I've created a 'plugin' SWF file in CS3 using actionscript 3.
    The purpose of this file is to be included as a postroll in the
    open source flash media player JW FLV/Media Player (
    http://www.jeroenwijering.com/?item=JW_Media_Player).
    I have heavily customized the media player libraries to do
    various new things/alter how things worked, and now want to be able
    to include the SWF file within this into a child sprite/movie clip.
    HOWEVER, the problem lies in that the media player is written
    completely in AS2, and therefore I have to use the MovieClipLoader
    class to load in the SWF. Updating the source to AS3 isn't an
    option unfortunatly, and downgrading the AS3 SWF to AS2 isn't an
    option either, mainly due to the fact I've learnt AS3, not AS2, and
    find it frustrating trying to find the AS2 equivalent to the AS3
    methods I know.
    The problem though lies in that MovieClipLoader does not like
    my SWF at all. Initially I was presented with a load of sandbox
    errors from when it was loaded in, which I then resolved so that no
    security errors are produced. However, whenever I load in the clip,
    the target sprite/clip is empty. I have gone through checking that
    no errors occur on load, and it reports that the loaded SWF has
    been initialized, yet I see nothing. Also, the code loading the SWF
    is not at fault as it loads any other SWF (even another AS3 SWF
    which just creates a rectangle) no problem.
    Oddly enough, using the MovieClip.loadMovie method works in
    one situation - when you load it into the root of the AS2 file.
    When loading it into an empty movie clip, the same problem of a
    blank clip occurs. The problem is not specific to the media player
    either, as it happened in any AS2 file where I was testing how to
    load in the AS3 SWF.
    If it is of any use, the sandbox errors produced by the AS3
    file when loaded into AS2 swf I had to resolve where to do with
    stage access for getting the stage height and width, and a
    Loader.content error when pulling out the BitmapData. These were
    resolved via setting the allowed domains policy and eliminating any
    reference to stage.stageHeight/With.
    Does anyone have any ideas on how to solve this? The only
    possible solution I've been able to think of so far since the AS3
    swf won't display is to play with the LocalConnection class as
    tests showed I can communicate between the AS2 and AS3 files, but
    this would have to be a last resort, and is less than ideal when
    there can be multiple instances of the player running (I would need
    to use unique connection names for each instance so as to prevent
    player A interacting with player B, and also as only one of the
    players can listen on the connection at once).

    I have the component in the top level also,
    I get this error:
    TypeError: Error #2007: Parameter child must be non-null.
              at flash.display::DisplayObjectContainer/addChildAt()
              at fl.controls::BaseButton/drawBackground()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\BaseButton.as:615]
              at fl.controls::LabelButton/draw()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\LabelButton.as:724]
              at fl.core::UIComponent/drawNow()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\core\UIComponent.as:1343]
              at fl.controls::List/drawList()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\List.as:594]
              at fl.controls::List/draw()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\List.as:474]
              at .tree::TreeList/draw()
              at fl.core::UIComponent/callLaterDispatcher()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\core\UIComponent.as:1532]
    I've checked the definitions for the tree component,
    The LabelButton and List I don't have much control over.
    I'm not sure how to fix this.  The xml is correct and loads easily if it's in the root document.
    The list component doesn't load the labels, It stops on the first one.
      What do I do next?

  • 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

  • Load swf and play movieclip inside it

    I want to load  a swf and play a moveclip inside it, but the SWFLoad.content always is null. Does sombody know how to resolve this problem?
      private var SWFLoader:Loader;
      public function myApp3()
       SWFLoader = new Loader();
       var request:URLRequest = new URLRequest("FlashAS3_2Flex.swf");
       SWFLoader.load(request);
       this.addChild(SWFLoader);
       var currentSWF = MovieClip(SWFLoader.content);//SWFLoader.content is null
       currentSWF.myClip.gotoAndPlay(1);

    The code you show works fine for me.  How is btn1 created/named in the second swf file?  If you create it dynamically and do not assign a name property to it, it does not have the name you think it does.

  • Help with Flash  Video - Loaded but not playing...

    I created an SWF file which plays correctly on my system but
    does not play
    on the web.
    I had a previous version of the SWF file working correctly.
    The only
    difference is that this swf was remade with audio.
    Here's the link:
    http://teknigroup.com/courseware/Inventor%20Level-I/module1/IV-m1-6.htm
    The swf is in a zip file ( unzipped version in the web page -
    of course) at
    http://teknigroup.com/courseware/Inventor%20Level-I/module1/images/createproject1.zip
    If this is downloaded and played, it works correctly.
    Any help you can provide will be greatly appreciated!
    Dennis Jeffrey, AICE, MICE
    260-312-6188
    Instructor/Author/Sr. App Engr.
    Inventor 11 Professional SP2
    HP Pavillion Zv5000 (Modified)
    Geforce Go 440, Driver: .8185, 2GB RAM
    XP Pro SP2, Windows Classic Theme
    http://www.design-excellence.com

    Here's the location:
    http://teknigroup.com/courseware/Inventor%20Level-I/module1/images/clip0014.flv
    Dennis Jeffrey, AICE, MICE
    260-312-6188
    Instructor/Author/Sr. App Engr.
    Inventor 11 Professional SP2
    HP Pavillion Zv5000 (Modified)
    Geforce Go 440, Driver: .8185, 2GB RAM
    XP Pro SP2, Windows Classic Theme
    http://www.design-excellence.com
    "Nickels55" <[email protected]> wrote in message
    news:eqft16$35g$[email protected]..
    > where s this file on your server "clip0014.flv"
    >
    > Create a direct link to it and post it here. If you
    click on that link and
    > get
    > a page not found error then you need to have your server
    setup for the
    > correct
    > FLV mime type:
    >
    >
    http://www.adobe.com/go/tn_19439
    >

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

  • HT2589 One of the songs I purchased and down loaded will not play. The arrow/cursor keeps jumping off

    I have a song purchased/downloaded, but the arrow keeps jumping off and it will not play

    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copy of the track and try redownloading a fresh one. See the following document for instructions:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the item that is not playing properly. If you can't see "Report a Problem" next to the item, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.

  • No Sound and YTube videos are not playing - Says Error in loading

    I have recently been experiencing a lot of problems on my pc. The main one is that the fan appears to be failing, as it is making a long continual noise.
    I now appear to have lost the sound. I am not sure what is causing this, but have run through all the tests on your guides etc. Not sure if a system restore to an earlier date caused this or is required.
    My product numebr is WF649PA#ABG
    Model - DV6-2120 TX
    Many thanks,

    Hi happygirl2
    I think you could try cleaning out air vents, cleaning the system with antivirus software as waqar_kamboh posted.
    This is your product specs I suppose: http://h10025.www1.hp.com/ewfrf/wc/document?docnam​e=c02033034&tmp_task=prodinfoCategory&cc=us&dlc=en​...
    Here is your product service manual: http://h10032.www1.hp.com/ctg/Manual/c01860375.pdf
    Read through it know how to remove back cover of your laptop containing 7 air vents for air flow & clean it with dry clean smooth cloth/cotton. Clean the side air vents & wipe off any dust or dirt off any. Follow strict electro static protected state before opening the back cover as given in the manual.
    Download and save all the latest drivers INCLUDING BIOS/FIRMWARE for your system by entering the Operating System installed onto your system from the following link. Install everything at the end & restart.: http://h10025.www1.hp.com/ewfrf/wc/softwareCategor​y?swlinkmsg=100&cc=us&dlc=en&docname=bph07165&lc=e​...
    Also I advice you to do a hard reset to remove all electric potentials in the capacitors inside the system too.
    Hope this helps.
    thanks,
    ++Please click KUDOS / White thumb to say thanks
    ++Please click ACCEPT AS SOLUTION to help others, find this solution faster
    **I'm a Volunteer, I do not work for HP**

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

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

  • Load swf AFTER playing to end of root timeline

    Don't know if this can be done or not...
    I have my Home page - 5 Navigation buttons on the page. Each
    button "onRelease" will load an external swf file ( a new page).
    The problem i'm having is getting the the buttons to play the rest
    of the root timeline (after "Stop) before it loads the external
    swf. The rest of the timeline is just a short fade to Alpha 0 of
    all buttons before the new page comes in.
    any help?
    thanks in advance.

    michaeltowse wrote:
    > Could you not assign a variable which is then picked up
    at the end of the main
    > timeline. This variable could be used within a loadMovie
    command. Your buttons
    > would have the variable declaration and then a play()
    command.
    >
    What you seem to need is some sort of non unloading loading
    of the movie.
    You got the level loading method, the movieclip loading
    method and the
    dedicated loader class.

Maybe you are looking for

  • Bug in new JRE Windows installers for 8U20

    Both the x86 and x64 installers add the following string to the uninstall section of the registry. This is an INSTALL string not UNINSTALL. The net effect is the package reinstalls rather than uninstalls. MsiExec.exe /I{26A24AE4-039D-4CA4-87B4-2F8321

  • When will I get an email confirming my loan for Education?

    Hello, I have applied for a Finance on my laptop Macbook Air 13" (for installments in a period of 10months) and it's been more than a week since I sent the required documentation for the loan by post (I live in the UK). Since then, I haven't heard ne

  • Enquiry about mobile?

    May i know that sony xperia e can use gps without data or wifi?

  • CS4 Crashes Regularly when opening a previously made document

    All of my recently installed SC4 software will initiate and open perfect. However, when I try to open a file it gives me the attached error. I can begin a new document a nd render just fine.

  • Delete Service Line in a PO using BAPI_PO_CHANGE

    Hi Experts, I am able to create a new Service line using BAPI_PO_CHANGE in a Purchase Order. But not able to delete the existing service line. In the BAPI return log, it is showing 'PO Changed', still the service line exists. Please refer the code be