Re: [Flashcoders] E4X, it's STILL just not my day.

2010-02-18 Thread Muzak
the following works fine for me: var artData:XML = art bios artistBio f=Victor s=Pasmoreblah blah/artistBio artistBio f=Stephen s=Pentakmore blah blah/artistBio /bios /art; var lastName:String = Pentak; var firstName:String = Stephen; var allBios:XMLList = artData.bios..artistBio; var

RE: [Flashcoders] E4X, it's STILL just not my day.

2010-02-18 Thread Mendelsohn, Michael
Thanks for the replies, everyone. I really have no idea how the solutions that everyone has responded with have worked when testing on your machine, but not here. It's odd. The statement isn't anything complicated. I ended up using a for loop to iterate through and find the node I need.

RE: [Flashcoders] Re: import documents into flash

2010-02-18 Thread Benny
@valentin: Air 2 is able to call commandline tools just fine. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] E4X, it's STILL just not my day.

2010-02-18 Thread Merrill, Jason
((@s==lastName)(@f==firstName)); Seems to me the extra parentheses are not necessary, this works for me: (@s==lastName @f==firstName); Just say'n. Is there a technical reason for the extra parentheses or just coding style? Seems it evaluates the same either way in this case. I can see if

RE: [Flashcoders] E4X, it's STILL just not my day.

2010-02-18 Thread Mendelsohn, Michael
just curious. That's just my coding style, nothing more. Every line of E4X I've written within this flp has acted funny. I just don't get it, because I've written other more complex E4X statements, even with RegEx involved, that haven't given my any issues. It's almost like it's the parser

RE: [Flashcoders] E4X, it's STILL just not my day.

2010-02-18 Thread Merrill, Jason
It's almost like it's the parser or something. Well, it seems what you're posting is an abstraction of the real code and/or the real XML in your project (and good for you - too many [I won't name names] post unnecessary code too often here)- so there must be some difference in your actual code

Re: [Flashcoders] Matrix Transformation Problem

2010-02-18 Thread Susan Day
On Wed, Feb 17, 2010 at 3:29 PM, Keith Reinfeld keithreinf...@comcast.netwrote: Susan, Try this in a fresh fla. Be sure to import Arial Black font into the library and give it a classname of 'ArialBlack.' If there is still a problem, please be specific. I did all of the above copying and

Re: [Flashcoders] Runtime Font embedding

2010-02-18 Thread mika
You might want to look at http://code.google.com/p/fstream/ Haven't tried myself, but looks promising mika On Wed, Feb 10, 2010 at 17:52, Glen Pike g...@engineeredarts.co.uk wrote: Hi, I am working on some runtime font embedding with Flash CS3 by loading in a SWF at runtime with font

Re: [Flashcoders] External font loading - No shared libraries

2010-02-18 Thread mika
Same question, 3 years after, anyone got a tip ? as3 please thanks mika On Mon, Jun 4, 2007 at 17:11, Daniel Gregório danielgrego...@gmail.comwrote: Does anybody has an ideia of how to load external fonts in ttf? or something else instead of shared libraries? thank you very much, --

RE: [Flashcoders] Matrix Transformation Problem

2010-02-18 Thread Keith Reinfeld
I did all of the above copying and pasting your code on a black stage... You pasted it on the stage? Paste the code into a new ActionScript file, save the file as 'DesertSands.as' in the same folder as the new fla. Now you can either import DesertDSands.as, In the fla Actions Panel:

Re: [Flashcoders] Re: import documents into flash

2010-02-18 Thread Valentin Schmidt
Benny wrote: @valentin: Air 2 is able to call commandline tools just fine. thanks for sharing! but of course I was talking about calling a command line tool *and* returning the STDOUT/STDERR result to the main app. can AIR 2 do this? do you maybe have any links/documentation for this feature? it

Re: [Flashcoders] Re: import documents into flash

2010-02-18 Thread Valentin Schmidt
Valentin Schmidt wrote: Benny wrote: @valentin: Air 2 is able to call commandline tools just fine. thanks for sharing! but of course I was talking about calling a command line tool *and* returning the STDOUT/STDERR result to the main app. can AIR 2 do this? do you maybe have any

Re: [Flashcoders] External font loading - No shared libraries

2010-02-18 Thread Taka Kojima
Unlike in AS2, you don't have to use runtime shared libraries for AS3 to load fonts. It's simple, all you do is embed the fonts in a swf and load that swf in using a loader. Once the loader loads the swf, all fonts will be available for use.