Command line package SWF Flash app for playbook Air applications:Use the Blackberry-airpackager command of the BlackBerry Tablet SDK.
Set Path=c:/program files/adobe/adobe Flash Builder 4/sdks/blackberry-tablet-sdk-0.9.1/bin;%path%
Blackberry-airpackager-package Splus.bar Splus-app.xml splus.swfDisplay: Using default Icon:c:/program files/adobe/adobe Flash Builder 4/sdks/blackberry-tablet-sdk-0.9.1/bin/. /samples/icons/blackberry-tablet-default-icon.p
/* Xuanmu */Houjie
I want to deduct something from the SWF file and read the format of the file for the whole 2 weeks ...... -_-#However, the rule can be parsed almost now. At the beginning, it was a bit dizzy to see this structure. In fact, you can skip it, but if you write a complete SWFparser, this step cannot be skipped. Now we can finally figure out how to calculate it. Extract the algorithm from the program for your convenience.
The example is t
Generally, three types of SwF are generated: one is the compilation of the Flex mxml main application, and the other is the compilation of the as class using the flex SDK, another reason is that FLA runs and generates data in Flash cs3.
Because 3rd call methods are the same as 2nd, the first two SWF applications in the flex project are described here.
Helloworld1.mxml
Public Funct
var _swfLoader:Loader;var _swfRequest:URLRequest; var _swfPathArr:Array = new Array("00.swf", "01.swf", "02.swf"); var _swfClipsArr:Array = new Array();var _swfTempClip:MovieClip;var _loadedSWFs:int; startLoading(_swfPathArr); function startLoading(pathArr:Array):void { _swfLoader = new Loader(); _swfRequest = new URLRequest(); loadSWF(pathArr[0]);}
This article mainly introduces the usage of functions used by JS to access SWF. The example analyzes the methods and error-prone processing skills of javascript to access swf files, for more information about how to use JavaScript to access SWF, see the examples in this article. Share it with you for your reference. The specific analysis is as follows:
There hav
Address: http://blog.sina.com.cn/s/blog_66d6c8870100u37j.html
FlashPaper is a tool for converting files in other formats (such as txt, doc, pdf, jpg, and xls) into swf files;
This is a detailed and reproducible configuration for using flashpaper.exe to convert files in web applications/sites.
Previously, I found a lot of FlashPaper configurations on the Internet, and almost did not propose a complete method for repeated configuration.
This configurat
Add config to the project file XXXX. Pro+ = Qaxcontainer
Use the following code in the window to embed and play the flash
Let the QT program call the method in SWF:
Define a button in the main window of QT. The click event of the button is as follows:
Void mainwindow: on_pushbutton_clicked ()
The Interface Program defined in the flex as file is as follows:Private function Init (): void {
Define the Program Implementation
For external resources such as image loading in as3, I usually use two methods: loader and embed. Their respective features are summarized as follows: Embed: resources are embedded in the Flash compilation phase, that is to say, image resources will be compiled into SWF files. The advantage of this is that
CodeIt is concise, easy to use, and there is no loading order problem. The disadvantage is that it increases the volume of
Code
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->// SWF file generation
String export Path = "C: \ windows \ system32 \ cmd.exe ";
String swfpath = ""; // path of the flash Tool
PROCESS p = new process ();
P. startinfo. filename = shadowpath;
P. startinfo. useshellexecute = false;
P. startinfo. redirectstandardinput = true;
P. startinfo. redirectstandardoutput = true;
P. startinfo. redirectstandar
We know that the HTML page is executed on the client. To obtain parameters, you must use a client script (such as JavaScript), which is different from the method used by the server script to obtain parameters.
The following js Code retrieves an HTML webpage, such as "test.html? Foo = mytest program = flash ""? All parameters.Copy codeThe Code is as follows:
1. The following JavaScript code can be used to obtain a parameter of an HTML webpage in more detail. Copy codeThe Code is as follows:
2
This article mainly introduces the usage of functions used by JS to access SWF. The example analyzes the methods and error-prone processing skills of javascript to access swf files, for more information about how to use JavaScript to access SWF, see the examples in this article. Share it with you for your reference. The specific analysis is as follows:
There hav
1. Download the conversion toolScratch2flash.zip Download: Join 366244662 (for kids programming enthusiasts); Download in group file2. Conversion:(1) Unpack the tarball and open scratchflash.html(2) Select the file to convertPoint:, I choose 1612-1catch game.sb2 (You want to select the scratch file to convert)(3) format of the conversion: Full screen, show Green Flag Bar (green banner), the remaining default;Click Convert and keep the 1612-1catch game.sb2.sw
This article mainly introduces how to obtain SWF animation in php. For more information, see 1. download and install the attachment. For more information, see the attachment help.
2. copy the code to a proper location, generate an image, and do what you need;
$ Oldswf = "/uploads/swf/test.swf"; $ oldjpg = "/uploads/litpic/test.jpg"; $ flash2jpeg = new COM ("SunCN. flash2Jpeg "); if ($ flash2jpeg) {$ a =
How to generate swf nbsp, preview failed. if you check it online, the flash and nbsp; 9 to 13 versions are supported, the personal computer version is 14 (Click here to view the local flash version). Therefore, you need to change one of the as files. after the change, how to generate a swf for modifying the ac file
The project uses FaustCplus, which does not work today, that is, after uploading a photo, t
Package{import Fl.controls.label;import Fl.controls.textinput;import Flash.display.sprite;import Flash.events.Event;[SWF (backgroundcolor= ' 0x00FF00 ', width= ', height= ', framerate= ')]public class Main extends Sprite {private var username:textinput;private var userpassword:textinput;private var usernameinfo:label;private var userPasswordInfo : Label;public function Main () {this.init ();} Private Function init (): void {}}}As above, the height and
ProblemHow to makeFlashOfSWFInClientNoCache? That is, how to make SWF files appear in the temporaryFileFolder?Method:GenerallyDynamicPage(ASP, PHP, etc.)LanguageBut SWF cannot directly set the HTTP header.SolutionYou can start from the server and add the HTTP header to IIS:Cache-control: "No-Cache"Pragma: "No-Cache"Expires: "-1"However, when setting IIS, note thatSetIf the HTTP header is used, the content o
Source: http://bauhouse.wordpress.com/2009/01/16/135/
Using mxmlc (the mxml and ActionScript 3 stand alone, command line compiler provided with the Free Flex 3 SDK) to compile your ActionScript 3 SWFs, you can use the SWF metadata tag to set common properties in the main document class for the application. the SwF metadata tag supports 4 properties
Width
Height
Framerate
Backgroundcolor
P
Collected on the flash bar:
How to make the full screen effect of SWF files?
Method 1:The full screen menu bar and toolbar of the browser are not displayed. This full screen is a little complicated and has nothing to do with Flash settings.Help JavaScript. The method is to add the following between Code:
Method 2:You can also add the following to the geturl command on the first actions of the SWF
Flashpaper is Macromedia launched an Electronic document class tool! By using Flashpaper, you can convert the document you need to a SWF-formatted Flash animation, and the original document's layout style and font display will not be affected, and the benefit is that no matter what the platform and language version of the other is, you are free to watch the electronic document animation that you make, And can be free to enlarge, shrink and print, pagi
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.