Registration Point
I just changed to Flash 7 and I am going crazy. I need to change the registration point of a movie clip. ( I remember in Flash 5 you could move the registration point of an instance for example to change rotation pivot points.) I am creating a scroolling paneI,but my content starts at the middle inside the scrolling panel, because the registration point is at the middle of the content. I CANNOT move my content around it's registration point because it's a LONG list and if I move it to have the registration point at its upper left, half of it falls off the working area, and thus disappears when I scroll to that point (which falls off the working area.). Please, can anyone tell me how to:
1-Move the registration point ?
or
2-make the work area larger?
Thanks!!!
P.S I am unable to turn the actions window into "non expert mode" Anyone knows how?
FlashKit > Flash Help > Flash MX
Posted on: 07-02-2004, 01:00 PM
View Complete Forum Thread with Replies
Sponsored Links:
Registration Point Vs. Transformation Point
I'm extremely frustrated with the behavior of Flash MX 2004's registration/transformation points. I just learned that the distinction between the two just happened with the release of Flash MX 2004. I'd like to know how in the world I'm supposed to transform a symbol relative to its corner or side, seeing how the transformation point insists on being in the center of the symbol every time.
Let's say I have a 200x200 square shape. If I want the transformation point to be in the lower left corner, it looks like I have to:
1. Put the registration point in the center when I create the symbol
2. Double click on the symbol
3. Move the shape 100 px to the right
4. Move the shape -100 px up
5. Exit out of symbol editing mode
which is five times more complicated a process than if they had kept the behavior like it was. Or at the very least, change the Symbol Creation dialog box to this:
Or am I missing something?
View Replies !
View Related
Registration Point Help
I'm using loadMovie to load a jpeg into a movieclip. When I resize/rotate the movieclip with the jpeg in it, it resizes/rotates only from the upperleft corner. I know that loadMovie always loads movieclips with the registration point on the upperleft corner, but what if I want to resize the from the bottomright corner or the center. Is there a way around this? Any help would be appreciated because I'm really stumped on this one.
View Replies !
View Related
Registration Point Changes
MX2004Pro
I've got a masked image in a movie clip that I am zooming using a direct call to transitions using a variation on the code from http://www.kirupa.com/developer/mx2...ansitions2.htm.
Works very well with the zoom point anchored at the registration point of the movie clip.
If I create the movie clip with the registration point where I want it, all works as expected.
If I move the registration point of the movie clip after creating it (transform and move small white circle), the transition zoom takes no notice and still zooms about the original reg point.
I can do it the hard way, but would prefer to find something simpler and more elegant than brute force to anchor the zoom where I want it.
Is there another way to change reg point or some other simple workaround?
View Replies !
View Related
Registration Point
OK. This is driving me nuts. I can't seem to move the registration point to manipulate the scaling of a movie clip.
I select the movie clip - Select Modify - Select Transform - but, there's no "Edit Center Point" option.
I'm in a full version of Flash MX on Windows XP.
Any ideas why the "Edit Center" option is not available? How can I move the center point to the left edge?
View Replies !
View Related
Registration Point
Does anyone know how to change the registration point of a movie clip?
Lets say I have drawn an image of a baseball and I select F8 to convert to sybol and create a movie clip. The default location of registration is in the upper left hand corner. Say I forget to move the poiint to the center and click ok to save as a movie clip. How would I go about changing that if I need it to be in the center?
I know I can re-create the image, but just assume there is a more efficient manner.
Thanks,
Kerry
View Replies !
View Related
Registration Point Help
This is such a newbie question but how can I change the registration point of an object after I have created it. I can change the sizing/rotation point but the registration point seems cast in stone.
Thanks in advace for ant help.
Mark Hollas
View Replies !
View Related
Registration Point
i am trying to work through a flash tutorial and it wants me to move the registration point to the far left of my image. when i try to move the cross hairs everything is moving.
how can i set the registration point to the far left with out everything moving in flash 8
View Replies !
View Related
Registration Point
I created an animation and I put the animation with copy past all the frame to new MC. but the Registration point isnt in the middle how can I put the Registration point in the middle ? in the easy and best way?
View Replies !
View Related
Registration Point...
how can I change the registration point of an MC once I create it? I can't for the life find a spot to change it from "center" to, say, "top left" or "bottom right"
I always ending putting it inside another movie clip with the registration point I'm looking for.
Also, is there a way to do it with ActionScript?
View Replies !
View Related
Set Registration Point
Hi everyone,
I know it is not possible to change the registration point of a movie clip (unless using a custom made class), but I was wondering if you can actually specify it when you create the movie clip, using New Movieclip() ?
That would make sense, I mean, there must be a way to do that... right ?
Thx.
View Replies !
View Related
Registration Point?
Yeah i'm completely new to flash and was taking the first few basic tutorial. What exactly is the registration point? I dont really understand that.
also I like this site, but are there any more good tutorials that you would recommend for a flash beginner? and what would be good book for me to get? Any input would be greatly appreciated.
thank you
Johnny1time
View Replies !
View Related
Registration Point
Does anyone know how to change the registration point of a movie clip?
Lets say I have drawn an image of a baseball and I select F8 to convert to sybol and create a movie clip. The default location of registration is in the upper left hand corner. Say I forget to move the poiint to the center and click ok to save as a movie clip. How would I go about changing that if I need it to be in the center?
I know I can re-create the image, but just assume there is a more efficient manner.
Thanks,
Kerry
View Replies !
View Related
Registration Point?...
alright... i have seen this asked several times...
could someone explain about lining up movie clips in the main animation so they appear right where you want them to... some have spoken in relation to the registration mark being placed in the upper left hand corner...
i'm a tad bit confused... any takers?
View Replies !
View Related
Mc Registration Point I Think
Hi all I have made an xml gallery using the examples on this site but I want my images to resize from the left intstead of the centre. I have tried changing the reg point of the movieclip but cant seem to get it to work. Do I need to cahnge something in my code? I have posted it below. Thanks
Code:
var tnNr;
spacing = 10;
container._alpha = 0;
var curLength;
var cur, slideInterval;
var slide=0;
MovieClip.prototype.loadPic = function(nr) {
clearInterval(slideInterval);
preloader._visible = 1;
info.text = "";
this._alpha = 0;
this.loadMovie(pArray[nr]);
cur = nr;
temp = this._parent.createEmptyMovieClip("temp2", 998);
temp.onEnterFrame = function() {
var t = container.getBytesTotal(), l = container.getBytesLoaded();
var per = Math.round((l/t)*100);
preloader.bar._xscale = per;
preloader.loadInfo.text = per+" % loaded";
//
if (Math.round(l/t) == 1 && container._width != 0 && container._height != 0) {
preloader._visible = 0;
var w = container._width+spacing, h = container._height+spacing;
border.resizeMe(w, h, nr);
delete this.onEnterFrame;
}
};
};
MovieClip.prototype.resizeMe = function(w, h, nr) {
var speed = 3;
container._alpha = 0;
this.onEnterFrame = function() {
this._width += (w-this._width)/speed;
this._height += (h-this._height)/speed;
if (Math.abs(this._width-w)<1 && Math.abs(this._height-h)<1) {
this._width = w;
this._height = h;
container._x = this._x-this._width/2+spacing/2;
container._y = this._y-this._height/2+spacing/2;
info._y = Math.round(this._y+this._height/2+spacing/2);
container._alpha += 5;
if (container._alpha>90) {
info.text = iArray[nr];
container._alpha = 100;
if (slide) {
slideInterval = setInterval(slideshow, 4000);
}
delete this.onEnterFrame;
}
}
};
};
function galleryChoice(q) {
pArray = new Array();
tArray = new Array();
iArray = new Array();
my_xml = new XML();
for (var j = 0; j<curLength; j++) {
this.th_nav["thmb"+j].removeMovieClip();
}
my_xml.ignoreWhite = true;
my_xml.onLoad = function(loaded) {
if (loaded) {
gallery = this.firstChild.childNodes[q];
curLength = gallery.childNodes.length;
for (var i = 0; i<gallery.childNodes.length; i++) {
pArray.push(gallery.childNodes[i].attributes.source);
tArray.push(gallery.childNodes[i].attributes.thumb);
iArray.push(gallery.childNodes[i].attributes.title);
}
}
delay = setInterval(makeButtons, 50);
};
my_xml.load("gallery.xml");
}
function makeButtons() {
tnNr = 0;
clearInterval(delay);
for (var i = 0; i<tArray.length; i++) {
var thb = th_nav.thmb.duplicateMovieClip("thmb"+i, 1000+i);
thb.id = i;
thb._x = i%25*30;
thb._y = Math.floor(i/25)*30;
}
loadButtons();
}
function loadButtons() {
var tbox = th_nav["thmb"+tnNr].box;
tbox.loadMovie(tArray[tnNr]);
temp = this.createEmptyMovieClip("tmp"+tnNr, 999);
temp.onEnterFrame = function() {
bt = tbox.getBytesTotal();
bl = tbox.getBytesLoaded();
if (bt == bl && bt>4) {
nextButton();
delete this.onEnterFrame;
}
};
}
function nextButton() {
if (tnNr<tArray.length-1) {
tnNr++;
loadButtons();
} else {
activateButtons();
}
}
function activateButtons() {
mainButtons();
for (var i = 0; i<pArray.length; i++) {
var but = th_nav["thmb"+i];
but.id = i;
but.onRelease = function() {
container.loadPic(this.id);
disButtons2(this.id);
};
}
container.loadPic(0);
disButtons2(0);
}
butArray = new Array();
butArray = ["gal1_btn", "gal2_btn", "gal3_btn", "gal4_btn"];
function mainButtons() {
for (var i = 0; i<butArray.length; i++) {
this[butArray[i]].id = i;
this[butArray[i]].onRelease = function() {
galleryChoice(this.id);
disButtons(this.id);
};
}
}
function disButtons2(d) {
for (var i = 0; i<tArray.length; i++) {
if (i != d) {
this.th_nav["thmb"+i].enabled = 1;
this.th_nav["thmb"+i].box._alpha = 100;
} else {
this.th_nav["thmb"+i].enabled = 0;
this.th_nav["thmb"+i].box._alpha = 50;
}
}
}
function disButtons(d) {
for (var i = 0; i<butArray.length; i++) {
if (i != d) {
this[butArray[i]].enabled = 1;
this[butArray[i]].gotoAndStop(1);
} else {
this[butArray[i]].enabled = 0;
this[butArray[i]].gotoAndStop(2);
}
}
}
function slideshow() {
if (cur == pArray.length-1) {
container.loadPic(0);
} else {
container.loadPic(cur+1);
}
}
play_slide.onRelease = function() {
slide = 1;
slideInterval = setInterval(slideshow, 4000);
this.gotoAndStop(2);
stop_slide.gotoAndStop(1);
};
stop_slide.onRelease = function() {
slide = 0;
clearInterval(slideInterval);
this.gotoAndStop(2);
play_slide.gotoAndStop(1);
};
disButtons(0);
galleryChoice(0);
View Replies !
View Related
How To Set Registration Point Via AS?
hi there,
i made this little script which draws two exactly the same squares, except for the rotation. But it seems the registration points of the squares aren't in the center (of the squares). How can i set this via AS?
thnx in advance,
grenouille.
Code:
function drawSquare(x,y,w,alpha,i,rot) {
alpha = 100;
_root.createEmptyMovieClip("mc"+i,i);
with (_root["mc"+i]) {
lineStyle(1,0x00000,alpha);
moveTo(x,y);
lineTo(x+w,y);
lineTo(x+w,y+w);
lineTo(x,y+w);
lineTo(x,y);
}
_root["mc"+i]._rotation = rot;
}
drawSquare(100,100,50,100,1,0);
drawSquare(100,100,50,100,2,45);
View Replies !
View Related
Registration Point
So when you load a picture into a movie clip, it loads into the Top-Left hand corner.
Ok.
Umm, I really want it to load into the Top-Right hand corner. Is there a way?
I am loading it via AS - not placing it manually, as I have a variety of images which are of different dimensions....
What am I missing?!
View Replies !
View Related
Registration Point?
Right - please, someone... before i go insane.
I'm trying to draw a line that animates from being very small (the size of a dot) and then extends to a line say 200 px wide. Why oh why can i:
A) not have it so it animates from the center outwards
B) not have it so it animates from the right to the left instead of the left to right?
Is this something to do with the registration point from when i convert it to a graphic?
So for A) i would set the registration point to the middle and for B) i'd set the registration point to the right?
Yes/No ? Anyone?
Its like the simplest of things and its got me stumped.
View Replies !
View Related
Registration Point
Does anyone know how to change the registration point of a movie clip?
Lets say I have drawn an image of a baseball and I select F8 to convert to sybol and create a movie clip. The default location of registration is in the upper left hand corner. Say I forget to move the poiint to the center and click ok to save as a movie clip. How would I go about changing that if I need it to be in the center?
I know I can re-create the image, but just assume there is a more efficient manner.
Thanks,
Kerry
View Replies !
View Related
Registration Point
when i make a symbol in flash 7 it puts the registration point in the upper center, what happened to centering all the registration points automatically when a symbol is created????
View Replies !
View Related
Registration Point Of MC
Moving the registration point of a MC [as]Hi guys i made a rectangle and it needs to sit on the same Y cordinates and I will be changing the x cordinates and the height of the rectangle .
Well what I need is to change the registration point so when i change the height it stays at the same Y cordinate and it grows up. so what i need is my registration point to be at the bottom of my movieclip mcClip can some one help me with this ..
My code is at the bottom
Thanks
Rob
ActionScript Code:
//creates mcClip
var mcClip:MovieClip = this.createEmptyMovieClip ("mcClip", this.getNextHigestDepth());
// variables of arrrays for gradient fills
var aColors:Array = [0x990000, 0xFF0000];
var aAlphas:Array = [100, 100];
var aRatios:Array = [0, 255];
var oMatrix:Object = {matrixType: "box", x: 0, y: 0, w: 100, h: 100, r: Math.PI/5};
//next line calls draw rectangle function
drawRectangle (mcClip, 15, 100, 50, 200);
//draws rectangle function
function drawRectangle (mcClip:MovieClip, nWidth:Number, nHeight:Number, x:Number, y:Number) {
mcClip.lineStyle (0, 0, 100);
// next line starts fill (type, colors, alphas, ratios, matrix); matrixType, x, y, w, h, and r
mcClip.beginGradientFill("linear", aColors, aAlphas, aRatios, oMatrix);
mcClip.lineTo (nWidth, 0);
mcClip.lineTo (nWidth, nHeight);
mcClip.lineTo (0, nHeight);
mcClip.lineTo (0, 0);
// next line ends the fill of color
mcClip.endFill();
// next two lines moves the x and y location of the movie clip
mcClip._x = x;
mcClip._y = y;
}
View Replies !
View Related
Moving Registration Point In MX
Is it possible to move the registration point after creating a symbol? I know in Flash 5, you're able to Edit Center, but I don't see an equivalent to that in MX. The only thing close is the ability to move the "transformation point", but that's strictly for scaling, rotating, etc.
View Replies !
View Related
Registration Point Change
Hey guys,
I would like to know how to change the registration point of a movie clip so that when you alter the movie clip, there is a more centralized transformation. Thanks guys. I remember that there used ot be an edit center command in flash 5.
But it's not there in Flash MX. Any help would be greatly appreciated. Thanks
Don
View Replies !
View Related
Tracking Registration Point
Hi all
I would like to track the registration point of a movieclip. I put the movieclip orange_circle on the stage at coordinates orange_circle_x = 100, orange_circle_y = 100. I would like to be able to drag the movieclip to another location and have the variables orangle_circle_x and orange_circle_y reflect the new x and y coordinates automatically when I release the movie clip. Is this doable and can anybody give me a hint, clue and or direction.
Any help is greatly appreciated and Thank You in advance for your time.
Randy
View Replies !
View Related
How Do You Move The Registration Point?
I've got an object that I converted to a symbol, but when I converted it, I made the center the registration point. Now I changed my mind and want the lower center to be the registration point. How do I change this without starting over and making a brand new symbol?
View Replies !
View Related
Registration Point With Action?
Hi freinds
I wanna transform a movie clip that attach to stage (4 exam from 10 % to 100 %).but transformation happen from upper left cornner movie clip in attach movie. can i changed this point with action ?(4 exam from center)
(i think when we attach a movie the default registration point attach from upper left movie clip .is it true?)
Thanx
__________________
View Replies !
View Related
Registration Point Question
Is it possible to change the registration point of a MovieClip at runtime??
If not, can you set the registration point when you create an emptyMovieClip??
I want to create a clip as a placeholder for an image and then centre it within its parent clip at runtime...The registration point on a clip created at runtime is in the top left corner and it would be much easier if I could shift this to the centre of the clip.
Any suggestions or help greatly appreciated.
View Replies !
View Related
Flash Registration Point
This sounds really stupid but somehow my flash is screwed up and it is registering the far left of the movie clip in the creating mode and then in view mode it will register where the registry point is, how do i fix this?
View Replies !
View Related
Reference Vs Registration Point
When I use a motion guide to guide a MC I have this problem with the snap to the guide. My MC its registration point is in the top left corner and I've made sure the content of the MC is placed below & right from that point.
Now when I want to guide this MC, the snap to the guide happens with the reference point of the MC, somewhere in the middle of the MC.
I was wondering how I could change the reference point of the MC or if I could make it snap to the guide with the registration point.
View Replies !
View Related
Changing The Registration Point
Hi
I'm trying to change the registration point of a movieclip so that I can rotate it around that point.
I found setTransformationPoint() but I can't get that to do anything and the code is not coloured as a function when I type it in (I have MX2004 pro) and anyway I'm not sure if that is the function I want.
If anyone knows how to do this or a workaround please let me know
Thanks
View Replies !
View Related
|