The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.39 / 5.00 38,635 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 15,161 ViewsLegacy of Goku 1 for the GBA. Cost me $30.00 dollars. That game was SO BAD it literally made me cry as a 6 year old, who got really ripped off for the first time.
Gah, Come on guys, is my thread title really that bad? I really need some help here.
Alright folks. I hate having to make these threads, but here we go again.
I recently downloaded the trial version of Flex Builder 3 while awaiting my education version download verification. So I have been attempting to create an AS3 3D modeler for my 3D rendering engine.
Now, I have been working with AS2 for around 3 or 4 years now, and I may be being naive here with the transition to AS3, but even with the more strict syntax and such, I still don't see what I am doing wrong here.
The following code is written in the RIA's main mxml file inside the mx:Script and CDATA tags, and absolutely refuses to cooperate with me. I can't figure out what i am doing wrong here, but it says that when I am accessing these variables that I have defined earlier, it states that they are undefined.
I am very new to AS3 and am probably trying to impose too many AS2 conventions into this code, but if anyone could tell me what I am doing wrong, I would really appreciate it:
code:
(this is just the code in the Script tag. Rest assured, my class TDobj has no errors in it)
(cnvsObj is the ID of a canvas in the RIA)
<mx:Script>
<![CDATA[
import TDobj;
import flash.display.MovieClip;
//--
var renderClip:MovieClip = new MovieClip();
cnvsObj.addChild(renderClip);
renderClip.x = cnvsObj.x;
renderClip.y = cnvsObj.y;
var points:Array = new Array();
var trings:Array = new Array();
function init():void{
points[0] = {x: 0, y:-200, z: 0};
points[1] = {x: 200, y: 200, z:-200};
points[2] = {x:-200, y: 200, z:-200};
points[3] = {x:-200, y: 200, z: 200};
points[4] = {x: 200, y: 200, z: 200};
trings[0] = {a:0, b:1, c:2, ink:0xFF0000};
trings[1] = {a:0, b:2, c:3, ink:0x00FF00};
trings[2] = {a:0, b:3, c:4, ink:0x0000FF};
trings[3] = {a:0, b:4, c:1, ink:0xFFFF00};
trings[4] = {a:1, b:3, c:2, ink:0xFF00FF};
trings[5] = {a:1, b:4, c:3, ink:0xFF00FF};
}
init();
//--
var vpX:Number = new Number(cnvsObj.x + (cnvsObj.width / 2));
var vpY:Number = new Number(cnvsObj.x + (cnvsObj.height / 2));
var objA:TDobj = new TDobj(points, trings);
objA.render(renderClip,400,vpX,vpY,true);
]]>
</mx:Script>
error messages:
Severity and Description Path Resource Location Creation Time Id
1120: Access of undefined property cnvsObj. ThreeDModeler/src ThreeDModeler.mxml line 50 1222772457767 393
1120: Access of undefined property cnvsObj. ThreeDModeler/src ThreeDModeler.mxml line 51 1222772457768 396
1120: Access of undefined property cnvsObj. ThreeDModeler/src ThreeDModeler.mxml line 52 1222772457768 398
1120: Access of undefined property objA. ThreeDModeler/src ThreeDModeler.mxml line 77 1222772457769 399
1120: Access of undefined property renderClip. ThreeDModeler/src ThreeDModeler.mxml line 50 1222772457767 394
1120: Access of undefined property renderClip. ThreeDModeler/src ThreeDModeler.mxml line 51 1222772457767 395
1120: Access of undefined property renderClip. ThreeDModeler/src ThreeDModeler.mxml line 52 1222772457768 397
1120: Access of undefined property renderClip. ThreeDModeler/src ThreeDModeler.mxml line 77 1222772457769 400
1120: Access of undefined property vpX. ThreeDModeler/src ThreeDModeler.mxml line 77 1222772457769 401
1120: Access of undefined property vpY. ThreeDModeler/src ThreeDModeler.mxml line 77 1222772457770 402
The person who gives me the right advice wins a cookie :3
Flash drives still store the data even if it's now in your trash bin. If you empty your trash bin, the memory should go back to normal.
At 9/27/08 10:23 AM, Achilles2 wrote: What are some phrases that you will never hear.
Another lock message from Bigbadron. :(
Doesn't burning plastic release cyanide gas?
I'm pretty sure it does...
At 9/24/08 11:44 AM, The-claww wrote: (Electrodes???)
Discuss.
Your brain is comprised of interneurons which respond only to chemical and electrical impulses. Since everyone's brain is different, I doubt that you would be able to correctly alter someone's dream simply by hooking them up to a machine. (Machine =/= chemical impulses.) And the extremely high possibility of inducing seizures by inserting plugs into somebody's head doesn't sound to good either.
I really don't think it' possible...
At 9/24/08 12:17 PM, Chronamut wrote: I can provide you all with a helpful breakdown of the entire program I wrote a few years back if you guys want - I'm not at home right now though - its just a txt file - but I basically broke down what every single little thing does - its hugely helpful. Also keep in mind the program works in hex - so 0-9 doesnt work - its like .. 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F I think..
That would be helpful, thank you.
I a beginning to learn how to work MilkyTracker.
Assuming you mean MilkyTracker XD
P.S. How in the heck do you use multiple sample waves (.wav files that notes are derived from, I think)???
At 9/23/08 06:01 PM, Ambimetric wrote: Chiptunes are just like awesome, why wouldn't you want to make them? They're mega.
Your VST will be compatible with GarageBand (uurrrgh). Which you have, just incase you didn't know? :/
Also, you can download Milkytracker. There is a Mac version, it's pretty decent.
Also, if you wanna do it and be a proper cool kid, buy a gameboy! :D
I got Milkytracker and it seems to be working pretty well. I still have no real idea how to use it, how to set it to 8-bit cold turkey, or expert .WAVs (which it says it can do) But I'm working on it.
Thanks you guys, you were all a real help. :)
At 9/23/08 04:36 PM, Chronamut wrote: i think its like www.milkytracker.com or something - otherwise google it.
Got it. Downloaded. This one looks really good, thank you A TON!
See, a promise is a promise. XD
Now if only I could figure out how to use it, oh well, that will come with time and FAQs. :)
At 9/23/08 04:25 PM, Chronamut wrote: milkytracker - its actually originally made for the mac - but i use it OUT OF SPITE FOR MACS!
Do you know where I could get a link for the website?
sorry to Nav... The progs from the link posted above don't seem to work, or at least, have really awkward GUIs
At 9/23/08 04:06 PM, war-spawn wrote: There has been a huge increase of people wanting to make chiptunes lately. Personally, I don't know why anyone would want to make particularly chiptunes... but then again, I don't know a lot of things. Good luck with your search.
It's for a game that I finished making like 3 months ago, and my friend just isn't living up to his promise of composing for me, so I'm taking it into my own hands. :)
Besides, chiptunes have that kinda nostalgic, cheery feel to them, you know?
First off, I need to say that I really hate having to make threads like this, I feel like an idiot. But I have been searching for WEEKS to try and find a good, free Mac OS X compatable chiptune / 8-bit music making program. So far I have only been able to locate this one .vst plugin called Chip32, that unfortunately is not compatable with Audacity...
So I ask you NG, I really need a chiptune / 8-bit music making capable program with the following criteria:
1. It is free.
2. It is for Mac OS X
3. These audio files may be saved, and later converted to a usable format
( it can't just be a program that can play this music, but not record it)
OR:
I need a program that has full support for (or is capable of using) Chip32.vst with the same criteria.
I know I seem like I'm being ultra-picky, but I really need some help here guys.
I Would appreciate the help A LOT!
Keep in mind that I am an actionscripter and not too audio-savvy, so I may be asking irrelevant stuff... XD
NG mag has been neglected for a long time now.
exe's are executable files. Meaning that they are written in machine code (or something like that) I think that in order to create a real exe (like one that would spook your friends) you would need some sort of compiler (such as a C++ or VisualBasic) to convert the txt file containing code to a machine-readable exe file.
At 9/8/08 04:19 PM, JKMonkey wrote: teachers who write in script u cant read
Oh MAN can I relate to that. I have some teachers this year with the worst cursive handwriting you could possible imagine.
What's "tto aitto peor fowaPPo" mean? WTHeck???
This probably belongs in the programming forum.
But I would suggest starting out with a BASIC language. Something like visual basic, they're easy to get started with and teach you the concepts of programming pretty well.
At 9/1/08 11:13 PM, HaniiPuppy wrote: 1) Left leg
2) Right leg
3) In
4) Out.
5) Shake it all about.
6) Do Hokey Cokey
7) Turn Around
8) That's what it's all about
9) ???
10) Profit!
Oh, man. That made me lol so hard.
1. Explode what I'm pointing at.
2. time freeze
3. fly
4. set stuff on fire
5. stael teh cadney
6. invisibility, ftw.
7. go through walls
8. STOP FLASH FROM GLITCHING OUT!
9. </capsLock mode>
10. make school disappear.
At 8/30/08 03:00 PM, This-Is-Freedom wrote: i never used 3.0
heard of it though from a little guy with an afro and a voice problem some time on youtube :D
but i cant use 3.0 cos i have flash 8 not the new one
I only have Flash 8, but I find that using the flex sdk works great for making AS3 projects. If you can stand programming through notepad or TextEdit. XD
(also: great for compiling kickarse AIR applications.)
You could create a web parser, but it's not a really good idea.
You. Must. Post. Pics.
But pit hair only please.
*shudders*
The Pursuit of Happiness was a pretty dang good movie. It really got to your heart (not that anyone here on NG has one. "Haha, you've been mortally wounded in a car crash, lulz." XD )
Man, how come you get to be on the cover of a cracker jacks box...
I think that eventually, all movies and games made in flash 9+ will be available for download as air applications, through some sort of NG badge download. Or maybe perhaps, there will be a single NG air app that allows you to view all of the flash submitted to NG through your desktop.
In my opinion, the future of adobe AIR looks very promising.
I've already been developing apps with the SDK, since I only have flash 8. XD
Maybe Tom Fulp will make an AIR portal for apps made in flash?
Both of the Hellboy movies were pretty cheezy (C wut I did thar, hur hur.) but I'll never forget that scene where HB and the blue guy are sitting in the library, drinking their heads off and listening to really bad and cliche'd love songs. I laughed pretty hard.
At 8/19/08 04:28 PM, Arby wrote: b-4
Bwahaha, you jerks totally gangbanged me up and down the street at the end. XD
At least this time my bots seemed to avoid glitching up too much.
At 8/19/08 01:35 PM, Cecemel wrote: Very good job zuige,
niice dercheezle, your healing bot should shoot too xD
Yeah, he actually does. When my other bots have HP >70, he shoots a constant shotgun stream with my reloader reloading him just as fast as he shoots. It's too bad I didn't get to show that off during the fight. =P
My little guy has anger issues. aww. XD
My reloader bot is "supposed" to do the same thing if my other bots have sufficient ammo (or are dead) But it really glitched out for some reason. =/
Gah, my reloader bot glitched out. Oh well. Those were some awesome fights!
At 8/19/08 12:40 PM, SpamBurger wrote: You should make matches for the losers though, because it would suck to lose the 1st round and never get to see your bot battle again :\
He's got 4 different rounds set up, A,B,C, and D. So it shouldn't be a problem.
If I understood correctly what they're for. XD
Mwuahaha, yes! I'm fighting Cecemel in the first round. Bring it on! >:3