Posts Tagged “Actionscript 2”
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…)
Tags: actionscript, Actionscript 2, Actionscript 3, as2, as3, multiple, player, players, tube, you, youtube
Posted in APIs, Actionscript 2, Actionscript 3, Development |
4 Comments »
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…)
Tags: actionscript, Actionscript 2, Actionscript 3, api, as2, as3, authsub, cookies, gdata, google, iframe, JavaScript, oauth, youtube
Posted in APIs, Actionscript 2, Actionscript 3, Development, JavaScript |
4 Comments »
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.
Tags: Actionscript 2, Actionscript 3, api, as2, as3, player, wrapper, youtube
Posted in APIs, Actionscript 2, Actionscript 3, Development |
6 Comments »
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…)
Tags: Actionscript 2, Actionscript 3, as2, as3, code, git, github, open, os, PHP, source, svn
Posted in APIs, Actionscript 2, Actionscript 3, Development, General, PHP |
No Comments »
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…)
Tags: Actionscript 2, Actionscript 3, api, APIs, as2, as3, code, flashtuts, player, tube, you, youtube
Posted in APIs, Actionscript 2, Actionscript 3, Development |
44 Comments »
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…)
Tags: Actionscript 2, Actionscript 3, allowdomain, as2, as3, data, domain, Flash, load, player, security, settings, stream, video, youtube
Posted in APIs, Actionscript 2, Actionscript 3, Development |
3 Comments »
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…)
Tags: Actionscript 2, Actionscript 3, array, as2, as3, cue, cuepoint, flv, media, netstream, player, point, stream, video
Posted in Actionscript 2, Actionscript 3, Development |
4 Comments »
Friday, June 12th, 2009
Woop! My latest tutorial on using the YouTube Player in AS3: Using the YouTube Player API with ActionScript 3.0
Tags: Actionscript 2, Actionscript 3, as2, as3, tube, you, youtube
Posted in APIs, Actionscript 2, Actionscript 3, Development |
No Comments »
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…)
Tags: actionscript, Actionscript 2, Actionscript 3, code, coding, convention, CSS, debate, guide, JavaScript, PHP, Python, style, tutorial
Posted in Actionscript 2, Actionscript 3, CSS, Development, General, JavaScript, PHP, Python |
No Comments »
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…)
Tags: 3d, Actionscript 2, Actionscript 3, brand, carousel, channel, cover, coverflow, demo, flow, gadget, papervision, perspective, pv3d, tube, widget, you, youtube
Posted in APIs, Actionscript 2, Actionscript 3, Design, Development, Flash |
No Comments »