Introduction: Now online Flash special Many, good flash more. But just hanging out on the internet all day. Best of all! You can go down and cherish it. There may be a lot of ways! Of course, in addition to the use of software, I really do not know what other ways? Now talk about the understanding of path knowledge application under Download flash.
first, the basic knowledge, understanding link We know that Web pages are transmitted via hypertext (that is, HTML) on the Web. One of the most exciting is the hyperlink, it can easily jump to any site/page. And this kind of jump is actually through the path! That is, before jumping to this station/page, the first thing to know this station/page address, this address we call URL such as you want to jump to Sina website, first of all to Know Sina Web site AH (http://www.sina.com.cn/), then our HTML how to write it: <a href= " http://www.sina.com.cn/"; >sina</a>, where <a></a> is a fixed form of link! HREF is the number of names to jump to the page, and is fixed. Inside the double quotes is where you're going!
Two, practical exercises, luring learning The URL mentioned above is actually a path (an absolute path), the path is divided absolute and relative. Absolutely, such as FILE,HTTP,FTP and other standard address, for us to download flash, is to this address the best. Why do you say that? For example, I know the absolute address of a Flash animation file: http://flash.tom.com/flashln/1059990638_75959.swf, then I can write HTML code in Notepad: <a href= "http:// Flash.tom.com/flashln/1059990638_75959.swf ";>flash</a> Save it as the suffix is htm or HTML Web page file, open through the browser can be seen on the page there is a hyperlink, left-click it can see this flash, but I use the right button, pop-up menu to select the target save as ... Hey! Come down!
third, continue the topic, grasp the essence However, normal we are in a site is the use of relative address, because this platform portability is good. So for this site flash we can only know its relative address, but we can turn the relative address into an absolute address! How do you turn? That must be to the relative path to master the mastery of how to call relative, the physics of it! :) There are two kinds of relative paths: 1, relative to the root directory. That is, through the site's home directory (root file) How can I find the flash file I want? For example, "/flashln/1059990638_75959.swf", is in this site's main directory has a FLASHLN folder, in this clip to find this file! Find, the "/flashln/1059990638_75959.swf" directly added to the "http://flash.tom.com"; the back is OK, because "http://flash.tom.com" is the root of this site! Knock on the address bar and see if you want flash. Confirm and then write to just the HTML code inside AH!
2, relative to the document itself. How to find the Flash file I want with this document relative to my current one! For example, currently in the address bar my address is "http://www.flash8.net/default.asp"; This page has a flash animation I want, so we just know its address! How do you find it? View source files Ah, the search suffix is a field of. swf. Find "images/flash8_a_d/default/alhy.swf", meaning that there is a folder images with my current default.asp, and the following subfolders Flash8_a_d, Double folder default Find alhy.swf so I just change default.asp to images/flash8_a_d/default/alhy.swf is not the Flash file I want? http://www.flash8.net/images/flash8_a_d/default/alhy.swf, Fix it! Then sometimes you will see ". /", which means I'm looking for a file in my upper layer." When you jump up, you have to remember!
attached: Two o'clock (.. /) to parents (upper level), Slash (/) to ancestor (Root). |