Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

At runtime you can use the MiniInspector class let's you can click on an CMD click on an object and it will details about the element. You can set properties and styles on the selected object. It can be set to show style declarations and style inheritance in the console. You have to CMD + click an object and if you have the property showInheritedStyles set to true it will show styles on the object. This can be used as a starting point for a visual panel for CSS.

Setup Instructions

 

  1. Download the github libraries flexcapacitor, Radii8, FlexIFrame and svn libraries AS3Commons (AS3CommonsReflect) and AS3SyntaxHighlighter.
  2. Import the following projects into your FlashBuilder workspace:

    /Radii8Designer
    /Radii8Library
    /Radii8LibraryAssets
    /flexcapacitor/MainLibrary
    /flex-iframe/library
    /AS3CommonsReflect
    /AS3SyntaxHighlighter

 

Radii8 Designer Project Properties

The main project is Radii8Designer. It's project properties should look like this:
Image Added
Inline image 1Image RemovedImage Added Inline image 2Image Removed

 

The You should ignore the screenshot and update the compiler options to are the following:

 

Code Block
-locale en_US 
-includes=mx.managers.systemClasses.MarshallingSupport 
-keep-all-type-selectors=true 
-link-report linkreport.txt 
-size-report=sizereport.txt
-keep-as3-metadata+=Alternative 
-keep-as3-metadata+=ArrayElementType
-keep-as3-metadata+=DefaultProperty
-keep-as3-metadata+=Deprecated
-keep-as3-metadata+=Effect
-keep-as3-metadata+=Event 
-keep-as3-metadata+=HostComponent
-keep-as3-metadata+=IconFile
-keep-as3-metadata+=Inspectable
-keep-as3-metadata+=InstanceType
-keep-as3-metadata+=RemoteClass
-keep-as3-metadata+=RichTextContent
-keep-as3-metadata+=SkinPart
-keep-as3-metadata+=SkinState 
-keep-as3-metadata+=Style 
-keep-as3-metadata+=SWF

 

Inline image 3Image Removed

You may be able to skip this. Since working on with multiple developers this method of versioning will get out of sync.need to create a new builder for the version number if you get an error:
Inline image 3Image Added

Inline image 4
You should not need to setup a server but it is necessary for some most use cases.

Radii8Library Project Properties
Inline image 5
Inline image 6

...

The main project has an Ant Builder that runs when you compile the project. It auto-increments the build number and sets the current date. It may no longer be valid if we are both working on it. We'll have to figure out another solution for this.