Flash Object and embed labelsI. Introduction:If we want to display the Flash content normally on the webpage, the webpage must have a tag with the specified flash path. That is, the object and embed labels. The object tag is used for IE browsers on Windows, and embed is used for Netscape Navigator browsers on Windows and Macintosh platforms and IE browsers on Macintosh platforms. On Windows, ie uses ActiveX controls to play flash, while other browsers use the Netscape plug-in technology to play
Flex sidePublic Function Initapp (): void{Externalinterface.addcallback ("Function1", callback1);}Public Function Callback1 (): void{Alert.show ("Hello word");}JS Endfunction JavaScript (){document.getElementById ("Dome1"). Function1 ();}Id= "Dome1" width= "100%" height= "500"codebase= "Http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" >Note: If you call external images or video files inside a flex program, be sure to unify the path
1. Trigonometric FunctionsDoublesin (double); sineDouble cos (double); cosineDouble tan (double); tangent2, Inverse trigonometric functionDouble asin (double); Results are between [-PI/2,PI/2]Double ACOs (double); Results between [0, PI]Double Atan (double); Arc tangent (main value), results in [-PI/2,PI/2]Double atan2 (double, double); Arc Tangent (round value), the result is between [-PI,PI]3. Hyperbolic trigonometric FunctionsDouble Sinh (double);Double cosh (double);Double Tanh (double);4.
Flash embedding problems Friends may think it is very simple, but specific to some of the problems, it is not so simple, such as: IE browser to flash block virtual box how to remove? Is the FF, OP, NS, and other browsers compatible? is the code in line with the standard?? Wait a minuteBelow I would like to share someone else's paper, study togetherI. The traditional approachObjectClassID= "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"codebase= "http://fpdownload.macromedia.com/pub/shockwave/
The code is as follows
Copy Code
//ig
This regular and matching link tag is basically the same, modified as follows, Tag name IMG, no end tag but > end.
The test code is as follows:
The code is as follows
Copy Code
The second is replacing the flash code embedded with the object code with [swf]url[/swf].
The positive text is as follows:
The code is as follows
Copy Code
/
If all of the attrib
dimensions are 4:3:640 x 480 pixels, 240 pixels x and 180 pixels.) )
CodeBase Property
Value: active.macromedia.com/flash7/cabs/swflash.cab#version=7,0,0,0
Description: Identifies the location of the Flash Player ActiveX control so that the browser can download it automatically when the control is not installed. The value entered must be exactly the same as the above display. Applies only to object.
Pluginspage Property
Value: Www.macromedia.com/shoc
Flash embedded problems in the forum has been asked several times, in the end how to use, why not pass the verification, to pass the verification how to do, etc.The discussion also appeared a lot of misunderstanding, so I just open a post summary of what I know, do not want to see my wordy direct jump to the final conclusion on it.
First, the traditional method
Copy Code code as follows:
Codebase= "http://fpdownload.macromedia.com/pub/shockwave/
, status represents the response message value, return 1 indicates success, executionView CodeThis code is only used to display the image after the successful upload, can be modified according to individual needs.The code in 3.html is as follows"altcontent"> ObjectId="Mymoviename"Classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"Height=" the"Width="650"> "
and IE browsers under the Macintosh platform. The Windows platform's IE uses ActiveX controls to play Flash while other browsers use Netscape plug-in technology to play Flash.
Here is a simple code example for inserting flash in a Web page:
Code:
Codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
Width= "height=" id= "Mymoviename" >
Name= "Mymoviename" align= "" Type= "Application/x-shockwave-flash"
P
a percentage of the browser window.
Note: Because Flash applications are scalable, their quality will not degrade as long as the aspect ratio remains unchanged, regardless of the size of the playback. (for example, the aspect ratios for the following dimensions are 4:3:640 x 480 pixels, 240 pixels x and 180 pixels.) )
CodeBase Property
Value: active.macromedia.com/flash7/cabs/swflash.cab#version=7,0,0,0
Description: Identifies the location of t
Swfoto 1.0 is a Flash (SWF) to read the image of the container, can be used in various web pagesCharacteristicsPicture automatically shrink size, maintain proportions, do not deformImage anti-aliasing method, so that the picture is still clear after shrinkingYou can define whether a picture has a connectionEasy to page layout, insert any picturesHow to useBecause FLASHPLAYER9 upgrades security policy issues, you need to ensure that all files (including, swfoto.swf, picture files) must be under t
logarithmDouble exp (double), the power of the natural number E (The x-th square value at the end of the E) is obtainedDouble sqrt (double) open squareDouble log (double); Logarithm with e as the baseDouble log10 (double); 10-based logarithmDouble pow (double x, double y); Calculate y-Power with X as basefloat POWF (float x, float y); function is consistent with POW, except that both input and output are floating-point numbersDouble Pow10 (double x, double y); 10 x-Square (Power)5. Take the who
variables: $MO
Description: Specifies the name of the SWF file to load. Applies only to object.
ClassID Property
Value: clsid:d27cdb6e-ae6d-11cf-96b8-444553540000
Description: Identifies the browser's ActiveX control. The value entered must be exactly the same as the above display. Applies only to object.
Width Property
Value: N or n%
Template variables: $WI
Description: Specifies the width of the application as a pixel value or as a percentage of the browser window.
Height property
Value: N or
unsafe content.
If a page needs to be accessed through HTTPS, all of the elements must be HTTPS, if there are: Pictures, JS script, Flash plug-ins are called through HTTP, it will appear this error, the most common is the call Flash playback plug-ins: codebase = ' http://download.macromedia.com/pub/shockwave/Cabs/flash/swflash.cab ', change HTTP to HTTPS, and test the SSL problem after refreshing. issue: The security certificate issued by this web s
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.