GG WebSwfExts is a set of flash component for web based swfs. Version 1.0.0 includes 3 useful components below:
– GG bgColor v1
– GG jsWindow v2
– GG mailto v1
GG bgColor v1
A flash actionscript component integrates DOM document object bgColor property. Allows HTML body background color to be changed by using actionscript command.
Editable Parameters:
Examples:
[01][02] click to open
GG jsWindow v2
A flash actionscript component integrates JavaScript popup window function, launch JavaScript popup window in Flash, with fully customizable window properties, include toolbar, location, directories, status, menubar, scrollbars, resizable, copyhistory, width, and height.
componentInstance.openWindow(url, windowName);
e.g.:
my_btn.onPress = function() {
my_popup.openWindow(“http://www.ggshow.com”, “my_window”);
};
componentInstance.closeWindow(windowName);
e.g.:
my_btn.onPress = function() {
my_popup.closeWindow(“my_window”);
};
Editable Parameters:
toolbar |
Determines whether to include the standard Back, Forward, Home toolbar. |
location |
Determines whether to show the current URL location. |
directories |
Determines whether to show “What’s New” “What’s Cool,” or other buttons. |
status |
Determines whether to have a status bar at the bottom of the window. |
menubar |
Determines whether to include a menu bar at the top of the window. |
scrollbars |
Determines whether to create scroll bars if the document exceeds the window size. |
resizable |
Determines whether the user may resize the window. |
copyhistory |
Determines whether this new window should inherit the current window’s session history. |
width |
Defines how wide the window should be, measured in pixels. |
height |
Defines how tall the window should be, measured in pixels. |
Examples:
GG mailto v1
Customizable mailto function in flash, launch users’ email client with complete parameters includes to, cc, bcc, subject, and body.
Editable Parameters:
to |
Receipients’ email address(es), separated by using semicolon (;). *required |
cc |
cc *optional |
bcc |
bcc *optional |
subject |
email subject *optional |
body |
email message body, use %0A as line break. *optional |
Examples: