Help for creating Evolus Pencil Stencils - prototyping

I want to create stencils like Dojo.GUI for Evolus Pencil. But its inbuilt stencil generator doesn't allow to set advanced properties. I can just make a new collection of images.
Please suggest any online/offline stencil generator for Evolus Pencil which can help to generate any type of stencil without (or with less) XML codding.

I don't think there is any tool like that but what you can do
Generate stencil through inbuilt stencil generator
Do the modification in generated XML from the reference of other
stencil's XML
You must have basic knowledge of XUL

Check this out:
http://code.google.com/p/evoluspencil/downloads/list?q=label:Stencil

Related

Automata Simulator using Cytoscape JS

I am currently doing a research work which involves the development of a web-based simulator for Automata.
I came across Cytoscape JS as a primary component in building our proposed simulator. I would like to ask if there some way that we can customize the appearance of the nodes in Cytoscape?
In our Automata simulator that we are working on, we intend to use the standard symbols (see image) and place a string value inside the node.
Standard State Symbols in Automata
I was wondering of what would be the proper implementation of the the node and in what way can we change (customize) the appearance of the nodes?
I hope somebody knowledgeable in Cytoscape js can advise.
Use the stylesheet : http://js.cytoscape.org/#style
Use the background properties to alter the background of the node. For example, you can use a custom SVG image.
It's up to you how you do it. There are many properties you can configure, or you could go full custom and just use your own SVG images in place of the built-in shapes and styles.

How to display xmls in Flex?

I have XML pages with some defined structure , now using flex I want to display the content of these pages. The purpose of using Flex is to give better look.
If I can use something else which will provide a good UI to display then also its fine.
Please suggest.
you want to display the XML code??
read the xml file into a simple textarea and ready.
Damian
You could use an mx.controls.Tree and fill its dataProvider with your XML. It's an old component, sometimes buggy when you want to tweak it, but it provides a neat display of a tree. In addition you could use a textarea to display the node currently selected.

How to render OpenStreetMaps?

Did you know a way to render the .osm format given by OpenStreetMap in Php, JavaScript, ActionScript or other web plataform? What do you recomend to implement it? Where can i find good examples in the plataform you suggest? Thanks
You can find the information here on several rendering softwares http://wiki.openstreetmap.org/wiki/Rendering
Also look at Cartagen which is an MIT Media lab project that renders OSM and other data in a HTML5 Canvas element dynamically on the client-side. http://www.cartagen.org/

flex newbie: can MXML be generated on the fly

Flex newbie question: can MXML be generated on the fly, like HTML is generated by a server?
If yes, is it ok to do so or am I missing an important Flex architectural principle.
Sort of... but it still needs to be compiled. MXML is not rendered directly, it is first compiled into ActionScript 3.0, and then into a typical SWF... so, you cannot serve your users with MXML. However, like almost all programmming languages, you can use automatic code generation to ease development tasks.
There is IIS/Apache component given by adobe that can generate your mxml -> html+swf using on the fly compilation, and it also caches the last compiled file.
However its not recommended for bigger projects as it has certain problems that you cant make libraries of your code and organize code accordingly. Namespace usage is very limited.
MXML is just a way of describing user interface layout and scripts. This information is then "compiled" into ActionScript, then converted to SWF format for use in the Flash player.
So, yes, you can generate MXML on the fly, in that you can create a text file that contains valid MXML syntax, then use mxmlc to compile it, but there's no way (that I'm aware of) to create MXML and "add" it to your current movie such that the information appears as it would were it compiled.
It is not officially supported but there is a few similar projects doing stuff similar to this.
as3Query let you create things with xml.
Using createComponentFromDescriptor() maybe can get what you want.
Should be more as I remember, but can't find it out at this moment... Searching for "MXML runtime dynamic compilation" or something like that should be helpful...

Degrafa drawing tools - do they exist?

I'm trying to find an easy way to use degrafa with MXML. I'm no artist and creating graphics using code just seems very wrong when you can't visualise what is needed to make the required art work.
What I'm after is a tool that can take an SVG graphic and convert to suitable MXML tags so that I can copy/paste them into a MXML file.
There is meant to be a video about pulling the SVG data out and placing into a MXML file on the degrafa site, but it isn't available now.
So does anyone know if there is a tool for this, or know of any tutorials on pulling out the svg data and turning it into MXML code.
Cheers.
Here is a similar question that may have an answer:
Stack Overflow - Is there a SVG to MXML converter?
Also why not just use Adobe Flash to create your graphics? Or at least layout your graphics. That's what it's there for.

Resources