Another experiment towards Custmm Grumm. This time my task was to export/import an Illustrator file to Flash… Yeah, yeah; I know: you say “import to stage” … correct! But what I need is the shape converted to code (coordinates in the x-direction and y-direction).. Ha, you stopped grinning! Well the first part is correct. You [...]
For a project of mine: Custmm Grumm I needed to change a shape into an array (explained in this post shape 2 array jsfl ). To make this happen I imported the .AI file (Illustrator) to the stage. But it will place everything on one layer, every shape it’s own ‘group’ and the script I [...]
For a project of mine: Custmm Grumm I needed to change a shape into an array, you could say that I needed to change a Illustrator/vector file into code. As far as I know there is no other method then the one I created here with jsfl. To make this happen I imported the .AI [...]
By Matthijs Kamstra
|
Also posted in AS3, Flash
|
Tagged array, AS3, Custmm Grumm, Flash, flash 9, illustrator, JSFL, shape, shapes, vector
|
A while ago, I created XML Reader Flash panel. I’ve been using it (and colleagues) for some time now, and I found some points of improvement: Doesn’t work correctly on a mac (scrollbar disappears) External XML (fill in url of XML) Remove \r and \n in node Errors about wrong formed XML Different methods of [...]
Oke I’m getting into it, after comment trace JSFL and uncomment trace JSFL I created another trace related JSFL command. It’s a extension on a trace that really says nothing; you are testing the code you just written trace (thisVar); but you really want to: trace (‘thisVar: ‘ + thisVar); And now you can: change [...]
Oke I did the damage, I will fix it…. In my previous post about comment trace JSFL I made it possible to comment all traces in a actionscript frame. Well now I’ve made a JSFL command to make it possible to undo that. Example: // trace (“something”); becomes trace (“something”); How to install: Save [mck] [...]
Do you recognize the following situation? You have to change a small thing in a FLA that colleague / freelancer made. So you open the FLA export it, and the output window get filled with numbers, variables, booleans and other trace comments… Of course you know that a trace should be removed after it did [...]
I recently started to get interested in JavaScript Flash (JSFL) and I’m really impressed with its ‘power’. As the title says: it extents the Adobe Flash authoring environment: you can add commands, new tools / panels, behaviour, actions, templates, and much more. You can make Flash do stuff it can’t do out of the box. [...]
When you’re working with Flash and dynamic content your no stranger to XML. And how to access the data in the XML. There are a couple of ways you can access and manipulating XML documents in Flash: the nerdy way (XML DOM): my_xml.firstChild.childNodes[2].childNodes[1].attributes.x the xPath way using xfactorstudio XPath classes: xmlDoc.selectNodes(“/bookstore/book[price>35]/title”) the Flash XPathAPI class: [...]