ActionScript 3.0 :: Papervision3D_2.1 : When Use Any Shade Material The Element Losing Its Flatness?

Nov 9, 2011

I have added a DAE element to the scene created in 3D Max as I created a MaterialsList for it, the problem is when I use any shade material the element losing its flatness!

View 6 Replies


Similar Posts:


ActionScript 3.0 :: Shade A Date Range In The Background Of The Chart?

Mar 23, 2009

i would like to place some backgroundelements on my chart which uses a datetimeaxis. I would like to shade a date range in the background of the chart based on start and ending dates in my dataprovider. How can I take the star and end dates and get their exact point on the chart? This way if I can get the points for the start and end dates, I can then shade the area between them.

View 1 Replies

ActionScript 2.0 :: Colour The Text Boxes To A Blue Shade Also?

Feb 28, 2006

I've been adding an MP3 player to a site as seen in the image here.

I've managed to colour the buttons etc to fit in with the colour scheme.

How do I colour the text boxes to a blue shade also?

View 14 Replies

ActionScript 2.0 :: Calculating A Lighter Shade From A Passed Color?

Nov 15, 2006

I'm trying to write a function for the purpose of generating a gradient fill from only one passed color. How can you take a passed color (0x0066cc, a blue, for example) and calculate a much lighter (almost white) shade of blue from it?

View 3 Replies

IDE :: PaperVision3D - Add A Material To A DAE?

Mar 12, 2009

I've successfully loaded a DAE model with its own bitmap texture material. Now I want to layer an environment map over that to give it a shiny look. I'm about ready to go out of my mind---nothing seems to work. I've created my environment map material, and added it to the DAE model, but it fails to appear at all. I've cut some holes in the original bitmap material, so that I'd be able to see if the reflection was covered over, but nothing appears to be hiding underneath

View 1 Replies

ActionScript 3.0 :: Where To Put The Material Jpg [papervision]

Apr 11, 2011

trying a simple papervision tutorial and swf stops rendering by mat = new MovieMaterial(rec);

[Code]...

View 2 Replies

Flash :: Cannot Apply Material To A *.obj In Away3d?

Aug 10, 2010

I cannot apply a texture to an object, I don't know why.( AS3 blender export script and Collada Import is not working for me either )

var loader:Loader3D = new Loader3D();
loader.addEventListener( Loader3DEvent.LOAD_SUCCESS,
handler_loadSuccess );
var parser:Obj = new Obj();
loader.loadGeometry( "assets/objects/Test.obj", parser );

[Code]...

View 1 Replies

Actionscript 3.0 :: Cast A Material To BitmapMaterial?

Feb 6, 2010

I have successfully imported a Lightwave generated Collada file into Flash using Papervision3dA material within the Lightwave file is called "Lambert4SG". How can I assign the "precise" property to eliminate the texture distortion. However, the material needs to be cast to BitmapMaterial in order set a BitmapMaterial specific property.

View 2 Replies

ActionScript 3.0 :: Away3D And Dynamic Material Assignment?

Jun 19, 2009

I have loaded a .obj into away3D with a given material (not using the .mtl file), and through the course of rendering, I want to change the object's material. Here is how I load the .obj:

var object:Object3D;
function loadObject():void
{

[code].....

View 3 Replies

Flash :: Set The Alpha Of A Material Loaded With A 3DS File?

Sep 1, 2011

I have loaded a model using the 3DS parser that is already linked to a material and loads fine. I would like to make this model semi-transparent part of the time but not all of the time. I would like to just set alpha = .5 but when I target the materal that is not an option.

Here is the code and using:

var slingPar:Max3DSParser = new Max3DSParser();
var slingLoader:Loader3D = new Loader3D();
sling = new ObjectContainer3D();

[Code]...

View 1 Replies

ActionScript 3.0 :: Dispatch Event From Movie Material?

Jan 13, 2009

I have a site that is using aspects of papervision within an otherwise 2D environment...

In my papervision 3D room which is a class loaded into a movieclip holder, the walls of the room are taken from movie clips in the library. Some of these clips also have hotspot elements within the clip. For these, I wrote the code for the individual movie materials in their own file so that I can control the mouse events easier. Everything works fine, including the movie material tracing the click event. However, in the click event I am dispatching an event to be heard on the stage. I have my listener for it in my Main file but my stage isn't ever hearing it.

View 9 Replies

Actionscript 3 :: Get Element Inside Another Element Just Having It's Id In Dynamically Created String Form?

Mar 18, 2012

I know that there is no such function as getElementByName in Flex but I also now that you can do this["object_id"] to get the element of the application u're in.What about getting an element inside another element?I've tried making element["id"] ? But in my try-catch it always runs the "catch" part..how do I get an element inside another element just having it's id in dynamically created string form?

View 2 Replies

ActionScript 3.0 :: [Papervision] Plane Primitive Backside Material?

Mar 16, 2009

I've searched around the web trying to find out how to set the primitive Plane backside material in papervision. Unfortunately without luck. That is why I'm turning to you,My question is simple (as written above):How do I set the background material of a Plane primitive in Papversion 2.0?

View 1 Replies

Tracker Site To Upload Each Day Position And Blog Material

May 2, 2009

I'm about to go on a 1000 mile charity cycle ride. I would like to be able to upload my position to the website at the end of each day - and have the site show precisely where I am on a map of the whole route - a sort of rolling image, if you like. I'd also like to be able to upload blog material at the same time. I have ActionScript 3 available.

View 5 Replies

ActionScript 3.0 :: Turn A Cube Material Double Sided?

Apr 15, 2011

I don't see how i can make a cube's material double sided. I need this as i am flying thru a cube.

Code:
private function createMaterialList( color:uint ):MaterialsList {
//creates a wireframe
var ml:MaterialsList = new MaterialsList();

[Code].....

View 2 Replies

ActionScript 3.0 :: Render Value To One Element Of Flash On Basis Of Other Element?

May 10, 2010

I have flash where there is a link for song download. And, at the bottom of the flash I've a count, loaded thorugh flash vars which should increment everytime donload button is hit. Please let me know what approach should i take to do that. can i call a Java method on donload button which will insert a row in the table and and then get the count and render it to the count variable in my flash?

May be this extremely confusing. Here is a very similar example on how it is done. This is actually very similar to what i want to do. [URL] on this link there is count below which increments you hit the download button.

View 1 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 :: Magnifying Glass Effect On Cube Material In Papervision?

Oct 21, 2010

I have a cube with a material on the front face. I'm trying to create a magnifying glass in 2D for the 3D cube. Can anyone offer a suggestion for how to achieve this? I was thinking I might try to find the UV under the mouse in an OBJECT_OVER InteractiveScene3DEvent and somehow get the bitmap from the material, mask it, and move it around in relation to the mouse position- mimicking a magnifying effect. How to do that, I have no clue.

View 2 Replies

ActionScript 3.0 :: Element Is ITooltippable Vs Element['tooltip']

Oct 25, 2010

I've built a rather robust tooltip class recently that attaches and draws a single tooltip sprite to the root, then uses MOUSE_OVER to detect when it is over a tooltippable object, and shows the appropriate tooltip text. At the moment, I'm ensuring that any elements in my application which wants to take advantage of showing tooltips implement the ITooltippable interface, and expose a public getter, get tooltip().

[Code]...

View 0 Replies

ActionScript 2.0 :: Hiding An Element If Another Element Is Undefined

Apr 13, 2006

Basically I have 14 text boxes, each box draws its content from an external txt file. Next to each text box is a button. I want the button to be either visible=true or visible=false depending on weather or not the text box has content or is "undefined" Here is what I have so far, and it's not working:[code] I would like a FOR loop to just run through the variables and check to see if any of them are undefined. if it is, then make the correct send button invisible.

View 8 Replies

ActionScript 3.0 :: Papervison - Video Material - Pause - Videos To Be Stopped At The Beginning When It Appears

Feb 16, 2009

I have a cube built in papervision. It has a video on each side. I want the videos to be stopped at the beginning when it appears. I thought I could just use pause on the stream. ncStream2.pause(); no luck. When I do that I just get a black box. There is no black at the beginning of the videos. I do not think the papervision part is really a big deal. It's probably just a straight forward AS3 and video problem.

[Code]....

View 3 Replies

Xml :: Select Element Containing Other Element With Attribute Value In E4X?

May 23, 2011

<root>
<function name="lala">
<metadata name="foo" />

[code].....

View 1 Replies

IDE :: Unable To Access 2nd Element And 3rd Element

Feb 23, 2010

I am unable to access 2nd element and 3rd element (I can acces 1st element.[code]

View 1 Replies

ActionScript 3.0 :: Create An Element - Get "nodeValue"+i From My Element And Change That?

Dec 3, 2010

when I create an element  with this method :
 
this["nodeValue"+i] = new TextField();
(surely in dynamic class )
 
then I want to change instance name of that element.when I trace this["nodeValue"+i].name.I got a different name for that element !  f ex : instance8 .how can I get "nodeValue"+i from my element and change that .is it read only ? I want to swap tow element's instance name !
 
for example :
this["nodeValue"+i]  to this["nodeValue"+i+1]

View 4 Replies

Actionscript 3 :: Load A Papervision/Flex Application (SWF) As A Material On A Papervision Plane?

Mar 24, 2011

I am trying to build a portfolio application similar to the used by Whitevoid. I am using Flex 4 and Papervision3D 2. I have everything working except for one issue. When I try to load an external SWF as a material on one of the planes, I can see any native Flex or Flash components in their correct positions, but the papervision objects are not being rendered properly. It looks like the viewport is not being set in the nested swf. I have posted my code for loading the swf below.

private function loadMovie(path:String=""):void
{
loader = new Loader();
request = new URLRequest(path);

[Code]....

Below I have posted two pictures. The first is a shot of the application running by itself. The second is the application as a MovieMaterial on a Plane. You can see how the button created as a spark object in the mxml stays in the correct position, but papervision sphere (which is rotating) is in the wrong location.

View 1 Replies

Flex :: Material Use To Learn Flex/Air, And With ColdFusion + BlazeDS/LCDS?

Apr 15, 2012

What material did you use to learn Flex/Air itself, and with ColdFusion + BlazeDS/LCDS?

View 7 Replies

ActionScript 3.0 :: Variable Losing/not Assigning Value?

Jul 26, 2010

I followed a dynamic gallery scrolling thumbs tutorial and then changed it quite a bit to fit my needs.

I basically added a previous and next button and image title box.

It all works great apart from one thing.

e.g. I click on thumb 5. I then use the next button and go to say... image15. I then click on thumb 9. When I use the prev or next button again it will resume from image15, but it should then carry on from thumb 9 as that was the last change I made.

I thought this would be as simple as assigning the thumb variable value to the image number variable. i.e myID = id; but it doesn't work. my variable myID actually loses its value when I click the thumb image (I used the trace to clarify).

Here is the code.

PHP Code:

function bttnClick(event:MouseEvent):void{
bttn.gotoAndStop(1);
root.logo.visible = false;
myID = id;

[Code].....

View 4 Replies

Flash :: CS4 Losing My Panel Groups

Aug 27, 2010

I've noticed recently (the last week) that when I open Flash CS4, the Tools panel and the Actions/Timeline/Compiler Errors/Output panel group are not automatically open, like they always were before. Does anyone know of anything I could have changed by accident?

At the same time this started happening, I have a file that has a moving hot spot that is set with keyframes (depending where the active button is on the bitmaped screen capture behind the button). Even though the  button's onRelease handlers are advancing the timeline correctly, my button is not in the right place in the runtime version. If's still fine in the development environment. It's like the layers are out of sync with each other.

View 1 Replies

Flash :: Session Data Is Losing With It

Jul 13, 2011

I'm using Flash uploader(uploadify, swfupload) with CodeIgniter, want to get the session data. I have found out that the flash does not send the session data, so I have set $config['sess_match_useragent'] = FALSE;

Now for example i have set session value myname in session and I can get it on my backend PHP script using Internet Explorer.[code]...

View 1 Replies

ActionScript 2.0 :: LoadAndSend Losing Some Values From PHP?

Aug 12, 2010

recently tried developing an flash application that would send info to php and php should read a browser cookie and pass back the cookie value as e.g myCookie = $myCookie, where:

$myCookie = $_COOKIE['test'];

Funny enough in Actionscript myCookie is read as blank but the other variables that are hard coded are showing. what could be the problem PLEASE HELP I desperately need the solution. My Code is given below:

PHP Code:

[U]file next.php[/U]
<?php 
$myCookie = $_COOKIE['test'];

[code]....

View 2 Replies







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