Re: [Flashcoders] problem with strongly typed actionscript

2010-06-08 Thread Henrik Andersson
Juan Pablo Califano wrote: I agree with you, but I'add for the sake of completeness that, sometimes, relaxing the rules a bit becomes a necessary evil, like for instance, when doing a cast. I have another example of where a typecast can be useful. When you really do need only BaseClass, but

Re: [Flashcoders] problem with strongly typed actionscript

2010-06-08 Thread Jim Andrews
Here's my code which uses the SharedObject to implement a User Data Manager. This is my first ActionScript of any usefulness. ja http://vispo.com package { // This is for managing the user's state from session to session. // This saves their preferences and current state. import

Re: [Flashcoders] problem with strongly typed actionscript

2010-06-08 Thread Juan Pablo Califano
Simple and gloriously concise example (as opposed to mine!). Here, whether the classes are native, or whether they are concrete instead of interfaces won't change the need for a cast; all the involved objects have commonalities but also important differences, and you want to treat them

[Flashcoders] Loading SWF file via Socket class / ByteArray

2010-06-08 Thread Tom Gooding
Hi, Does anyone know how to get an external swf (hosted on a regular webserver) into the Loader class - accessed via the low-level flash.net.Socket class into a ByteArray. It seems this is possible, but I can't find any examples of how to handle it either server side (we use Java here) or how

Re: [Flashcoders] Loading SWF file via Socket class / ByteArray

2010-06-08 Thread Juan Pablo Califano
You don't need to use a socket for this. Load the data with a URLLoader, setting URLLoader.dataFormat to URLLoaderDataFormat.BINARY. You'll get a ByteArray. Pass that to Loader::loadBytes() wait for the complete event to fire and you're all set. Well, almost. If the loaded swf is in a different

Re: [Flashcoders] Loading SWF file via Socket class / ByteArray

2010-06-08 Thread Tom Gooding
Thanks Juan - I will try this out - the reason behind investigating this is for obfuscation; I'm interested in finding a way to load an asset into flash without triggering a standard http request (I guess URLLoader will trigger one). You're right about LoaderContext too - I think it needs to be

Re: [Flashcoders] Loading SWF file via Socket class / ByteArray

2010-06-08 Thread Juan Pablo Califano
Yes, URLLoader will trigger a standard HTTP request. Meaning, you can see it with firebug, charles, etc. It's also possible to sniff a socket connection, but it requires Wireshark or similar software. Not sure if you gain much by using sockets, really, but anyway I'd just add that setting up the

[Flashcoders] Styling the List component

2010-06-08 Thread ktt
Hello, I tried to apply setStyle to list component: myList.setStyle(textFormat,tfList); and: myList.setRendererStyle(textFormat, tfList); But these do not work. Regards, Ktt ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Styling the List component

2010-06-08 Thread Keith Reinfeld
myList.setRendererStyle(textFormat, tfList); Works. Are you sure tfList is a valid TextFormat? Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-

[Flashcoders] Flash Skype Integration

2010-06-08 Thread patrick [insert last name here]
Hi List, I'm looking for any useful information on Flash/AIR integration with Skype or Google Voice, or any VOIP service. Is this possible? Any info would be greatly appreciated. Thanks. Patrick

RE: [Flashcoders] Styling the List component

2010-06-08 Thread ktt
myList.setRendererStyle(textFormat, tfList); Works. Are you sure tfList is a valid TextFormat? Yes. Finaly I get it working with: StyleManager.setStyle(textFormat,tfList); Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message-

Re: [Flashcoders] Flash Skype Integration

2010-06-08 Thread Steven Sacks
No. On 6/8/2010 2:32 PM, patrick [insert last name here] wrote: Hi List, I'm looking for any useful information on Flash/AIR integration with Skype or Google Voice, or any VOIP service. Is this possible? Any info would be greatly appreciated. Thanks. Patrick

RE: [Flashcoders] Flash Skype Integration

2010-06-08 Thread patrick [insert last name here]
Let me stress the word useful in my request. I know it's possible through certain work arounds. This article goes into some of these possibilities http://blog.comtaste.com/2009/01/how_to_enable_communication_be_1.html but again I'm just looking for as much USEFUL information on this as I can

[Flashcoders] security notice: upgrade your flash player

2010-06-08 Thread co...@moock.org
time to upgrade to 10.1... http://www.adobe.com/support/security/advisories/apsa10-01.html === A critical vulnerability exists in Adobe Flash Player 10.0.45.2 and earlier versions for Windows, Macintosh, Linux and Solaris operating systems, and the authplay.dll component that

Re: [Flashcoders] Flash Skype Integration

2010-06-08 Thread Steven Sacks
http://bit.ly/aLgX7Q http://bit.ly/b4Pd7y ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Flash Skype Integration

2010-06-08 Thread Karl DeSaulniers
This might help. http://sourceforge.net/projects/as3skypeapi/ Karl Sent from losPhone On Jun 8, 2010, at 5:30 PM, Steven Sacks flash...@stevensacks.net wrote: http://bit.ly/aLgX7Q http://bit.ly/b4Pd7y ___ Flashcoders mailing list

Re: [Flashcoders] Flash Skype Integration

2010-06-08 Thread Patrick Matte
Ribbit lets you place calls from flash but not sure exactly how it works. http://www.ribbit.com/ From: patrick [insert last name here] emeric...@hotmail.com Reply-To: Flash Coders List flashcoders@chattyfig.figleaf.com Date: Tue, 8 Jun 2010 17:32:11 -0400 To:

RE: [Flashcoders] Flash Skype Integration

2010-06-08 Thread David Hunter
http://developer.ribbit.com/help Also note the panel on the right with Flash Center which includes sdks, sample apps, tutorials, articles, documentation and sample apps. Date: Tue, 8 Jun 2010 17:29:03 -0700 Subject: Re: [Flashcoders] Flash Skype Integration From: patrick.ma...@tbwachiat.com