You can. What you need is the url, then you can import it into your movie.
This is the url of the rabbit video we’re going to embed.
http://youtube.com/watch?v=bZBHZT3a-FA
But that’s not enough information. It doesn’t have the whole filename, and it has that “watch” thing in it. The entire url you need is found in the embed code. I have made it bold for you.
<object width=”425″ height=”344″><param name=”movie” value=”http://www.youtube.com/v/bZBHZT3a-FA&hl=en&fs=1“></param><param name=”allowFullScreen” value=”true”<</param><embed src=”http://www.youtube.com/v/bZBHZT3a-FA&hl=en&fs=1″ type=”application/x-shockwave-flash” allowfullscreen=”true” width=”425″ height=”344″></embed></object>
Let’s compare them again and see the difference and similarities.
http://youtube.com/watch?v=bZBHZT3a-FA
http://www.youtube.com/v/bZBHZT3a-FA&hl=en&fs=1
Basically, what you have to do is find the ‘http://youtube.com/…’ part of the embed code and copy everything between the double quotes enclosing it.
Now let’s make a movie. Open SWISHmax 2. Select “create a new movie” from the splash screen.
I’m going to set the width at “475″ and the height at “380″. (Modify => Movie properties)
Select the rectangle tool and draw a rectangle toward the top of the screen. In the reshape panel, set the width to “475″ and the height to “380″—the size of the video. Set the background fill to “none”, the line color to “black”, and the line width to “0″. Set the reference point to upper-left and click the “x=0″ button in the transform panel. Set “x” and “y” both to “0″. The rectangle should be the same size and location on your screen as the movie.
With the rectangle selected, choose Modify => Grouping => Group as Movie clip. With the movie clip selected, switch to the script panel. Select Add Script => Events => Frame => onSelfEvent(load). Now select Add Script => External files and data =>Load/unload Movie Clip => loadMovie(…). Type or copy the filename into the “URL” field at the top, then type ‘this’ (no quotes) into the “Movie Clip” field.
Okay, let’s look. Switch back to layout view and click the “preview” arrow at the top of the screen.
There it is. Isn’t that rabbit cute?

0 comments ↓
There are no comments yet...Kick things off by filling out the form below.
You must log in to post a comment.