So, I’ve got a new brief that requires me to make use of hexagons in Flash. Not a problem I said and went about making a base Polygon class, and without further ado, here it is.
(more…)
So, I’ve got a new brief that requires me to make use of hexagons in Flash. Not a problem I said and went about making a base Polygon class, and without further ado, here it is.
(more…)
I’ve got a new pitch in the pipe work and for it I need to be able to capture the web cam. It’ll have to be video, but I’ve started writing a class that simplifies it for you.
Displaying and capturing the web cam in Actionscript 3 isn’t hard, here’s a nice tutorial from Riacodes.com: Capture images from the webcam. But I thought I’d make it into a class so it would be reusable for your everyday applications.
(more…)
So, here I am, playing with YouTube players, trying to get more than one to load in Actionscript 3. But it’s a pain, so I did a few tests and got it running fine in Actionscript 2.
My aim is to port this to Actionscript 3, but the biggest problem is the handling of the AVMs. I’ve got some tests to do to figure out the best way to separate the content, but hopefully I should have it done soon, so do watch this space. But, for all you lot out there, here’s some old school Actionscript 2 code:
(more…)
Ah, you see what I did there? Anyway, on to the serious stuff. So yeah, I’m close, but not quite there.
I’ve created a base class that does the “maths” for you, it’s called “Sprite3D()” and you won’t ever need to call it, unless you wanted just a simple 3D object container.
(more…)
Some of you may know that I’ve been trying to crack the maths of 3D in native Actionscript 3 (through Flash Player 10). It’s been hard.
You’ve really got to hand it to the people behind 3D engines such as Papervision3D and Away3D, that took some serious time to sort all the stuff out. But, I’m not saying I’ve failed because I haven’t. Just need to do a bit more maths.
(more…)
Ok, so after discovering the simple ability to have native 3D properties in Flash Player 10 without having to mess about with engines such as Papervision3D, I’ve started writing a few tests that will lead to classes that will “do the maths” for you.
(more…)
Update: I’ve hacked PV3D to get it to work with YouTube.
Right, after much browsing through the Papervision3D code, I’ve found out something very interesting: Papervision3D renders hit test, on every frame, on objects that request the mouse, that means those with event listeners.
So, going back to my original issue of getting the YouTube player to function with Papervision3D, I created some tests to see exactly what Papervision3D was doing, and how I could maybe adjust the code so it can work for me.
(more…)
I recently had a question forwarded to me by @gerhardlazu from @rbates asking how Flash links could behave like HTML links. What he meant was that when you’re on a HTML page and you hold down CTRL/CMD and click that link, it normally opens in a new tab.
Obviously, this is different in Flash as we have to tell flash to listen to that keyboard event and then set a variable that notifies the link to open it in a new window/tab.
(more…)
And it’s not quite over, yet! This week I started a new contract at ESP (also known as Enrich Productions) working primarily on their main project called 1Click2Fame.com. It’s a really beautiful concept and one that I hope to help as much as I can in. If you’re not quite sure what the site’s about, here’s a quick blurb:
“The online talent contest where the UK’s best battle it out to win prizes and fame.You watch, you vote, you decide who wins our weekly prizes to take talent to the next stage.”
Yep, that was copy and pasted from the front page! (more…)