Contact Me


Recent Posts


Categories


Archives


Tags

3d actionscript Actionscript 2 Actionscript 3 api APIs as2 as3 brand caching carousel channel code compress contest contract CSS Flash flv fp10 free freelance gadget gadgets gdata google JavaScript jquery mvc papervision papervision3d PHP player playlist puremvc pv3d search tube tutorial twitter video widget XML you youtube

Recent Comments

  • Ahmed: Can you put up an example?
  • Ahmed: Hmmm sorry this is a tough one but I don’t work with ASP.NET! Sorry!
  • Michael: Good example but one question… in all the slider skinning I see with Flex the thumb overruns the left...
  • venkata: Hi I am using OAuth to connect to youtube api. I got accessToken and TokenSecret for a particular user. Now...
  • Ahmed: Good old flexlib, what component are you using?

Links


Help end world hunger

Posts Tagged “actionscript”

Did Someone Say Polygons?

Monday, November 30th, 2009

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…)

Actionscript 3 Web Cam Capture Made Easy

Friday, September 18th, 2009

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…)

Did Someone Order Multiple YouTube Players?

Thursday, September 17th, 2009

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…)

YouTube OAuth/AuthSub *Doesn’t* Do iFrames

Tuesday, September 15th, 2009

What a shame. YouTube officially doesn’t support “iframes” when it comes to OAuth and AuthSub. That’s a bit of a pain, but have no fear, I’ve found a way around it.
(more…)

I’m Close, But It’s Not Quite Right (Actionscript3D)

Sunday, September 13th, 2009

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…)

3D Actionscript And Me

Saturday, September 12th, 2009

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…)

Flash Player 10 Native 3D Tests: Le Cube

Thursday, September 10th, 2009

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…)

Messing With Papervision3D and Material/Plane Interactivity

Wednesday, August 26th, 2009

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…)

Getting Flash Links To Behave Like HTML Links

Thursday, July 23rd, 2009

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…)

It’s Been a Good Long Week

Thursday, June 11th, 2009

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…)

Fork me on GitHub