Modify the advertising time
AD.StartTime = new Array ("2006/04/01 12:00");
AD.EndTime = new Array ("2007/04/01 12:00");
Modify the ads or flash format image format
AD.src = new Array ("images / adflash.swf");
/ / AD.src = new Array ("images / adpic.jpg");
/ / AD.href = new Array ("http://www.forasp.cn");
Edit Ad Size
OBJ.innerHTML = ADM_Media (o.src [FAi], 778,350, o, "", o.href [FAi]);
Modified residence time in full screen
isNaN (parseInt (o.timeout))? 5000: parseInt (o.timeout));
5000 is 5 seconds
flash full screen code (in the player inside)
Many people have seen this effect: the CD into the drive, the CD automatically, and then the opening is a Flash animation production, animation is a full-screen playback, and right click is invalid, the Flash after the end of a "closed "button, click the button, turn off full-screen animation.
In fact, the above-mentioned full-screen playback and the removal of right-click menu so the effect is at work by Fscommand instructions. Fscommand instruction is mainly used to control the Flash video player, but can also be used to open other applications. Fscommand instruction only in Flash video player when the implementation of an effective (. Swf and. Exe), the Flash production process, press "Ctrl + Enter" preview animation, and released into the page file to animation, this command can not play it functions.
Fscommand command syntax used is: Fscommand ("command", "arguments")
Command is the command of the relevant command, arguments is the command.
Here we Lai Jiangjiang how Fscommand order to achieve full-screen playback, when the abolition of Flash Player context menu and turn off Flash animations.
1, full screen Flash
"Fullscreen" is a full-screen means that in case of default, Flash animation is not in full screen (false), if the state needs to play in full screen animation, it is necessary to Fullscreen command is set to True, write to:
Fscommand ("Fullscreen", "True");
Necessary, we can write it frame, button, MC (Movie Clip) in.
2, cancel the context menu
Showmenu command is used to set is the (True) if (false) display Flash animation player, all the shortcut menu command, or right-mouse pop-up menu, the default is True, if you want to cancel the pop-up menu, you must first frame this set:
Fscommand ("showmenu", "false");
3, closing animation
quit command is used to close the player. swf and. exe files, this command with no arguments, write to:
fscommand ("quit");
If you want to appear in the flash animation at the end of a close button animation can be done by following these steps.
Implementation of the "Insert" under the "New Symbol" (or press Ctrl + F8), pop-up window in the selected Button, and then make a simple button to return to the scene, select the last one, from the "Library" in the just the establishment of a button onto the scene, because the button in the animation of the last show.
Write the following code to the button, then press the button to turn off the flash to achieve animation.
on (release)
(
fscommand ("quit");
)
Page to achieve the full-screen flash player (1)
A. only full browser: This is relatively simple, regardless of whether you make the Flash size is 800 × 600, just call the swf file in HTML WIDTH and HEIGHT parameters will be set to 100% can, of course, can HTML file in Flash export settings set, is: Open the File menu; select Publish Settings Export Settings dialog box pops up; in the HTML tab of the Dimensions option, after the drop-down select Percent (percentage), and WIDTH and HEIGHT box filled 100, run the HTML file with the swf of the same name is the same effect with the direct statement added. This occupies the full screen browser has nothing to do with the swf file settings, but the best set of size 700 × 400 or so, otherwise easily lead to images (mainly in Flash, called a bitmap), character of the distortion.
B. does not display the browser menu bar, toolbars, the full screen. This full-screen a little more complicated, the setting has nothing to do with Flash, but to do with javascript. Is: in the HTML file
Translate to