GG's Flash Blog

12/09/09

Hello, Google Chrome World! Log for my first Google Chrome extension test.

Permalink 05:51:24 pm, Categories: Google Chrome Extensions, 296 words

Google Chrome now has extensions, and GG now want to have create some Google Chrome extensions ^^

By referring to the Getting Started tutorial and samples on Google Code Labs, I've created my first Google Chrome "Hello, World!" extension. It was much easier than expected.

Steps:

1) Create a folder called mygc_ext01.

2) Create a text file called manifest.json inside mygc_ext01 folder, contains code:

{
"name": "My First Extension",
"version": "1.0",
"description": "The first extension that I made.",
"browser_action": {
"default_icon": "icon.png"
},
"permissions": [
"http://api.flickr.com/"
]
}

3) Prepare an PNG icon called icon.png put into the same folder.
I've tested it with .ico file in my Windows 7, it works.
If we use a .ico icon, we should also change the value for default_icon to our .ico filename (e.g. filename.ico).

4)Now load the extension into Google Chrome.
Click on Tools Google Chrome Tools menu and choose Extensions.
Enable Developer Mode.
Click Load unpacked extension...
Browse for the mygc_ext01 folder, and press OK.
My icon successfully displayed as an extension button on Google Chrome Google Chrome Extension.

5) Edit manifest.json, add popup parameter below default_icon

...
"browser_action": {
"default_icon": "icon.png",
"popup": "mypage.html"
},
...

6) Create a new file called "mypage.html" put into the same folder.
Display something in the html page body.

7) On Google Chrome Extensions Developer Mode, press the Reload link behind My First Extension. And now if I click on my extension button, mypage.html will be displayed in a popup.

I'm planning to create some Google Chrome extension, but for now still need to sort my bunch of idea.

Below is an working example mygc_ext01 where mypage.html contains code to retrieve and display some picture from flickr.

Download:
Google Chrome extension sample code

Reference:
http://code.google.com/chrome/extensions/getstarted.html

Permalink Share/Save/Bookmark Subscribe Send feedback

09/22/09

It took long path to be approved

Permalink 01:01:43 pm, Categories: Commands, GG Commands, 145 words

Due to an unknown reason, the latest version of GG Commands MXP file takes 4 months to online.
I've got some negative comments regarding this problem.
Sorry for any inconvenience caused. It was unintended.

Below is the submission log:

22/05/2009
Submitted the MXP file to Adobe Exchange. Status: Pending Admin Review.

30/06/2009
More than 6 weeks MXP submitted, still pending admin review, contacted Adobe.

23/07/2009
Adobe Exchange feedback that previous submitted MXP file was unsuccessfully uploaded.
Uploaded the MXP again. Status: In QA Process.

20/09/2009
It has been almost 2 months the new MXP file in QA Process, but it is still not approved. Contacted Adobe again.

22/09/2009
The GG Commands v2 MXP file has finally been approved by Adobe Exchange, and released.

The newest MXP file is now can be downloaded from Adobe Exchange.
For those who has downloaded it previously, please download it again. GG Command v2

More free Flash extension

Permalink Share/Save/Bookmark Subscribe Send feedback

05/22/09

GG Commands v2.0.0

Permalink 03:20:43 pm, Categories: Commands, GG Commands, 196 words

GG Commands is a free JSFL commands extension package, it makes jobs easier in Flash. After you download and install the GG Commands v2, you can access it from Commands menu.

The current version includes 7 useful commands below:
- Distribute to Keyframes
- Duplicate Selection
- Frames Selection Report
- Insert Multiple
- Resize Text
- Scale to Stage
- Slice Bitmap Instance

After you download and install the GG Commands v2, you can access it from Commands menu (screenshot).

Distribute to Keyframes
- Distributes selected text fields and symbol instances to keyframes.

Duplicate Selection
- Duplicate selected elements with specified quantity, scale, and rotation.

Frames Selection Report
- Generates report for number of selected frames in timeline

Insert Multiple
- Insert multiple frames, keyframes, blank keyframes, or layers.

Resize Text
- Resize selected text field to user defined width and height.

Scale To Stage
- Scale selected shape/instance to the stage size, or with margin.

Slice Bitmap Instance
- Slice selected bitmap instance to rows and columns.

Warning: Slice Bitmap Instance command still has a unstablity problem causing the Flash IDE to quit or not responding. Please remember to save your document before slice.

Permalink Share/Save/Bookmark Subscribe Send feedback

02/09/08

GG Chinese Text Converter v1

Permalink 07:32:33 pm, Categories: Components, 75 words

GG Chinese Text Converter is a free flash AS2 Chinese Simplified/Traditional text converter component.

GG Chinese Text Converter can converts text from Chinese Simplified to Chinese Traditional, or Chinese Traditional to Chinese Simplified.

s2t() & t2s() functions
trad_txt.text = componentInstance.s2t(simp_txt.text);
simp_txt.text = componentInstance.t2s(trad_txt.text);

e.g.:

my_btn.onPress = function() {
trad_txt.text = my_cconv.s2t(simp_txt.text);
};

Example:
[01] [02] [03]

Permalink Share/Save/Bookmark Subscribe Send feedback

10/29/07

GG WebSwfExts v1.0.0

Permalink 03:56:24 am, Categories: GG WebSwfExts, 292 words

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/AN/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:

toolbarDetermines whether to include the standard Back, Forward, Home toolbar.
locationDetermines whether to show the current URL location.
directoriesDetermines whether to show "What's New" "What's Cool," or other buttons.
statusDetermines whether to have a status bar at the bottom of the window.
menubarDetermines whether to include a menu bar at the top of the window.
scrollbarsDetermines whether to create scroll bars if the document exceeds the window size.
resizableDetermines whether the user may resize the window.
copyhistoryDetermines whether this new window should inherit the current window's session history.
widthDefines how wide the window should be, measured in pixels.
heightDefines how tall the window should be, measured in pixels.

Examples:
[01][02]

GG mailto v1
Customizable mailto function in flash, launch users' email client with complete parameters includes to, cc, bcc, subject, and body.
Editable Parameters:

toReceipients' email address(es), separated by using semicolon (;). *required
cccc *optional
bccbcc *optional
subjectemail subject *optional
bodyemail message body, use %0A as line break. *optional

Examples:
[01][02]

Permalink Share/Save/Bookmark Subscribe 3 feedbacks

:: Next Page >>

XeerSoft - Web-based Integrated Global Business Solution Provider

Accounting, Inventory, Reservation, Transportation, Commission, Point of Sale (POS), CRM, Membership, Time Attendance, Payroll, Human Resource, Manufacturing, Merchandising, Financial, Workflow...
http://www.xeersoft.com


Your ads here

Flash Extensions

GG Components, GG Tools, GG Book pf2, GG Commands, GG FLV Player Panel (FLVpp), GG Key Info Panel (KIP), GG jsWindow...

:: Next Page >>

 << <March 2010> >>
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Search

Categories

Archives

Who's Online?

Account

Syndicate

Donation

If you find GG's Flash extensions or any of our resources useful, help support future development by making a donation.

Ads

Valid XHTML || Valid CSS || Valid RSS || Valid Atom

Copyright © 2006-2009 GGSHOW. All Rights Reserved.
GGSHOW.COM | GGSHOW.NET
eBoaY | tuBabe | syndicater | Nobody's Website | NeverTheLink | NiShiZuiHaoDeNiZhiDaoMa | WorldCoin