MovieClipLoader error

I looked up MovieClipLoader tutorials and finally came up with the code:
var myMCL:MovieClipLoader = new MovieClipLoader();
var loadListener:Object = new Object();
myMCL.addListener(loadListener);
loadListener.onLoadProgress = function(target_mc:MovieClip, bytesLoaded:Number, bytesTotal:Number):Void
    var perc:Number = (bytesLoaded / bytesTotal) * 100;
    prcnt.text = perc + " %";
loadListener.onLoadInit = function(target_mc:MovieClip)
    trace( target_mc + " finished loading so display on screen now. " );
    prcnt.text = "init";
loadListener.onLoadError = function(target_mc:MovieClip, errorCode:String, httpStatus:Number)
    trace( "error loading image : errorCode : " + errorCode );
loadListener.onLoadStart = function(target_mc:MovieClip)
    trace( target_mc + " start loading. maybe you want to do something here? " );
    prcnt.text = "onstart";
myMCL.loadClip("filename.swf", mcholder);  //mcholder is the movie clip holder placed on stage manually
The problem here is that the file does not move beyond printing this:
_level0.mcholder start loading. maybe you want to do something here?
_level0.mcholder start loading. maybe you want to do something here?
_level0.mcholder start loading. maybe you want to do something here?
_level0.mcholder start loading. maybe you want to do something here?
_level0.mcholder start loading. maybe you want to do something here?
_level0.mcholder start loading. maybe you want to do something here?
_level0.mcholder start loading. maybe you want to do something here?
Why is this happening? The code is directly from the tutorial. I have included all event functions, in case they are something like abstract functions, I don't know if this is required or not. I know I must be being a pain, but no one seems to be answering my question. I can't figure out what is wrong with the code, seems simple enough to me. I am sure I am missing some basic point. Any help will be greatly appreciated...

it could be that the code in that frame is repeatedly executing.  ie, that frame is part of a frame loop.
to remedy, add a stop() to your code.

Similar Messages

  • Error opening URL  Error on a Mac

    So is this happening to anyone else?
    I do a test movie from my Mac and when the movie I’m
    testing needs to load an external file I get the following error
    message:
    Error opening URL
    "ETC:Users:michael:Current:cvs:Gigapets:launch:banner_main.swf/xml/home.xml"
    This happens on my Mac alone mind you, everyone else's in the
    office works fine.
    It doesn’t matter if I am loading an xml file through
    the XML object, or a swf or jpg file through the loadMovie
    functions, it always gives me this error when I load files with a
    relative path on my local machine.
    I am running Flash 8 on OS 10.3.9

    In this particular example I am using this code to start the
    xml file load:
    // now load the XML file that contains the content strings
    var sXMLFile:String = "xml/home.xml";
    var xmlContent:XML = new XML();
    xmlContent.ignoreWhite = true;
    xmlContent.onLoad = onXMLLoadComplete;
    xmlContent.load( sXMLFile );
    But I don’t think the code is the problem here . This
    happens on every file I load when I am using a relative path to the
    content, regardless of how I load the content (XML object,
    loadMovie, MovieClipLoader, etc…) and the same code executes
    perfectly on every other machine in the office(Mac and PC).
    I’m more concerned with the semi-colons and .swf filename
    that Flash is putting into my relative path on the error message.
    Is that normal?

  • Flash cs4 mac - Error opening URL '/:Users:someting.swf' - Not a "loading external content" problem

    Hello.
    I am having a weird problem when trying to test a movie or publish preview -> flash on mac with Leopard os.
    The result is a blank movie with the usuall "movie not loaded" if u right click on it and the output returns the "Error opening URL 'the path of the swf here'.
    This has nothing to do with loading external files or something like that. It happens even in blank movies and it gives the same error if I try to open a swf from flash ide.
    I can publish the project or export the movie with no problem at all.
    I can preview the movie in html. I can run all the swf files in my hard disk, network, usb stick, dvd etc., but when I try to open any of these files from flash ide I got that stupid error.
    Its not something that stops me from working in flash ide but its slow to export movie any time I want to test it.
    Things that I've tried so far but nothing worked:
    Update the flash cs4 to the latest version
    Update the flash players
    Restored the release flash player as default player (I am using as default the debug player)
    Cleared the preferences
    Move the flash cs4 folder to another location in hd
    Saved the fla document first before testing the movie (in different places with or without spaces in document name or folder)
    Give read & write permissions for everyone for flash.app, players and for fla files when saved first before test movie
    Unistall and install the application 3-4 times.
    Test every as version just in case.
    Also I've checked the folders when testing movie and I can see that it creates an swf file, which I can run it outside flash ide (the one that the flash ide player cannot load) with no problem.
    The mac os has the default set up as it came. Nothing chnaged in permissions or security settings.
    Thanx in advance.

    In this particular example I am using this code to start the
    xml file load:
    // now load the XML file that contains the content strings
    var sXMLFile:String = "xml/home.xml";
    var xmlContent:XML = new XML();
    xmlContent.ignoreWhite = true;
    xmlContent.onLoad = onXMLLoadComplete;
    xmlContent.load( sXMLFile );
    But I don’t think the code is the problem here . This
    happens on every file I load when I am using a relative path to the
    content, regardless of how I load the content (XML object,
    loadMovie, MovieClipLoader, etc…) and the same code executes
    perfectly on every other machine in the office(Mac and PC).
    I’m more concerned with the semi-colons and .swf filename
    that Flash is putting into my relative path on the error message.
    Is that normal?

  • Is this a bug? loading component swf with MovieClipLoader

    Guys, one wierdarse 'bug?' for you.
    I have a swf created in Flash 8 Pro, published to Flash 7
    with AS2.0 which contains just a selection of components dragged
    from the standard library (date chooser, date field, combo bog,
    radio button ,number list etc)
    This swf is then loaded dynamically into a second fairly
    straight foward swf - created in Flash 8 Pro, published for Flash 8
    with AS2.0 using MovieClipLoader
    The error:
    When the first component is run on it's own, in flash, in
    html etcetc all components work fine.
    But when loaded into the 2nd swf all components work fine
    APART from those containing some type of popup class (i'm guessing
    here as don't know the inside of the components)
    The two i've encountered which don't work are : Date field -
    the click of the button, and comboBox
    boxth of which ar eactive as they highlight in the standard
    Flash green - so are active but do nothing when clicked.
    so HELP, anyone know why, know a fix, has any idea what's
    going on.
    regards, Rich

    The components you're having trouble with create their popup
    ui in _root.
    For example, the list part of the ComboBox is created in
    _root. But if _root
    doesn't have the necessary assets in its library, that part
    of the component
    cannot be created. In your case, you can either add all the
    components to
    library in your topmost movie or use _lockroot to force the
    popup parts to
    be created in the loaded movie.
    Example:
    this.createEmptyMovieClip("components_mc",
    this.getNextHighestDepth());
    var lo:Object = new Object();
    lo.onLoadInit = function(target_mc){
    target_mc._lockroot = true;
    var mcl:MovieClipLoader = new MovieClipLoader();
    mcl.addListener(lo);
    mcl.loadClip("components_mc.swf", components_mc);

  • Linked library items via MovieClipLoader?

    So, some of you may have run into this before. I know there
    is a known issue with importing an SWF to a MovieClip using
    LoadMovie - in that, any library items in the SWF that have linkage
    IDs can only be attachMovie'd within the MovieClip itself, and not
    in the main timeline (or any other timeline).
    However, I'm ok with this limitation.
    I have a project where I'm creating an empty movieclip on the
    main timeline, called "clip_1".
    I then use a MovieClipLoader object to load an external SWF
    ("buttons_1.swf") into clip_1.
    This works.
    However, buttons_1.swf has several button clips with linkage
    IDs set. What I want to do is, after buttons_1.swf has successfully
    loaded into clip_1, then do something like
    clip_1.attachMovie("btn_play", "play", 1);
    where "btn_play" is the linkage ID of a button in
    buttons_1.swf.
    This does not work... and it probably should given that
    apparently some people get a similar thing to work with
    loadMovie(). I want to use MovieClipLoader, however, because of the
    built-in error catching and completion features of that class.
    I cannot use the "runtime sharing" workaround for this,
    because I will have a potentially unlimited, unknown "button" SWFs
    that will be used. The main movie will load the appropriate button
    library at runtime, but I can't know in advance what all the
    libraries will be, and after the main movie is published, ideally I
    cannot go in and edit it again (want to have it dynamic as possible
    from the beginning).
    Any help would be appreciated. I know this is a confusing
    issue.

    Oops! Missed some quotes:
    var mc = this.createEmptyMovieClip("test_mc",
    this.getNextHighestDepth());
    var mclListener:Object = new Object();
    mclListener.onLoadInit = function(target_mc:MovieClip) {
    // child movie contains MCs with linkage IDs
    // attach an instance of "testclip"
    var _d = target_mc.getNextHighestDepth();
    target_mc.attachMovie("testclip", "clip"+_d,
    _d,{_x:30,_y:30});
    var mcl:MovieClipLoader = new MovieClipLoader();
    mcl.addListener(mclListener);
    mcl.loadClip("child.swf", mc);

  • 1152 Error

    So I have a MC thats throwing me for a loop.  As stated its giving me the 1152 error code. 
    Symbol 'Personal Gallery MC', Layer 'Actions', Frame 2, Line 8
    1152: A conflict exists with inherited definition flash.display:DisplayObject.root in namespace public.
    and here is the line it refers to.
    var root:MovieClip = this;
    While I am sure this is exceedingly simple to fix I am stuck.  I know there are know smae named instances and that the stupid little check box is turned off in the AS section. 
    Any thoughts? 

    I dont need this MC to do anything to the main timeline,  It was coded and put together seperate from the main File... maybe thats the problem.  The MC is just a scrolling slide show that I am setting on the mainstage.  At anyrate Ill post up the whole code.. I just need to get this last thing working am im home free.
    // Preloader in AS frame 1
    stop();
    onEnterFrame = function () {
        loading = Math.round(_root.getBytesLoaded().toString()/1024);
        total = Math.round(_root.getBytesTotal().toString()/1024);
        percentage = Math.round((loading/total)*100);
        if (_root.getBytesLoaded().toString() == _root.getBytesTotal().toString()) {
            gotoAndStop(2);
            delete this.onEnterFrame;
    // Main AS in frame 2
    import flash.display.*;
    import flash.geom.*;
    import flash.filters.*;
    //Change these values below to customize the viewer fuctionality
    var root:MovieClip = this;
    var myMO:Object;
    var myKO:Object;
    var loadedAll:Boolean;
    var distance:Number;
    var autoJump:Number = .15;
    var maxSlide:Number = 100;
    var deleteMinDistance:Number = 0;
    var deleteMaxDistance:Number = 900;
    var doubleClickRegister:Number = 500;
    var frontCDWidth:Number = 370;
    var frontCDHeight:Number = 370;
    var shelveCDHeight:Number = 320;
    var shelveCDWidth:Number = 280;
    var shelveCDSpacing:Number = 150;
    var centerDistance:Number = 50;
    var albumEase:Number = 4;
    var angle:Number = 8;
    var fadePoint:Number = Stage.width;
    var fadeDist:Number = 200;
    var current:Number = 1;
    var centerX:Number = Stage.width / 2;
    var centerY:Number = 200;
    var clickDelay:Number = 750;
    var scrollBarStart:Number = 0;
    var scrollerDelay:Number = 150;
    var scrollBarStop:Number = scrollBar.scroller._width + 49;
    var reflectionBackgroundColour:Number = d3dfd1;
    var reflectionBlurX:Number = 0;
    var reflectionBlurY:Number = 0;
    var reflectionQuality:Number = 3;
    var reflectionSpace:Number = 250;
    var reflectionAlpha:Number = 100;
    var reflectionRotation:Number = 90;
    var reflectionFocalPointRatio:Number = 0.3;
    var reflectionFillType:String = "linear";
    var reflectionSpreadMethod:String = "pad";
    var reflectionInterpolationMethod:String = "RGB";
    var unknownArtist:String = "Unknown Artist";
    var unknownAlbum:String = "Unknown Album";
    var infostruc:Array = [];
    var reflectionColors:Array = [0x000000, 0x000000];
    var reflectionAlphas:Array = [100, 10];
    var reflectionRatios:Array = [0, 255];
    var xmlData:XML = new XML();
    MovieClip.prototype.setSides = function(x1:Number, y1:Number, x2:Number, y2:Number, x3:Number, y3:Number, x4:Number, y4:Number):Void  {
        this.px1 = x1;
        this.py1 = y1;
        this.px2 = x2;
        this.py2 = y2;
        this.px3 = x3;
        this.py3 = y3;
        this.px4 = x4;
        this.py4 = y4;
    MovieClip.prototype.DistortImage = function(ptexture, vseg:Number, hseg:Number) {
        if (ptexture instanceof BitmapData) {
            this.texture = ptexture;
        } else if (ptexture instanceof MovieClip) {
            this.texture = new BitmapData(ptexture._width, ptexture._height);
            this.texture.draw(ptexture);
        this._w = this.texture.width;
        this._h = this.texture.height;
        this._aMcs = [];
        this._p = [];
        this._tri = [];
        this.init();
    MovieClip.prototype.setTransform = function(x0:Number, y0:Number, x1:Number, y1:Number, x2:Number, y2:Number, x3:Number, y3:Number):Void  {
        this.dx30 = x3 - x0;
        this.dy30 = y3 - y0;
        this.dx21 = x2 - x1;
        this.dy21 = y2 - y1;
        for (var l in this._p) {
            this.point = this._p[l];
            var gx = (this.point.x - this._xMin) / this._w;
            var gy = (this.point.y - this._yMin) / this._h;
            var bx = x0 + gy * (this.dx30);
            var by = y0 + gy * (this.dy30);
            this.point.sx = bx + gx * ((x1 + gy * (this.dx21)) - bx);
            this.point.sy = by + gx * ((y1 + gy * (this.dy21)) - by);
        this.render();
    MovieClip.prototype.init = function(Void):Void  {
        this._p = [];
        this._tri = [];
        this.w2 = this._w / 2;
        this.h2 = this._h / 2;
        this._xMin = this._yMin = 0;
        this._xMax = this._w;
        this._yMax = this._h;
        this._hsLen = this._w / 2;
        this._vsLen = this._h / 2;
        for (ix = 0; ix < 3; ix++) {
            for (iy = 0; iy < 3; iy++) {
                x = ix * this._hsLen;
                y = iy * this._vsLen;
                this._p.push({x:x, y:y, sx:x, sy:y});
        for (ix = 0; ix < 2; ix++) {
            for (iy = 0; iy < 2; iy++) {
                this.p0 = this._p[iy + ix * 3];
                this.p1 = this._p[iy + ix * 3 + 1];
                this.p2 = this._p[iy + (ix + 1) * 3];
                this.addTriangle(this.p0,this.p1,this.p2);
                this.p0 = this._p[iy + (ix + 1) * 3 + 1];
                this.p1 = this._p[iy + (ix + 1) * 3];
                this.p2 = this._p[iy + ix * 3 + 1];
                this.addTriangle(this.p0,this.p1,this.p2);
        this.render();
    MovieClip.prototype.addTriangle = function(p0:Object, p1:Object, p2:Object):Void  {
        this.tMat = {};
        this.u0 = p0.x;
        this.v0 = p0.y;
        this.u1 = p1.x;
        this.v1 = p1.y;
        this.u2 = p2.x;
        this.v2 = p2.y;
        this.tMat.tx = -this.v0 * (this._w / (this.v1 - this.v0));
        this.tMat.ty = -this.u0 * (this._h / (this.u2 - this.u0));
        this.tMat.a = this.tMat.d = 0;
        this.tMat.b = this._h / (this.u2 - this.u0);
        this.tMat.c = this._w / (this.v1 - this.v0);
        this._tri.push([p0, p1, p2, this.tMat]);
    MovieClip.prototype.render = function(Void):Void  {
        this.clear();
        this.ih = 1 / this._h;
        this.iw = 1 / this._w;
        this.tM = this.sM = {};
        for (var l in this._tri) {
            a = this._tri[l];
            this.p0 = a[0];
            this.p1 = a[1];
            this.p2 = a[2];
            this.tM = a[3];
            this.sM.a = (this.p1.sx - (this.x0 = this.p0.sx)) * this.iw;
            this.sM.b = (this.p1.sy - (this.y0 = this.p0.sy)) * this.iw;
            this.sM.c = (this.p2.sx - this.x0) * this.ih;
            this.sM.d = (this.p2.sy - this.y0) * this.ih;
            this.sM.tx = this.x0;
            this.sM.ty = this.y0;
            this.sM = concat(this.sM, this.tM);
            this.beginBitmapFill(this.texture,this.sM,false,false);
            this.moveTo(this.x0,this.y0);
            this.lineTo(this.p1.sx,this.p1.sy);
            this.lineTo(this.p2.sx,this.p2.sy);
            this.endFill();
    function init(Void):Void {
        myMO = {};
        myKO = {};
        Mouse.addListener(myMO);
        Key.addListener(myKO);
        for (var i in infostruc) {
            loader.clear();
            loader.gradient_mc.removeMovieClip();
            loader.attachMovie("default","art",1);
            loader._width = frontCDWidth;
            loader._height = frontCDHeight;
            this["_bmd" + i] = new BitmapData(loader._width, loader._height);
            this["_ref" + i] = new BitmapData(loader._width, loader._height);
            this["_bmd" + i].draw(loader);
            var mc:MovieClip = loader.createEmptyMovieClip("gradient_mc", loader.getNextHighestDepth());
            matrix = new Matrix();
            matrix.createGradientBox(loader._width,loader._height,reflectionRotation / 180 * Math.PI,0,0);
            mc.beginGradientFill(reflectionFillType,reflectionColors,reflectionAlphas,reflectionRatio s,matrix,reflectionSpreadMethod,reflectionInterpolationMethod,reflectionFocalPointRatio);
            mc.moveTo(0,0);
            mc.lineTo(0,loader._height);
            mc.lineTo(loader._width,loader._height);
            mc.lineTo(loader._width,0);
            mc.lineTo(0,0);
            mc.endFill();
            loader.art._alpha = reflectionAlpha;
            loader.beginFill(reflectionBackgroundColour);
            loader.moveTo(0,0);
            loader.lineTo(0,loader._height);
            loader.lineTo(loader._width,loader._height);
            loader.lineTo(loader._width,0);
            loader.lineTo(0,0);
            loader.endFill();
            this["_ref" + i].draw(loader);
        for (var i:Number = count = 0; count < Stage.width - (centerDistance * 2); count += shelveCDSpacing, i++) {
            var cArt:MovieClip = this.createEmptyMovieClip("art" + this.getNextHighestDepth(), this.getNextHighestDepth());
            var rArt:MovieClip = this.createEmptyMovieClip("reflection" + (this.getNextHighestDepth() - 1), this.getNextHighestDepth());
            rArt.id = cArt.id = rArt.cid = cArt.cid = Number(i) + 1;
            cArt.DistortImage(this["_bmd" + cArt.id]);
            controlTheObject(cArt);
            rArt.DistortImage(this["_ref" + cArt.id]);
            controlTheObject(rArt);
            var tmpFilter:BlurFilter = new BlurFilter(reflectionBlurX, reflectionBlurY, reflectionQuality);
            rArt.filterArray = [];
            rArt.filterArray.push(tmpFilter);
            rArt.filters = rArt.filterArray;
        myMO.onMouseWheel = function(delta:Number):Void  {
            if (delta > 0) {
                next();
            } else if (delta <= 0) {
                previous();
        myKO.onKeyDown = function():Void  {
            if (Selection.getFocus() != "_level0.goto") {
                if (Key.isDown(Key.RIGHT)) {
                    next();
                } else if (Key.isDown(Key.LEFT)) {
                    previous();
        scrollBar.scroller.onPress = function():Void  {
            dist = this._parent._xmouse - this._x;
            this.onMouseMove = function():Void  {
                tmp = 1 + Math.ceil(((this._parent._xmouse - dist) - scrollBarStart) / (scrollBar._width - scrollBarStop) * (infostruc.length - 1));
                if (tmp > infostruc.length) {
                    tmp = infostruc.length;
                if (tmp < 1) {
                    tmp = 1;
                current = tmp;
                updateInfo();
        scrollBar.scroller.onRelease = scrollBar.scroller.onReleaseOutside = function ():Void {
            stopDrag();
            delete this.onMouseMove;
        scrollBar.left.onPress = function():Void  {
            previous();
            shifter = setInterval(previous, scrollerDelay);
        scrollBar.right.onPress = function():Void  {
            next();
            shifter = setInterval(next, scrollerDelay);
        scrollBar.onMouseUp = function():Void  {
            clearInterval(shifter);
        scrollBar.onMouseDown = function():Void  {
            if (this.hitTest(_xmouse, _ymouse, true) && !this.left.hitTest(_xmouse, _ymouse, true) && !this.right.hitTest(_xmouse, _ymouse, true)) {
                if (this._xmouse < this.scroller._x) {
                    previous();
                    shifter = setInterval(previous, clickDelay);
                if (this._xmouse > this.scroller._x + this.scroller._width) {
                    next();
                    shifter = setInterval(next, clickDelay);
        goto.onChanged = function():Void  {
            if (!isNaN(Number(this.text) + 1)) {
                this.text = Math.round(Number(this.text));
                if (this.text > infostruc.length) {
                    this.text = infostruc.length;
                if (this.text < 1) {
                    this.text = 1;
                current = this.text;
            } else {
                this.text = current;
            updateInfo();
        distance = Number(i);
        mask.removeMovieClip();
        loader.removeMovieClip();
        scrollBar.swapDepths(1101);
        loadNext();
        updateInfo();
    function concat(m1, m2):Object {
        var mat:Object = {};
        mat.a = m1.c * m2.b;
        mat.b = m1.d * m2.b;
        mat.c = m1.a * m2.c;
        mat.d = m1.b * m2.c;
        mat.tx = m1.a * m2.tx + m1.c * m2.ty + m1.tx;
        mat.ty = m1.b * m2.tx + m1.d * m2.ty + m1.ty;
        return mat;
    function updateInfo():Void {
        goto.text = current;
        img_info.author = infostruc[current - 1].auth;
        img_info.album = infostruc[current - 1].album;
        //New Addition
        img_info.artistLink.enabled = true;
        if (infostruc[current - 1].authLink == undefined) {
            img_info.authLink.enabled = false;
        } else {
            if (infostruc[current - 1].authLink == "undefined") {
                img_info.authLink.enabled = false;
            } else {
                img_info.artistLink.onPress = function() {
                    getURL(infostruc[current - 1].authLink, "_blank");
        img_info.albumLink.enabled = true;
        if (infostruc[current - 1].albumLink == undefined) {
            img_info.albumLink.enabled = false;
        } else {
            if (infostruc[current - 1].albumLink == "undefined") {
                img_info.albumLink.enabled = false;
            } else {
                img_info.albumLink.onPress = function() {
                    getURL(infostruc[current - 1].albumLink, "_blank");
        scrollBar.scroller._x = scrollBarStart + ((current - 1) / (infostruc.length - 1) * (scrollBar._width - scrollBarStop));
    function validateOk(target:MovieClip):Boolean {
        return Math.abs(Math.min(Math.max((target._x - target.x) / albumEase, -maxSlide), maxSlide)) == maxSlide;
    function controlTheObject(mc):Void {
        if (mc._name.indexOf("reflection") == -1) {
            mc.onPress = function():Void  {
                if (getTimer() - this.pressTime <= doubleClickRegister && this.pressTime) {
                this.pressTime = getTimer();
                current = this.cid + 1;
                updateInfo();
        mc.onEnterFrame = function():Void  {
            if (Math.abs(this._x - this.x) > 1) {
                if (this._name.indexOf("reflection") == -1) {
                    this._y = centerY;
                    if (this._x >= centerX + centerDistance) {
                        this.swapDepths(Stage.width - this._x);
                        this.setSides(-(shelveCDWidth / 2),-(shelveCDHeight / 2) + ((Math.sin(angle * Math.PI / 180) * frontCDWidth)),-(shelveCDWidth / 2) + shelveCDWidth,-(shelveCDHeight / 2),-(shelveCDWidth / 2) + shelveCDWidth,shelveCDHeight / 2,-(shelveCDWidth / 2),(shelveCDHeight / 2) - ((Math.sin(angle * Math.PI / 180) * frontCDWidth)));
                    } else if (this._x <= centerX - centerDistance) {
                        this.swapDepths(this._x);
                        this.setSides(-(shelveCDWidth / 2),-(shelveCDHeight / 2),-(shelveCDWidth / 2) + shelveCDWidth,-(shelveCDHeight / 2) + (Math.sin(angle * Math.PI / 180) * frontCDWidth),-(shelveCDWidth / 2) + shelveCDWidth,(shelveCDHeight / 2) - (Math.sin(angle * Math.PI / 180) * frontCDWidth),-(shelveCDWidth / 2),shelveCDHeight / 2);
                    } else if (this._x > centerX - centerDistance && Math.floor(this._x) < centerX && !validateOk(this) && angle - ((this._x - (centerX - centerDistance)) / centerDistance * angle) > autoJump) {
                        this.swapDepths(1002);
                        var sum:Number = shelveCDWidth + ((this._x - (centerX - centerDistance)) / centerDistance * (frontCDWidth - shelveCDWidth));
                        var sum2:Number = angle - ((this._x - (centerX - centerDistance)) / centerDistance * angle);
                        var sum3:Number = shelveCDHeight + ((this._x - (centerX - centerDistance)) / centerDistance * (frontCDHeight - shelveCDHeight));
                        this.setSides(-(sum / 2),-(sum3 / 2),-(sum / 2) + sum,-(sum3 / 2) + ((Math.sin(sum2 * Math.PI / 180) * frontCDWidth)),-(sum / 2) + sum,(sum3 / 2) - ((Math.sin(sum2 * Math.PI / 180) * frontCDWidth)),-(sum / 2),sum3 / 2);
                    } else if (this._x < centerX + centerDistance && Math.ceil(this._x) > centerX && !validateOk(this) && angle - (((centerX + centerDistance) - this._x) / centerDistance * angle) > autoJump) {
                        this.swapDepths(1003);
                        var sum:Number = shelveCDWidth + (((centerX + centerDistance) - this._x) / centerDistance * (frontCDWidth - shelveCDWidth));
                        var sum2:Number = angle - (((centerX + centerDistance) - this._x) / centerDistance * angle);
                        var sum3:Number = shelveCDHeight + (((centerX + centerDistance) - this._x) / centerDistance * (frontCDHeight - shelveCDHeight));
                        this.setSides(-(sum / 2),-(sum3 / 2) + ((Math.sin(sum2 * Math.PI / 180) * frontCDWidth)),-(sum / 2) + sum,-(sum3 / 2),-(sum / 2) + sum,sum3 / 2,-(sum / 2),(sum3 / 2) - ((Math.sin(sum2 * Math.PI / 180) * frontCDWidth)));
                    } else if (!validateOk(this)) {
                        this.swapDepths(1004);
                        this.setSides(-(frontCDWidth / 2),-(frontCDHeight / 2),-(frontCDWidth / 2) + frontCDWidth,-(frontCDHeight / 2),-(frontCDWidth / 2) + frontCDWidth,frontCDHeight / 2,-(frontCDWidth / 2),frontCDHeight / 2);
                } else {
                    this._yscale = -100;
                    if (this._x >= centerX + centerDistance) {
                        this._y = centerY + shelveCDHeight + reflectionSpace;
                        this.swapDepths((Stage.width - this._x) - 333);
                        this.setSides(-(shelveCDWidth / 2),-(shelveCDHeight / 2) + (Math.sin(angle * Math.PI / 180) * frontCDWidth),-(shelveCDWidth / 2) + shelveCDWidth,-(shelveCDHeight / 2),-(shelveCDWidth / 2) + shelveCDWidth,shelveCDHeight / 2,-(shelveCDWidth / 2),(shelveCDHeight / 2) + ((Math.sin(angle * Math.PI / 180) * frontCDWidth)));
                    } else if (this._x <= centerX - centerDistance) {
                        this._y = centerY + shelveCDHeight + reflectionSpace;
                        this.swapDepths(this._x - 333);
                        this.setSides(-(shelveCDWidth / 2),-(shelveCDHeight / 2),-(shelveCDWidth / 2) + shelveCDWidth,-(shelveCDHeight / 2) + ((Math.sin(angle * Math.PI / 180) * frontCDWidth)),-(shelveCDWidth / 2) + shelveCDWidth,(shelveCDHeight / 2) + (Math.sin(angle * Math.PI / 180) * frontCDWidth),-(shelveCDWidth / 2),shelveCDHeight / 2);
                    } else if (this._x > centerX - centerDistance && this._x < centerX && !validateOk(this)) {
                        this.swapDepths(999);
                        var sum:Number = shelveCDWidth + ((this._x - (centerX - centerDistance)) / centerDistance * (frontCDWidth - shelveCDWidth));
                        var sum2:Number = angle - ((this._x - (centerX - centerDistance)) / centerDistance * angle);
                        var sum3:Number = shelveCDHeight + ((this._x - (centerX - centerDistance)) / centerDistance * (frontCDHeight - shelveCDHeight));
                        this._y = centerY + sum3 + reflectionSpace;
                        this.setSides(-(sum / 2),-(sum3 / 2),-(sum / 2) + sum,-(sum3 / 2) + ((Math.sin(sum2 * Math.PI / 180) * frontCDWidth)),-(sum / 2) + sum,(sum3 / 2) + ((Math.sin(sum2 * Math.PI / 180) * frontCDWidth)),-(sum / 2),sum3 / 2);
                    } else if (this._x < centerX + centerDistance && this._x > centerX && !validateOk(this)) {
                        this.swapDepths(998);
                        var sum:Number = shelveCDWidth + (((centerX + centerDistance) - this._x) / centerDistance * (frontCDWidth - shelveCDWidth));
                        var sum2:Number = angle - (((centerX + centerDistance) - this._x) / centerDistance * angle);
                        var sum3:Number = shelveCDHeight + (((centerX + centerDistance) - this._x) / centerDistance * (frontCDHeight - shelveCDHeight));
                        this.setSides(-(sum / 2),-(sum3 / 2) + ((Math.sin(sum2 * Math.PI / 180) * frontCDWidth)),-(sum / 2) + sum,-(sum3 / 2),-(sum / 2) + sum,sum3 / 2,-(sum / 2),(sum3 / 2) + ((Math.sin(sum2 * Math.PI / 180) * frontCDWidth)));
                        this._y = centerY + sum3 + reflectionSpace;
                    } else if (!validateOk(this)) {
                        this.swapDepths(995);
                        this._y = centerY + frontCDHeight + reflectionSpace;
                        this.setSides(-(frontCDWidth / 2),-(frontCDHeight / 2),-(frontCDWidth / 2) + frontCDWidth,-(frontCDHeight / 2),-(frontCDWidth / 2) + frontCDWidth,frontCDHeight / 2,-(frontCDWidth / 2),frontCDHeight / 2);
            if (infostruc[this.cid].loaded && !this.loadedImage) {
                this.DistortImage(this._name.indexOf("reflection") > -1 ? this._parent["_ref" + this.cid] : this._parent["_bmd" + this.cid]);
                this.loadedImage = true;
            if (this._x < deleteMinDistance && this._parent["_ref" + (this.cid + distance)]) {
                this.cid += distance;
                this._x = deleteMaxDistance;
                controlTheObject(this);
                this.loadedImage = infostruc[this.cid].loaded;
                this.DistortImage(this._name.indexOf("reflection") > -1 ? this._parent["_ref" + this.cid] : this._parent["_bmd" + this.cid]);
            if (this._x > deleteMaxDistance && this._parent["_ref" + (this.cid - distance)]) {
                this.cid -= distance;
                this._x = deleteMinDistance;
                controlTheObject(this);
                this.loadedImage = infostruc[this.cid].loaded;
                this.DistortImage(this._name.indexOf("reflection") > -1 ? this._parent["_ref" + this.cid] : this._parent["_bmd" + this.cid]);
            if (this.cid + 1 > current) {
                this.x = (centerX + ((this.cid + 1 - current) * shelveCDSpacing)) + centerDistance;
            } else if (this.cid + 1 < current) {
                this.x = (centerX + ((this.cid + 1 - current) * shelveCDSpacing)) - centerDistance;
            } else {
                this.x = centerX + ((this.cid + 1 - current) * shelveCDSpacing);
            this._x -= Math.min(Math.max((this._x - this.x) / albumEase, -maxSlide), maxSlide);
            if (this._x < fadeDist) {
                this._alpha = (this._x / fadeDist * 100);
            } else if (this._x > fadePoint - fadeDist) {
                this._alpha = ((fadePoint - this._x) / fadeDist * 100);
            } else {
                this._alpha = 100;
            this.setTransform(this.px1,this.py1,this.px2,this.py2,this.px3,this.py3,this.px4,this.py4 );
    function next():Void {
        if (current < infostruc.length) {
            current += 1;
        updateInfo();
    function previous():Void {
        if (current > 1) {
            current -= 1;
        updateInfo();
    function displayAlternArt(art, width:Number, height:Number):Void {
        artDisplay.attachBitmap(art,1);
        artDisplay._width = width;
        artDisplay._height = height;
    function loadNext():Void {
        if (!loadedAll) {
            var num:Number = current - 1;
            if (infostruc[current - 1].loaded) {
                var num:Number = current - Math.floor(distance / 2) - 1 >= 0 ? current - Math.floor(distance / 2) - 1 : 0;
                while (infostruc[num].loaded && num < infostruc.length) {
                    num++;
                if (num >= infostruc.length) {
                    var num:Number = current - 1;
                    while (infostruc[num].loaded && num > 0) {
                        num--;
                    if (num <= 0) {
                        loadedAll = true;
            var newLoad:MovieClip = this.createEmptyMovieClip("artLoad" + num, this.getNextHighestDepth());
            newLoad.createEmptyMovieClip("art",newLoad.getNextHighestDepth());
            newLoad._alpha = 0;
            var mc:Object = {};
            mc.number = num;
            var artLoader:MovieClipLoader = new MovieClipLoader();
            artLoader.addListener(mc);
            artLoader.loadClip("./" + infostruc[num].art,newLoad.art);
            mc.onLoadError = function() {
                infostruc[this.number].loaded = true;
                loadNext();
            mc.onLoadInit = function(target:MovieClip) {
                target._parent._width = frontCDWidth;
                target._parent._height = frontCDHeight;
                root["_bmd" + this.number] = new BitmapData(target._width, target._height);
                root["_ref" + this.number] = new BitmapData(target._width, target._height);
                root["_bmd" + this.number].draw(target);
                var mc:MovieClip = target._parent.createEmptyMovieClip("gradient_mc", target._parent.getNextHighestDepth());
                matrix = new Matrix();
                matrix.createGradientBox(target._width,target._height,reflectionRotation / 180 * Math.PI,0,0);
                mc.beginGradientFill(reflectionFillType,reflectionColors,reflectionAlphas,reflectionRatio s,matrix,reflectionSpreadMethod,reflectionInterpolationMethod,reflectionFocalPointRatio);
                mc.moveTo(0,0);
                mc.lineTo(0,target._height);
                mc.lineTo(target._width,target._height);
                mc.lineTo(target._width,0);
                mc.lineTo(0,0);
                mc.endFill();
                target._alpha = 50;
                target._parent.beginFill(reflectionBackgroundColour);
                target._parent.moveTo(0,0);
                target._parent.lineTo(0,target._height);
                target._parent.lineTo(target._width,target._height);
                target._parent.lineTo(target._width,0);
                target._parent.lineTo(0,0);
                target._parent.endFill();
                root["_ref" + this.number].draw(target._parent);
                infostruc[this.number].loaded = true;
                target._parent.removeMovieClip();
                updateInfo();
                loadNext();
    xmlData.onLoad = function(success:Boolean):Void  {
        if (success) {
            for (var i:Number = -1; this.childNodes[0].childNodes[++i]; ) {
                var cNode:XMLNode = this.childNodes[0].childNodes[i].childNodes;
                var val2:String = cNode[1].childNodes[0].nodeValue ? unescape(cNode[1].childNodes[0].nodeValue) : unknownArtist;
                var val3:String = cNode[2].childNodes[0].nodeValue ? unescape(cNode[2].childNodes[0].nodeValue) : unknownAlbum;
                var val4:String = cNode[3].childNodes[0].nodeValue ? unescape(cNode[3].childNodes[0].nodeValue) : noLink;
                var val5:String = cNode[4].childNodes[0].nodeValue ? unescape(cNode[4].childNodes[0].nodeValue) : noLink;
                infostruc.push({art:cNode[0].childNodes[0].nodeValue, info:val1, auth:val2, album:val3, authLink:val4, albumLink:val5, loaded:false});
            loadStat = "";
            init();
        } else {
            loadStat = "Unable to load XML Data";
    xmlData.ignoreWhite = true;
    xmlData.load("./albuminfo.xml");
    this.createEmptyMovieClip("loader",this.getNextHighestDepth());
    loader._visible = false;
    mask._alpha = 0;
    scrollBar.scroller._y = 0;
    img_info.swapDepths(2000);
    As I said it works fine on its own, which in case of root Var name makes sense, but I need it work work within a parent file, Hopping not to have to reconstruct this.

  • Error loadin external files in FL3.1 in s60

    Hi
    I used mobile packager for s60 and FL3.1 has a cery good
    performance
    but unfortunately my swf file couldn't load other movies
    located in storage card/others folder
    I used this command
    loadMovieNum("file:///e:/others/myapp.swf", this);
    also tried loadMovieNum("file://e:/others/myapp.swf", this);
    but nothing worked
    I don't want to put the other movies in the same folder of
    the launcher app.
    please help

    No it didn't
    would u please try to take a look at the simple loader I posted and fix it if you found a problem in and try it on pocket pc with fl3.1
    stop();
    var appPath:String=this._url.substring(0,this._url.lastIndexOf("/")+1);
    ///////// loading text
    var my_lv:LoadVars = new LoadVars();
    my_lv.onLoad = function(success:Boolean) {
        if (success) {
        tt.text=my_lv.tt;
        } else {
        trace("Error loading/parsing LoadVars.");
    my_lv.load(appPath + "text.txt");
    this code alone worked well
    stop();
    var appPath:String=this._url.substring(0,this._url.lastIndexOf("/")+1);
    ///////// loading text
    var my_lv:LoadVars = new LoadVars();
    my_lv.onLoad = function(success:Boolean) {
        if (success) {
        tt.text=my_lv.tt;
        } else {
        trace("Error loading/parsing LoadVars.");
    my_lv.load(appPath + "text.txt");
    ////loading image
    this.createEmptyMovieClip("image_mc", this.getNextHighestDepth());
    var mclListener:Object = new Object();
    mclListener.onLoadInit = function(target_mc:MovieClip) {
        target_mc._x=20;
        target_mc._y=120;
    var image_mcl:MovieClipLoader = new MovieClipLoader();
    image_mcl.addListener(mclListener);
    image_mcl.loadClip(appPath + "image.gif", image_mc);
    ////loading swf
    this.createEmptyMovieClip("swf_mc", this.getNextHighestDepth());
    var mclListener2:Object = new Object();
    mclListener2.onLoadInit = function(target_mc:MovieClip) {
        target_mc._x=20;
        target_mc._y=160;
    var image_mcl2:MovieClipLoader = new MovieClipLoader();
    image_mcl2.addListener(mclListener2);
    image_mcl2.loadClip(appPath + "swf.swf", swf_mc);
    But this hangs the whole phone ...

  • Assistance with syntax error please

    this line of AS is giving me a syntax error and I cannot
    figure out the reason, requesting assistance please
    var mclListener.onLoadInit =
    function(target_mc:MovieClip):Void {
    target_mc.setMask(mask_mc);
    TIA

    thanks that resolved my error, but the script isn't working
    as expected. I am practicing from a book with AS 2.0 tutorials and
    this code is supposed to produce a mask from a movie clip over an
    image, but doesn't for me.
    I create a square on frame 1, make it a movie clip with the
    instance name of mask_mc and add this AS to frame 1.
    System.security.allowDomain.allowDomain("
    http://www.helpexamples.com");
    this.createEmptyMovieClip("img_mc", 10);
    mclListener.onLoadInit = function(target_mc:MovieClip):Void {
    target_mc.setMask(mask_mc);
    var my_mcl:MovieClipLoader = new MovieClipLoader();
    my_mcl .addListener(mclListener);
    my_mcl .loadClip("
    http://www.helpexamples.com/flash/images/image1.jpg",
    img_mc);
    my external jpg isn't getting masked by the MC....any
    ideas?

  • MovieClipLoader class

    For some reason, I'm having difficulty wrapping my head
    around how to implement and use the MovieClipLoader class. Here's
    where I'm stuck. I have a bit of code that looks like this:
    function showImage(filename:String):Void {
    var image:MovieClip = imagePlaceholder_mc.image_mc;
    image.loadMovie(filename);
    //Center images
    xPos = (900 - image._width)/2;
    yPos = (600 - image._height)/2;
    image._x = xPos;
    image._y = yPos;
    imagePlaceholder_mc._alpha = 0;
    imagePlaceholder_mc.onEnterFrame = fadeIn;
    Now, whenever showImage() is called, the picture loads and
    properly fades in. However, the image is not correctly centered.
    However, if showImage is called a second time on the same image,
    THEN the image properly centers. Basically, showImage uses the last
    ._width and ._height values. I assume this is because the clip
    hasn't finished loading when xPos and yPos are set, and that if I
    had the calculations occur when the .jpg is completely loaded, then
    the correct results will occur.
    However, I can't seem to figure out where to put my
    MovieClipLoader class, where to stick the listeners, or anything.
    I'm having some sort of problem conceptualizing how the class is
    supposed to work, and for some reason the tutorials are not helping
    me out. If it were explained to me in relation to the code I have
    above, it would help.
    Thanks,
    Peter

    Can't really explain it in terms of your code above because
    it is different that your code above. The MCL just gives some nice
    packaging to starting, progressing through, and ending, the load of
    external assets. The listeners just listen for the different
    "events" in this process and then can run certain bits of code when
    those events happen.
    So lets go to it. We start out well enough:
    function showImage(filename:String):Void {
    Then we need to make an instance of our MCL. It is also
    possible to have it outside your function, but for now lets keep it
    inside.
    var myMCL:MovieClipLoader=new MovieClipLoader;
    Next we need to make an object to attach the various events
    to. There are a lot of ways they could have designed this, but this
    is how they did it so that is what we do!
    var myListener:Object=new Object()
    Now there are several different events that the MCL might
    have, but for the moment we are going to worry about only one of
    them. You want to do something when the external asset is fully
    loaded – you can't set the width or height until after the
    whole thing is done.
    myListener.onLoadInit=function(target:MovieClip){
    Pos = (900 - target._width)/2;
    yPos = (600 - target._height)/2;
    target._x = xPos;
    target._y = yPos;
    target._parent._alpha = 0;
    target._parent.onEnterFrame = fadeIn;
    Notice how basically your same code goes in there, but with
    the difference of target? (BTW, I could have called that grapefruit
    or anything I wanted, but target seemed good.) That is because the
    onLoadInit event returns a reference to the thing that has just had
    content loaded into it. So we can use that instead of having to
    hard code the names of our movie clips. That makes it a lot more
    flexible.
    Okay we could now issue our load, close up the braces, and be
    done with it. But we still have one more thing. Let's look at what
    we have. We've made a function that sets up an MCL, makes and
    Object to hold listeners, and set up an event inside that object.
    But we still haven't told our MCL instance that it needs to report
    its events to that object.
    It is a great philosophical debate of whether events happen
    if there is nothing there to listen for them! :) But on the
    practical side, nothing will happen if we don't tell flash to
    listen for them. That is way we need the next line:
    myMCL.addListener(myListener);
    That tells our MCL that when it has events it needs to tell
    myListener about them. Now the MCL has many events onLoadStart,
    onLoadProgress, etc. and it will dutifully tell our listener object
    about them. Inside that listener we have only set up an action for
    one of them, but hey, laissez les bon temps rouler.
    So finally we can issue our load statement and close up the
    braces.
    myMCL.loadClip(filename);
    So what happens?
    You call your function and pass it the filename.
    An MCL is created.
    A listener object is created.
    Object is given an event handler function.
    The MCL is told to report its events to that Object.
    The MCL starts loading the file.
    The MCL has a onStartLoad event and reports it to the object.
    Nope no handler for that, nothing to do.
    Several times in a row the MCL has an onLoadProgress event,
    and reports it.
    Nope no handler for that, nothing to do.
    etc.
    Finally there is an onLoadInit event – the file is
    ready to be mucked with. The MCL reports it to the object, and hey
    there is something to do.
    So the MCL tells the objects onLoadInit function, "I just
    Inited, the following clip."
    The function then takes that information and applies the
    things you specified.
    And that is pretty much it.
    A couple of notes. The onLoadProgess event doesn't happen
    when you are testing locally. So you won't see it.
    It is a good practice to get into that when you are done with
    something you remove the listener. So you might want to add the
    following line to your onLoadInit function.
    myMCL.removeListener(myListener);
    (At least I think that is a good idea. I haven't done that
    myself in the past, but I have recently become much more aware of
    how important it is – at least generally – to remove
    listeners. So if you get an error just remove that.)

  • Can i trap "Error opening URL" error?

    Can i trap "Error opening URL" ?
    I am using someMC.loadMovie("someImg.jpg")
    This works fine I would however like to be able to use the
    error "Error opening URL" and switch to another file if the first
    dose not exist. Can i do this?

    use the moviecliploader class to catch that error.

  • MCL Script Error In Flash 9

    I have a very simple site built in flash which loads various
    SWF files using MovieClipLoader.
    MCL is only called on a button press.
    There are no other significant scripts in the movie.
    The called SWF files range in size from 1MB - 2.5MB, contain
    limited functionality and a stop(); action in the first frame.
    The client is running 3 machines (PC, Power PC Macs &
    Intel Macs) and is reporting a Script error (The usual infinate
    running slowly one). On all test machines (11 in total PC, Power PC
    Macs & Intel Macs, 3 different locations with varying
    connection speeds) everything runs correctly and I have been unable
    to duplicate his issue.
    The only exception was a factory configured iMac, and even
    then only in Safari. I fixed this by updating the flash 9 player
    from r20 to r28. The client has done this but seen no change.
    Has anyone encountered a similar problem, or are there known
    issues with MCL and larger swf files?
    Any help would be greatly appreciated.
    Thanks
    dan.

    Non of my test machines match exactly the clients connection
    speed (they're on a 512 connection) but I do have slower (dial-up)
    as well as faster conections.
    I'd normally agree that my code must be doing something else,
    but I swear the only this that's there to do anything is the MCL
    object and it's related status bar (triggered onLoadProgress).
    [code]
    stop();
    /* Initiate Vars */
    var img_folder:String = "folios";
    /* Image MCL Functionality */
    imgMCL = new MovieClipLoader();
    imgListener = new Object();
    imgListener.onLoadInit = function (imgMC) {
    imgLoadComplete(imgMC);
    imgListener.onLoadProgress = function (target:MovieClip,
    bytesLoaded:Number, bytesTotal:Number):Void {
    var per:Number = Math.floor((bytesLoaded/bytesTotal) * 100);
    status_mc.loadBar_mc._width = per;
    status_mc.percentage = per;
    imgMCL.addListener(imgListener);
    imgLoadComplete = function(imgMC) {
    this.gotoAndStop("site");
    status_mc._visible = false;
    folio_mc._x = 0;
    createImg = function(file_name:String):Void {
    var file_name:String = img_folder + "/" + file_name +
    ".swf";
    var clip_ref :MovieClip= folio_mc;
    imgMCL.loadClip(file_name, clip_ref);
    changeFolio = function (folio:String):Void {
    news_mc._x = 825;
    contact_mc._x = 825;
    folio_mc._x = 825;
    status_mc._visible = true;
    createImg(folio);
    /* Start Initial Folio Load */
    changeFolio("folio1");
    [/code]
    From here changeFolio(); is only ever called using onRelease
    handlers attached to buttons. And that's it. No more script in
    there.
    The only time I've encountered anything similar has been with
    an online SWF player which appeared to have very broken download
    that paused for noticable amounts of time. Here the download is
    smooth (according to the clients viewing of the loadbar).

  • Just can't get my head around onLoadInit/movieClipLoader

    Hi,
    I am loading images into flash from a mySQL database with php
    using this code:
    myData.onLoad = function(succes){
    if(succes){
    for(var i=0; i<this.cant; i++){
    this.ref["target_mc"+i].loadMovie(this["image"+i])
    } else trace("Error loading data");
    I need to set what size these images display at as they need
    to be shown as thumbnails as well as main images. I have learnt
    that it is best to do this using the onLoadInit and moviecliploader
    actionscript but I just can't understand what they are doing in the
    help files. Does anyone have any advice or code examples that might
    help. This is my first venture into using flash with a database so
    the syntax loses me at times.
    thanks
    Gavin

    Actually the MovieClipLoader is intended to make loading
    external jpg files more controllable...it has nothing to do with
    loading data from a database.
    The MovieClipLoader requires 3 pieces to work:
    1. the MCL object
    2. A Listener object to listen to Events
    3. Event functions (like onLoadInit) which are called by the
    Listener when Events happen

  • Error in starting Adobe Bridge in Photoshop CS2

    I've just installed Photoshop CS2, however upon opening Adobe Bridge this error message appears " The application has failed to start because libagluc28.dll was not found. Reinstalling to application may fix the problem"
    I have reinstalled and click repair but to no avail
    I followed Adobe Support Knowledgebase solution and run CMD and this appears:
    c:Documents and Settings/Jesus M Ferraris>
    then i entered the command
    cacls c:\windows\installer /T /E /C /G administrators:F
    but an error message appears - 'cacls' is not recognized as an internal or external command, operable program or bathc file
    I also entered the next command
    cacls "c:\documents and setting\all users" /Y /E /C /G administrators:F
    still the same error as above appears, Please help, have I miss something or was my procedure correct...
    P4, 512ram, WXP 80gHD

    Very useful.
    Good Luck.
    My
    Si
    tes

  • Windows Vista: Ipod Error Message, no longer read by PCs

    Hello,
    I have a 5th generation black ipod video with 30GB of memory.
    The other day I hooked it up to my laptop (Toshiba, 4 months old) that it's been functioning on with no problems whatsoever. This weird error message flashed twice about it not being able to sync because of some software problem.
    Eversince then, the only thing I can charge my ipod on is the family treadmill in the basement (~_~) as no other computer in the house recognizes it. I can't even charge it through the wall sockets, either.
    I have changed the ipod cord, still no luck. I've also reset the device about 3 or 4 times and uninstalled, restarted the laptop then reinstalled itunes. I would like to reset it back to factory settings but that's impossible as computers/laptops don't pick it up. I live very far from a Mac store...
    What's a girl to do? I can't live without my Busta Rhymes and Wu-Tang Clan!
    Any advice would be greatly appreciated! Thanks!

    you have to update Vista go to this site and up-date http://windowsupdate.microsoft.com

  • Error while offsetting a variable

    Hello Experts
    I want to display the data for last 5 years in my query. So I tried using the SAP exit variable Current Calendar Year (0CYEAR) and the offset it by 5. However, I am getting the following error message for the query "System error in program SAPLRR12 and form REP_ASSIGN_INITIAL_OPT-01"
    Any Help on this is appreciated and points will be assigned.
    Thanks

    Thanks Chetan for your prompt reply. I have assigned points.
    But I would appreciate if you help me clear my understanding of offseting a variable.
    Say if the Current Calendar Year variable returns 2008, then will offseting that variable by 5 return me the data for years 2008, 2007, 2006, 2005 , 2004. Or, will it just return me the data for 2008 - 5 = 2004 only.
    Thanks
    Rishi

Maybe you are looking for

  • HT1694 How do I add an email address to my iPad?

    I want to add another email address on my iPad, it was a virgin email account, (fsnet) which then changed to orange and I believe it is no changed again to Ee-what I don't know is what to put in the incoming mail server details and the outgoing mail

  • Question about Windows 8 to 8.1 upgrade

    Satellite P55-A5312 with pre-installed Windows 8 My son had upgraded to Windows 8.1 but I'm not sure it was done correctly so I reset the PC to Windows 8 from the Recovery Partition to start over.  Looking at the upgrade instructions: http://support.

  • Muse: How to create an auto-enlarging slideshow

    Hi, how can I create a slideshow like this Château de Dournes ? (It's created with EverWeb.) I mean: Auto-run, click to enlarge > a new frame opens, perfectly adapted to the photos' size & format (portrait / landscape)- Thanks a lot! Hp

  • Problem while changing Cheque Form

    Hi all, I have uploaded the cheque form form Qul to Dev server with the same NAME what has in Qul Server, as it is not exit in Qul. Both are different servers. After the modificationt to form i transported the form from Dev to Qul. the modifications

  • Student and teacher edition photoshop

    I bought the teacher and student edition back in 2012.  I have since had my computer restored and have to re-install the program.  I have the serial number.  How do i go about downloading this version?