Professional :: Set Regestration Point For Stage
Nov 17, 2010
for most things such as movieclips you can set the regrstration point it is possible to set the regestration point for the stage.i want the centre to become x:0 and y:0.an AS3 command for this would work fine alternativly is there an AS3 command that automatically centers the choosen objectso instaed of having object.x = 30 you would have something allong the lines of object.x = center.
View 3 Replies
Similar Posts:
Aug 11, 2011
So I've now realized that no mater what I do. my 3D vanishing point is relative to my stage coordinates and not my movieclip's coordinates. I'm trying to move my 3D movieclip from one point of the stage to another but with the strong perspective that I have, I do not want it to change. I would like to move it and preserve it's perspective and not change it's shape.
View 1 Replies
Aug 19, 2011
Is there a better way to have a symbol's anchor point default to the size of the stage? I'm having Huge problems because if two symbols are different sizes then I can't tell two objects to be in the same location.The workaround seems terrible. I have a guide layer for stage bounds. I'd have to duplicate that, add that to the objects that I'm going to want to convert to a symbol first, then remove it after it's converted. Is there anyway to automate any of that? That just seems like a terrible task to repeat over and over. I suppose one option is to have a blank symbol that is the correct size already, duplicate that in the library, rename it, put that on the stage, then put your objects in there. Wow, I'm not sure if that's better or worse!
View 1 Replies
Dec 12, 2009
Im making a shirt designer application for a companys website, and I need flash to make a bitmap of the shirt using the 'BitmapData constructor'.This sounds easy. Create the bitmap, and use a loop to set all the pixels to the color behind it.But what functions can I use to find the color of a single point on the document?
View 7 Replies
Jan 20, 2010
I'm working with a few designers, each of whom have created 3D animations (using fp 10 capabilities) for use in the same flash application. Each 3D animation is a unique movieclip that will ultimately be part of the same .fla file.
The problem I'm having is that each of the movieclips was created in a separate .fla, and each .fla had different settings for the vanishing point for the stage. This means that after importing the various moveiclips into my library, none of the visual assets are aligned as they were in their source .flas.
The good news is that only one of these movieclips is displayed at a time, so I don't need to be able to have multiple vanishing points; all I need to do is change the global vanishing point programmatically at various points during runtime.
What should I do? I've tried accessing root.transform.perspectiveProjection.projectionCenter and dynamically assigning it new Point(x, y) values, but they don't seem to be having any effect on the 3D movieclips.
View 2 Replies
Dec 17, 2010
We have values generator that outputs someting like FF00FF5F. We have some coordinates like 50, 300. We want to draw on stage. (I mean we opened new .fla doc in flash, pressed f9 and started coding, sorry - I am new to flash)
View 1 Replies
Oct 21, 2009
I'd like to draw a furniture in Flash in actionscript. Actually It has done. My problem is the horizon point of the stage. The acceptable figure of the furniture is at that point where it hangs out from the stage. (size of the stage is 1024x768 and this point is 700, 600 so the furniure isn't in the centre of the stage.)
It's occured because flash draws for example a cube in the centre of the stage. So my question is that I can modify the horizon point of the stage - for example to the 0,0 point, because It would be the best for me - or not?
View 1 Replies
Sep 8, 2011
basically just wondering if its possible to scale an MC about the center of the stage as opposed to the top left of the MC? I thought about setting the X & Y as stage width / 2 + MC width / 2 but cant as the user needs to be able to move the MC which is much bigger than the stage and zoom in on a point in the center rather than just the center of the MC.
View 2 Replies
Aug 29, 2006
Is there a way to set the stage resize registration point to the top left rather than centre. I.e. when i set dimension (in publish settings) to 100% by 100%, when the browser is resized the stage width and height change to match it but the far left hand point is now in the negative figures and anything that was on the left hand side of the screen is moved towards the centre. Is there a way of setting where the stage resizes from so i don't have to update the position of the movieClips everytime stage is resized (which causes a slight juttering effect).
View 1 Replies
Jun 30, 2009
I've done the tutorial that makes the box move across the screen, but i need to know how to make it stop at a certain point on the stage, can anyone tell me the code for this? This is the code I have so far:
[Code]...
View 2 Replies
Feb 25, 2005
I need some code thats going to move my movie clip to a certain point on the stage and then stop. Hopefully the code is attached to a keyframe and not to the movie clip itself.
View 1 Replies
Jul 16, 2010
I am trying to scale a movieclip with AS3, but always using the center of the stage as the registration point. The movieclip is larger than the stage to begin with, and uses a slider component to slide back and forth. I'd like to be able to scale the movieclip using a button, but it currently uses it's own registration point (upper left corner) as the source.
Is there a way to force the scale to use the center of the stage?
View 3 Replies
Dec 17, 2010
we have values generator that outputs someting like FF00FF5F. We have some coordinates like 50, 300, 10. We want to draw a point in 3d on stage. Not using PV3d or anething like that. thay say there is going to be no default z sorting but I can live with that...
View 1 Replies
May 9, 2005
is it possible to get the color code at a point on the stage or in a movieclip with actionscript? (like an eyedropper tool)
View 1 Replies
Jun 5, 2011
I have a Movieclip (MC1) with and moving object (OBJ1) inside it and using AS3. I want to do a hit test on it with another object (OBJ2) that is on the stage. Normally I would just do MC1.x + OBJ1.x to get my coords for the hit test. But how do I do it if MC1 has been rotated?
View 2 Replies
Aug 5, 2005
What I have is actionscript which moves a movieclip from one point of the stage to another, using two buttons to trigger it - fwd_btn and rwd_btn. I also use a setInterval function, so that when you press one of the buttons, it pauses a second before moving. Unfortunately, if you press the fwd and rwd buttons in succession rapidly, the animation gets caught in a never-ending loop. Also, note that every time the user clicks a button, if the movieclip is right in the middle of animating across the stage, I wish it to stop and pause, not complete the animation and then pause.
View 3 Replies
Apr 25, 2006
how to make a MC point (rotate) to where the mouse was clicked on stage ?
View 1 Replies
Sep 22, 2009
I am moving movieclips around my stage in relation to the users mouse location. All of my movieclips have the registration point placed in the default top left corner. As an object moves off the stage to the left it suddenly disappears when the registration point reaches the edge of the stage. I would like to see the whole object move off the screen instead of just disappearing when the left corner reaches the edge. I would move the registration point to the right side but I would like the movieclip to be able to move off all sides of the stage (top, bottom, left, right)
View 5 Replies
Jan 8, 2012
All though I can scale down the size of my objects and can shift them to their correct positions when scaling. I cannot shift them to the correct relative positions, relative to the screen centre.
Code:
level=1; //starting scale level
public function scaleOut(level:int) // scale to a level 1-4{
for (var r = 0; r < Main.ballArray.length; ++r){
// scale radius
Main.ballArray[r].bRadius *= (oldLevel / level);
[Code] .....
View 8 Replies
Aug 19, 2011
I'm having a huge problem with my Flash file; here is what I'm trying to do and whats happening:
I have a scene where with a movie clip that is controlled by the keyboard, when it hit a certain point of the stage it opens a new scene where a certain animation should happen.
The problem is every time the animation hits that certain point the code I was using continues running and flash shows me an error message.
Error message:
How can I make this code work only on the scene its placed so I won't get this ERROR?
Here is the code I'm using:
View 1 Replies
Aug 18, 2011
I'm trying to publish an iOS app out of Flash CS 5.5. I'm trying to point the certficate file I just downloaded off Apple but the certicate file is all greyed out and I can't choose it.
View 3 Replies
Mar 20, 2008
I have a movie clip on my stage with various elements in it. When I edit this movie clip all the coordinates for the various elements have really random values because the registration point is not set to the top left corner of the symbol but I can't find any way to change the registration point - nothing I've found online so far works.
View 3 Replies
Dec 10, 2009
how to make a video start playing at a specified point in the middle of the video rather than from the beginning. Not sure if it's something that easily can be done in Dreamweaver or if it's involved with the flash settings.
View 21 Replies
Apr 5, 2011
I've been using the Adobe CS5 collection for nearly a year now but today is the first day I've decided to give Flash Professional a go.I'd tried creating a looping animation in Flash Catalyst but have had no luck at all (I'd followed a couple of suggestions such as using an flv movie as a timer but nothing seems to work for some reason), so I thought I would do it the proper way in Flash Professional.So far I have figured out how to import images, convert them to symbols,create a motion tween with key frames and do the animation. All this is good, but now I want the animation to jump back to a few seconds after the movie begins and play until the end,then jump back to that point again.Basically when the animation first starts it fades in for a half second or so,and went I want it to loop around I want this fade in missed out.
View 4 Replies
Jul 5, 2011
how?
View 1 Replies
Feb 29, 2012
When load an image into a instance, I can't align them because the reg point is different.
View 3 Replies
Mar 15, 2010
This is giving me such a headache.I have a movie clip and it has a centered registration point but the transformation point is in the top left corner. I want both to be in the center of the MC. I want a little circle with cross-hairs in t in the middle of my MC, if at all possible without moving my MC. But I cannot get that damn cross-hair to budge from the top left corner! When I go into the info window and change the X-Y values of the transformation point, the whole MC just moves to a new position. The infuriating things is, I've done it before but I just can't seem to work out what I did. Please don't tell me to drag the registration point in free transform mode. I can do that, but I cannot drag the transformation point in the same way.
View 9 Replies
Dec 5, 2010
I have an object which is converted into a symbol. I double click on this object/symbol and it goes into its own seperate timeline. For my coding purposes I would like to know how to change the registration point of the symbol so it moves along or is addjustable on a symbols its own timeline so a can create animations on an objects timeline without screwing up my codeing because objects don't register when their moved away from the registration point the compiler still thinks that the registration point is where it was previously.
View 8 Replies
Apr 7, 2011
I'm trying to get a triangle to spin in place,
View 7 Replies
May 30, 2011
I'm having some troubles with an animation I'm working on. I messed up some the timing in some parts where there needs to be audio, and I don't want to go to the very back of the timeline and make all my frame sequences fit the audio that way. I want to select all the clips from one point on, drag them back until the audio fits, and then go to the next part the audio doest fit and do the same. Unfortunately, I've spent at least 20-30 minutes googling and trying different things in Flash that haven't worked.How can I select all the clips on the timeline before a certain point so that I can drag them all back a few seconds? (Without having to shift click all my clips, obviously).
View 1 Replies