Due to the need to analyze SWF files in recent projects, I have found a lot of information on the Internet and referred to the SWF file format document officially released by Adobe, but I am not quite clear about it. Later, after several days of hard work, I finally had an epiphany (poor native slowness, poor comprehension ability, it's only time to make up for it ). I will share with you the results of my
The project uses temporary write. To be improved:Copy codeThe Code is as follows :/** Obtain the swf playback address of Youku and Tudou based on the (swf/html) Address submitted by the user.**/Private function _ getSwf ($ url = ''){If (isset ($ url )! Empty ($ url )){Preg_match_all ('/http :\/\/(.*?)? \.(.*?)? \. Com \/(. *)/', $ url, $ types );} Else {Return false;}$ Type = $ types [2] [0];$ Domain = $ ty
The code is as follows
Copy Code
The project is used for temporary writing. To be perfected /** According to the user submitted (swf/html) address, access to Youku, potato SWF playback address* */Private Function _getswf ($url = ' ") {if (Isset ($url) !empty ($url)) {Preg_match_all ('/http://. *?)? (. *?)?. com/(. *)/', $url, $types);}else{return false;}$type = $types [2][0];$domain = $type
The project is used for temporary writing. To be perfected:
Copy Code code as follows:
/*
* According to the user submitted (swf/html) address, access to Youku, potato SWF playback address
* */
Private Function _getswf ($url = ' ") {
if (Isset ($url) !empty ($url)) {
Preg_match_all ('/http:\/\/. *?) \. (.*?)? \.com\/(. *)/', $url, $types);
}else{
return false;
}
$type = $types [2][0];
$
This is useful when you develop your own auxiliary tools.
The overall structure of the SWF file is composed of header + body.
The file starts with a [File Header]Its structure is as follows:
[Copy to clipboard] [-] Code:Byte Name Description1 signature "F" indicates the non-encrypted format, and "C" indicates the encrypted format1 signature "W" has no special significance1 signature "S" has no special significance1 version number, indicating the corre
Parsing swf file headers under PHP recently, I saw a post on the CSDN Forum, hoping to use PHP to get the swf file frames. some netizens replied that it was impossible, in fact, they do not know about the swf file format, and the swf file format specification is open. In addition, they can find quite a lot about direct
What is SWF file, swf file is Flash animation file, then the SWF file with what open? In fact, you need to open the SwF file method is very much, the following editor introduces you several of the simplest way to open, I hope to contact the SWF file Novice friends help.
Developing web games with flash will inevitably deal with various art resources. For static resources, there are various images. For dynamic resources, you can consider making SWF directly. The art resources produced into SWF can be divided into two types: one is to directly list the key frames on the main timeline, after the program uses the loader class to load the SW
Restore any SWF file to the FLA raw code perfectly! , I was shocked when I first saw the news. Before this, I believe that many of the friends like Flash animation using SWF scaner, flash-AX, Action Script viewer, etc. to decompose the SWF file inside the picture, music and even action script (action Scripts) and other information, For
About how to load external SWF in ActionScript 3
Disclaimer: Anyone and organizations are welcome to repost the articles in this blog, but the original links and author information must be marked.
Link: http://blog.csdn.net/li_007/archive/2009/03/27/4031073.aspx
Pioneering little turtle -------> csdn
For external SWF loading, corner 3 has changed the implementation method of corner stone 2/1. Of course, t
Parsing swf file header under PHP
Recently, in
CSDN
On the forum to see a post, want to implement PHP to get the SWF file frame number of functions, some users replied that it is impossible, in fact, they do not understand the SWF file format, SWF file format specification is open, but also can find quite a lot about
Parsing swf file header under PHP
This article transferred from: Http://www.dssky.net
Recently, in the CSDN forum to see a post, want to implement PHP to get the SWF file frame number of functions, some users replied that it is impossible, in fact, they do not know the SWF file format, SWF file format specification is
Parsing swf file header under PHP
This article transferred from: Http://www.dssky.net
Recently, in the CSDN forum to see a post, want to implement PHP to get the SWF file frame number of functions, some users replied that it is impossible, in fact, they do not know the SWF file format, SWF file format specification is
All of a sudden to do a lot of pictures into a SWF work, and still use the unused C #, fortunately, the syntax is similar to Java, the Internet to find a circle, find a swfdotnet plug-in, the URL is as follows:Http://www.codeproject.com/KB/graphics/jpeg2swf.aspx?fid=369197df=90mpp=10noise=3prof=True sort=positionview=quickfr=21The sample code on the page, but only for a picture, do not see the effect of SWF
This blog post introduces the encryption method as the most basic encryption method for hiding keys. Of course, such an encryption method can also be cracked at present, but it is only intended to prevent the gentleman from being a villain, the ultimate encryption method is obfuscation. (If adobe does not support the disclosure of swf files, the encryption of swf is futile in most cases, share an idea. If y
2
above, we have roughly introduced the basic principles and processes of asv fla file generation. before further exploring ASV restoration features, it is necessary to clarify some fuzzy understandings: although ASV provides us with such powerful recovery capabilities, theoretically speaking, it is impossible for SwF to actually reverse to fla! th
SWF file is a Flash animation file, open swf file method There are many kinds, the following triple tutorials to share the next few of the most simple open method.
Open the SWF file in the following ways:
One: Use Flash software to open SWF file
Because Flash animation design software designed to the final file of t
One, Loadmovie ("url", Target [, Method])Description: function; Loads the SWF file or JPEG file into the path of the target movie clip in Flash player while playing the original SWF file.First we can see that the function has 3 parameters: URL, Target, method. Where the last parameter "method" is an optional parameter.1. Parameter URL: The absolute or relative URL (path) of the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.