Viewers: in countries Watching now:
In Flash Professional CS5 Essential Training, author Todd Perkins explains the fundamentals of Flash Professional CS5, the industry standard for creating animations and interactive applications for the web, desktop, and mobile devices. This course starts with the basics, such as using the drawing tools to create simple animations, and progresses to automating animation with tweens and adding interactivity with ActionScript. This course also covers how to add sound and video to projects, enhance realism with effects like easing, and publish a project to a variety of platforms. Exercise files are included.
In this movie, we'll look at generating a P12 file on Windows. Before you start doing anything, you'll need to download and install OpenSSL. If you go to openssl.org/related/binaries.html, you'll find a link to download OpenSSL. I'll click that link now. At this link, I can scroll down and find links to download OpenSSL and another application that you may have to install called Visual C++ 2008 Redistributables.
If you try to install OpenSSL and you get a warning that you should have this file as well, make sure to install that. And of course, before you install these applications, make sure you read through the terms and conditions and that you feel comfortable installing those applications on your machine. When I installed OpenSSL, I installed it to my root directory in my C drive, and then I was prompted to install some additional files, and I chose to install those files in the bin directory. So, once you have OpenSSL installed, the next step is to launch your command line. So, I'm going to the Start menu, and then I'll search for cmd.
The command line app is then selected, so I'll press Enter on my keyboard to launch it. If you don't have any experience using the command line, don't worry. I'll walk you through each part of this, step-by-step. So the first step is to change the directory to the OpenSSL's bin directory. So, type cd C:\OpenSSL\bin and press Enter on the keyboard.
Now, we've changed the directory. The next step is to create a private key. To do that, type the following command, openssl genrsa -out mykey.key 2048, and press Enter on the keyboard. Now, we'll create the Certificate Signing Request. So, type the following command, openssl req -new -key mykey.key -out CertificateSigningRequest. certSigningRequest -subj "/e-mailAddress= and then type your e-mail address for your Apple Developer account.
Then type, CN=. Now type your name, and this should be your name as it is in your iPhone Developer account. So, mine is Todd Perkins and a comma and a space. C that stands for country and equal sign and then your country's ID. Mine is just US. Close quote. And then press Enter to run the command, and it looks like the Certificate Signing Request was created successfully, since I don't have any errors. So I'm going to go over to the Apple Developer Center, and I've logged into the Developer Program Portal, and I've clicked the Certificates link, so I'll go to the Request Certificate button.
I'll scroll down. Following the instructions, I'll click the Browse button. I'll find the CertificateSigningRequest file. It's actually in the bin directory, in OpenSSL. I'll click Open and then click Submit. So, I've sent the request to Apple, and it's waiting my approval. So, I will click Approve, and now it says Pending Issuance. I can actually refresh the page once or twice, and it should be issued by then. And now, before you download the file, make sure you download and install the WWDR intermediate certificate.
Here is the link to do that. So, once that's installed, click the Download button to download your certificate file. So, I'm going to Save this File. I'll drop this into my OpenSSL/bin directory. So I'll just drag and drop that Developer Identity File there. So, now I have the certificate from Apple. The next step is to turn that certificate into a P12 file. So again, we'll do that using the command line.
So, I'll scroll down, and I'll type the following command. openssl x509 -in developer_ identity.cer -inform DER -out developer_identity.pem -outform PEM.
This will create a PEM file, which we can then use to create a P12 file. Keep in mind, as I'm writing down all these file names, these are just the default file names. So, if you have ever changed any of the file names, you'll have to make sure to change your code from mine when you're in the command line. I'll press Enter to run the command, and then finally, we'll create the P12 key by typing openssl pkcs12 -export -inkey mykey.key -in developer_identity.pem -out iphone_dev.p12.
Press Enter to run the command, and then you'll have to enter an Export Password. So, you're connecting this password with your P12 file. Remember this password, because Flash is going to ask you for it later. So, I'm going to enter my password here. Then you'll be asked to Verify the Password. So, I'll verify my Password, press Enter and the P12 file is created. You can see that in the bin folder, inside of your OpenSSL folder. So, I have my iphone_dev file right here, and this is the P12 file that Flash was asking for.
So, following these steps, you can generate that P12 file that Flash needs, so you can create an iPhone app using Flash on Windows. So, if you follow these steps, you'll have the P12 file that you'll need to create iPhone applications using Flash on Windows.
There are currently no FAQs about Flash Professional CS5 Essential Training.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.