Actionscript 3.0 :: 3D Video Flip And Pixelfumes Reflection Class?
Jan 12, 2009
just implemented the 3D Video Flip in one of my projects and I would like to add a dynamic reflection to it. I tried using the pixelfumes class to no avail. It seems like the fact that there is a button in the mc is messing it up. The pixelfumes class is pretty close to being what I want. It just seems to create a reflection way out of range.
View 2 Replies
Similar Posts:
Mar 6, 2009
i've added this reflection class [URL] to this simple .fla file, but i can't see any reflection [URL]
View 2 Replies
Nov 2, 2010
Does anyone know of a light flip class to flip a movieclip that is animated? Away3D is overkill for this project since this simple flip is the only 3D effect needed.
View 0 Replies
Feb 4, 2009
i am using 2 instances of an flv, and as you would expect they arent sync'd.so how do i 'clone' an flv in AS3 so that they are exactly the same?i have seen an example, but it was AS2, i am working with AS3, cs4..[URL]
View 5 Replies
Apr 29, 2011
Not sure if this is possible but I would like to reflect a swf or swc file selected by the user at runtime to find any classes that implement a certain interface. Can this be done or do you actually need a reference to the class you want to reflect using describeType();
Note - this would be done in actionscript.
View 1 Replies
Oct 27, 2010
I recently was sent the source to a set of Actionscript classes and libraries which allows flash devs to track faces in Flash by use of a computer's webcam. This is pre-written source that I am wanting to embed into a game I am designing so that when the person leans left or right, the character on screen will move left or right respectively.
Here's the problem, the face-tracking is working, but the video that is being pulled in from the webcam is reversed...it is not a true mirrored image. I'm assuming that there's a line of Actionscript in my code that needs to be modified so that the video is mirrored rather than be displayed reversed.I did some research and found a few solutions, but I haven't been able to successfully implement them...I don't know how. I've tried but I'm guessing I've inserted these lines of Actionscript into the wrong spot within my Main class. Here's the couple examples I've found:
ActionScript Code:
//Example 1
myVideo.scaleX = -1;[code]................
View 6 Replies
Nov 25, 2009
I would like to create a flip book which deploys flv video similar to the example below.
[URL]
I have purchased the HTML version of Flippingbook from the site below but have encountered various problems, in that it only supports Flash 9 +actionscript 2.0. Also the facility is problematic with zooming swf files. Great for flat brochures but not able to deploy flv video within swf files which is a shame.
[URL]
View 5 Replies
Feb 9, 2011
I have a pageflip project and have 15 swf. Some of the swf which having the image content are loading(fliping effect) too smoothly , but if the swf having text content are loading very slowly.
var ocf:Object = PageFlip.computeFlip (this.pageCorner.clone(),
this.lastFlippedCorner,
this.width/2,
[code].....
View 1 Replies
Oct 12, 2009
i want to flip a movieclip(i.e just like coin tossing).i want to work in main timeline since this is only a popup animation i cannot call extenal class.is there any method to achieve it???
View 2 Replies
Jun 23, 2011
creating a flip-book in flash (using AS3) . I've looked at the other flip-book programs and editors out there, and none really give the customization that my company wants.I have something working, but the page scoping seems to be off. The pages will turn back and forward with a button click but they flip out of order. However, it all runs fine with no error when the user clicks on the pages themselves. This is the code from the main timeline (where I'm getting an error).
View 6 Replies
Oct 13, 2011
Im trying to make a video class so I can put in my src and video dimensions to load up a video .. I am wishing to implement this in the following way
[Code]...
View 2 Replies
Mar 29, 2010
I pose this question to you. I have created a video player that functions off of the Video Class, netConnection and NetStream and up until this very moment works 100% as it should.The hang up I'm getting is that I have a onMetaData function that checks ALL of the flv's or f4v's metadata as it is loaded into the player, so i can use it to control some other elements of the player. Here is the code I am using:
Code:
my_ns.onMetaData = function (md:Object) {
for (propName:String in md){;
[code].....
View 0 Replies
Aug 23, 2008
I am trying to put together a class for playing video using the Video object. So far, I have only been successful in getting the Video object to fully work when not using a class setup. In the documentation, I have read that to use the Video object you have to actually drag/create the video object onto the stage. So, in my next attempt, I created the video object onto the stage within a MovieClip but still trying to use a class/linkage setup with the Video inside inside of a MovieClip container. No luck there either. Here is the basic AS2 script that is linked to a MovieClip that contains the Video object ("video" instance) within it.
Code:
class VideoTest {
private var nc:NetConnection;
private var ns:NetStream;
[code].....
I am getting the following error with this script.
Code:
Line 14: There is no property with the name 'video'.
Line 15: There is no method with the name 'video'.
View 3 Replies
Aug 6, 2009
I've got a document class (EgoGame.as) and another class (Ball.as) which has been duplicated to deal with several different video pieces. Inside the document class is a list of 'if' statements which decide which video should be played. At the moment I'm doing it the old fashioned way whereby if the condition is true....it tells the relevant Ball class to gotoAndPlay a certain frame within the linked movieclip...
[Code]...
View 1 Replies
Aug 11, 2009
I am making something flash flip like: [URL] but i want to do it in my banner 1000 width and 299 height problem is that i have few banner images i think 5 to 8 and i want to start my flip from "bottom-left" corner till "top-right"
View 1 Replies
Nov 17, 2011
I am new to actionscript 3 and I wanted to know if anyone could direct me to some websites (Tutorials) which can help me create a gallery like the one in the link but using AS3. Any help would be really appricated, I am not asking for the code just tutorials I can use to create someting very similar to it. [URL]...
View 4 Replies
Jul 15, 2007
Is there a way to make a MovieClip reflection using fully actionscript 2?
View 5 Replies
Dec 4, 2010
I have a picture that I want it to look like its sitting in the water how can I do this I have no clue is there water reflection effects in AS3 Flash?If there is can I have an example?
View 1 Replies
Aug 4, 2011
I have been looking at how to reflect a point in a line, and found this question which seems to do the trick, giving this formula to calculate the reflected point:
Given (x,y) and a line y = ax + c we want the point (x', y') reflected on the line.
Set d:= (x + (y - c)*a)/(1 + a^2)
Then x' = 2*d - x
and y' = 2*d*a - y + 2c
However there are two problems with this implementation for my needs:
My line is not described in the form y = ax + c (so I'd have to translate it, which is easy to do, but it means the process is slower). What if a is infinity ie. a vertical line?
Is there a simple way to calculate (x', y'), the reflection of point (x, y) in a line, where the line is described by the two points (x1, y1) and (x2, y2)?
Edit:
I've found a formula which does this, but it seems as though it does not work with lines that look like they have equation y = x.
Here it is in actionscript:
public static function reflect(p:Point, l:Line):Point
{
// (l.sx, l.sy) = start of line
[Code]....
View 2 Replies
May 24, 2009
So I followed the 3D Carousel tutorial, the first part of it and the coding worked fine, but the reflection is not working properly. I used a .PSD file and followed the instructions step by step. I added the action script code in the end, but when I take a look at the preview, the reflection image is displayed just like the original picture. Is the .PSD format a problem?
View 1 Replies
Aug 15, 2009
Does anyone know how to get rid of the reflection off the icons in the carousel?
View 3 Replies
Dec 27, 2006
i'm trying to create a "reflection" to scrolling text.i'm using a nice little scroller code that works very well on it's own. i thought just duplicating the movie clip and mirroring it would do the trick, but instead only the "reflection" bit is moving up and down, the rest of the items stay put.
i thought it might be a matter of changing instance names, but then the "reflection" is the same object, just mirrored vertically, so i'm not sure how one should go about doing this...i'm attaching both the FLA and SWF files...
View 3 Replies
Sep 19, 2009
I have an image and I want it to have a reflection and to apply an effect onMouseOver so that image bounces (like a rubber ball) until it stops.I found this example (http:url]....)that does exactly what i want (except I want it to bounce just one time per mouse over), but this is for Flex and I cant manage to translate it to Flash.
View 2 Replies
Feb 12, 2011
I have a .fla which loads thumb nails and when clicked shows the large image. It all works fine. I would like to have a reflection for each thumb how would I go about doing this, or how would amend my code to add the reflection.
Code:
var holder:thumbNail = new thumbNail();
var thumb:Loader;
var container:MovieClip = new MovieClip();
[code]...
View 3 Replies
Jun 10, 2009
I am trying to provide a reflection for the images(movieclips) that I loaded on the stage. For this purpose I am using a reflection class. The class can be used with action script 2. the reflection is working finely. Also after loading the image or movieclip, I tried to give tweening for that image or movieclips. Thus also it works finely. The reflection of that also moves along with the actual image. The problem comes with the resizing the actual image. If I resize the actual image, the reflection would not be seen under the actual image.Can anybody know why it may happening like that. After searching for a long time, I got this class.But unfortunately, the reflection would not be working when the image or moviclip resizes.
View 8 Replies
Jun 1, 2010
I'm working on a very simple dependency injector, reflecting on a types constructor parameters.But when ever I use the describeType on my custom classes, all I get in the constructor packet of the returned XML is something like this:
<constructor>
<parameter index="1" type="*" optional="true"/>
</constructor>
[code].....
View 1 Replies
Feb 3, 2011
I'm trying to create an image reflection at runtime, using this code I found on the WEB. It all seems to work fine as long as I'm loading an image from the local drive, but when I try loading an image from a remote server, the reflection no longer appears.[code]
View 13 Replies
Apr 3, 2011
Is there a way to "reflect on" static members of an ActionScript object (get all the static properties/methods of that type programmatically)?
Why is that flash.utils.describeType(*) can only show non-static members?
View 1 Replies
Apr 29, 2011
What I've done so far is using your mouse you (click & release) you shoot a ball off in that direction using radians. Now what I'd like to happen is when the ball hits the wall it bounces off in it's reflection angle. Eg. if the ball hits the right-hand-side wall travelling at in a radians of -0.65 it should bounce back in the radians of about -2.5
View 3 Replies
Nov 20, 2011
I have a image loaded in a sprite, the image is from a remote location [URL]. Once the image is loaded in the Loader Object i then want to create a reflection of the sprite that contains the image. Now this works when i run the application in flash IDE but when i embed this flash application inside a HTML page the reflection images do not work. Why is this, the code is below.
////////////////////////////////////////////
// Project: Flash 10 Coverflow
// Date: 10/3/09
// Author: Stephen Weber
////////////////////////////////////////////
[Code]....
View 1 Replies