02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

Setting up Flash Builder

In this video James will walk you through the steps involved with setting up your environment. would be easier to just follow the steps in the presentation so u can take it at your own speed. download the Flash Player 11 and playerglobal.swc and grabe the Flex 4.5 SDK or higher.unzip the sdk and place it in your sdks folder add the player into the player folder and install the 4.5 sdk. James recomends downloading the latest build of Away3D from GIT and not from the SVN that isn't as stable and add a few magic compiler arguments.

Video Transcript

00:00Now I've been using Flex Builder 3, I think from tomorrow, I'm probably going to be using FDT, but it's much of a much-less.
00:08So how do we start off developing for a way 3D4? You're going to need Flash Pair 11, I'm sure you've all got it these days now.
00:17You need the player global, obviously, or else you're not going to compile properly.
00:22And SDK 450 or higher, I stopped using the mouse to scroll, chuck the SDK in your SDK library down there, unzip it and name it to the correct number.
00:42Then you've got to install your player global, so bang on down to frameworks libsplayer and install your player global there.
00:52It needs to be called playerglobal.swick, anything else, it's not going to find it, and you have to have it if you're targeting Flash Player 11, you have to have it in folder 11, 11.2, etc.
01:04If you start getting loads of errors and it's looking for a player global where it can't find it, it doesn't really matter, just put the correct player global wherever it's looking for it.
01:14Sometimes if you're using older versions of Flex Builder and presumably older versions of FDT as well, it's not looking for minor versions, it's only looking for major versions.
01:25So there you go, 11.2 will do as well.
01:30Once you've got everything in there, make sure you're configured to run, to default to SDK 450 or whatever is the most up-to-date SDK you have, and you're going to need a few extra compiler arguments chucked in there.
01:47Here they are, you can grab them off the PowerPoint later on if you need to know what they are.
01:54You're targeting Swift version 13, which is the latest Swift format.
02:00Player 11, I don't know what static link runtime shared library equals true does, but without it, you know, compile, so that's that.
02:08OA3D4 is still in alpha, still being developed. You can get it from SVM or from Git.
02:16I would always go for Git because there are issues being resolved and extra capabilities being put in pretty much on a daily basis.
02:25In fact, there are normally several issues into Git per day.
02:29Check it out into a Flex library project and do a clean build of it.
02:39So I've got here OA3D4, a little Flex library project in here.
02:48You can see the two main parts of the source folder are Adobe's little Agal mini assembler, and that's their library to allow you to render to stage 3D.
03:00If you're going in from scratch, you're not using a library, you're going to need that, but this all gets bundled in with OA3D and they're all your core libraries.
03:10There's stacks of them, and they all do loads and loads of capabilities. Possibly if we've got time, I don't think we're going to.
03:18I might run through a few of them.
03:22So that will build a nice little SWIC for you here up in the bin, and that's pretty much all you need.
03:33Just make sure you've got your SWIC included, and you should be ready to go.
03:42Let's have a look. Off you go. You can now go and build cool stuff really fast in 3D.
03:51There are some problems occasionally with Flex Builder suddenly not understanding any of the Flash display classes.
04:01It's a known issue. I think it's been resolved certainly in Flash Builder 5.
04:07You can go to here if you're getting problems, and that explains the problem and the solution.
04:13It's a bit of a workaround, but it'll get you up and running.

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!