GGshow reloaded GGshow reloaded

October 29, 2007

GG WebSwfExts v1.0.0

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:

N/A N/A

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:

(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)

(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)

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:

(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)

(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)
Filed under: ActionScript,Flash Platform,GG's Flash Extensions,Web — Tags: , , , — GG @ 3:56 am

No Comments »

  1. Some users have problem using GG WebSefExts, they can’t get the correct result when testing their flash movie.

    Please be noted that GG WebSwfExts is a flash extension package for web based SWF. Components in GG WebSwfExts package will fully works only when access through HTTP. You will need to upload the files to your web server, and access through its’ URL, to see it works.

    Alternately, if you have a http server installed in your pc, you can access it through localhost for testing purpose.

    Comment by G — November 27, 2007 @ 4:38 am

  2. Does this mean I need a .com or .co.uk adress to get it to properly work?

    Comment by Anonymous — January 6, 2009 @ 7:03 pm

  3. No, it is not neccessary to be .com or .co.uk
    as long as you load the html file thru HTTP protocol.

    It can be a file in localhost (e.g: http://localhost/some_folder/some_file.html) if you have a web server application installed in your pc;
    It can be a file in a remote host loaded thru it’s host name or IP address (e.g: http://www.ggshow.com/some_folder/some_file.html or http://192.168.2.4/some_folder/some_file.html);
    But not a file loaded thru local path (e.g: C:some_foldersome_file.html).

    The domain can be .com or .co.uk, or even .net, .com.my, or whatever TLD.

    Comment by G — January 7, 2009 @ 3:25 am

RSS feed for comments on this post.

Leave a comment

© 2017 GGSHOW | Powered by WordPress