Actionscript 3.0 :: Papervision3D Collada Basics Tutorial Isn't Working?

Apr 11, 2009

I've been trying all day to get the Papervision3D Collada Basics tutorial to work and every time I run the file I end up with an empty black screen. No matter what I've tried i cannot get anything to show up. Finally I had the idea to download the source files from the tutorial and run those 'as is' without changing anything. When I opened the SWF created by Lee, all i saw was the same blank black screen. Has anyone else run into this? All other Flash files seem to be fine,

View 3 Replies


Similar Posts:


Actionscript 3.0 :: Basics Of Papervision3d Tut Code As A Separate As File?

Feb 17, 2009

I've just been following the Basics of Papervision3D tut, which is very good by the way, the only one I've ever managed to get working.And I'd like to write the code as a separate as file, but I'm having a bit of trouble.In the class definition, what should it extend?[code]I tried everything I can think of and looked at other tuts to see what they've done but nothing works.

View 1 Replies

Flash - Anti-alias A Collada Model In Papervision3D?

Sep 3, 2009

How to anti-alias a collada model in papervision3D?I've tried searching everywhere but didn't find any ways to anti-alias models. I've also tried blurring it a little as an anti-alias method but that only f-s it up and makes it look worse.How do I do that properly?

View 1 Replies

Actionscript 3 :: Control A Collada Model's Animations With Papervision3D?

Sep 11, 2011

How can i control a collada model animations with papervision3D? And why everthing i find for papervision3D is 2008 or 2009 dated? is this library death?

View 1 Replies

Flash :: Make Collada Model Double Sided In Papervision3d

Aug 19, 2011

i have an animated collada of envelope module that have an animation of opening itself

now for seeing both sides of the envelope i set the

oneSide = false

i added for tests a ColorMaterial.

but what i want is to have 1 color in the outside faces and another color in the inside faces

View 2 Replies

ActionScript 3.0 :: Importing Collada Files In Papervision3D Scale Param Doesnt Work?

Mar 25, 2009

I am trying to import a DAE file, and it gets put on the stage, but for some reason I cannot control the scale of it. I know you have to pass a 3rd param to the Collada() constructor to be the scale, but no matter what I put there, it doesnt change the scale.Alas, I cannot get the scaleX or scaleY or scaleZ to change anything.Just need to know how to adjust the size/scale of this model.

View 1 Replies

ActionScript 2.0 :: Find Working Mailform Tutorial?

Dec 4, 2003

knows where can I find working mailform tutorial? I found quite a few for a simple mailform, but none actually worked.

View 2 Replies

ActionScript 3.0 :: Tutorial For A XML Slide Show Code Not Working

Dec 29, 2009

I really hate when you read a tutorial from some "expert" and what it tells you to do is wrong. I was doing a tutorial for a XML slide show, and the last line of code doesn't work quite right:

[Code]....

For some reason that only sends the my_playback_counter to 1. And it just sits there twitching. So when I tried to change the tutorial code to:

[Code]....

View 3 Replies

Actionscript 2.0 :: MP3Player Based On GTAL Tutorial Not Working?

Apr 3, 2009

I tried creating a music player based on Lee's tutorial (part 1 and 2). However, the code I used in my movie is slightly different from Lee's. Unfortunately, for some reason the mp3 player won't jump to the next song, like it does in the video tutorial. At first I thought there was a hidden error in my code, and later, after many tests I realized that the problem was the same even with Lee's files as well, which makes me wonder what's really happening here?I'm using Flash CS4 under Windows Vista Ultimate edition. However, I get the same strange behavior when I run the tutorial files on a different PC, in Flash CS3 under Vista Home Edition. This is why I believe that attaching my custom files to this thread is not necessary.

View 2 Replies

ActionScript 3.0 :: Slide Out Animated Panels, Identical To Tutorial And Still Not Working?

Nov 13, 2009

here's the link that i followed step by step with the exact same code to get slide out panels: [URL]..All the code makes sense how it should work but I keep getting

TypeError: Error #1009: Cannot access a property or method of a null object reference.  at slideOutInfoPanel_fla::MainTimeline/frame1() and here's my code just as in the tutorial

panel_mc.panelinner_mc.popup_btn.addEventListener(MouseEvent.ROLL_OVER , rollF);

[Code]...

View 4 Replies

Media Server :: Dynamic Streaming While In The Process Of Writing A Tutorial Not Working

Mar 15, 2010

I've been experimenting with Dynamic Streaming while in the process of writing a tutorial. The documentation is quite clear on a few points: The keyframe interval in the various encodings should be shortThe bufferlength should be at least 2x the keyframe intervalThe player should sense a bandwidth change, by default, within the 4-second sampling interval and call for a switch. Then, the switch could take as long as 2x the keyframe interval after that. What I'm finding is wildly different behavior than this. It takes anywhere from 10-15 seconds for the player to notice the change and call for a switch, then another 20-40 seconds for the switch to happen. When switching up to a higher bitrate stream, this just means the user gets low bitrate video for longer than they ought to. But when switching down due to falling bandwidth, the buffer runs out and the user stares at the rebuffering sign for a lengthy time - long enough to give up on watching the video, for sure.

I've encoded an H.264 MP4 file at 64, 384, and 768 kbps, at 30fps and an "every 60 frames" keyframe interval. I've streamed it rtmp via two different CDNs that use FMS 3.5, into two different Flash video players (JW Player and Flowplayer). I've restricted my bandwidth on Windows XP with Netlimiter 2.0; and on the Mac with 'ipfw'. I've set bufferlength between 4 and 10 seconds. I've tested switching up and switching down. For up, I start with a 200kbps bandwidth limit. The video starts OK with the correct stream, then at 5 seconds I open up the bandwidth to unrestricted. For testing down, I do the opposite: start at unrestricted and then at 00:05 restrict to 200kbps.

My test page, with both players and sample code is at [URL] n-flash-bitrate-switching/ I also have a couple of screen recordings there showing the behavior of the whole process, both switching up and switching down. I thought I've done everything right here - paid attention to every documented detail, but it works rather poorly. Can someone explain whether this is expected behavior, if the players have implemented dynamic switching poorly, or if I'm doing something wrong?

View 7 Replies

ActionScript 2.0 :: Perspective In Flash MX (tutorial) - Duplicate A Movie Clip Symbol In The Second Tutorial

Mar 22, 2005

I sent an email to pom regarding a tutorial that he wrote, but the email was bounced and he hasn't replied to my PM. I have followed both of pom's tutorials that involve experiments with perspective in Flash, but I have encountered a problem while attempting to duplicate a movie clip symbol in the second tutorial ([URL]). I have a single instance of the "ball" movie clip symbol appearing at random positions. However, I cannot seem to successfully duplicate the symbol instance at random positions using the loop that pom provided:

[Code]....

View 10 Replies

Professional :: Zoom Into Small Content For Readability Tutorial Or Magnifying Glass Tool Tutorial?

Aug 11, 2010

I have built a catalog in flash that was orginally built in InDesign and exported but it has some small content that is hard to read for the elderly users viewing it and I would like to add a zoom feature or some type of magnifying glass.

View 1 Replies

ActionScript 2.0 :: Tutorial Called Senocular's 3D Car Race Tutorial?

Jul 27, 2005

I am looking for a tutorial called Senocular's 3D car race tutorial

View 1 Replies

ActionScript 2.0 :: Photo Gallery Tutorial With Thumbnails Tutorial

Feb 28, 2006

original: I really just need to figure out how to center the pictures. here is what I did I have modified the tutorial that I finished to have a bigger stage for bigger pictures. Everything is working properly but the pictures are displayed on the left side, I want to have them centered in the stage for the images, after clicking on the thumbnails, plus my images are different sizes as well. ranging from 200x410 to 744x410 but all are the same height of 410. i will post up what I am talking about at the end. I believe it is something within either the action script or the xml coding that allows the position of the image to be differently? please help here is what i am talking about[URL] Continued: Here is my coding in action script:

[Code]....

View 4 Replies

Flex :: Basics In For Loop In Actionscript 3 ?

Mar 23, 2011

this is my sample code

var i:Number = new Number();
trace("showarray length" + showArray.length);
for(i=0;i<showArray.length;i++){[code].....

wherenever the if is satisfied it stops looping it immediately goes out of the loop.this is a sample output given that the length of showArray is 2 and num = 0

showarray length2

equal daw0==0

alerts

View 5 Replies

ActionScript 3.0 :: Down To The Basics Button 2 Next Frame?

Jan 19, 2011

I'm trying to make flash animations w/ text. I don't know how to make buttons though so I can advance the movie. I really have NO idea so I need details on EVERYTHING past opening up a new as3 document.

View 3 Replies

ActionScript 2.0 :: Object Basics By Senocular?

Jul 27, 2004

I am only at the very beginning and I want to make certain that I go through this understanding everything that can so maybe I won't have to ask as many questions in the forums and can start answering more. In this part:The code for making a standard generic object in Flash is as follows:

myObject = new Object();

The variable myObject then becomes a object variable which can then have more variables added to it using dot syntax like so.Is myObject the actual name of the variable and the = new Object simply stating that there is a new object called myObject?

View 14 Replies

ActionScript 3.0 :: Understanding Basics Of Random Motion

Apr 15, 2011

I started out learning AS3 on my own a while ago without any programming experience whatsoever. I'm still in my diapers, but slowly progressing. Currently I'm working on a short animation with some code involved. Part of the animation is a herd of cows grazing in a pasture. I have a class called Cow which extends MovieClip and on the Cow timeline I have the walk cycle and other cow movements animated. When a cow is walking it slowly moves horizontally, along the x axis. I want the cows, when walking to also randomly move up and down (along the y axis) which would basically look as though the cow is moving further away or moving closer towards us. I'll be resizing each cow, according to its y position to create the effect of perspective (near and far).

What I'm trying to figure out is how to make the cow move either up or down the y axis in a somewhat random way. By "somewhat random" I mean that I don't want the cow to switch directions every second, but rather something like: 5 seconds moving up the y axis, then maybe 8 seconds moving down, then possibly 4 up, then 11 down, etc. It would be super if I could also have a velocity factor involved, meaning that when changing directions - from up to down, or down to up - I prefer that the change is smooth, like as in a ease out and then ease in.

[Code]...

View 2 Replies

Actionscript 3 :: Flex/Flash Builder Basics?

Mar 27, 2011

I've been trying out Flash Builder for the first time and I can't seem to get it working...

First off I have these bits of very basic code:

[Code]...

Another key problem: Flash Builder cannot connect to the debugger, even though I've installed it twice now.Can anyone help me here? I've made sure my firewall is off, but could this be causing problems?

View 2 Replies

ActionScript 2.0 :: Basics Of Calling A Function With A Variable?

May 27, 2011

I'm trying to get to grips with having a function that can accept an input that is passed to it as it is called, and then use that input in its workings.As I'm writing more code, it's becoming clear that this is something that I need to pick up, but despite reading and playing about with it, I'm still a little confused.The code is designed for a character's "level up" screen. When the button next to a stat is pressed, I want it to pass the name of that stat to the statUp function, which will increase the selected stat by one.In my main file I have this code, to call the function when the button is pressed. (In this example, it is the Strength button)

ActionScript Code:
_root.buttonStr.onPress = function()
{

[code]........

View 6 Replies

Visual Studio :: Good Programming Book With Good Working Examples And Is Tutorial Approach

Nov 27, 2010

Looking for a programming book that is in tutorial approach. Example this chapter teaches you how to do a login form. In the second chapter it teaches you how to integrate the login for to another app.Basically I'm looking for a book that teaches you real working application rather than abstract ideas. Programming language I have in mind is Adobe Air/Flex, Visual Basic. Functions I have in mind should at least cover Drag and Drops, Integration to a web form (form entry) and customizable interfaces.The languages i had in mind isn't fix. If you know a programming platform that has little code or easy to learn but still be able to develop a cool application.

View 3 Replies

ActionScript 3.0 :: The Uber-basics: Communicating Between The Stage And The AS File

Mar 17, 2009

I was pretty good at 2.0 but 3.0 has completely lost me. I've been reading up on it and getting a handle on it, but in the entire Actionscript 3 BIBLE I have not been able to figure out the simplest, key part that links it all together. How, in the name of everything that's holy, do I communicate between the stage and the "ever-necessary, more secure, more robust" AS files I'm creating? I wish I could give specific code, but I'm just looking for the guideline. If I create a function in a class, I can't call it in the timeline or a button, or even a line down from it in the AS file (call to possibly undefined method).

If I create a sprite in my AS file and then try to add it to the stage, addChild is an undefined method or function. If I create a movie clip in flash, export it for actionscript, it's undefined in my AS file. Just show me how I can write a super simple program where the thing on the STAGE interacts with the thing in the AS file, and I can take it from there.

View 9 Replies

Actionscript 3.0 :: 3 XML Basics - SelectedItem On ROLL_OVER - Error #1009?

Mar 17, 2008

Is there a way to modify this tutorial to execute selectedItem on ROLL_OVER instead of click? I changed

lb.addEventListener(Event.CHANGE,itemChange);

to

lb.addEventListener(MouseEvent.ROLL_OVER, itemChange);

but when I rollover a list item I get: TypeError: Error #1009: Cannot access a property or method of a null object reference. at as3xml_finished_fla::MainTimeline/itemChange()

View 5 Replies

Actionscript 3 :: Not Understanding Basics Of Dynamic DataBinding (bindPropety) In Flex

Jun 6, 2010

I need to dynamically bind properties of components created at runtime. In this particular case please assume I need to use bindProperty. I don't quite understand why the following simplistic test is failing (see code). When I click the button, the label text does not change. I realize that there are simpler ways to go about this particular example using traditional non-dynamic binding, but I need to understand it in terms of using bindProperty.

[Code]...

View 2 Replies

ActionScript 2.0 :: Back To Basics - Tracking Mouse Coords Into An Array

Mar 9, 2004

I've been reading through all the various threads related to the drawing API and saving drawings. About a hundred times I've seen mention of "log mouse positions into an array" and stuff like that, but I can't find any clear and simple examples of how to do this.

Let's take a very simple use of the drawing object to do freeform drawing. What is the AS to capture the mouse XYs as the user draws and put that into an array. I can't figure out how to get Flash to keep updating things as I go, it invariably grabs the fist point and that's it. Could one of you AS gods just write out a super simple routine for this? I know I'm not the only one that needs this (as it seems to be asked every week) Let's use the most basic drawing example I can find:

[Code]...

View 14 Replies

Flash :: Collada Model After Add It To The View 3d?

Mar 25, 2010

I have a Collada (.dae) file that I found on Google's 3d Warehouse. Using Away3d, I'm able to load the file and display it on my view using the following code:

var object3d = Collada.parse(FooXML, { material:"white", x:0, y:0, z:0 });
view.scene.addChild(object3d);

The problem is that it's just floating out in space and no matter how I adjust the position via .x, .y, or .z, it never moves from its spot. I'm using Flash cs4 and the latest stable release from Away3d.

View 1 Replies

ActionScript 3.0 :: Map Face On Collada Object?

Jun 18, 2009

I am trying to map an image(webcam image or dynamic image) on an collada object(head). In fact I have a head, and I would like to put my face on it . Something like that[url]..

How to stretch the dynamic picture so it can fit the mapping ? Match the eyes with the eyes, the nose with the (UV map) nose,... and draw the new bitmap

View 1 Replies

ActionScript 3.0 :: Edit Texture Of Collada?

Jul 15, 2009

I have a problem: i want to let users edit the texture of a collada object(it is a bottle, a cocacola bottle). After loading collada object, is it possible to let user edit texture of it(upload their own image as texture)?

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







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