• Home
  • Contact
  • Careers
  • Socialize With Us:
  • Send us Mail
  • Follow us on Twitter
  • Join our Facebook Group
  • /
  • Linkedin
  • /
  • Vimeo Videos
  • /
  • Youtube
  • /
  • RSS Feed
  • Search Site

  • About UsAwards & Bio
  • PortfolioOur Latest Work
  • TrainingTips & Tutorials
  • BlogGreat Articles

You are here: Home / Training / Quick Tips / ActionScript 3.0 WordPress Plugin

ActionScript 3.0 WordPress Plugin

Category: Quick Tips     |     Tags: AS3, WordPress

Managing a blog about programming requires code snippets in the articles. I wanted a great plugin that would show ActionScript 3.0 (and other languages) with colored text, line numbering, and easy ‘copy text’ functionality.

The Syntax Highlighter plugin for WordPress does this well and is easy to add.

Example Code

{
	//--------------------------------------
	//  Imports
	//--------------------------------------

	//--------------------------------------
	//  Class
	//--------------------------------------
	public class Sample
	{

		[Bindable]
		protected var _sample : String;

		public function Sample ()
		{
			_sample = "Hello World";
		}

	}

}

Output Code

package classes
{
	//--------------------------------------
	//  Imports
	//--------------------------------------

	//--------------------------------------
	//  Class
	//--------------------------------------
	public class Sample
	{

		[Bindable]
		protected var _sample : String;

		public function Sample ()
		{
			_sample = "Hello World";
		}

	}

}

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Free Member Login

You are not currently logged in.






» Register
» Lost your Password?

Support Our Sponsors

Category

  • Industry News
  • Standards & Best Practices
  • Full Tutorials
  • RMC News
  • Events

Tag

3D AIR API AS3 AS3.5 Business C# Debugging Experimental Flash Flex Games HTML5 Java Loom Mobile Optimization Project Planning PushButtonEngine Robotlegs Smash Unity3D WordPress WordPress Plugin

Brazilean Developers

  • Abendita.com
  • dclick.com.br
  • dm9.com.br
  • Fellyph Cintra
  • IgorCosta.org
  • MonadaSolucoes.com.br
  • PossibleWorldwide.com.br
  • Unit9.com

Developers

  • Adobe Blogs
  • Ben Forta
  • Colin Moock
  • Enrique Duvos
  • Flash Mobile Blog
  • Jess Freeman
  • Kevin Hoyt
  • Lee Brimelow
  • Paul Trani
  • Quasimondo
  • Renaun Erickson
  • Ryan Stewart

Free Assets

  • Free Sounds
  • HasGrafics

HTML5 Games

  • Closure JS Library
  • Eloquent JS Manual
  • Game Framework – CraftyJS
  • Game Framework – EaselJS

Italian Developers

  • alchimedia.com
  • corlan.org/
  • creativesource.it
  • dimix.it
  • fabiobiondi.com
  • gnstudio.com
  • Interpreting-tech.com/bemobile/
  • leonardorisuleo.info
  • lucamascaro.info
  • mart3.org
  • mxml.it
  • nxn.it
  • pirosoft.it
  • Preload.it
  • sonnati.wordpress.com/
  • webgriffe.com

Products

  • Adobe.com
  • Amazon Kindle E-Reader
  • ElectroServer
  • F*CSS
  • Flash Development Toolkit (FDT)
  • O'Reilly PureMVC Book
  • Samsung Galaxy Tablet
  • Unity3D

RMC

  • RMC Consulting

Spanish Developers

  • Flash Adictos
  • HTML Cinqo
  • Tutoriales Flash

Tutorial

  • Active Tuts
  • AS3-to-Unity3D Training Videos
  • Doing 2D in Unity3D
  • Learning C#
  • Unity3D Tutorials

Unity3D Games

  • AS3-to-Unity3D Training Videos
  • Doing 2D in Unity3D
  • Learning C#
  • Matt Eley's Blog
  • Unity3D
  • Unity3D Tools
  • Unity3D Tutorials

I Am Great!

   

Latest Portfolio

  • Live Media Steaming ApplicationMay 20, 2013, 5:06 am
  • Museum Kiosk Touch ScreenNovember 15, 2012, 9:00 pm
  • Happy Birthday Mobile AppMarch 14, 2012, 5:55 pm
  • Official Robotlegs MVCS DiagramFebruary 24, 2012, 1:36 am

Latest News

  • Unity3D Top 5 News AnnouncementsMay 24, 2013, 3:10 am
  • Tutorial Series: Unity3D / C#May 24, 2013, 1:14 am
  • Intro to Loom Game EngineMay 19, 2013, 6:48 am
  • Unity3D for Game DevelopmentMay 13, 2013, 4:25 pm

Latest Tweets (@srivello)

  • Trailes for E3 2013's Indie games - http://t.co/zmYQ1t9gHZ
  • @hfug @s9tpepper Local Hawaiian clients pay very low and cost of living is very high and the location isn't marketable for remote work . com
  • ARTICLE LAUNCHED -- Introduction to Unity3D - http://t.co/20SisNxVPC
  • The internet in Kuala Lumpur at 6Mbps is a totally different product than at the typical 1Mbps of archipelagic Asia. http://t.co/EV010rXILx

© Copyright 2006 - 2013 - Rivello Multimedia Consulting - Flash / HTML5 / Unity3D Game And App Development With Tutorials