GGshow reloaded GGshow reloaded

December 31, 2011

Compact, not vacuum…

Issue:

  • Unable to execute a SQLite VACUUM command from actionscript.

Reason:

  • flash.events.SQLErrorEvent
    
    SQLError
    detailID : 2037
    details : VACUUM is not allowed from SQL.

Solution:

  • use method compact() to reclaims all unused space in the database.
    compact(responder:Responder = null):void
Filed under: ActionScript,Flash Platform,SQLite — Tags: , , , , — GG @ 4:36 pm

October 23, 2010

Roots in dynamic and input text field

This is a solution for using Square root (SQRT), cube root, nth root, and other roots formula in dynamic and input text field, extended from the article How to use subscript & superscript in dynamic and input text field.

  1. Download & install GG Root Sans N, GG Root Sans Radical, GG Root Sans Radicand fonts.
  2. Create a dynamic text field with Arial font embeded. Set the HTML property to true.
  3. Create a dynamic text field with GG Root Sans N font embeded.
  4. Create a dynamic text field with GG Root Sans Radical font embeded.
  5. Create a dynamic text field with GG Root Sans Radicand font embeded.
  6. Use HTML tag to set text to roots formula like below:
    my_txt.html = true;
    my_txt.htmlText = "GG Root Sans<br>";
    my_txt.htmlText += "<font face="GG Root Sans Radical"> </font><font face="GG Root Sans Radicand">2</font>";
    my_txt.htmlText += "<font face="GG Root Sans Radical">n</font><font face="GG Root Sans Radicand">x</font>";
    my_txt.htmlText += "<font face="GG Root Sans Radical">2</font><font face="GG Root Sans Radicand">3</font>";
    my_txt.htmlText += "g = <font face="GG Root Sans N">f(d+e</font><font face="GG Root Sans Radical">)</font><font face="GG Root Sans Radicand">(ax+by)(ax-by)</font>";

Demo:

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

Download:

Filed under: ActionScript,Flash Platform,HTML — Tags: , , , — GG @ 3:37 pm

February 9, 2008

GG Chinese Text Converter v1

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);

Example:

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

Demo:

(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.)

(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 — Tags: , , — GG @ 7:32 pm

August 16, 2007

Flash Page Flipping Engine, Flipping Book, PageFlip, Page-Flip, Page Turning Effect.

Dynamic PageFlip by Macc
http://www.pageflip.hu/

GG Book pf2 v2
http://blog.ggshow.com/extensions/gg_book_pf2

Flipping Book
http://www.page-flip.com/

Page Suite
http://www.pagesuite.co.uk/

Flash Page Flip Engine
http://www.flashpageflip.com/

Flexire
http://www.flexire.com/

Smartpaper
http://www.smartpaper.info/

codeloaded
http://www.codeloaded.com/

Fluidbook
http://www.fluidbook.com/

digi-page
http://www.digi-page.com/

Please suggest if there is any Flash flipping book engines, components, or resources not listed above.

Filed under: Flash Platform — Tags: , , , — GG @ 5:15 am

3rd-party Flash Projector Creation Tools

Screenweaver Open Source – Enabling Cross-Platform Rich Interfaces Desktop Applications
http://www.screenweaver.com/

Zinc – Rapid Application Development for the Flash Platform
http://www.multidmedia.com/

SWiSH studio – Convert your Flash movies to EXEs, screensavers or burn directly to CD-ROM and DVD.
http://www.swishzone.com/

Jugglor – Flash Projector Customisation. Support Joystick, Gamepad, SWF to EXE. Flash Transparency, Windowless Flash,change icon projector, Flash Skin, Flash CD-ROM
http://www.flashjester.com/

SWF studio – Strong. Stable. Serious software for all your Flash application development needs.
http://www.northcode.com/

SWF Kit – convert swf to exe, make flash application, flash to exe, make flash screensaver, swf to exe, swf to mp3.
http://www.swfkit.com/

FMProjector – Video Flash integration. Flash Video converter. Windowless flash enabler.
http://www.flashants.com/

ICE Projector – creates a new class of desktop applications to delivers rich and interactive experiences with Flash
http://www.flashants.com/

mProjector – Flash Application, Widget, Screen Saver, Wallpaper Creation Tools
http://www.screentime.com/

Please suggest if there is any Flash Projector Creation Tools not listed above.

Filed under: Flash Platform — Tags: , , , — GG @ 4:29 am

Flash Resources, References, Tutorials, Forums, Blogs

Tiago’s Weblog – Adobe Community Expert, After Effects and Flash addicted
http://blog.six4rty.ch/

The Flash Components Network
http://www.flashcomponents.net/

Flash Extensions – Training and Solutions for the Flash Platform
http://www.flashextensions.com/

Flash Kit – A Flash Developer Resource Site
http://www.flashkit.com/

FlashMove – The Flash Movement
http://www.flashmove.com/

Open Source Flash
http://www.osflash.org/

Flash Wanted – Ultimate Flash Directory
http://www.flashwanted.com/

Flash Zone
http://www.flzone.com/

Flash Perfection
http://www.flashperfection.com/

Dynamic Flash database
http://www.flash-db.com/

FlashVista
http://www.flashvista.com/

FlashGuru Consulting – Adobe Flash, Flex and AIR Expertise
http://www.flashguru.co.uk/

Flex.org
http://www.flex.org/

Flash Perfection – Flash Tutorials
http://www.flashperfection.com/

Filed under: Flash Platform — Tags: , — GG @ 3:11 am

July 26, 2007

GG jsWindow

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.

openWindow function
componentInstance.openWindow(url, windowName);

e.g.:

my_btn.onPress = function() {
my_popup.openWindow(“http://www.ggshow.com”, “my_window”);
};

Example:

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

April 29, 2007

Flash related file formats, extensions, and icons.

Flash Application Icons

Macromedia Flash 5 & below Macromedia Flash 5 & below
Macromedia Flash MX/MX2004 Macromedia Flash MX/MX2004
Macromedia Flash 8 Macromedia Flash 8
Adobe Flash CS3 Adobe Flash CS3

Related file formats, extensions, and icons

.as – ActionScript File
ActionScript source files, contain ActionScript source code, can be edited with any text editor such as Notepad or SimpleText.>
.asc – ActionScript Communication File
Server-Side ActionScript (SSAS) source files used to develop flexible client-server Flash Communication Server MX applications.
.aso – ActionScript Object
Cache files created during compilation, contain compiled ActionScript byte code. To delete ASO cache files, in Flash authoring environment, select Control – Delete ASO files.
.clr – Flash Color Table File
Color set for Macromedia Flash Color Swatches.
.exe – Flash Player / Window Projector File
Executable application, can not be edited with Flash authoring software.
.fla – Flash Document
Contain source material for the Flash application, include all the information required to develop, design and test content. Can be edited with Flash authoring software and compiled into .swf files.
.flp – Flash Project
XML files used to reference all the document files contained in a Flash Project, allow the user to group multiple, related files together to assist in Flash project organization, compilation and build.
.flv – Flash Video
A proprietary file format used to deliver video over the Internet using Adobe Flash Player or be embedded within SWF files.
.jsfl – Flash Javascript File
Add functionality in the Flash Authoring environment, contain Javascript code and access the Flash Javascript API.
.mxi – Macromedia Extension Information
XML file provides information for the Extension Manager to use. In particular.
.mxp – Macromedia Extension Package
Extension Package, to be opened with Extension Manager for extensions installation.
.spl – FutureSplash Document
Contain source material for the FutureSplash application.
.swc – Shockwave Flash Component File
Contain a compiled clip, ActionScript class file, and other files for distributing components.
.swd – Shockwave Flash Debugging File
Temporary debugging files used during Flash authoring software. Once finished developing a Flash project these files are not needed and can be removed.
.swf – Shockwave Flash
Completed, compiled and published files that cannot be edited with Flash authoring software.
.swt – Shockwave Flash Template File
Templatized forms of .swf files, used by Macromedia Generator.
Filed under: Flash Platform — Tags: , , , , , , , , , , , , , , , , , — GG @ 3:27 am

April 27, 2007

Flash Resources on Adobe website

Filed under: Flash Platform — Tags: , , , — GG @ 9:13 pm

April 19, 2007

How to use subscript & superscript in dynamic and input text field

Issue:

  • Unable to use subscript or superscript in dynamic and input text field.
  • Unable to display subscript or superscript for external loaded text.
  • Unable to use <sub> & <sup> tags in dynamic or input text field.
  • To create subscript or superscript text without Text Layout Framework (TLF).

Reason:
<sub> & <sup> tags are not supported by Flash.

TechNote: Subscript and superscript fail in dynamic and input text fields
LiveDocs: Supported HTML tags

Solution:

  1. Download & install GG Subscript & GG Superscript TrueType fonts. You will need to restart Flash software after installed fonts.
  2. Create a dynamic text field with Arial font embeded. Set the HTML property to true.
  3. Create a dynamic text field with GG Subscript font embeded.
  4. Create a dynamic text field with GG Superscript font embeded.
  5. Use HTML tag to set text to subscript or superscript like below:
    Adobe<font face="GG Superscript">TM</font>

    If you are using ActionScript to test the htmlText, use script like below:

    my_txt.text = "Adobe<font face="GG Superscript">TM</font>";

Demo:

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

Download:
superscript.fla
superscript.swf

Updated: (2008-09-21)
A new set of superscript & subscript fonts includes both sans & serif type, with more complete & improved glyphs, standard scale & shift, is now available to be downloaded (free) from here.

Updated: (2010-10-23)
Another set of fonts for displaying square root (SQRT), cube root, nth root, and other roots formula in dynamic and input text field is now available here.

Related:
For creating subscript & superscript text with Text Layout Framework in AS3 or Flex project, refer to here

Filed under: ActionScript,HTML — Tags: , , , , — GG @ 5:51 pm
Older Posts »

© 2024 GGSHOW | Powered by WordPress