Looking into the HTML
Taking a look at the html that needs to be updated to make our flash vars pass information into our flash when it is created.
Video Transcript
00:00Now we're going to what I'm going to do is I'm going to publish my flash file. I'm going to click on publish
00:06Now after I publish I'm going to go into the directory where the file was published
00:10And I'm going to just open up my flash vars inside of dream waiver, and I'm going to click ok
00:18So here we go, so this is our default what flash created for us automatically when we created our HTML
00:24Now all they think I really want to focus on this is just saying
00:28at least currently
00:30there's two different
00:32Engines that run browsers you can say one is the Microsoft variation and the other one is probably all the rest the Mozilla the
00:39Firefox the Safari the webkit most of them lean on on
00:44one type of application
00:46Declaration for flash well another one leans on another one and basically there's this kind of like and now and if you could see
00:53You're if not ie then do this and everything inside of this all right
00:58So you don't really have to get into all the details all the intricacies of this
01:03But really what you want to know from this is that when you have a flash object on your screen
01:07And I'm not going into all the different fancy solutions that exist just basics whenever you create your flash application through flash professional
01:15You're going to have actually two declarations of your flash application
01:18You're going to see and really really don't worry about the syntax if you don't know it
01:22You don't know you don't have to dig into it too much even though I do recommend you do get to know HTML
01:27So you'll see that in our first object
01:29We have here the location of our first with which is in the same directory and flash bars
01:33That's with and a lot of other properties
01:35And we see the same thing inside of the second object type and we can see there that we have your flash bars
01:41That's with and all the related information related to it
01:44So it's kind of like a double duplicate of the same thing just to support the two different browsers
01:49Alright, but now that we know that we actually want to add one more parameter
01:53So we know that we have your a movie we have your quality background
01:56You could actually change these things and I encourage you to play around with these stuff
02:00So but in our case we want to add one more parameter that doesn't exist
02:04So I'm just going to create a new param
02:05And I'm just going to cap copy the exact same thing as we have here so it's prom name and then value
02:14value and
02:17Our name is going to be flash of ours because that's just the name the flash is waiting for it's going to be all
02:22one word flash of ours
02:24Doesn't really matter if it's uppercase or lowercase, but usually I like camel casing things when you're in flash
02:31It is important to camel case everything it is case sensitive and HTML isn't case sensitive
02:36So we have our flash bars and in our flash bars
02:39We could start giving our values and just as we've seen in flash when we were working on the on the Google
02:44We were looking at the Google sample earlier if I just undo that in the exact same format
02:49We're going to start adding variables, and we're going to start with the time one
02:52So to do that. I'm going to just add here a new time
02:56Time variable and we're going to say equals
02:59And I'm just going to put here just a random number for now just for a second
03:02I'm going to write type your 12
03:03And I'm going to copy this param
03:05And I'm going to paste it into the second object just to make sure that both my IE version of flash and my
03:12Non IE versions of flash will have access to this flash bar information
