SWF files cannot access local resources. Only SWF files in the file system and trusted local SWF files can access local resources. [reprint]
Article category: Flash ProgrammingError message: securityerror: Error #2148: SWF file D: \ demo \ test \ index.swf cannot access local resources D: \ demo \ test \ bin-Debug \ t
Error message: securityerror: Error #2148: SWF file D:/demo/test/index.swf cannot access local resources D:/demo/test/bin-Debug/textlayout_4.0.0.10485.swf. Only the SWF files of the file system and trusted local SWF files can access local resources.At flash.net: urlstream/load ()At flash.net: urlloader/load ()
Solutio
One: Use Flash software to open SWF file
Because Flash animation design software designed to the final file of the animation file is SWF format file, then Flash software can open the type of file is not determined, but Flash software is larger, the general user just need to see the animation, running the animation in the game or video just, Obviously it's not realistic to go down and install a flash develo
What is the SWF file
SWF is a flash animation file, typically created with flash software and generated in SWF file format, SWF format files are widely used to create attractive applications, they contain rich video, sound, graphics and animation. You can create raw content in Flash or import them from other Adobe app
The answer to the question raised in the title of this article is "impossible". At least it's impossible for me. With the right tools, we can decompile any SWF file. Therefore, do not place important information in the SWF file. Do not include a personal account or password in the SWF file.I will briefly discuss the history of "protection" technology and how they
What is the swf file? In fact, the SWF file is a flash animation file, then the SWF file with what open it? In fact, you need to open the SWF file method There are a lot, the following gives you several of the simplest way to open.
The specific methods are as follows:
One: Use Flash software to open
In AS3, if the parent SWF loads a child SWF, and the child SWF loads a txt file, how does the parent SWF know when the child SWF loads the txt file?
Code in the child SWF:
var urlrequest:urlrequest=new urlrequest ("A.txt");var l
files use methods such as bit compression and optional field structure to reduce the file size.
D: Simplicity: This simple structure makes flash players very small and portable. In addition, flash players only rely on a limited set of operating system features.
E: file independence: file display does not depend on any extended resources such as fonts.
F: variability: it is important that files work well in a limited hardware environment and use better hardware as much as possible, because
Geovid video to flash converter 6.1 pro Simplified Chinese version [Flash] 13.6 MB authorization method: free software environment: Win2000/WINXP/win2003 language: Simplified Chinese software type: Chinese software rating:High QualityFlash(SwF/FLV) encoder. We can convert Avi, ASF, WMV, mov, MP4, MPEG, mpg, and other video files into SWF or FLV files.FlashFile.This will help us import the video file directl
Local files without Network Environment
Currently, I have designed a website homepage using Flex builder 3 and want to run it on a non-Web Server (like a static webpage). An error occurred while accessing the local file as shown in the title SWF, some methods are found on the network. Here the URL (
Hi.baidu.com/wllw/blog/item/ae173fa8e80879b5ca130c30.html
(
Effective Test
).
the core excerpt is as follows: (solution)
Swftools is a set of sdks used to process Flash SWF files, including:1. Merge tool swfcombine2. Extraction Tool swfextract3. Conversion tools from PDF, JPEG, PNG, Avi, TTF, and wav to SwF: pdf2swf, jpeg2swf, png2swf, avi2swf, font2swf, and wav2swf |4. Text parsing tool swfstrings5. SWF parser swfdump6. SWF read/write l
HTTP://IMGFREE.21CN.COM/FREE/FLASH/1.SWF Red background with small white meteorhttp://imgfree.21cn.com/free/flash/2.swf light green background bright vertical barhttp://imgfree.21cn.com/free/flash/3.swf light ball and fade in and outhttp://imgfree.21cn.com/free/flash/4.swf Rice Word StarlightHTTP://IMGFREE.21CN.COM/FRE
program using the new testbmpclass () method.
Why use SWF instead of custom file formats to package image resources? There are two reasons: one is that for images with Alpha channels, SwF compression is smaller, second, the Flash virtual machine parses SWF files faster than parsing custom format files.
Currently, the
From: http://www.itfeed.cn/post.asp? Id = 10197
In fact, the concise statement here is that AVM2 loads the swf of AVM1.
Actionscript1.0 (flash 1.0-6.0) corresponds to the Virtual Machine AVM1, based on ECMA-262 V2 (equivalent to javascript1.2)
Actionscript2.0 (flash 7.0-8.0) corresponds to the Virtual Machine AVM1, based on ECMA-262 V3 (equivalent to javascript1.
Many times, we need to put the SWF into the page load, and the corresponding resources are placed on the page, loading the SWF in the Web page is usually through the "*.swf?p=. p2=. "This way to call this SWF and arguments, if this page and SWF in the same directory (that is
following figure
The main file name that is set up in the routine and then extracted. (very key, name not wrong, pay attention to choose after decompression!!) )
And then choose the "Mode" tab, e--f--g a few,
This set up the file to "temporary folder", the process does not appear any hint window, cover old files (also to prevent the hint)
Then select the "Text and Icon" tab and set the icon .
4, start compression bar!!
The compressed file icon is customized to extract to the temporary folder
As we all know, SWF file is one of the standard file formats of flash output, it is widely used in Powerpiont, Authorware and other software can be easily invoked. So how do you use SWF files in Flash? This article will give you a detailed description of the relevant technology.
When you use Flash to make courseware, you often need to use some out-of-the-box SWF
name that is called after decompression. (very key, name not wrong, note is decompression after the running of the filename!!) )
And then choose the "Mode" tab, e--f--g a few,
This set up the file to "temporary folder", the process does not appear any hint window, cover old files (also to prevent the hint)
Then select the "Text and Icon" tab and set the icon.
4, start compression bar!!
The compressed file icon is customized to extract to the temporary folder of the
Flash can do a lot of expressive animation effects and interactive effects, which is incomparable to flex.But it does not mean that Flex cannot achieve the same effect.It is not difficult for Flex programs to integrate Flash because they all use the ActionScript language.Flex can also control FlashInserting Flash In Flex is a good way to improve program interaction.The advantages of Flex and Flash can be realized.However, there is an AS version problem: when 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.