Document directory
1. Use a local trusted File
2. Specify local playback security during compilation
I believe most developers who use flash Builder/flex builder for development have encountered this problem. The compiled SWF is opened in Bin-Debug (not debugging in IDE environment, you can directly double-click to open it with Flash Player). If you copy it to another folder, a security error will pop up. This is because Flash Player imposes res
Note: This program is a small game written in flash and released as an EXE file (such as the famous Game "mechanical Maze"). It is a pure entertainment game, if you are playing with it, you will not talk about the algorithm. You will understand the code. Running Environment Visual Studio C ++ 2005; directly add the code
# Include "stdafx. H"# Include
// SWF file toysTypedef struct tagswfid {Unsigned long int ID;Unsigned long int swffilesize;} Swfid;
Case 2: Familiarity with the use of addchild and removechild between different SWF, and loader usage
Description: Click on the picture to load another SWF, click on the loaded SWF on a button, the SWF disappears.
Demo: http://www.live-my-life-with-yuyi.com/as3_cases/different_movies/
Code:
SWFA (which is the flash
PHP is not the same, PHP contains the zlib link library, you can directly use its related functions, the following is my written compression and knot compressed SWF file Example:
Not joined to determine whether the SWF file has been compressed, in need can be based on the first byte of the file is ' F ' or ' C ' to determine
To compress a SWF file:
//------------
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
Monkey original, reprinted. Reprinted Please note: Reprinted from cocos2d Development Network --cocos2dev.com, thank you!
Original address: http://www.cocos2dev.com /? P = 279
I previously introduced the creation of various animation methods for cocos2d-x, But 2.0 modified some methods, and many friends asked me how to create an animation, today I will introduce the animation creation method of 2.0, I hope you can see that you can learn how to create animations in other ways.
1. Use
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
/*------------------------------------------------------Author: WiNrOOt [FCG]Tool: flasm http://www.nowrap.de/flasm.htmlUltraEditSothink SWF DecompilerObjective: To enable swf with server verification to be played locally (the main objective is to hope you can give some advice)Objective: ** Gong Shuo's mathematics tutoring swf File--------------------------------
SWF is an interactive animated file format that requires Adobe Flash player to be installed in order to open a SWF file. So how do you convert your downloaded SWF file to a common MP4 format? We'll use the SWF format converter, which enables you to swap SWF for a common vide
This example is a PowerPoint application example tutorial, using a slideshow to make a product demo is a lot of our units often do one thing, but its ppt format file is not easy to publish online, playback it needs PowerPoint environment support, even if the production of packaged executable files, To insert the video file will sometimes appear path and incompatibility problems, to bring some inconvenience to our use. In this example we will learn how to convert a PPT document into a Flash
;Ini_set ("zlib. output_compression", 4096 );?> Okay, now everything is ready for us to import the final file.Compress the swf file: The code is as follows:Copy code // File name$ Filename = "test.swf ";// Open the file$ Rs = fopen ($ filename, "r ");// Read the file data$ Str = fread ($ rs, filesize ($ filename ));// Set the swf header file$ Head = substr ($ str, 1, 8 );$
Here is a SWF obfuscation tool, which is now open source project on open source China git mixswfA few days ago want to confuse their own projects, but the Internet to find the obfuscation tool to fill out the field needs to be confused, and confused after the run does not know where the problem, so to study the principles of these obfuscation tools. The Chinese information on the Internet is relatively small, and has eaten two days of the official inf
The use of Slideshow production demo is a lot of our units often do one thing, but its ppt format file is not easy to publish online, play it needs PowerPoint environment support, even if the production of packaged executables, the video files inserted into which sometimes there will be path and incompatibility problems, Bring some inconvenience to our use. But right now, we can use PowerPoint to Flash software to convert the PPT document into a Flash SWF
1.ctrl+f8 new [movie clips], name free, drag the movie symbol to the top left corner of the scene (shortcut key definition location: ctrl+alt+1 and Ctrl+alt+4)
2. Click the movie symbol in the scene of the mouse, define the instance name in its property bar (CTRL+F3), example: MC
3. Enter the following code (F9) on the frame where the SWF file needs to be loaded:
--------------------------------------
Loadmovie ("zb.swf", MC);
ZB.SWF is the path
Failed to learn ~ First Paster ~~~~~~~~~~~~~~~~~
'The online has seen some methods to extract SWF in the PPT over the past few days, so I realized it through programming. After Embedding several other office files, you can simply save them to another webpage .....'The idea is as follows:1. Use the COM Object of the PPT to traverse the slides and copy the embedded SWF control to the clipboard.2. Access t
You can use the LocalConnection class to create a LocalConnection object, which can call methods in another LocalConnection object between one SWF file or multiple SWF files. Local connections allow communication between SWF files. LocalConnection objects can only communicate with SWF files running on a client computer
Wirelessly WebView reads HTML while embedding the Flex SWF, interactingAndroid activity and HTML interaction is very simple, with JavaScript interface, online a bunch of examples, basically not much problem.Embedding SWF in HTML and interacting with it is a bit of a hassle, I used the externalinterface did not succeed, the brother station successfully can communicate. I'm using a flashvars,Without changing
Synchronous loading of multiple external swf using flash// The parameters are the number of files, the starting point x, the starting point y, the width ratio, the height ratio, and the spacing.// The external parts are separated into 0.swf,1.swf,2.swf ...... incremental parts. In fact, the same is true for loading ima
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.