Why is there a red border around a movieclip?

Community Beginner ,
Mar 10, 2022 Mar 10, 2022

Copy link to clipboard

Copied

I have created an empty movieClip for loading images into. But I can't see why there is always a thin red border around this movieClip when I publish the movie.

 

Any ideas?

 

Thanks..screenshot.png

Views

65

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 10, 2022 Mar 10, 2022

Copy link to clipboard

Copied

Hi.

 

Can you provide some screenshots for your FLA and code?

 

Regards,

JC

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 10, 2022 Mar 10, 2022

Copy link to clipboard

Copied

 

 

I'd have to do several screenshots as you may be able to see from this overall shot. Look to the right.

I also have a number of comments on there which expands the length of the sheet.

So I'll post the code that applies, underneath.

I'm not sure right now whether I need to post the whole thing here.

Creating and loading the movieClip and loading images into it were the first two things that I put into the script.

The problem has always been present.

 

I have nothing else that applies to either the movieClip or the images being loaded into it.

The rest of the code is for:-

 - ensuring that the images go back or forward in the right order from any point.

- parsing the xml file for the images.

- for using xml data to load image titles and links and adding to a basket.

- mouse events.

- text formatting.

The other screenshot is of the instance of the emptyMovieClip instance properties.Untitled1.png

////From The main class file////////////////////////

//For the movieClip.

public var imageLoader: MovieClip = new emptyMovieClip();


imageLoader.addEventListener(Event.ADDED_TO_STAGE, loadMovie);


function loadMovie(): void {

galleryL: x = (stage.stageWidth - imageLoader.width) / 2;
galleryL: y = (stage.stageHeight - imageLoader.height) / 2;

imageLoader.removeEventListener(Event.ADDED_TO_STAGE, f);
}

//For the image loader

public var nextImage:Loader = new Loader();


addChildAt(imageLoader, 0);

nextImage.load(new URLRequest("../images/"+currImage+".png"));

addChild(nextImage);

imageLoader.addChildAt(nextImage, 1);

 

///Other File///////////////////////////////////////

//emptyMovieClip.as

package {

import flash.display.MovieClip;


public class emptyMovieClip extends MovieClip {

public function emptyMovieClip() {
// constructor code
}
}

}

 

Untitled.png

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 11, 2022 Mar 11, 2022

Copy link to clipboard

Copied

Ok! Stand down folks...

 

I had the border set when I created the symbol.

Just looked into editing the movieClip instance and fond the border there.

 

Noob alert!!2015-04-20_puppet_gif.gif

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 11, 2022 Mar 11, 2022

Copy link to clipboard

Copied

**border

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 11, 2022 Mar 11, 2022

Copy link to clipboard

Copied

LATEST

**found.

I need to sleep

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines