Editing A Image Centre?
I am trying to make a animation of a walking tiger, but I am having a hard time getting the leg to rotate (swing) on the right axis...is there a way of changing the centre of the image to rotate from the top centre....any help would be appreciated....thanks.
FlashKit > Flash Help > Flash Newbies
Posted on: 12-25-2003, 08:56 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Editing Centre Point...
Is it possible to edit the centre point of an image or a vector graphic in flash, and how can I do it?
Centre Image
Hi guys,
I'm building a portfolio using a movieclip viewer and am having difficulty centering the images once they have loaded using the loadmovie function. I have posted the actionscript below, if anyone has any ideas that would be wicked!
Also, in the thumbnail viewer when the site is opened initially the first thumbnail appears in the centre rather than on the left hand side, does anyone know how to prevent this?
Thanks
Paul
Actionscript below:
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
thumbnails = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
thumbnails[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
thumbnails_fn(i);
}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");
/////////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
prevImage();
} else if (Key.getCode() == Key.RIGHT) {
nextImage();
}
};
Key.addListener(listen);
previous_btn.onRelease = function() {
prevImage();
};
next_btn.onRelease = function() {
nextImage();
};
/////////////////////////////////////
p = 0;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 10;
}
}
};
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
}
function prevImage() {
if (p>0) {
p--;
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
desc_txt.text = description[0];
picture_num();
}
}
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+" / "+total;
}
function thumbNailScroller() {
// thumbnail code!
this.createEmptyMovieClip("tscroller", 1000);
scroll_speed = 10;
tscroller.onEnterFrame = function() {
if ((_root._ymouse>=thumbnail_mc._y) && (_root._ymouse<=thumbnail_mc._y+thumbnail_mc._heig ht)) {
if ((_root._xmouse>=(hit_right._x-0)) && (thumbnail_mc.hitTest(hit_right))) {
thumbnail_mc._x -= scroll_speed;
} else if ((_root._xmouse<=130) && (thumbnail_mc.hitTest(hit_left))) {
thumbnail_mc._x += scroll_speed;
}
} else {
delete tscroller.onEnterFrame;
}
};
}
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
target_mc._alpha = 50;
target_mc._x = hit_left._x+(eval("thumbnail_mc.t"+k)._width+5)*k;
target_mc.pictureValue = k;
target_mc.onRelease = function() {
p = this.pictureValue-1;
nextImage();
};
target_mc.onRollOver = function() {
this._alpha = 100;
thumbNailScroller();
};
target_mc.onRollOut = function() {
this._alpha = 50;
};
};
image_mcl = new MovieClipLoader();
image_mcl.addListener(tlistener);
image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);
}
Centre Image
I have created a photo gallery that loads images into a movie clip via an xml document. By default the movie clip is sized for landscape images but if I load a portrait image it loads on the left of the movie clip. How can I get it to load centrally?
CODEvar my_xml = new XML();
my_xml.ignoreWhite = true;
PhotoPath = newPath;
PhotoFile = newFile;
Photonr = 0;
fadeSpeed = 30;
my_xml.onLoad = function(success) {
if (success) {
_global.file = [];
_global.description = [];
_global.photonr = 0;
for (var i=0; i<my_xml .firstChild.childNodes.length; i++) {
_global.file[i] = my_xml.firstChild.childNodes[i].attributes.file;
_global.description[i] = my_xml.firstChild.childNodes[i].attributes.description;
}
_global.TotalNum = i;
loadMovie(PhotoPath+"/"+_global.file[Photonr],photo);
dynText.text=_global.description[Photonr];
}
};
changePhoto = function(direct) {
MaxPhoto = _global.TotalNum - 1;
if (direct==-1) {
switch(Photonr) {
case 0:
Photonr = MaxPhoto;
break;
default:
Photonr = Photonr - 1;
}
} else {
switch(Photonr) {
case MaxPhoto:
Photonr = 0;
break;
default:
Photonr = Photonr + 1;
}
}
onEnterFrame = fadeOut;
};
fadeOut = function() {
if (photo._alpha>fadeSpeed) {
photo._alpha -= fadeSpeed;
frame._alpha -= fadespeed;
} else {
loadPhoto();
}
};
loadPhoto = function() {
loadMovie(PhotoPath+"/"+_global.file[Photonr],photo);
dynText.text=_global.description[Photonr];
onEnterFrame = loadMeter;
};
loadMeter = function() {
var l, t;
l = photo.getBytesLoaded();
t = photo.getBytesTotal();
if (t>0 && t == l) {
onEnterFrame = fadeIn;
} else {
trace(l/t);
}
};
fadeIn = function() {
if (photo._alpha<100-fadeSpeed) {
photo._alpha += fadeSpeed;
} else {
photo._alpha = 100;
onEnterFrame = null;
}
};
my_xml.load(newFile);
Dynamically Centre Image In MC
I am dynamically loading images into a movie clip (MC), but as they load the images load from the MCs registration point which is fine if you want the image to load in the top left side of the MC.
What I would like to be able to dynamically change the registration point of the image to the centre when it is loaded. I would expect you would have to change the registration point of the MC (as the image takes on the properties of the MC).
Basically I would like the images to load from the left, right, top middle, botton middle etc... so that per project I can dynamically change the above.
Here is an example of what I am trying to achieve. I have everything else down pat except the images positioning....
http://www.evb.com
In the above case the images are loaded and their centre point becomes the centre of the image and the frame then expands or contracts depending on the image width and height.
Even if I could be able to make the centre point in the middle would do me...
Can anyone help??????
How To Centre An Image Resize With AS
I'm new to AS and trying to learn new stuff by going through Kirupa's tuts and old threads, I came across this image resize from Best of Kirupa.
http://www.kirupaforum.com/forums/at...achmentid=1886
At the moment all loading images as well as frame are resizing with top left corner always in fixed position.
I've been trying to amend the existing AS, so both frame and images always stay and do the resizing at horizontal centre of the movie?
...without any luck so far.
Any tips from AS gurus out there would be greatly appreciated.
- Flash MX -
How To Centre An Image Resize With AS
I'm new to AS and trying to learn new stuff by going through Kirupa's tuts and old threads, I came across this image resize from Best of Kirupa.
http://www.kirupaforum.com/forums/at...achmentid=1886
At the moment all loading images as well as frame are resizing with top left corner always in fixed position.
I've been trying to amend the existing AS, so both frame and images always stay and do the resizing at horizontal centre of the movie?
...without any luck so far.
Any tips from AS gurus out there would be greatly appreciated.
- Flash MX -
Using Tween Class To Resize From Centre Of The Image
HEy guys,
I have a rectangle on my stage called BG.
I want it to resize while remaining centre aligned, but when I use the following code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
var bgwidth:Tween = new Tween(bg, "_width", Bounce.easeOut, 0, Stage.width, 3, true);
var bgheight:Tween = new Tween(bg, "_height", Bounce.easeOut, 0, Stage.height, 3, true);
The top left corner of the rectanlge is aligned to the cnetre of the stage and it resizes from that point.
I;ve made sure the registration point of my shape is set to its centre also.
Can anyone help?
Centre Align An Anchor Point, Flash Image Gallery Using Xml
Hi there!
I've been following a tutorial (found at http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm) and I'm having difficulties centre aligning the anchor point inside the empty movie that loads the images from the xml document. At present the anchor point is located at the top left corner of the image so the images will not be positioned correncly if they are different dimensions. Is this possible using Actionscript? Can anyone help? I've attached the code that exists in the first frame in the timeline which controls the movie. The instance name for this MC is "picture". Thanks in advance
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");
/////////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
prevImage();
} else if (Key.getCode() == Key.RIGHT) {
nextImage();
}
};
Key.addListener(listen);
previous_btn.onRelease = function() {
prevImage();
};
next_btn.onRelease = function() {
nextImage();
};
/////////////////////////////////////
p = 0;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 10;
}
}
};
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
}
function prevImage() {
if (p>0) {
p--;
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
desc_txt.text = description[0];
picture_num();
}
}
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+" / "+total;
}
Image Editing?
How do I edit an image?. What my situation is, is I have a picture with a few white specs that I dont want on it. When I import it into the movie the white specs on the image show up and ruin the effect I ant to make. How do I get rid of these white specs? I want to edit the image in flash because all I need to do is put black over top of the white specs. Thanks
Editing A Gif Image
when ever i try to edit or erase someting on a gif image it dosnt work. Ill try to erase part of it but all it does when i let go of the mouse button it goes back to normal. how can i fix this? please please tell me.
Image Editing Help
Here's the problem:
I was in the middle of editing an image that I had dragged and dropped into flash 8 and I was trying to clear everything away in the image except the face. I'm trying to do a cartoon, and we've all seen the eBaums World, Newgrounds, MadBlast stuff where the heads are cleanly cut and put into the cartoon, so those are the results I'm trying to get. Anyways, Everytime I try to free-form select a part of an image in another program, it get's some kind of white "frame" around it, and Flash won't let me erase parts of an image. If anyone has asked this question before then I apologize, but it's really urgent as I'm doing an animation for a local Church youth ministry. If anyone can help please respond as quickly as possible. Thanks.
Help With Editing Image
hello Friends
I am trying to put a shining effect in my club's logo image. as I seen in the tutorial that firstly I have to select the portion which is required to be offered for a shining effect. I am trying to select the outline of the image with line tool and trying to fill it. But couldnt do it, it remains with some gaps(I think so) which are not visible and leads to NO COLOR fillup.
Please help, is there any tool by which a particular portion can be selected? I am trying to give a shiny effect (reflection with a running light) to an image which is somewhat similar to biohazard sign.
Editing An Image Flash MX
I want to edit an image I pasted in Flash (Made it in PSP), it won't let me draw/edit on it... how can I get it to let me draw/edit on it?
I can draw on it with the pencil tool, but when I let go of my mouse, the line I drew disapears...
[F8] Editing Image In Flash
hello Friends
I am trying to put a shining effect in my club's logo image. as I seen in the tutorial that firstly I have to select the portion which is required to be offered for a shining effect. I am trying to select the outline of the image with line tool and trying to fill it. But couldnt do it, it remains with some gaps(I think so) which are not visible and leads to NO COLOR fillup.
Please help, is there any tool by which a particular portion can be selected? I am trying to give a shiny effect (reflection with a running light) to an image which is somewhat similar to biohazard sign.
actually, I am unable to select the image. Nothing to do with mask.
http://www.kirupa.com/developer/flas...ne_effect3.htm
Ia m folowing the above tutorial. It says that first you have to select the area where the shine effect will be shown. I am unable to selec that area properly asI am using image with lots of curves and circles, like a Bio Hazard Sign. is there anyway which can help me to select a particular color range?
Editing This Image Slideshow
I have the following slideshow:
Code:
this.pathToPics = "animation/";
// fill this array with your pics
this.pArray = ["image0.jpg", "image1.jpg", "image2.jpg", "image3.jpg", "image4.jpg", "image5.jpg", "image6.jpg"];
this.fadeSpeed = 20;
this.pIndex = 0;
// MovieClip methods ----------------------------------
// d=direction; should 1 or -1 but can be any number
//loads an image automatically when you run animation
loadMovie(this.pathToPics+this.pArray[0], _root.photo);
MovieClip.prototype.changePhoto = function(d) {
// make sure pIndex falls within pArray.length
this.pIndex = (this.pIndex+d)%this.pArray.length;
if (this.pIndex<0) {
this.pIndex += this.pArray.length;
}
this.onEnterFrame = fadeOut;
};
MovieClip.prototype.fadeOut = function() {
if (this.photo._alpha>this.fadeSpeed) {
this.photo._alpha -= this.fadeSpeed;
} else {
this.loadPhoto();
}
};
MovieClip.prototype.loadPhoto = function() {
// specify the movieclip to load images into
var p = _root.photo;
//------------------------------------------
p._alpha = 0;
p.loadMovie(this.pathToPics+this.pArray[this.pIndex]);
this.onEnterFrame = loadMeter;
};
MovieClip.prototype.loadMeter = function() {
var i, l, t;
l = this.photo.getBytesLoaded();
t = this.photo.getBytesTotal();
if (t>0 && t == l) {
this.onEnterFrame = fadeIn;
} else {
trace(l/t);
}
};
MovieClip.prototype.fadeIn = function() {
if (this.photo._alpha<100-this.fadeSpeed) {
this.photo._alpha += this.fadeSpeed;
} else {
this.photo._alpha = 100;
this.onEnterFrame = null;
}
};
With a left and right arrow, with code:
Code:
on (release) {
_root.changePhoto(-1);
}
&
Code:
on (release) {
_root.changePhoto(1);
}
I want to though have 6 buttons and when button 3 is pressed for example image3.jpg to fade in, and whatever is previously loaded to fade out... Anyone know how to do this using the above code?
[CS3] Editing An Image Within A .flv File
Hi all,
I have been asked to update an image inside an .flv file. The image has a simple bubbles rising animation attached to it, but I have been told by a company who sold the flash that the image can be changed quite easily, if done correctly!! Unfortunately, this is all they will tell me as they would like me to pay a large amount just to change an image.
Could someone please help me save lots of dollars :-). I have a basic understanding of flash, but that ends when I am dealing with .flv files. If anyone can point me in the right direction I would be very grateful.
Basically, what I have is a menu for a webpage with an image inside that menu, with a basic animation attached, I have got so far as actually changing the image, but I cannot seem to include it so the animation remains.
Please help!
tristan webb!
Editing And Exporting An Image From An Swf?
I'm currently working on a website, and I'd like the visitors to be able to modify this wallpaper to their liking.
Here is my idea:
http://upload.creamedgeezer.com/images/sg-bgmaker.gif
The wallpaper is 2 layers, the background, and my vector artwork. I want people to be able to select the colors they want, pick a resolution, and export it at their selected resolution to a file they can download.
Can anyone help me with this? I would gladly pay you for your time, or give you credit on the site or something.
Thanks,
Jeff
Image With Editing Function
Link for the website
i would like to create a flash with the function like in the website (refer to link).
in that website, as what i see there is a static template and a dragable image.
i'm new to flash. can anyone simply tell me how the flash is being created...or concept....
and, is it the static template and the dragable is an image too?
Editing An Image In Flash
Stupid Question everyone will laugh at but is it possible to import an image, and then edit it in flash. So an image say of a face and then cutting round that image in flash with the rubber tool?
Thanks
George
Editing This Image Slideshow
I have the following slideshow:
Code:
this.pathToPics = "animation/";
// fill this array with your pics
this.pArray = ["image0.jpg", "image1.jpg", "image2.jpg", "image3.jpg", "image4.jpg", "image5.jpg", "image6.jpg"];
this.fadeSpeed = 20;
this.pIndex = 0;
// MovieClip methods ----------------------------------
// d=direction; should 1 or -1 but can be any number
//loads an image automatically when you run animation
loadMovie(this.pathToPics+this.pArray[0], _root.photo);
MovieClip.prototype.changePhoto = function(d) {
// make sure pIndex falls within pArray.length
this.pIndex = (this.pIndex+d)%this.pArray.length;
if (this.pIndex<0) {
this.pIndex += this.pArray.length;
}
this.onEnterFrame = fadeOut;
};
MovieClip.prototype.fadeOut = function() {
if (this.photo._alpha>this.fadeSpeed) {
this.photo._alpha -= this.fadeSpeed;
} else {
this.loadPhoto();
}
};
MovieClip.prototype.loadPhoto = function() {
// specify the movieclip to load images into
var p = _root.photo;
//------------------------------------------
p._alpha = 0;
p.loadMovie(this.pathToPics+this.pArray[this.pIndex]);
this.onEnterFrame = loadMeter;
};
MovieClip.prototype.loadMeter = function() {
var i, l, t;
l = this.photo.getBytesLoaded();
t = this.photo.getBytesTotal();
if (t>0 && t == l) {
this.onEnterFrame = fadeIn;
} else {
trace(l/t);
}
};
MovieClip.prototype.fadeIn = function() {
if (this.photo._alpha<100-this.fadeSpeed) {
this.photo._alpha += this.fadeSpeed;
} else {
this.photo._alpha = 100;
this.onEnterFrame = null;
}
};
With a left and right arrow, with code:
Code:
on (release) {
_root.changePhoto(-1);
}
&
Code:
on (release) {
_root.changePhoto(1);
}
I want to though have 6 buttons and when button 3 is pressed for example image3.jpg to fade in, and whatever is previously loaded to fade out... Anyone know how to do this using the above code?
Editing This Image Slideshow
I have the following slideshow:
Code:
this.pathToPics = "animation/";
// fill this array with your pics
this.pArray = ["image0.jpg", "image1.jpg", "image2.jpg", "image3.jpg", "image4.jpg", "image5.jpg", "image6.jpg"];
this.fadeSpeed = 20;
this.pIndex = 0;
// MovieClip methods ----------------------------------
// d=direction; should 1 or -1 but can be any number
//loads an image automatically when you run animation
loadMovie(this.pathToPics+this.pArray[0], _root.photo);
MovieClip.prototype.changePhoto = function(d) {
// make sure pIndex falls within pArray.length
this.pIndex = (this.pIndex+d)%this.pArray.length;
if (this.pIndex<0) {
this.pIndex += this.pArray.length;
}
this.onEnterFrame = fadeOut;
};
MovieClip.prototype.fadeOut = function() {
if (this.photo._alpha>this.fadeSpeed) {
this.photo._alpha -= this.fadeSpeed;
} else {
this.loadPhoto();
}
};
MovieClip.prototype.loadPhoto = function() {
// specify the movieclip to load images into
var p = _root.photo;
//------------------------------------------
p._alpha = 0;
p.loadMovie(this.pathToPics+this.pArray[this.pIndex]);
this.onEnterFrame = loadMeter;
};
MovieClip.prototype.loadMeter = function() {
var i, l, t;
l = this.photo.getBytesLoaded();
t = this.photo.getBytesTotal();
if (t>0 && t == l) {
this.onEnterFrame = fadeIn;
} else {
trace(l/t);
}
};
MovieClip.prototype.fadeIn = function() {
if (this.photo._alpha<100-this.fadeSpeed) {
this.photo._alpha += this.fadeSpeed;
} else {
this.photo._alpha = 100;
this.onEnterFrame = null;
}
};
With a left and right arrow, with code:
Code:
on (release) {
_root.changePhoto(-1);
}
&
Code:
on (release) {
_root.changePhoto(1);
}
I want to though have 6 buttons and when button 3 is pressed for example image3.jpg to fade in, and whatever is previously loaded to fade out... Anyone know how to do this using the above code?
Editing Image In Library
Hi i have a fla that has only 1 image, it in the library, everytime i try to edit it, it disappears....
can someone please let me know what going on [a href="gettocanada.com/Untitled-1.fla"]here[/a]
thanks!
Editing Image Only Located In .fla
Hi. This may seem like a dumb question to you gurus but I'm trying to edit a flash template and the bg image that I need to edit is only located in the .fla file. Is there a way to export the images from the .fla? I tried to open the image with fireworks but it just shows as blank. The image says it is a bitmap image using jpg compression in the flash file.
Thanks,
Nina
Image Editing Preferences Flash 8
Hi there,
I bought studio 8 student version with flash pro 8, fireworks etc, and i've used flash before, a bit with fireworks but not a vast amount. I'm working on a web banner which should be seen on an english newspapers education supplement website soon - yay. One thing, when i want to "edit" an image from within flash, it doesn't let me choose which application to use, instead i'm on default with photoed, the most wonderful of microsoft's applications...any help on how to change it?
[MX04] Editing A Image Effect
Hi,
http://www.flashkit.com/movies/Scrip...9209/index.php
I found this movie here on FK. Can anyone please tell if there is a way to have the images stretch with out having to click the buttons? For example, have them do a slideshow, where the new image appears after a certain amount of time automatically?
thanks.
Editing Image Text In Png For Flash Help Please.
Ok..new guy here and this is really probably a stupid question.
I am just learning about flash editing. I really don't want to BUILD a flash yet, but edit one in a template that I've downloaded.
Correct me if I'm wrong, but I assume I edit the .png files that are in the image folder inside the flash. I have a .png I want to change the text in. It opens in Fireworks as one layer without an editable region. Is it possible to edit that text?
When I got to the TEXT tool, it just selects the entire box and I can't get the text editor open.
I know I can clone the general area and insert text over the new area but I want it to have a continuous flow from one image to the next.
Am I missing something here? If that's not how the image is changed in a flash template, how do you?
If not using FW, can you please direct me to what pg I need to edit .png text that isn't layered?
Thank you for allowing me to ask a stupid question.
Mark
Can I Export A Bitmap Image For Editing?
Hello everyone,
I have almost zero experience with FLASH, but I took on a website project for a client and a request was made to edit a FLASH movie clip that a previous designer had made for the site to be. That person is no longer available.
Sounds simple, but I cannot seem to achieve it.
There is a bitmap image the client wants the background color changed on. This image runs about 60 frames, but I noticed it has a .jpg extension upon closer review. Could I export this for editing to say GIMP? Or could I edit the image directly in Flash 8? I have tried other approaches, but I end up altering the foreground of the image when I try to fix it in FLASH.
I have the movie clip in both .fla and .swf
Any help would be appreceiated.
Thanks,
Onequickmemory
Editing A Pasted Image In Flash
Hello, having pasted an image into flash I'm trying edit it. For example, eraser, paintbrush etc.
It does not let me however and seems to not alter the image in any way even though it's selected in the items section. How do you enable editing of an image in flash?
Thanks
Right Click Options Missing On Image Editing
Well I figured it was time to take the plunge and start learning a bit more about Flash. Using Flash 5 I grabbed a template and started taking it apart to see how things work. I was able to change quite a few things and modify the fla. Now I would like to play around with some of the graphics and this is where I run into a problem. If I open the fla using File/Open I can access all the clips, buttons etc. using the edit symbols button in Flash 5 but the jpg and audio files don't expand even though they show the arrow like they should. When I try and open the FLA as a library I can see all the images and sounds but every option on right click is greyed out. I know I must be missing something simple here.
Or maybe not...=/
Any suggestions for me?
Thanks in advance for the help....
Request : Image Editing Tool With Flash
Hi,
I don't know if I am in appropriate forum but this is what I search :
I was wondering if there's a way to make an image editing tool with flash :
I want to be able to open an image , do some operation like adjust contrast or brightness.
I would appreciate an url, a part of a script or something else.
Thank
You can see this post on other forums
Image Editing In Flash - Fliping And Contrast
hey all developers,
i am developing one image composing application in flash.
it should have capabilities to flip, rotate and scale image.
as well as brightness and contrast settings.
and paint application.
all dynamic.
paint is done using drawing api.
but cant figure out how to do flipping and contrast settings.
because there is no method for movie clip to do flip and contrast.
please guide me if anyone know the trick, to simulate this
functions.
in flash.
if it can be done in other language and then embeding in flash then
it will be fine too.
thanks.
Editing Flash Image Gallery So There's A Next Button And Problems With Simpleviewer
Hi,
I really don't know how to use Flash and would like to setup a simple image gallery and so have tried using http://www.flashimagegallery.com/demo/gallery/ but annoyingly there's only a back button. This is irritating because there's over 50 photos. Is there anyway to add a NEXT button? I've emailed the creator a couple of weeks ago but have heard nothing.
Also, I originally tried using simpleviewer. It seemed to work fine on a pc and then I uploaded it to a new host and now Macs cant see it, or those using Firefox and now strangely the first few pictures dont come up.
Any help would be much appreciated
Thanks
Belal
Editing Instance Without Editing Symbol
Hi I'm having some trouble editing instances without editing the whole symbol.
I know that when you double click on something it takes you into symbol editing form, but how would you put action scripts on different frames of two instances?
How To Centre A Pop-up?
Does anyone know the exact html code to make a pop-up window appear in the centre of the screen? I also need the code to put into the Onclick operator in the button. Thanks.
Jack
http://www.jr247.co.uk
How Do I Centre It?
Hi,
I have created a presentation for a cd rom. I have made it into an exe file and want it to load an swf file when I click the appropriate button. I have used the LoadMovie command and it loads the swf fine BUT my exe has a fullscreen fscommand at the beginning and when it loads the swf file I need the swf file to appear in the centre of the screen, not just anywhere....how would I do this guys???
regards
swerve123
How Do I Centre It?
Hi,
I have created a presentation for a cd rom. I have made it into an exe file and want it to load an swf file when I click the appropriate button. I have used the LoadMovie command and it loads the swf fine BUT my exe has a fullscreen fscommand at the beginning and when it loads the swf file I need the swf file to appear in the centre of the screen, not just anywhere....how would I do this guys???
regards
swerve123
Dragging Something About Its Centre
I'm trying to make it possible to click and drag an mc/button, so that it rotates about its centre and doesn't actually move left/right, or up/down.
I only want this to happen when the mouse is clicked and over the item.
I've already tried doing this with (mouseMove) and (mouseDown) with an mc,using (_rotate) but it doesn't give the feeling of "dragging it round"
Anybody done something similar?
swills
Edit Centre
where the hell is the edit centre for objects in flash mx?
and why the bloody hell move it in the first place???
it used to be in [menu]Modify/Transform?Edit centre
thanks in advance
:|
Centre A Pop-up With Javascript
Hello,
I build a website with a pop-up in it and that pop-up has to come in the middle of the screen at any computer. any idea what javascript i got to use??
thanx
kroontje
Edit Centre, Where Is It
Right, i know mx has been with us or some time now, but i have just discovered that i cant locate "edit centre" that used to be in modify, transform
Does this nifty little feature still exist or has it been butchered away... and if so... why the F*** is this
Anyone pls!!
Centre Screen Pop-up
Now I've worked out how to get the pop-up window to work i now want the pop-up to appear centre screen as apposed to the top left the code on the button is below but what do i need to alter to achieve this.
on (release) { getURL("javascript:window.open('image1.html','imag e1','width=500,height=500,top=0,left=0,toolbar=no, scrollbars=yes,resizable=no,menubar=no,status=yes, directories=no,location=no'); void(0);");
}
Off Centre Oval
in my prog, when you input a future date (1st june) the oval that is shown is off centre, but i cant work out why, can anyone tell me?
file is HERE
Edit Centre
dear helper
in flash 5 it was modify - transform - edit centre.
could someone please tell me how to 'edit centre' in MX??
much appreciated
SmokyD
Centre Movie
Im having problems centring a movie. I have it set to publish at 80x80%, centre by centre in the HTML settings as well as default see all etc.
However once in dreamweaver the movie is anything but centre. It is in the top left hand corner despite telling it not to be.
Of course you could just make a table and centre it that way but then you are unable to keep the movie playing as a percentage as opposed to pixel size.
So, any coding or little tip that can centre my embedded flash movie?
Edit Centre, How?
I remember in Flash 5 you could "Edit Centre" and actully drag the registration point of a movie clip. How do you do this in MX? I am yet to find an answer.
I don't mean dragging the circle in Free Transform, I mean the actual little cross reg point, not the little transform cirlce.
Thanks for any replies,
J
Movieclip Centre
can i dynamically set the centre point of an externally loaded movie.
at the moment in my app, a user can upload an image, resize it, move it around but when it is rotated it rotates from the top left corner.
is there any way i can set the pivot point to be in the centre of the clip so that it rotates from the centre.
sorry if i am not using the correct terminology here; kinda new at this.
Centre Of Box Orientation
Hiya!
I'm having a huge problem with a movie clip loader I am trying to import photo's into a rectanglar box as a movie loader from buttons that have the following action script on:
on(release) {
mc_loader.loadMovie("l1.jpg")
}
The script isn't the problem, the button displays the correct photo in the loader box, but the top left hand corner of the photo is in the middle of the loader. This means that the image is all wrong.
How do i change the orientation of the centre of the loader to the top left hand corner?
Thanks, if you can help it will save me many headache's!!
Claire
Zooming From The Centre
Now I thought it used to be you just moved the registration /transformation point, (they're the same thing, right?), type in your actionscript, and the tween would be all sensible and zoom from the centre out.
Not working like that for me.
Not with
Code:
mcMasterHolder.scaleX = mcMasterHolder.scaleX + 0.1;
mcMasterHolder.scaleY = mcMasterHolder.scaleX;
or
Code:
var myTween:Tween = new Tween(mcMasterHolder, "scaleX", Regular.easeOut, mcMasterHolder.scaleX, mcMasterHolder.scaleX + 0.1, 1, true);
var my2Tween:Tween = new Tween(mcMasterHolder, "scaleY", Regular.easeOut, mcMasterHolder.scaleY, mcMasterHolder.scaleY + 0.1, 1, true);
Both work perfect, excepting that mcMasterHolder stays stuck up in the left hand corner, no matter where I move the transformation point to.
What trickiness do I need to investigate?
And, does anyone know a good guide to the tween class/transition manager... the regular documentation and me don't get along.
Thank you.
|