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 2”

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

New, Shiny and Improved YouTube Wrapper

Tuesday, September 1st, 2009

Recently I published an update to the YouTube wrapper I use for all Actionscript 3 YouTube projects. It’s now all up on my Github with some improvements on the older version.

The new version comes with an improved local connection, and also some more options such as: you can now resize the player without having to reload it!

Have a play with it, tell me what you think. I’m looking to have some more options added such as additional pausing and resuming.

Releasing My Code as Open Source

Monday, July 6th, 2009

Update: after a disastrous morning, I’m going to try and upload everything tomorrow!

When I first started this blog, I had every intention of releasing my code as open source for everyone to take and use. I’m still going to do this, in fact I’m just getting my repositories ready for uploading.

I’ve decided to use Github rather than SVN’ing to Google Code. I do prefer git a lot more over svn, but if you really want me to use Google Code, I’m sure I can upload to there too, only by popular demand though!
(more…)

The YouTube Player API

Monday, June 29th, 2009

Update: keep up to date with my latest code on my Github.

I’ve recently had an article on the YouTube Player API for Actionscript 3 published on the Flashtuts+ network. However, some people are having issues getting to grips with loading another video in-situ, so here’s a slight change to the code:

Once you read the tutorial, you will finish with two important files:

  • YouTubePlayerWrapper.swf – The AS2 wrapper
  • App.as – The AS3 class files

(more…)

Security Sandbox Violation Getting You Down?

Tuesday, June 23rd, 2009

When working with Flash Player you will come across this error one time or another:

*** Security Sandbox Violation ***
SecurityDomain ‘http://s.ytimg.com/yt/swf/cps-vfl104716.swf’ tried to access incompatible context ‘http://www.youtube.com/v/fXldKmGuPqM &autoplay=0&loop=0&rel=0&showsearch=0&hd=1′

And it may not necessarily be for YouTube (as the above error is).
(more…)

Actionscript 3 Cue Points

Thursday, June 18th, 2009

Today I was working on finalising the video player for the competition web site 1Click2Fame.com. Since this video player will be multi purpose, for example, it will be used as a “chromeless” style player but may also have a “chrome” where the user can interact by voting for acts and so on, it needs the ability to record metrics such as user interaction and more importantly cue points.

The team at 1Click2Fame.com are not only interested in seeing what video a user watched, but how long they watched it for, especially if they voted for or against it winning. So cue cue points!
(more…)

Another Tutorial I Wrote!

Friday, June 12th, 2009

Woop! My latest tutorial on using the YouTube Player in AS3: Using the YouTube Player API with ActionScript 3.0

Coding Conventions

Sunday, May 17th, 2009

Recently I joined a debate started by the editor of Flashtuts+ regarding coding conventions. Now I’m a strong believer that if you’re going to code, you best do it right. Yet on a day to day level I still see sloppy code. Gone are the days of Actionscript 1 and 2 coding when you didn’t have to declare variable’s type or a function’s return value, but still people continue this in their coding of Actionscript 3.

The fun doesn’t stop there. I admit, when I first started coding yes I was very sloppy with my convention, but I’ve cleaned up my act, honest. With other languages such as PHP and JavaScript, you see how easy it is to just keep typing and typing and through any sort of convention out of the window. But when the client turns around as says: “Why can’t that be 3D?” you’re then going to have to go through all your sloppy code and make it 3D.
(more…)

Another Take on the YouTube 3D Carousel

Sunday, May 17th, 2009

I wrote a post about a new gadget I created for YouTube Brand Channels. This gadget went down really well with the guys at YouTube and has been pushed to a channel for my friend Laurnce Mills.

However my colleague at work at work mentioned that it may look quite cool if instead of having the thumbnails in a “coverflow” style, have them coming from the back and going towards the user. So I created another gadget and published it here.
(more…)

Fork me on GitHub