Authentic voices. Remarkable stories. AOL On Originals showcase the passions that make the world a more interesting place.
The story of punk rock singer Laura Jane Grace of Against Me! who came out as a woman in 2012, and other members of the trans community whose experiences are woefully underrepresented and misunderstood in the media.
Documentary shorts conceived of and directed by famous actors. Jeff Garlin, Katie Holmes, Alia Shawkat, Judy Greer, and James Purefoy
Park Bench is a new kind of "talking show" straight from the mind of born and bred New Yorker and host, Steve Buscemi.
Digital influencer Justine Ezarik (iJustine) is back. After covering the world of wearable tech last season, iJustine is expanding her coverage this year by profiling the hottest tech trends across the country.
Enter the graceful but competitive world of ballet through the eyes of executive producer, Sarah Jessica Parker. This behind-the-scenes docudrama reveals what it takes to perform on the ultimate stage, the New York City Ballet. Catch NYCB on stage at Lincoln Center.
Nicole Richie brings her unfiltered sense of humor and unique perspective to life in a new series based on her irreverent twitter feed. The show follows the outspoken celebrity as she shares her perspective on style, parenting, relationships and her journey to adulthood.
Explore what it means to be human as we rush head first into the future through the eyes, creativity, and mind of Tiffany Shlain, acclaimed filmmaker and speaker, founder of The Webby Awards, mother, constant pusher of boundaries and one of Newsweek’s “women shaping the 21st Century.”
Gwyneth Paltrow and Tracy Anderson spend time with women who've overcome hardship, injury, and setbacks to triumph in the face of adversity.
Hank Azaria’s touching, humorous, and often enlightening journey from a man who is not even sure he wants to have kids, to a father going through the joys, trials and tribulations of being a dad.
ACTING DISRUPTIVE takes viewers inside the businesses and passion projects of Hollywood’s top celebrities.
Follow Scott Schuman, the Sartorialist, from the streets of NYC to the capitals of Europe on his quest to photograph and document the best in culture and fashion.
Go behind-the-scenes with racing's hottest, young talent, 17-year-old Dylan Kwasniewski, as he aspires to make it in the #1 motorsport in America – NASCAR
Hello and welcome to this tutorial brought to you by .Adobenicnacs and this one we’re going to have a look at some of your flash. We’re going to look at creating a button that has up over and down spaces and it loosen navigate to website once it’s clicked, in our case Google.
So, let’s get started. I just want to know, we just want to know how to do the navigating to the URL, but just copy its pretty much the same, but I will go over few slightly more advance things coding wise and it’s not really advance, but if you’ve never coded before then it might similarly more advance. So, just to ignore them, ignore those if you really don’t understand.
Let’s get started. I’m going to create a new file and I’m going to be using action skip 3.0 that’s very important to note and we have to do the same thing actions script 2.0 and press okay. I’m fast about sizing my document except that I’m going to fit the whole window in the frame, choose my background color some a little bit darker and what we’ll do is first, we’ll rename our first layer to actions and we lock it because this is where all our actions script will go in this one.
Then, I’m going to create a new layer for that, I will call this button and now we’re going to create our button. I will start off, we’ll put some text, we’ve got the text drop just click in here and we’ll type out our button, let’s say go to Google. Make a bit bigger and we change the color to white, there we go and if you haven't already got the align palette open, go to window and just line with Control K, make sure two stage is checked, we can center that and then grab our rectangle tool, change the fill color here to whatever color you want. I’m going to using a blue to our rectangle and then I’m just going to select the rectangle and use my move tool and the same thing, I’m going to align it to the center. Click off. And then what we’ll do is we draw a box over both of these items using move tool and press F8 which is the hotkey to convert an item to a symbol, and just turn that to basic and wherever you want that actions to someone, it needs to be converted to a symbol, not a graphic because that is just for –not it’s not only for adding actions it could be of movie clip or button and since we’re creating a button, it would make sense to choose the button option.
We’ll give it a name and you don’t want to use spaces and you want to add a special ending, go to Google and notice how I’m capitalizing every letters of the first one, you don’t have to do that, but its good practice I’ll just go btn which tells us this button. Again, not necessary, press okay. So now, if you notice we’ve got 01 element here and now, what we’re going to do is we’re going to add the up, over and down state to it.
So, let’s double click on it and as you could see up here, we’re no longer in our original scene. We’re into the bottom and you can see we have a few things up here. Now, if you don’t understand how key frame and time lime works, don’ worry, you don’t really need two of these.
So, our first key frame here is up and that’s what it looks like when its up and then, right click insert a key frame over. So, when it’s over, what we’ll do is we’ll choose the background rectangle and we’ll make the color a bit darken or white, a dark blue, right inside key frame down, and then, what we’ll do is do the same thing. So, we’ll make it a little lighter. And then, what we wanted to do here is just insert key frame to hitch, you don’t need to know what it does, you don’t need to change it too, just go to the color and see if you can just ignore that one, just make sure you insert a key frame, and then just click it to go back to scene one.
So now, we need to track the code. So, what you can do is you can just go to track actions layer, make sure the first key frames is selected because we really have one key frame in our timeline and we to go our window actions. So, we’re in the actions area working for our coding.
And all it means by actions is basically code because we’re using action script plus the coding line which we’re using. So, the first one we need to do is set up some record in invent listener, if we listen, but not actually listen, it’s like checking, but physically listening for when something happens. So, what we’re going to do is —first one we need to set up a name for our button. So, if we go to button, if you notice it says, instance of, go to Google_btn. That’s the button, but we can have as many of these out as we like and if we code the go to Google_btn for actions, how is it going and which one it wants to go to and that’s why instance name goes in. So, we gave a name to instance of the button. The scenes where you can have one of these, we can call it exactly the same. Go to Google_btn, just copy that, so it’s the same, we’ll go back to actions, over here, open up your action palette and just paste it and then we can do dot at event listener, if you got the code hinting, it will just come up this and you can see, it was a quite important. So, we’re listening for an even on the go to Google_btn instance of that button.
What we’re looking for is a mouse event and to type of mouse event, what we’re looking for is a click and we click come up and a space and now we have to tell it what we want to do once that happened, once they clicked on it and we’re going to call a function and we’re going to call it go to Google, close bracket, semi colon go down a couple of lines.
Next, we need to type functions because we’re writing a function and function name is going to be go to Google. So, this is what is going to happen once they clicked on the button. Now, open up a bracket and we’re going to type event, you don’t need to know why really it types event, you can just stick in and say mouse event, it talks that we’re having, close bracket and we need to put a colon and type void because you’re not actually returning any information. Skip a line close curly bracket and up in that, what we’ll type is navigate to URL all in caps and that is calling a function to go to a website and we need to open a bracket and how we return to the website.
You could not just return to the website like this because that will be into a string and flash there was strings on website addresses differently. So first, what we need to tell flash that we’re actually entering a URL. So, we type new URL request, open bracket, speech marks, now we can type in, but we have to put the http:// and it is important you put that www.Google.co.uk close speech marks, close bracket, semi colon and we’re done.
I’m just going to go to my browser and I’m just going to close down this tab, so we can make sure it works and you can hold down control press end and search to movie and make sure you don’t have any errors and as you can see, I made a mistake here, I’ve only put one semicolon which is closing these two, I need to put another one to close the navigate URL section, just start again and now if we see the URL we got this click, it goes let go and we go to Google and there we are. It’s really that simple to create a button that goes to a website. It’s really that simple. Please comment, rate and subscribe.
If you don’t know already I’m trying to get a hundred subscribers when I first joined which a year from when I first joined. So, that will be September 2009, so I’m trying a hundred of them and I have just over 75 right now I thin. So, if you haven’t please, please subscribe. You can get all my new video straight from the YouTube front page as soon as they come out which is great, but other than that, thank you for watching.