Actionscript 3 :: Set Stage Vanishing Point In Flash?

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


Similar Posts:


Professional :: 3D Vanishing Point Stage Vs Movieclip

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

ActionScript 3.0 :: Flash CS4 - Set The Vanishing Point?

Jan 22, 2009

I spend hours trying to figure out how to change the new Flash CS4 3D property, Vanishing Point, dynamically.

The VP is a Stage property, this point can simulate the perspective effects of the third dimension, where the objects will converge to as long as his Z property is increased.

I want to change the VP position in runtime.

Does anybody knows if it's possible?

View 1 Replies

Professional :: Flash CS4: Change MovieClip 3D Vanishing Point

Jan 30, 2010

Is there any way, using Flash CS4, to change the vanishing point (ie projectionCenter) of a MovieClip? Or can Flash CS4 only adjust the stage's vanishing point? It seems that when I change it from inside a MovieClip it changes it on a global level, which is not what I want.
 
I've found I can use AS3 with PerspectiveProjection to change it at runtime, but I can't see the affect in Flash CS4 which makes doing the actual animation incredibly cumbersome.

View 9 Replies

IDE :: 3D Vanishing Point And Importing Swf's?

Mar 16, 2010

I created a 3d animation, put it in its own movieclip, and want to add two of them to the stage. Since they're in different locations, the animation looks different; I assume because the perspective registers around the stages vanishing point. I want both to look the exact same. The only solution I could think of was exporting the animation as an swf and importing that clip, and instantiating those seperately. The problem I am having with this is when I click import to library and choose the swf, nothing happens. There is no error, and no files are added to the library.

1. What am I doing wrong with the importing?

2. Is there a different/better way to make these multiple instances look the same in the final video?

View 1 Replies

ActionScript 3.0 :: Adjusting Vanishing Point?

Nov 20, 2010

one of my homework assignments for a begginer Actionscript/flash class. The goal of the assignment is to draw a shape then have it continuously drawn until it reaches the vanishing point in the center of the stage. I am pretty new to actionscript since this is the first class I have taken for it and I really dont know how to explain it better. I am trying to write the code for. This is the code I have so far it basically just draws the shape I am using and I am lost on what to do next:

Code:
package {
import flash.display.Sprite;
import flash.events.Event;[code].....

View 0 Replies

Flash :: Draw RGBA Point On Stage?

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

Flash - Draw 3d RGBA Point On Stage Not Using 3d Engines?

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

Controlling Vanishing Points For Each MovieClip Separately?

Jul 20, 2009

I'm using the new 3D tool in flash to let pictures rotate around there center. To not let it look distorted I will have to adjust the vanishing points for these images separately, however I can't find an option to control them separately. The seem linked for all my 3D movieclips. This will result in having only 1 moviclip animated right. So the question is: how do I control the vanishing points for each movieclip separately?

View 1 Replies

IDE :: Form Field Vanishing Text Effect

Mar 25, 2011

I am working with the web template located at the following URL: [URL] If you look you will see the "Contacts" page has a form with text (i.e. "Name", "Phone", "E-Mail", etc.) that vanishes when each text box is clicked. After editing the contact information above the form the effect was lost somehow.

View 3 Replies

Flash :: Perspective Projection Formula - Convert 3d Point To 2d Point?

Mar 27, 2011

How to convert 3d point to 2d point? I've found next formula in Internet(camera is situated in origin)

[Code]....

But these formulae give me strange result when z are less than zero(z<0) I need build line from A(100,100,100) to B (100,100;-100) As you can see these equations give really strange result when I try to convert B point in 2D dimension

View 1 Replies

Flash :: Drawing A Line From Point To Point In ActionScript3.0?

Oct 27, 2011

Lets say I have two objects, and I want to use action script to draw a line connecting them, which will update automatically as they are moved/ dragged.Can anyone show me how to do that, and also how to control line's parameters like colour, weight etc?

View 1 Replies

Symbol Anchor Point To Stage?

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

ActionScript 1/2 :: Getting A Color On A Point Of The Stage?

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

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

ActionScript 3.0 :: Modify The Horizon Point Of The Stage?

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

ActionScript 3.0 :: Scale MC About Point In Center Of Stage?

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

ActionScript 2.0 :: Stage Resize Registration Point?

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

ActionScript :: IDE - Movement - Stop Box At A Certain Point On The Stage

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

ActionScript 2.0 :: Moving MovieClip To Certain Point On Stage

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

ActionScript 3.0 :: Use Stage Coordinates As Registration Point For Transform?

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

ActionScript 2.0 :: Get The Color Code At A Point On The Stage Or In A Movieclip?

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

ActionScript 3.0 :: Finding Stage Coordinates Of Point Inside Rotated MC

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

ActionScript 2.0 :: Animation With SetInterval - Move A Movieclip From One Point Of The Stage To Another

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

ActionScript 2.0 :: Make A MC Point (rotate) To Where The Mouse Was Clicked On Stage?

Apr 25, 2006

how to make a MC point (rotate) to where the mouse was clicked on stage ?

View 1 Replies

ActionScript 3.0 :: Object Disappears Once The Registration Point Is Off Left Side Of The Stage?

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

ActionScript 3.0 :: Scaling Bunch Of Point Objects Relative To Center Stage

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

ActionScript 3.0 :: Error #1009 - When Hit A Certain Point Of The Stage It Opens A New Scene Where A Certain Animation Should Happen

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

ActionScript 3.0 :: Pushing Point Locations Into An Array - Point(x,y) Conversion Faillure?

Dec 9, 2011

Im pushing Point locations into an array to Shift em out later. like this:

tempmoves.push([new Point(roundx,roundy)]);
..
ob.movestoplayer = tempmoves;[code]....

What am i doing wrong?

View 8 Replies

ActionScript 2.0 :: Movieclip To Move Along The X-axis To A Certain Point And Then Back To The Starting Point Again?

Apr 12, 2007

It's been a long time since I've done any work with actionscript, and alas I've forgotten nearly everything. I've tried to look for a tutorial that would explain basic animation with actionscript, but the one that I found on Kirupa was no longer there.

Basically I'd like to do this:On the stage I have a movieclip and I'd like the movieclip to move along the x-axis to a certain point and then back to the starting point again. The moving speed of the movieclip should also be adjustable.

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved