Re: [Flashcoders] Socket connection between two air applications on the same Network Area

2009-01-11 Thread Anthony Pace
That is exactly what I have been saying... except I also wanted to point out that, considering he uses a similar app for session controller in an internet cafe, that it was also an insecure method. Reliability and security is nil. Dave Watts wrote: I apologize if I've missed something that

Re: [Flashcoders] Socket connection between two air applications on the same Network Area

2009-01-11 Thread Anthony Pace
Exactly. Nate Beck wrote: Dave, I was thinking the same thing. After reading through this thread again, I realized that this client to client thing can be handled using a simple server. And there are already many open-source solutions out there that will accomplish this behavior. Red5, WebORB

Re: [Flashcoders] Socket connection between two air applications on the same Network Area

2009-01-11 Thread Omar Fouad
Thanks Guys for the Replies... OK I agree with all this, but do you believe I hadn't thought about using an online server and save the headache? As I said before, it is an option that will let the users of an AIR POS application (that also stores and read data in a database shared on the network

RE: [Flashcoders] Height and Width of a loaded SWF before itvisuallyrenders?

2009-01-11 Thread Andrew Murphy
Hi again. :) It's not a load-time problem that I'm dealing with. It's after they've loaded and been displayed to the user. The animation occours when the user is interacting with them. 1) user clicks on one of the loaded swf files 2) swf file begins animating, changing it's height and width 3)

RE: [Flashcoders] Height and Width of a loaded SWF before itvisuallyrenders?

2009-01-11 Thread Andrew Murphy
YES!!! It works! Doing a stage.invalidate() in the loaded .swf file, then listening for it's RENDER event before running the script to position the loaded .swf files. The height and width properties in the loaded .swf are updated to the new ones and accessable to the loading .swf Sweet. Thank

[Flashcoders] AS3.0 QName class bug?

2009-01-11 Thread David Bellerive
The AS3.0 documentation states that when a QName instance does not have a URI (it only has a local name), it will match any namespace. However, when I create a new QName instance like this var myQName:QName = new QName(null, images); and use that QName instance like this var results:XMLList =

Re: [Flashcoders] Socket connection between two air applications on the same Network Area

2009-01-11 Thread Anthony Pace
Since you need the session control to be centralized by one administrative computer in the internet Cafe, I would suggest the AIR to AMP(apache mysql php...cause it's free) server method; yet, that is my opinion and we are all free to differ in opinion. If you want to use your method, you are

RE: [Flashcoders] change the origin of rotation for a movieclip?

2009-01-11 Thread Jack Doyle
There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur around any point, so it'll be as easy as: TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100), rotation:85}}); Or if you want to use the center of the object as its origin, you

Re: [Flashcoders] Socket connection between two air applications on the same Network Area

2009-01-11 Thread Omar Fouad
I was about to do this at the very beginning. But my boss is not OK with it... So now I got two alternatives. Or I do it with SQLite, or I get fired :) By the way I am working on it with SQLIte and it works better than I expected.. At the end of the day, It's just a job for the company I work at.

Re: [Flashcoders] AS3.0 QName class bug?

2009-01-11 Thread Steve Mathews
Here is another way of doing the same thing: myXMLInstance..*::images; Steve On Sun, Jan 11, 2009 at 10:34 AM, David Bellerive david_beller...@yahoo.com wrote: The AS3.0 documentation states that when a QName instance does not have a URI (it only has a local name), it will match any