ActionScript 3.0 :: PV3D Causes Movieclip To Spin Uncontrollably?

Feb 6, 2010

I have this script that creates a Tiltviewer effect and it works perfectly as long as you're on the page. However, if you switch focus to another browser window or tab, it begins to spin wildly and even takes a while to recover when the user comes back to the page.

ActionScript Code:
/* ----------  PV3D  ---------- */
import org.papervision3d.events.InteractiveScene3DEvent;
import org.papervision3d.materials.BitmapMaterial;

[Code].....

View 0 Replies


Similar Posts:


Professional :: Make A MovieClip Spin?

Oct 21, 2010

CS3 used to have this nice autorotate function where you could make a MovieClip spin - great for vehicle wheels and the like.  Has this been deprecated in CS4?  Can't seem to find it...

View 3 Replies

FLVPlayback Causing Slideshow To Loop Uncontrollably?

Jul 3, 2009

I can't seem to figure out how to get my slideshow to stop looping after I imported an external video. It will no longer stop at frame one, it simply plays all the way through the frames with no pause even though I have a stop(); on each frame.
 
The file functions properly until I added the FLVPlayback component.  It was looping even when the FLVPlayback component was in the library and exported for actionscript and in frame 1.  After unchecking these boxes it won't loop, however that all changes as soon as I drag an instance of the component on stage or inside a movie clip on stage.
 
The flash presentation I'm working on is designed so 1 frame is one slide and I need the video to be playable from 1 slide (frame).  Even after placing stop actions everywhere I could think of it still loops straight through with the FLVPlayback component. 

View 3 Replies

ActionScript 2.0 :: Make A Movieclip In Flash That Makes Buttons Spin Around A Point Depending On The Mouse Position?

Oct 9, 2007

I have recently followed a tutorial to make a movieclip in flash that makes buttons spin around a point depending on the mouse position. I have made my own version off this and would like to use it in a full flash website that i am making at the moment.

The only problem that i am having is with aligning this clip and as it is made up of script i cant physicly drag it to were i want it. I understand how to alighn this with x/y positioning but when i preview the flash in a web browser it is positioned correctly but then when i 'full screen' the browser this clip jumps about 4 inches down the page.

View 1 Replies

ActionScript 3.0 :: Integration Of 2d Elements With PV3D

Jul 26, 2010

how I might go about integrating a 2D layer on top of a Papervison layer.

my goal: attach some 2D elements to a 3d object that is shifting rotation in 3dspace. Specifically, I want to draw a 2d line - x/y origin is the bottom right corner of the plane.

1. Height? Width? I can obtain the screen coordinates of a given displayObject3D with the screen property, but this gives me the coordinates of the center of the object. I simply haven't found a method to return the value of a related coordinate (the bottom right corner...) Since pv3d is projecting the object as a flattened 2d image at render time, you would think there would be a built in method to get such a thing. I've played around with papervisions built in drawing api, and it does a fine job of replicating the 2d api - so that might be an option if I can't find the coords in a predictable way.

2. translating zoom and focus of the camera into a predictable pixel values. If I have a plane that I know the 3d location of, and, hypothetically, the camera is viewing it squarely, how would I take into account the zoom and focus to translate the initial dimensions of the plane into pixel perfect height/width values? (for example, to place a 2d rectangle over the 3d content.) I can do a scale hack where I've applied a manual multiplier (just through trial and error), but its not exactly pixel perfect...

View 0 Replies

Actionscript 3.0 :: Event Propagation In PV3D?

May 18, 2009

how event propagation works in PV3D its definitely not like the conventional Flash style. On a quick search i have been able to find out that its possible using the InteractiveSceneManager Class, but unfortunately

View 1 Replies

Actionscript 3.0 :: PV3D: Collada Not Visible?

May 19, 2010

having a weird issue with a loaded Collada model. I'm not getting any errors as such, and I can trace out the collada's position etc, I just can't see it! Am I missing something stupid? Or is it a bad collada model, and if so how do I test for it? I thought it might be a texture issue, but I tried other collada models without textures and they show up as wireframes straight away.Here's the code:

Code: Select allpackage
{
import flash.display.Sprite;

[code]......

View 3 Replies

ActionScript 3.0 :: Do A Drag And Drop In 3d Like PV3D

May 19, 2011

I'm wondering if its possible to use for example Papervision or something similar to make a drag and drop action in 3d space. But when I say drag and drop I mean, you drag the object and then place it in its correct spot, if you do not, then you receive an incorrect message for example.

View 1 Replies

ActionScript 3.0 :: PV3D ShadedMaterial On A Collada File

Jan 20, 2009

i'm doing a materialtest with papervision, using some collada-objects that i load with the DAE-class. one thing that i didnt get to work is creating a shadedmaterial, not a shader as a material but combining a shader and my original material (loaded with the collada-file) into a new material. i dont get any errors, and when i look at examples i think i'm doing the right things, although the examples always create a new object from scratch (and add the ShadedMaterial to the fresh materialslist).What i do is load the objects, store their materials in an array (i clone them once they're loaded), and use this object-loop to create the shadedmaterial and replace it with its original.[code]The original materials are actually Bitmap FileMaterials, but since that's a subclass of BitmapMaterial i think that should work just fine. You can see my test here, every material works except for the flatshaded+bitmap, when i use that one my framerate drops dramatically but i dont see any change.URL...

View 1 Replies

ActionScript 3.0 :: Sphere Planes Rotation In PV3D

Oct 21, 2009

The effect I would like to achieve is when the plane around the sphere is clicked, the sphere rotates so that the plane is in the middle of the stage. but there always some problems when i clicked the plane the sphere seems like never rotate to it's back.[code]

View 3 Replies

ActionScript 3.0 :: PV3D Gallery - Add Hyperlinks To The Images

May 26, 2011

I've been playing with this PV3D gallery that I found and dissecting and trying to learn everything I can, but I want to see if its possible to add hyperlinks to the images. Basically when the image resizes, I want it also to load a hyperlink after you click it again to remove the Image. I've included all the SourceCode in a zip file. If anyone can take a look and give me some pointers it would be awesome! edit*all the images are XML driven, I've tried making hyperlinks in the XML itself, but the way these gallery is setup is to load(img) not load(url)

View 1 Replies

Actionscript 3.0 :: PV3D Active HTML Links?

Apr 30, 2008

As part of a papervision project I need to render html text on to a plane. I've done this using a MovieMaterial and the html text renders perfectly as one would expect, except that any Code: Select all<a href=""> tags used in the html aren't working? Has anybody else experienced this problem? I've set the material to Code: Select allinteractive=true and that's working because buttons on the same material are working, just the html links aren't.

View 5 Replies

Actionscript 3.0 :: PV3D - MovieAssetMaterial Play And Stop

Jul 15, 2009

I have managed to create a Plane with a material that is a running movieClip with 8 frames. The thing is that I want to be able to play and stop that movieClip that's acting as the material of the Plane but can't seem to get to it... That movieClip called "walkingTest" that I'm using as the material, has another movieClip inside it called animatedDoll that is the one I need to play and stop.

[Code]...

View 2 Replies

Actionscript 3.0 :: PV3D - MovieAssetMaterial Play And Stop?

Aug 8, 2009

I have managed to create a Plane with a material that is a running movieClip with 8 frames. The thing is that I want to be able to play and stop that movieClip that's acting as the material of the Plane but can't seem to get to it...That movieClip called "walkingTest" that I'm using as the material, has another movieClip inside it called animatedDoll that is the one I need to play and stop. If I use:

walkingTest.animatedDoll.stop();

I get this error:

1119: Access to a possibly undefined property animatedDoll through a reference with static type flash.display:DisplayObject

But the weird thing is that this:

trace(movieAssetMaterial.movie);

Is working perfect. Here's the code...

Code: Select allpackage{
///
import flash.display.Sprite;

[code]...

View 1 Replies

Actionscript 3.0 :: Creating PV3D Textures With A Loop

Apr 28, 2010

I'm trying to create multiple objects in Papervision using Flash Builder, each one with it's own texture that I'm getting from an imported SWC.My code works perfectly if I apply one texture to all shapes, but when I try to put it into a loop I can't seem to get it to work. I think this is more of a syntax problem, I'm just not sure how to tell Flex what I want.Here's a chunk of the code that works fine, applying an "img1" texture to everything: [code]Does that make sense? I want each iteration of the loop to add a number to the end of "img" and apply that to the shape.

View 8 Replies

ActionScript 3.0 :: Adding Video Player To PV3D Cube

Sep 29, 2008

With some great tutorials on the web, I have created an interactive cube in PV3d with a movieAssetMaterial for one the faces. I would like to add a fully functional video player to this face. I have code for an AS3 video player that I placed in the main fla on the movie clip that acts as the material. The video streams in fine, but the interface does not work. I'm wondering if this is a scope issue, a problem with adding events to a movie asset material, or some other problem. The video player code is attached. I have the video player code inside the movieAssetMaterial.

View 1 Replies

Flash :: Port Away3d Scene With Animation Into PV3d?

Jul 25, 2010

How to port Away3d scene with animation into PV3d? Are there any tutorials on how to do that?

View 1 Replies

Actionscript 3.0 :: PV3D - MouseEvent.CLICK On Object Instead Of Face

Feb 10, 2009

I've created 4 cubes, which turn on Rollover and Rollout, and on Click they should move to new x y coordinates.The Rollover and out on the faces (workfront,workback) work fine, but i don't get it right to put the Click on the whole cube.if tried to address it with workcube.addEventListener(MouseEvent.CLICK, workclick); but that doesn't work.if i address it with this or without workcube all my cubes react to the click

Code: Select allvar workcube:Cube = new Cube(new MaterialsList({front:mat2, back:mat3, top:mat0, bottom:mat0, left:mat1, right:mat1}), 60,60,60,10,10,10);
scene.addChild(workcube);

[code]....

View 4 Replies

ActionScript 3.0 :: [PV3D] 'MaterialObject3D: TransformUV() Material.bitmap Not Found!?

Nov 14, 2009

I was recently trying to import some collada models from 3d studio max into flash. verything looks fine, but I have some kind of error which rather shouldn't appear: Quote:'MaterialObject3D: transformUV() material.bitmap not found!'I've found some answers by googling it, but I'm not sur

View 0 Replies

ActionScript 3.0 :: PV3D: When Adding Text3D To Planes In A Carousel The Rotaion Slows To A Crawl?

Jan 13, 2010

I have added 2 text3D textfields for each plane that gets rendered via xml.Everything works fine, yet as more planes get added via xml the carousel slows down considerably.If I remove the text3D fields the carousel rotates very smooth and at normal speed. Is this just a limitation of text3D in Papervision3D or is there a way to optimize this better? Yes, smooth is set to false and images have been optimized.

View 1 Replies

F8 :: Spin A Product 360 Degrees?

Nov 1, 2007

Wanting to spin a product 360 degrees.

View 1 Replies

Make My Sphere Constantly Spin?

Apr 9, 2010

I am making a splash screen for a program and I have a picture in my head of a spinning sphere with pictures on it.I've already made my sphere and mapped my design onto the sphere in illustrator, although it is not as clear as I wanted.How do i get the sphere into flash and animate it to spin continuously?

View 1 Replies

Professional :: How To Spin 3D Objects Interactively

Aug 11, 2011

I'd like to import 3D objects into Flash, so that people can interactively click + drag to spin them. Example: [URL]
The first images at the top.
- o 8 o - * - o 8 o -
Are there ways to accomplish this, other than buying "freespin 3d"?

View 4 Replies

ActionScript 2.0 :: 360 Product Spin With Callouts

Nov 4, 2010

Is there any flash tutorial explaining how to do a product 360 spin with callouts (I already have the photos).

View 0 Replies

ActionScript 2.0 :: How To Get Object To Spin Once Then Stop

Jul 29, 2005

I'm having a bit of a problem with this rotating object. It loops and never stops. I searched and found similar problems, but if I'm not mistaken most loops where done with tweens, unlike this one.
Code:
onClipEvent (enterFrame) {
i = getProperty(this,_rotation);
setProperty(this,_rotation,i + 7);
}
I basically want the planet to spin once, and then stop.

View 14 Replies

ActionScript 2.0 :: 360 Degree Spin In Flash?

Jan 17, 2006

i seen this over at 24 -7 and would like to use this effect on a site of mine, [URL].. does anyone know how to do the rotation spin that this site does i have looked around but think i am looking for the wrong thing lol.

View 4 Replies

IDE :: Spin - Grab An Object And Move It Around

Jul 26, 2007

anyone saw some open-source or tutorial where u can grab an object and move it around and at the same time rotate the object deppending on the place you grab it. some physics maybe. like a cd-case moving on ice

View 10 Replies

ActionScript 3.0 :: Design A Car Wheel Or Rim To Spin?

May 27, 2010

how to design a car wheel or Rim to spin?

View 1 Replies

Make This Wheel Spin Randomly When Clicked?

Oct 22, 2008

Looking to make this wheel spin randomly when clicked.The goal is to put in a smart board file, so i'd like to have the background of the wheel transparent

View 17 Replies

Professional :: Slowing Down The Animation So That It Does Not Spin So Fast?

Feb 8, 2011

I have a Flash animation of the Yin Yang symbol that is rotating clockwise in a circle.  The image is rotating a bit fast for my project. Could someone tell me how to go about slowing down the animation so that it does not spin so fast?   I am currently using CS3.

View 1 Replies







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