ActionScript 3.0 :: RotationY And RotationX Causing A Flickering?
May 26, 2010
I'm using(tweening) the rotationY and rotationX properties on movieclips a layer above a background, bitmap or video, in two respective projects. There is a flickering of the movieclips and some bizarre distortion going on. I can't seem to find anything on the web about this, -has anyone else encountered this problem? Is it a known bug? Is there a workaround?
View 2 Replies
Similar Posts:
Aug 2, 2009
What do scaleX, scaleY, rotationX, and rotationY do?I'd like to test it out myself but I'm completely new to Flash CS4 and I don't know how to control these values outside of ActionScript
View 3 Replies
Apr 21, 2009
When I change the rotation of a movie clip, and apply PerspectiveProjection, all mouse events applied to that movie clip and all the movie clips inside that movie clip break.The mouse event bellow will not work for me.
a_mc.rotationX = 1;
a_mc.rotationY = 1;
a_mc.rotationZ = 1;[code]........
View 2 Replies
Jan 28, 2012
When I use 3D rotation tool, there is an option called global transform, if it turned off, the object would rotate by its own axes, this is exactly what I want. How can I do rotatation like that with AS3 code? Is there any property if changed then rotationX/Y/Z would rotate object by its axes?
View 4 Replies
May 31, 2011
I have to use Flash CS3, so I can't use the properties rotationX, roationY and rotationZ.I have a movieclip, that looks like this. It is now flat, no 3D rotation or shearing But what I want is that this movieclip has a rotationX, or that it is a bit in perspective like this: As I said, I can't use rotationX, so I have been playing around with Matrix. But I can not get it right.Here is how I try to do it
myMC.transform.matrix = new
Matrix(1,0.15,0.35, 1, 0, 0);
And this is the result get the matrix right, or is there another way?
View 3 Replies
Nov 30, 2009
my_mc.rotationX = 50 does not work but my_mc.rotationX += 1 does, when inside an enterframe routine; I have also tried my_mc.transform.matrix3D.appendRotation( 50 , Vector3D.X_AXIS), but also does not work;
View 2 Replies
May 23, 2010
when you rotate fe. with greensocks engine on the X/Y/Z axis with text movieclips, the final state is never crisp with me.lets say your clip is at rotationX 30and tweens to 0 , in other words it starts at an angle and displays full frontal at ends. no matter what i try, the font has certain parts crips, certain parts blurryI've been spending this sunday with all different kind of fonts, embedding, textfields, fontsizes (as you know certain fonts have their "sweetspot" size, etc, etc, etc, it just doesn't get sharp after the rotation.Funny enough, when i trace out my rotation angle it says 0i even tried an onComplete event to force its properties to zero. but to no avail.
could make a bitmap data file from my text, but come on... why do they implement 3D while the results are off? Really would like to hear some tips here because i am tempting to go back at away3D. I was hoping with flash CS5 their 3D render for textfields would be alot better compared to "crash"Cs4Yep theres a slight annoyed undertone here. To me, it should be fundamental or at the very least, tweak-able like image resizing with "smoothing".
View 5 Replies
Dec 18, 2010
I'm encountering a weird phenomena. I have a multi nested display object structure. Some of the deeper display objects have MOUSE_CLICK events. But as soon as I set main display item container.rotationX = 5 then the mouse events don't work anymore.
View 10 Replies
Apr 8, 2009
I don't know if this would be more appropriate under the 3D forum but it could go either way. I'm having a problem: when I access the 3D rotation properties of a DisplayObject (specifically a MovieClip containing a Loader and some TextFields), it becomes bitmapped and loses its scalability. Is this supposed to happen, and is there a way to regain scalability after rotationX/Y/Z are set to 0.0?
View 1 Replies
Jun 10, 2009
I created a full flash template website loading external swf's.Lately, I managed to add a fake3D rotation with AS3 and CS4 to this global template with enterFrame.Problem : some of my external swf use a vertical scroller also using an enterframe function based on a startDrag bar with the x / y position of the mouse, the scroller dont work anymore.
View 8 Replies
Feb 1, 2011
i am playing around with the rotationX/Y/Z properties available in flashplayer since version 10. for testing purpose i created a cube and put canvas objects on three sides of it (top, front, bottom) and created a tween to get the values required for turing by 90 deg. turning the cube (a canvas) using rotationX = xx works well when the three side-canvas objects are small and filled with a not-to-complex element hierarchy. when using larger and more complex content it slows down. the next idea was to remove the canvas elements content and replace it by a snapshotimage of the content instead before starting the turn, after the turn is performed the original content is put back on the sides again.
this results in a good perfomance increase. using a tween the last step of rotation is done in the function that is called as the tweenEnd handler. in this function also the process of copying the canvases content back is performed. unfortunately this results in a short hang of the cube right in that last rotation step, the reason for which is that rotation and copying back takes place at the same time. so i could wait for some time after having called cube.rotationX = endValue by using a timer or setTimeout(func, 500), but this is ugly. so my question is: after having called cube.rotationX = endValue a period of time is required to calculate data for the rotation and do the rotation itself. is there a way to find out the point in time when the rotation has ended, so that then the copying can be started ?
View 2 Replies
Apr 17, 2011
Any smart people out there who can tell me why this function Im working on to automatically sort the depths of objects placed on the 3D plane is only working intermittently? It seems to work every second or third iteration?[code]Is getChildAt(i) reliable? IE does it return the same order each time it runs or is it based on depth? looking at the manual suggests that it's probably the latter so I guess I'll need to make my own array ordered by the time the sprites were added to the parent and work from there. Is there a better way?
View 1 Replies
Aug 15, 2010
I am trying to animated two images on axis with rotationX command. it's working when the picutre comes in 90 degree it gets overlapping. I am attaching the picture for your reference
View 7 Replies
Sep 26, 2010
I've created a flash card class in ActionScript that uses a tween to flip the card over the y-axis (i.e., by using rotationX). I also use the bounds property of startDrag so that, when you drag it, its movement is locked on the x-axis. (There's also a method for switching between dragging and flipping, but since that's not broken, there's no need to discuss it further).
Here's my problem. If I haven't yet flipped the flash card over, the card drags fine. If I flip the card over and don't use bounds in startDrag, it works fine. But if the bounds property is set and then I try and drag the flash card after it's been flipped, the movement goes all haywire. It basically jumps back and forth between the two ends of the bounds' rectangle.
Is there any way you can think of to solve this problem? Alternatively, is there any way to use sprites to limit movement? For example, would it be possible to place a pair of one-pixel-thick horizontal lines on the top and bottom side of the flash card, set their alpha to zero, and somehow stop the flash card from moving past the lines?
View 4 Replies
May 17, 2011
I am trying to apply rotationY/X/Z to an externally loaded image. The problem is that when I rotate the image in '3D', it does not appear. When I apply normal rotation, the image does appear. I have verified that the jpg is loaded, just does not display after rotationY/X/Z. The code below are snippets of my attempts.
PHP Code:
//LOAD IMAGE
public function load_img():void
[code].....
View 1 Replies
Sep 11, 2009
Is it possible to use rotationY on an MC that has an image inside? I am trying it and it does not seem to work. Is there another way to do this?
View 1 Replies
Feb 22, 2009
I have this movieclip which i would like to set an rotationY in 3d space. I want the rotationY angel to have a value so that the right side of my movieClip faces the center of the stage. Like an arrow in a dartboard. I thought this was easy to accomplish using simple trigonometry like this: (before the testMC is rotated in Y space, it has a widh of 1000) testMC.rotationY = -(Math.acos((stage.stageWidth/2)/(1000))*(180/Math.PI));
View 1 Replies
Feb 23, 2010
I have this code which works fine in the main.swf, but the preloader.swf (which is the container swf file) generates this error: ReferenceError: Error #1069: Property rotationY not found on com.control.MenuControl and there is no default value.URL...)[code]
View 1 Replies
Jul 30, 2010
I've to do this handling on the x axis...so rotationX and x coordinate but i think is the same...i need the concept of that
View 2 Replies
Mar 14, 2010
I'm using a class which applies a visual reflection-effect to defined movieclips.I use a reflection-class from here:link to source.It works like a charm except when I apply a rotation to the movieclip.In my case the reflection is still visible but only a part of it.What am I doing wrong? How could I pass/include the rotation to the Reflection-Class?[code]
View 2 Replies
Feb 26, 2009
Code:
TweenLite.to(this, 0.5, {x:this.width/2, y:this.height/2, rotationY:180});
scale my object horizontally ?After the rotation it is wider....
View 1 Replies
Dec 18, 2009
Basically I have used PerspectiveProjection so I may rotate multiple images about their centre so they don't appear differently rotated because of their x-position on the stage.My problem is calculating the width of the rotated images. When I rotate an image 45 degrees, my width ends up being ~146, but based on the following (my comments from my code), it should be closer to 141:
Code:
// ^C
// / |
[code]......
View 7 Replies
May 11, 2010
I have an image which I have converted to a movieClip, I have exported the movie clip as an AS class and have some code in the class which adds some text to the movieclip. What I want to do is rotate the movieclip around the y axis but I get the following error:
ActionScript Code: Error #1069: Property rotationX not found on classes.LargeCard
How can I rotate the movieclip without using the timeline?
View 4 Replies
May 3, 2011
I am trying to use rotationY,X,Z on an externally loaded image. The image is displayed properly when no 3D rotation is applied, but does not appear afterwards. I have tried various things: loading the image into a bitmap, loading that bitmap into a Sprite/MC. What am I missing?Just to be sure, regular rotation works fine, e.g
PHP Code:
pic.rotation = 2;
....axis rotation does not
[code].....
View 1 Replies
Mar 30, 2009
When I move a movieclip with the rotationY option around the stage, the other mivieclips are cancelled from the stage when the rotated movieclip pass over the others. I use flash actionscript 3 CS4.
View 1 Replies
Mar 21, 2010
I am using the following code to rotate movieclips with a nice 3d flip effect. var flipTween:Tween = new Tween(mc,"rotationY",Strong.easeIn, mc.rotationY,mc.rotationY + 180,time,true)
However the rotationY is relative to the stage not the parent movieclip of mc.I.e: If the rotation effect on the movieclips looks different depending on where on the stage they are. I know that with the roation tool in cs4 you can rotate relative to the parent movie clip, how can you do this in AS3 code.
View 5 Replies
May 12, 2010
I'm getting an error of that type, thrown for a variable whose type is Sprite.To me that makes no sense at all because Sprite has a public inherited property of rotationX and rotationY.Just as a test I changed the variable type to DisplayObject and still had the same error returned for both rotationX and rotationY.
var imageC:Sprite = new Sprite();var imageD:Sprite = new Sprite();
.
.
.
imageC.rotationY = 0;
This is the error:
Scene 1, Layer 'Layer 1', Frame 1, Line 149 1119: Access of possibly undefined property rotationY through a reference with static type flash.display:Sprite.
View 1 Replies
Apr 24, 2011
As you can see from the image, even if rotationY property of all 4 items are the same, they do not rotate at same amount. Each image are inside of a container and containers are added to stage. Why is it the case?
View 2 Replies
Jul 14, 2010
I have a Movieclip on which there is a Video Player in the left and thumbnails in the right. The thumbnails are of other videos and aligned in 4x4 grid. Every thumbnail has a small description (textfield) below it. The number of thumbnails are dynamic and there may be n number of videos. So I have written a pagenation code for them, by which 16 thumbnails will be visible on each page. Now when I change one page to other, I need to rotate the thumbnails with text in Y axis and display new thumbnails and their respective text. I have embedded the font Arial and I am adding the textfields from as3. But even after rotation, the text becomes blurred. I am setting the following properties:
TextFormat:
colorsizealign
TextField:
embedFontsmultilinewordWrapautoSizeantiAliasType
Library Font:
Arial Regular (No Bitmap Text)
View 1 Replies
Jul 22, 2009
I would like to have a website with a frame type all around it. I would then like everything outside the frame to flicker sort of like a TV.
Like a SCI-FI type flicker where a signal is being transmitted and broken up.
View 2 Replies