This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package | |
{ | |
import flash.events.MouseEvent; | |
import org.papervision3d.view.BasicView; | |
[SWF(width="640", height="480", backgroundColor="#000000", frameRate="60")] | |
public class InteractivityExample extends BasicView | |
{ | |
private var flipper:flipIcon; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package | |
{ | |
import flash.display.Sprite; | |
import flash.events.MouseEvent; | |
[SWF(width="640", height="480", backgroundColor="#000000", frameRate="60")] | |
public class InteractivityExample extends Sprite | |
{ | |
private var rightArrow:rightIcon; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Embed(source="assets/icons.swf", symbol="frontIcon")] | |
private var frontIcon:Class; | |
[Embed(source="assets/icons.swf", symbol="backIcon")] | |
private var frontIcon:Class; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package | |
{ | |
import flash.events.Event; | |
import flash.events.MouseEvent; | |
import org.papervision3d.lights.PointLight3D; | |
import org.papervision3d.materials.shadematerials.CellMaterial; | |
import org.papervision3d.materials.shadematerials.FlatShadeMaterial; | |
import org.papervision3d.materials.shadematerials.GouraudMaterial; | |
import org.papervision3d.materials.shadematerials.PhongMaterial; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package | |
{ | |
import flash.events.Event; | |
import flash.events.MouseEvent; | |
import org.papervision3d.core.geom.renderables.Vertex3D; | |
import org.papervision3d.core.math.Number3D; | |
import org.papervision3d.core.math.Plane3D; | |
import org.papervision3d.core.math.Quaternion; | |
import org.papervision3d.lights.PointLight3D; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#I think I need to iron out this file and process a little more, I'll try to figure out over the weekend | |
#author John Lindquist - [email protected] - http://pv3d.org | |
#RegExp for stripping non-color prefs ^.(?!.*fdt.ui|.*ui.editors) | |
#Used Notepad++ for deleting empty lines and sorting alphabetically | |
file_export_version=3.0 | |
/instance/com.powerflasher.fdt.ui/AS_CONSTANTS_color=77,177,253 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Use this file to replace ${your current workspace/.metadata\.plugins\org.eclipse.core.runtime\.settings | |
com.powerflasher.fdt.ui.BasicSemanticHighlightGenerator.AS3.StaticField_italic=false | |
AS_KEYWORD_color=87,141,223 | |
com.powerflasher.fdt.ui.BasicSemanticHighlightGenerator.AS3.StaticSetter_color=192,192,192 | |
AS_RETURN_color=77,177,253 | |
com.powerflasher.fdt.ui.BasicSemanticHighlightGenerator.AS3.Field_color=128,255,128 | |
com.powerflasher.fdt.ui.BasicSemanticHighlightGenerator.AS3.StaticField_color=255,128,192 | |
com.powerflasher.fdt.ui.ui.preferences.ASTemplatePreferencePage=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="com.powerflasher.fdt.ui.editor.template.as3" deleted\="false" description\="[Inject]" enabled\="true" name\="inject">[Inject]&\#13;\r\npublic var </template></templates> | |
com.powerflasher.fdt.ui.BasicSemanticHighlightGenerator.AS2.StaticSetter_color=192,192,192 | |
AS_TYPE_color=77,177,253 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project name="Hello Ant!" default="Compile SWF"> | |
<target name="Say Hello"> | |
<echo>Hello Ant</echo> | |
</target> | |
<property file="build.properties"/> | |
<taskdef resource="flexTasks.tasks" classpath="${BUILD}/flexTasks.jar"/> | |
<target name="Compile SWF"> | |
<mxmlc | |
file="${SOURCE}/AntDemos.mxml" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm loading in CodeTemplate.txt, but the following code is just giving me a blank TextArea (TextConverter.PLAIN_TEXT_FORMAT works just fine...) | |
//code | |
var string:String = textLoader.data as String; | |
var textFlow:TextFlow = TextConverter.importToFlow(string, TextConverter.HTML_FORMAT); | |
codeDisplay.textFlow = textFlow; | |
//CodeTemplate.txt | |
<ol><li class="li1"><div class="de1">/**</div></li> | |
<li class="li2"><div class="de2"> * This is about <code>ClassName</code>.</div></li> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This is about <code>ClassName</code>. | |
* {@link com.yourCompany.aPackage.SuperClass} | |
* @author author | |
*/ | |
package com.yourdomain | |
{ | |
class ClassName extends SuperClass | |
{ | |
public static var x:Number = 1; |
OlderNewer