GGshow reloaded GGshow reloaded

December 7, 2008

Dynamic Chord Diagram

A single SWF file to generate diagrams for all kinds of guitar chords.
Pass a variable from HTML to SWF when loading it.

Examples:

chord.swf?chord=C,X,3,2,0,1,0
(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)

It is customizable…
chord.swf?chord=Am,X,0,2,2,1,0&bgcolor=0xDDFFDD&fgcolor=0x009900

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

It is scalable…

(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.) (Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)
Filed under: Flash Platform,GG's Flash Extensions,Web — Tags: , , — GG @ 2:09 pm

October 20, 2008

WMODE for SWF

Issue:

  • How to display other HTML content above a swf?
  • DHTML menus appear underneath swf
  • HTML layer z-index not working on swf object

Reason:
By default wmode=”window”, Active Content is rendered directly to the screen on top of web browser window, which means it appears on top of other HTML content.

Solution:
Set the wmode parameter for swf object & embed tag to “opaque” or “transparent”.
e.g.:

  • In HTML,
    1. add to object tag:
      <param name="wmode" value="opaque">
    2. add to embed tag:
      wmode="opaque"

    So your html code will looked like:

    • <object ... >
          ...
          <param name="wmode" value="opaque">
          <embed ... wmode="opaque" ... >
      </object>
  • From Flash,
    1. From menu, File > Publish Settings,
    2. click HTML tag,
    3. select “Opaque Windowless” for Window Mode.
    4. Publish
  • From Dreamweaver,
    1. Select the swf in the Design View.
    2. In the Properties panel, choose Parameters.
    3. Enter “wmode” (without quotes) for the Parameter.
    4. Enter “transparent” (without quotes) for the Value.
    5. Save the document.

Additional Information:

TechNote:
Flash content displays on top of all DHTML layers
How to make a Flash movie with a transparent background

Filed under: Flash Platform,HTML,Web — Tags: , , , — GG @ 1:48 am

May 7, 2007

ActiveX Controls

Issue:

  • Security warning “Click to activate and use this control.”
  • Flash button need double click in MSIE
  • How to remove border/frame/rectangle around swf in MSIE?
  • How to automatic activate active control?
  • Rollover on swf in MSIE
  • ac_runactivecontent.js

Reason:
An update to Microsoft Internet Explorer (MSIE) 6 changes its way in handles some webpages that use ActiveX controls and Java applets like Adobe Reader, Apple QuickTime Player, Macromedia Flash Player, Microsoft Windows Media Player, Real Networks RealPlayer, Sun Java Virtual Machine, and more. After you install this update, you cannot interact with ActiveX controls loaded by the APPLET, EMBED, or OBJECT elements, until these controls are enabled. To enable an ActiveX control, manually click the control.

Solution:

  1. By using JavaScript:
  2. By installing extension/updater

Additional Information:

Developer Center:
Active Content Developer Center
Active content FAQ

TechNote:
Installing the Flash Active Content Update extension

Microsoft Support:
Internet Explorer ActiveX update

MSDN:
Activating ActiveX Controls

Filed under: Flash Platform,JavaScript,Web — Tags: , , , — GG @ 6:28 pm

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

© 2024 GGSHOW | Powered by WordPress