[Flashcoders] Help jsfl traceBitmap

2009-02-09 Thread Jiri
Hello, i was wondering if someone can help me out with the following. I have a the maintimeline with on it a movieclip. Inside this movieclip is a png, that I would like to trace as a bitmap. I can't seem to target the png that is nested in the movieclip. If i understand correctly I will

[Flashcoders] UK freelance flash opportunities

2009-02-09 Thread Paul Steven
The economic downturn has finally taken its toll on my work load after many years of keeping the wolves at bay. If anyone can point me in the right direction of the best sites, agencies to offer me assistance looking for new projects it would be much appreciated. Cheers Paul

Re: [Flashcoders] UK freelance flash opportunities

2009-02-09 Thread allandt bik-elliott (thefieldcomic.com)
i've had loads of work from neil clements at major players - try there a On Mon, Feb 9, 2009 at 9:22 AM, Paul Steven paul_ste...@btinternet.comwrote: The economic downturn has finally taken its toll on my work load after many years of keeping the wolves at bay. If anyone can point me in the

Re: [Flashcoders] Help jsfl traceBitmap

2009-02-09 Thread Muzak
This should work, but should probably build in a few more checks in the loop. Like check if there's a bitmap in the currently editted movieclip in the specified frame. What this does is: - loop through the items in the library - check if current item is a movieclip (not a bitmap as you did) -

[Flashcoders] Converting hex colour numbers back and forth

2009-02-09 Thread ali drongo
Hi there, I'm saving a bunch of colours as a string then using this string later to colour objects in the same way. Something is going wrong though as the colours I am getting back are not the same as the ones I put in. If anyone could point out where I'm going wrong I'd be really grateful, I've

[Flashcoders] Getting attributes out of a node with : in it

2009-02-09 Thread Eric E. Dolecki
For example I have a node like so: yweather:condition text=Partly Cloudy code=30 temp=34 date=Mon, 09 Feb 2009 12:56 pm EST/ How can I get into that node to pull attributes out? The : in the node name is screwing my up at the moment. Eric ___

[Flashcoders] Either an incredibly easy or incredibly difficult problem

2009-02-09 Thread Todd Kerpelman
Hey, coders! I have a Sprite that consists of a polygon that I drew in Flash (using the line tool) and saved into my Library. Using ActionScript, is there any way to easily find the points of said polygon? It seems like I oughta be able to dig up those line coordinates out of my Sprite.graphics

RE: [Flashcoders] Either an incredibly easy or incredibly difficult problem

2009-02-09 Thread Merrill, Jason
Might be possible, but I don't know of a way - Sprite.graphics is for drawing graphics with code - not accessing manually created graphic properties. Jason Merrill Bank of America Learning Performance Solutions Instructional Technology Media Learn about the Adobe Flash platform for

Re: [Flashcoders] Either an incredibly easy or incredibly difficult problem

2009-02-09 Thread Mark Winterhalder
On Mon, Feb 9, 2009 at 7:47 PM, Todd Kerpelman t...@kerp.net wrote: Hey, coders! I have a Sprite that consists of a polygon that I drew in Flash (using the line tool) and saved into my Library. Using ActionScript, is there any way to easily find the points of said polygon? It seems like I

Re: [Flashcoders] Converting hex colour numbers back and forth

2009-02-09 Thread Mark Winterhalder
On Mon, Feb 9, 2009 at 6:26 PM, ali drongo alidro...@googlemail.com wrote: currColor = Number(0x+c); I haven't looked into it in detail, but I think you would want to use parseInt( 0x + c, 16 ) here. If that doesn't fix it, try tracing the values throughout your conversion and see where it

Re: [Flashcoders] Either an incredibly easy or incredibly difficult problem

2009-02-09 Thread Taka Kojima
I'd probably just determine the points ahead of time and recreate it using AS... Most likely, that would be less time consuming. That's my answer if this is a practical question, if it's theoretical and you just want to know if it can be done, I'm sure it can, but I'm not totally sure which

Re: [Flashcoders] Getting attributes out of a node with : in it

2009-02-09 Thread Eric E. Dolecki
Cheers - thanks ;) On Mon, Feb 9, 2009 at 3:17 PM, Robert Leisle b...@headsprout.com wrote: Check out the Namespace class, as it applies to XML, in the Flash docs. There's also a good explanation in this tutorial by Lee Brimelow: http://gotoandlearn.com/play?id=65 hth, Bob -Original

RE: [Flashcoders] Getting attributes out of a node with : in it

2009-02-09 Thread Robert Leisle
Check out the Namespace class, as it applies to XML, in the Flash docs. There's also a good explanation in this tutorial by Lee Brimelow: http://gotoandlearn.com/play?id=65 hth, Bob -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com

Re: [Flashcoders] Getting attributes out of a node with : in it

2009-02-09 Thread Taka Kojima
I take it this is from an rss feed? Look into the Namespace class... http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/Namespace.html Unfortunately, you didn't paste the entire XML doc so I can't guide you further. - Taka On Mon, Feb 9, 2009 at 10:36 AM, Eric E. Dolecki

Re: [Flashcoders] Getting attributes out of a node with : in it

2009-02-09 Thread Christoffer Enedahl
when you refer to the node write it like this: yweather::condition with double colons HTH/Christoffer Robert Leisle skrev: Check out the Namespace class, as it applies to XML, in the Flash docs. There's also a good explanation in this tutorial by Lee Brimelow:

Re: [Flashcoders] Either an incredibly easy or incredibly difficult problem

2009-02-09 Thread Anthony Pace
That is exactly what I was going to say, and I have been trying to find something online; yet, I have found nothing, so I just assume its not possible to do it programatically, outside of the flash ide using jsfl. Now that I think of it, this could be somewhat useful. Merrill, Jason wrote:

Re: [Flashcoders] Getting attributes out of a node with : in it

2009-02-09 Thread Taka Kojima
I just realized that the link I sent doesn't mention the namespace operator, which is the main thing you need... The following example uses the :: operator to identify XML properties with specified namespaces: var soap:Namespace = new Namespace(http://schemas.xmlsoap.org/wsdl/soap/;); var

RE: [Flashcoders] Getting attributes out of a node with : in it

2009-02-09 Thread Merrill, Jason
Use the namespace feature. Something (if not exactly) like this: var ywNS:Namespace = xml.namespace(yweather); trace(myXml.ywNS::conditi...@text); trace(myXml.ywNS::conditi...@code); trace(myXml.ywNS::conditi...@temp); Jason Merrill Bank of America Learning Performance Solutions

RE: [Flashcoders] Converting hex colour numbers back and forth

2009-02-09 Thread Merrill, Jason
Courtesy Evan Mullins of Circlecube Studio: //bitwise conversion of rgb color to a hex value function rgb2hex(r, g, b):Number { return(r16 | g8 | b); } //bitwise conversion of a hex color into rgb values function hex2rgb (hex):Object { var red = hex16; var greenBlue = hex-(red16)

Re: [Flashcoders] Getting attributes out of a node with : in it

2009-02-09 Thread Eric E. Dolecki
Ok, so in my XML loaded function I have this: private function loadedXML( e:Event ):void { var myXML:XML = new XML( e.target.data ); var yweather:Namespace = new Namespace( http://weather.yahooapis.com/ns/rss/1.0; ); trace( myXML.channel.item.yweather::conditi...@temp ); } I get nothing. I'm

RE: [Flashcoders] Getting attributes out of a node with : in it

2009-02-09 Thread Merrill, Jason
This should work: private function loadedXML( e:Event ):void { var myXML:XML = new XML( e.target.data ); var ywNS:Namespace = myXml.namespace(yweather); trace( myXML.channel.item.ywNS::conditi...@temp ); } Jason Merrill Bank of America Learning Performance

Re: [Flashcoders] Getting attributes out of a node with : in it

2009-02-09 Thread Eric E. Dolecki
Thanks all - I had it correct, but the Yahoo! specs in regards to sample XML fed back was wrong... and thus my namespace URI was wrong - so I never got anything. Thanks for your help - working great now. On Mon, Feb 9, 2009 at 4:19 PM, Merrill, Jason jason.merr...@bankofamerica.com wrote: This

[Flashcoders] Flash Lite

2009-02-09 Thread ACE Flash
Hey There, Does anybody use the Flash Lite? I'd like to know what's difference for Flash Lite 1 , 2, 3 ? or run data-driven application with Flash Lite 3? Is there any articles I can find about Flash Lite? Thank you ___ Flashcoders mailing list