Flash + JS is doing full screen effect!

xiaoxiao2021-03-06  94

Source file: http://www.flash8.net/viewfile.asp? Id = 55429

Flash JS is doing full screen effect! This tutorial is seen in other places, because many friends have come here, so I will send it again! (Some of the part I have modified!) First, demand analysis: 1: Full screen resolution requires 1024 * 768 If it is lower than this resolution, the fine picture is not reflected. Therefore, this interface should be restricted to the operating system below to access this interface. 2: Opened full screen window should be minimized in the upper right corner, turn off the button. 3: Each loaded window should be movable, close, minimized. 4: Icon on the desktop can be dragged, double click. 5: There is a taskbar at the bottom of the screen, when the mouse is moved to the bottom of the screen, the taskbar is popped up from the bottom. You can use a twist to return it to the bottom of the screen.

Second, the technical point: Java Script: Screen Object: This object has the following properties: AvailHeight [Effective Height], (Effective Height = Height - Task Bar Height) AvailWidth [Effective Width], BufferDepth [Buffer Size] ], ColorDepth [Color Depth], Height [Height], Width [Width], UpdateInterval [Update], Window Object: This object has the following properties: ClientInformation [Client Information], Closed [Closed ], defaultstatus [default status], Dialogarguments [session box returns], DialogHeight [session box height], Dialogleft [session spacing screen left], Dialogtop [session spacing screen top], Dialogwidth [session box width], (above 5 properties only apply to the formal session box created by people ShowModalDialog () Document [Document], Event [Event], History [History], Length * [Length], Location [Position], Name [Name], Navigator [Browser], OFFSCREENBUFFERING [Close Screen Cruise Y / N], Opener [Script open window has Opener pointing this window you open your own browser is empty WINDOW.CLOSE according to this judgment] Parent *, [Father Window] ReturnValue [Return Value], Screen [Screen], Self [Self], Status [Status], Top * [Whether Top Window] * An Asterisk Indicates Properties Not Applicable To Modal Dialogs. Attributes with * NS are not available In MODAL DIALOGS, the formal session box created by ShowModalDialogs). Collections Frames * [Methods): Alert [Warning], Blur [Minimize], ClearInterval [Cleaning Interval], Cleartimeout [Clear Timeout Settings], Close [Close], Confirm [OK] (Object.confirm ([Message]) Is it sure? This function will return a logical value), Execscript [Execute Code], FOCUS [Focus], Moveby [Relative Move], Moveto [Move], NaviGate [Navigation =

Window.location.href Local URL], Open * [Open], Prompt [Tip], Resizeby [Relative], ResizTo [Zoom], Scroll [Roll], Scrollby [Relative Roll], Scrollto [Corn to ], SETINTERVAL [Set Interval], SetTimeout [Set Timeout], ShowHelp [Display Help], ShowModalDialog * [Display Form Box] * An Asterisk Indicates Properties Not Applicable To Modal Dialogs. Attributes with * NS are not available for Modal Dialogs The formal session box created by ShowModalDialog ()). Events: Onbeforeunload [Turn before], ONBLUR [Minimize], OneRror [Error], Onfocus [Get Focus], Onhelp [Help], OnLoad [loading], OnResize [Zoom], OnnScroll [Roll], ONUNLOAD [Close] Flash Action Script: ON (Press [Press], Release [Release], Releaseoutside [External Release], Rollover [Slide], ROLLOUT [Slide], Dragover [Dragout [Dragout], keypress "[button]) getURL [Go to Connection] (" JavaScript: Self.close () "); Stratdrag (" MovieClip "); [Start Drag] Stopdrag (" "); [Stop drag] LoadMovie (" *. SWF "," movieclip "); [Load movie to MOVIECLIP] LoadMovienum (" * .swf ", n); [Load movie to Nth layer] unloadMovie (" * .swf "); [Uninstall movie] Play () [Play]; stop () [stop]; pc_today = new date (); [New Date Object] PC_Today.GetHours (); [Time] PC_Today.getMinutes (); [地] pc_today.gettime (); [second] .GetBytesloaded (); [number of bytes] .g Etbytestotal (); [Total number of bytes required] _Root.getbytestotal represents the number of bytes of the current SWF file. On (Release) {getURL ("JavaScript: Self.close ()"); // [Go to the connection] } Execute the JS code, turn off the current window, the same getURL ("JavaScript: Self.Blur ()"); can minimize the current window. Third, program code 1, control at 1024 * 768 resolution can open full screen JS Code. Put this code into the area.