Re: [Flashcoders] JavaFX released

2008-12-06 Thread Anthony Pace
I am sure if better coders provided better examples it would work well; yet, the applications seem to take forever to load and I have a pretty decent system. Eric E. Dolecki wrote: On my Mac in Firefox when I scroll the page, that player UI flickers on and off. Pretty lame. On Sat, Dec 6, 200

Re: [Flashcoders] JavaFX released

2008-12-06 Thread Anthony Pace
JavaFX will replace something like flash... but it has great power and this is the first release... do you remember flash 1? Latcho schrieb: Dunno why they put energy in this. Java, they had their chances for online animation-focussed penetration, too late now I guess. And the site cra

Re: [Flashcoders] JavaFX released

2008-12-06 Thread Anthony Pace
omething like flash... but it has great power and this is the first release... do you remember flash 1? Latcho schrieb: Dunno why they put energy in this. Java, they had their chances for online animation-focussed penetration, too late now I guess. And the site crashed my pretty stable FF3.

Re: [Flashcoders] JavaFX released

2008-12-06 Thread Anthony Pace
Sure for the corporate environment, or cell phones, or tv, javaFX wil kick flashes ass until adobe gets smart and gets rid of licensing drawbacks; yet, when I go to a website, it will be flash based content I see. Paul Andrews wrote: - Original Message - From: "Anthony Pace"

[Flashcoders] Status

2008-12-11 Thread Anthony Pace
Hi Chad, Just wondering what the status is and how your meeting went. Take care, Anthony Pace ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] memory optimization

2008-12-11 Thread Anthony Pace
Is there any way to force the GC to sweep through that works 100% of the time? Is there any way to release unused memory that is used by the player for rendering? Is there any way to get a list of all objects in memory? ___ Flashcoders mailing list

Re: [Flashcoders] referencing sprites within a sprite (AS3 newbie question)

2008-12-16 Thread Anthony Pace
isn't getting a child by name very slow? Ian Thomas wrote: If each of the columns has .name='column1' etc: e.target.getChildByName("column10").gotoAndStop(5); should do it. But personally I'd at least do some type-checking on all that, and would probably create a method inside an AllColumns c

[Flashcoders] convert data passed to swf to be a sound or video object in flash player 10?

2009-01-04 Thread Anthony Pace
I heard that you can take data and convert it into sound and video objects in flash player 10? Am I wrong? I am wondering if it is possible to pass data to the swf in chunks and then piece it together to make sound or video object? Just wondering if this is possible in flash player 10.

Re: [Flashcoders] Patrick Jakub Jankun added you as a connection on Plaxo

2009-01-07 Thread Anthony Pace
I actually like this, as it make it easier to search through the messages for a word or phrase; as well, it makes it so sharing of code and files is a lot easier as they do not need to be stored by some dude's server. I would love it if it had code highlighting, an built in hinting when going

Re: [Flashcoders] Thoughts on new features in CS4

2009-01-07 Thread Anthony Pace
From an animator's perspective it as some nice new features; yet, from a coder's perspective I hate it. Even when forced to do timeline code, I still write the code in flashdevelop and then paste it in later, unless it is a very very small chunk. At the very least they could have given dreamw

[Flashcoders] free online flash books at the toronto public library...

2009-01-07 Thread Anthony Pace
Free books available to library card holders in Toronto through safari online. Awesome... I just had a read through keith peters' making things move. It is totally great; yet, I wish it was more recent and used the features available in the new flash player. Apparently a lot of libraries ha

Re: [Flashcoders] free online flash books at the toronto public library...

2009-01-07 Thread Anthony Pace
I just read the message and realized that, for someone that frequents the library, my spelling and sentence structure, outside of my essays, is not all that grand. Anthony Pace wrote: Free books available to library card holders in Toronto through safari online. Awesome... I just had a read

[Flashcoders] design pattern diagrams...

2009-01-07 Thread Anthony Pace
I am looking to get more info on the composition of design patterns and which ones are used most often in the corporate world. Diagrams accompanied by code examples would be awesome. I have been able to find stuff in the past; yet, I really want to know what is generally preferred? I like t

Re: [Flashcoders] design pattern diagrams...

2009-01-07 Thread Anthony Pace
nal Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Anthony Pace Sent: Wednesday, January 07, 2009 3:48 PM To: Flash Coders List Subject: [Flashcoders] design pattern diagrams... I am looking to get more info on the compositi

Re: [Flashcoders] Thoughts on new features in CS4

2009-01-07 Thread Anthony Pace
In advance I would like to apologize for what may seem to be, and quite possibly is in some cases, a rant. I have used it while on contract, and it is not all that great. For animation it is okay and sprites points bones and IK are great; yet, no coding improvements, other than not having to b

Re: [Flashcoders] Auto Reply: Flashcoders Digest, Vol 16, Issue 8

2009-01-07 Thread Anthony Pace
I know... Joel Stransky wrote: This is getting annoying. 2009/1/7 Vielen Dank für Ihre Nachricht. Ich bin bis einschließlich 9. Januar 2009 nicht erreichbar. In dringenden Fällen wenden Sie sich bitte an Herrn Peer Schmidt-Soltau ( p...@masterkitchen.de) oder Frau Hannah Witopil (han...@

[Flashcoders] multi-touch directly in flash...

2009-01-08 Thread Anthony Pace
I have figured out how to make flash work as a multi-touch system... I am coding it now... it is so darn simple... it just came to me after watching a video on how to make your own multi-touch input device using a webcam a piece of white paper and a box to block most of the light so the cam

Re: [Flashcoders] multi-touch directly in flash...

2009-01-08 Thread Anthony Pace
uot; - not sure if he released any code though? http://lectures.quasimondo.com/ Glen Anthony Pace wrote: I have figured out how to make flash work as a multi-touch system... I am coding it now... it is so darn simple... it just came to me after watching a video on how to make your own

Re: [Flashcoders] multi-touch directly in flash...

2009-01-08 Thread Anthony Pace
ition algorithms there which will be of help, I think. Cheers, Ian On Thu, Jan 8, 2009 at 10:08 AM, Anthony Pace wrote: To my knowledge all flash integration for multi-touch has been made possible by using flosc by ben chun, or with OpenCV and touchLib; however, what I am proposing is that it is pos

Re: [Flashcoders] ActionScript syntax enhancements?

2009-01-08 Thread Anthony Pace
The only thing that I would suggest, is that he tighten the compiler code and perhaps expose low level features if it is possible to do so just through an edit of the p code. It is still compiled into pcode right? or am I out of date... Merrill, Jason wrote: I agree along the lines of Mark.

Re: [Flashcoders] multi-touch directly in flash...

2009-01-08 Thread Anthony Pace
I absolutely get the idea (as I said, we were discussing it yesterday - with reference to an infra-red camera, but same principle). Check out Mario's stuff, there are areas-of-colour recognition algorithms there which will be of help, I think. Cheers, Ian On Thu, Jan 8, 2009 at 10:0

Re: [Flashcoders] multi-touch directly in flash...

2009-01-08 Thread Anthony Pace
them here: http://www.andreithomaz.com/arquivos/blob_tracking.zip best, andrei On Thu, Jan 8, 2009 at 12:47 PM, Anthony Pace wrote: great info... Before I peruse through your library, I have a few questions. Do you test for the largest circle or rectangle that can fit in the blob?

Re: [Flashcoders] Dictionary resource for word based games

2009-01-09 Thread Anthony Pace
Do you just need a list of words or do you need their definitions too? Mark Winterhalder wrote: On Fri, Jan 9, 2009 at 11:25 AM, Paul Steven wrote: Can anyone point me in the direction of where to acquire an electronic version of the English dictionary that is easily incorporated into my ga

Re: [Flashcoders] Auto Reply: Flashcoders Digest, Vol 16, Issue 11

2009-01-09 Thread Anthony Pace
I hate when people have auto responders. I am for banning him. Nate Beck wrote: Second that. On Fri, Jan 9, 2009 at 9:55 AM, Joel Stransky wrote: Would you please BAN this guy!? Sheesh. 2009/1/9 Vielen Dank für Ihre Nachricht. Ich bin bis einschließlich 9. Januar 2009 nicht erre

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

2009-01-09 Thread Anthony Pace
that is mean but funny... What languages do you know? Nate Beck wrote: http://www.amazon.com/Head-First-Java-Kathy-Sierra/dp/0596009208 Enjoy! :) On Fri, Jan 9, 2009 at 1:10 PM, Omar Fouad wrote: Ok but I don't know Java... On Fri, Jan 9, 2009 at 10:43 PM, Weyert de Boer wrote:

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

2009-01-09 Thread Anthony Pace
You need to have a server to connect to, and, from what I know (only what I have read), is that adobe purposefully decided to block this and other media related capabilities. they don't want us creating streaming server capability that avoids the use of their com server. if you want these fea

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

2009-01-09 Thread Anthony Pace
If I didn't make myself clear, the only way to do this is with an intermediary server running on the system being connected to. Anthony Pace wrote: You need to have a server to connect to, and, from what I know (only what I have read), is that adobe purposefully decided to block this

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

2009-01-09 Thread Anthony Pace
http://java.sun.com/docs/books/tutorial/networking/sockets/clientServer.html Omar Fouad wrote: Can you be more clear please? :) On Sat, Jan 10, 2009 at 12:06 AM, Anthony Pace wrote: If I didn't make myself clear, the only way to do this is with an intermediary server running on the s

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

2009-01-09 Thread Anthony Pace
SQLite won't connect to another computer on the lan though... Since you know c#, just replace where it says java with c# that is somewhat similar; however, I do completely understand this is sometimes easier said than done. http://www.google.ca/search?hl=en&q=simple+socket+server+in+c%23&btnG

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

2009-01-09 Thread Anthony Pace
started. I understood it in seconds; yet, it will take you less time since you are practised with the language. Anthony Pace wrote: SQLite won't connect to another computer on the lan though... Since you know c#, just replace where it says java with c# that is somewhat similar; however,

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

2009-01-09 Thread Anthony Pace
n Sat, Jan 10, 2009 at 2:07 AM, Omar Fouad wrote: Antony I have already 3 computers connected to the Same SQLite shared file on the network and it works like a charm. :) On Sat, Jan 10, 2009 at 1:54 AM, Anthony Pace wrote: SQLite won't connect to another computer on the lan thoug

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

2009-01-09 Thread Anthony Pace
cool? On Sat, Jan 10, 2009 at 2:04 AM, Anthony Pace < anthony.p...@utoronto.ca wrote: I used c# years ago very briefly... and I just realized that actionscript has a resemblance... I might want to start looking into .net aga

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

2009-01-10 Thread Anthony Pace
messages tables) an every time a user logs in, delete any record whose timestamp is = 24 hs old. For many scenarios, this would a problematic approach (you don't have a central server managing users interation, too much resposibility on the client, etc), but under the circumstanc

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

2009-01-10 Thread Anthony Pace
atively supports connecting to a SQLite database), I'd say it's probably not that bad, all in all. Cheers Juan Pablo Califano 2009/1/10, Anthony Pace : This is just a bad way to do this. The client becomes responsible for everything, and that leads to security issues like crazy. I

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

2009-01-10 Thread Anthony Pace
that this would be deployed in a LAN, as an Air app (which natively supports connecting to a SQLite database), I'd say it's probably not that bad, all in all. Cheers Juan Pablo Califano 2009/1/10, Anthony Pace : This is just a bad way to do this. The client becomes responsible for

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

2009-01-10 Thread Anthony Pace
And did I mention unreliable? Anthony Pace wrote: Well of course you do, he seems to be backing up your bad method. And again... the DB in your scenario is a file on the network being written and over written by each client; thus, as I stated, very insecure. Omar Fouad wrote: Yeah Juan I

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

2009-01-10 Thread Anthony Pace
locking facilities (which do seem to be problematic in Macs). Anyway, I'm not saying this is the most robust possible solution. I'm just saying that given the circumstances, it could be good enough. Cheers Juan Pablo Califano 2009/1/10, Anthony Pace : Well the db is a raw file; th

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

2009-01-10 Thread Anthony Pace
How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___

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

2009-01-10 Thread Anthony Pace
On Sat, Jan 10, 2009 at 10:11 PM, Anthony Pace wrote: How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that

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 Anthony Pace
ount is resoanable, and the code is well written, nothing is impossible. Cheers. On Sun, Jan 11, 2009 at 10:24 AM, Anthony Pace wrote: 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 ca

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

2009-01-12 Thread Anthony Pace
Well I guess I was wrong, and he would like to learn about haxe and neko. Omar Fouad wrote: Ian I think it is too late, but I would like to know details about the HaXe/neko approach. By the way ppl, I've finished an AIR chat application, that uses the SQLite "way". I've posted it on my blog min

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

2009-01-12 Thread Anthony Pace
There are a lot of ways to accomplish a socket connection; yet, I doubt this guy knows how to publish for haxe/neko, or would want to learn another language; as similar as it may be. I believe he is absolutely right wanting to be able to do it entirely with air, and there should be a way to do

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

2009-01-12 Thread Anthony Pace
http://screenweaver.org/doku.php?id=docs:as_api If you are going to go this route for later applications, I would use screenweaver. It allows flash to talk to the neko VM. Omar Fouad wrote: HaXe and neko I mean On Mon, Jan 12, 2009 at 7:24 PM, Omar Fouad wrote: Wait a minute I don't g

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

2009-01-12 Thread Anthony Pace
. Anthony Pace wrote: http://screenweaver.org/doku.php?id=docs:as_api If you are going to go this route for later applications, I would use screenweaver. It allows flash to talk to the neko VM. Omar Fouad wrote: HaXe and neko I mean On Mon, Jan 12, 2009 at 7:24 PM, Omar Fouad wrote

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

2009-01-12 Thread Anthony Pace
ar and also let you skew things. http://blog.greensock.com/transformmatrixproxy/ It's not quite as convenient as a plugin for TweenLite/Max, though. -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Saturday, January 10, 2009 6:12 PM To: Flash Coders Lis

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

2009-01-12 Thread Anthony Pace
al); original.x=-original.width/2; original.y=-original.height/2; addChild(wrapper); wrapper.rotation=45; ... or whatever. If you're really getting erroneous results from that sort of setup, I'd love to see the source code. Ian On Sun, Jan 11, 2009 at 2:00 AM, Anthony Pace wrote:

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

2009-01-12 Thread Anthony Pace
, although useful, is still not good enough for me. Ashim D'Silva wrote: Scale & rotate around an arbitrary centre | Web 2.1<http://web.2point1.com/2008/04/13/scale-rotate-around-an-arbitrary-centre/> first result on google. 2009/1/13 Anthony Pace Oh yeah this definitely works

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

2009-01-13 Thread Anthony Pace
ugh noone seems to take offense, it's a one way trip to my ignore list. On Mon, Jan 12, 2009 at 9:24 PM, Anthony Pace wrote: How about a real answer? Jack Doyle wrote: There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur

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

2009-01-13 Thread Anthony Pace
", some attitude dude. Although noone seems to take offense, it's a one way trip to my ignore list. On Mon, Jan 12, 2009 at 9:24 PM, Anthony Pace wrote: How about a real answer? Jack Doyle wrote: There's a new plugin for TweenLite/Max that'll cause trans

Re: [Flashcoders] Partially drawing a graphic?

2009-01-13 Thread Anthony Pace
Something to keep in mind is that converting a cubic to a quadratic will not always work; if the control points that lie off the locus are >= 90 degrees from centre. I might be wrong, because I am basing it off just visually seeing how a cubic's cage is put together; yet, I am pretty sure wha

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

2009-01-13 Thread Anthony Pace
ys deserves some respect/gratitude instead of some shitty reply. On Tue, Jan 13, 2009 at 7:06 PM, Anthony Pace wrote: When someone is telling you to buy their product or a purchase a membership to their club, it is not a real answer. As I said, I appreciated his second answ

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

2009-01-13 Thread Anthony Pace
n the shoulders of giants, so why do you take offence to my wanting to learn? Working at triMM I would figure that you would have an open philosophy; yet, perhaps I am wrong. Anthony Pace wrote: It a coder forum... not a pitch my product forum. People like you need to relax. Hans Wichman wrote:

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

2009-01-13 Thread Anthony Pace
You got it; yet, I already sent a message out. Dave Watts wrote: It a coder forum... not a pitch my product forum. People like you need to relax. Regardless of what kind of forum it is, there's no need to be rude. Rudeness is always a violation of list etiquette. And on that note, I'd l

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

2009-01-13 Thread Anthony Pace
lashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Anthony Pace Sent: Tuesday, January 13, 2009 1:56 PM To: Flash Coders List Subject: Re: [Flashcoders] change the origin of rotation for a movieclip? How would you like it if you asked a question

Re: [Flashcoders] AS3 Nice Knob(s)

2009-01-16 Thread Anthony Pace
I know most applications use sliders; yet, I actually prefer the knobs that are more realistic. In my opinion, if you are going to make it look like a knob, it should function like one. To create them, I think a good way is to track the mouse's x,y and angle, using the centre of the knob as t

Re: [Flashcoders] This is kind of Wonderfl

2009-02-02 Thread Anthony Pace
Hi Jason, Actually I think something like this has the potential to be great if taken in the right direction, and given a GUI that is much better; however, there is definitely the draw back of speed, if the server has to compile a file for 10 to 100 to a 1000 users at once. Imagine a scenari

Re: [Flashcoders] OT: Internet Explorer 8

2009-02-06 Thread Anthony Pace
download ietester http://www.my-debugbar.com/wiki/IETester/HomePage works well for me; yet, if you set your work to display in compatability mode in ie8 things should work almost the same. http://blogs.msdn.com/chkoenig/archive/2008/08/28/ie8-standards-mode-and-ie7-compatibility-mode.aspx mi

Re: [Flashcoders] bandwidth detection

2009-02-08 Thread Anthony Pace
why multiple images? you could do it with one image; yet, it really depends on the stability of the host/isp/network, if the exchange throttles or caches information, etc. Are you averaging from multiple hosts from different regions of the planet? if so, you may want to compensate for that t

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: M

Re: [Flashcoders] Printing table receipt with Flex

2009-02-26 Thread Anthony Pace
You beat me to it. I was going to say that he could lat it out someway like outputing it all as html inside an mc like eric said, convert the mc to a bitmap like you suggested, and then use printJob(); Here is a decent tutorial... http://blog.tikikitchen.com/2008/04/18/printing-in-flash-in-1

Re: [Flashcoders] MVC(S) Question

2009-02-26 Thread Anthony Pace
Dr. Ache, This isn't about your advice on the app, as I think you are right with regard to his situation (I am just starting to get better with real oop so don't quote me); yet, it is the comment, that you should always use loose coupling, that gets me. Doesn't tight coupling use less cycles

Re: [Flashcoders] Printing table receipt with Flex

2009-02-27 Thread Anthony Pace
Why not treat the textfield as a cell with absolute positioning? They have their own x,y,width,height, along with visual styles, so why not just define them? Just look at the format of the object you want printed and separate them into their elements. I also wanted to mention that you don't

Re: [Flashcoders] Bandwidth testing without Flash Media Server

2009-02-27 Thread Anthony Pace
From the first byte received do an average per second of bytes loaded for a jpg file of a known amount of bytes; as well, you may want to do this with multiple files in case there is preference with regard to file types at the exchange. innthe...@gmail.com wrote: Does anyone have anything on

[Flashcoders] best way to perform collision detection on rigid objects?

2009-02-28 Thread Anthony Pace
For 2d I would assume a xor for the solid object created by a shape created by the displacement of object1 in the next frame and the object1 in the current frame to detect if a collision occurs between it and object2? For 3d spherical subdivision mixed with 6 sided bitmap xor in the same resp

[Flashcoders] money question AJAX style apps or flash?

2009-03-03 Thread Anthony Pace
Because of the trend, have you noticed less jobs for Flash then for AJAX style webapps? A push to DHTML and AJAX because of SEO issues? So many bad developers giving companies leaving a bad taste in the mouths of clients? Is freelance flash developer starting to become a bad title? What about t

Re: [Flashcoders] money question AJAX style apps or flash?

2009-03-03 Thread Anthony Pace
e classes. I'll be looking into it more when I get some time. a On Tue, Mar 3, 2009 at 10:29 AM, Anthony Pace wrote: Because of the trend, have you noticed less jobs for Flash then for AJAX style webapps? A push to DHTML and AJAX because of SEO issues? So many bad developers giving com

Re: [Flashcoders] advice to ms word/xml

2009-03-05 Thread Anthony Pace
OMG,yikes...Just use notepad. I know I will sound like I am being a bit of a snot for saying it; yet, I figured that one out when I was a pre-teen, as it effects all files. Nice of him to try to help though; Joel Stransky wrote: why on earth would you use Word to edit xml? On Thu, Mar 5, 2

Re: [Flashcoders] advice to ms word/xml

2009-03-05 Thread Anthony Pace
If aptana had flash develops capabilities, that would be awesome. (salivating at the thought) Bob Wohl wrote: or Aptana! /*ducks*/ On Thu, Mar 5, 2009 at 3:31 PM, Cor wrote: Or FlashDevelop -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-b

Re: [Flashcoders] include directive ...

2009-03-06 Thread Anthony Pace
Hi there, I know this is an actionscript list; yet, I hope that the below helps a php newbie out there, as for some reason I see this issue a lot in people's code. An i/nclude/ in most languages means the code will be brought inline, and it will throw an error during compilation if the file

Re: [Flashcoders] include directive ...

2009-03-06 Thread Anthony Pace
Maybe I have been working with merchants too long; yet, all I can think of in reference to P.O.S is that it means point of sale. Joel Stransky wrote: Technically, Yes, it's the exact same thing. include merely allows you use an external text editor instead of the p.o.s. actions panel. On Wed,

Re: [Flashcoders] include directive ...

2009-03-06 Thread Anthony Pace
lol... hahahahahahaha I totally agree whispers wrote: :P Oh..and P.O.S. = Piece of . ;) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Joel Stransky Sent: Friday, March 06, 2009 2:14 PM To: Flas

Re: [Flashcoders] Capture sound input in Flash as MP3?

2009-03-07 Thread Anthony Pace
Hi, Extracting the audio from the flv is a great idea. I originally wanted to do a port for red5, from java to php or c++; yet, after receiving some advice from the red5 guy Paul Gregoire at FITC TO 2008, and after looking at the code and how tied into mina it was, I figured it would be easie

Re: [Flashcoders] Advice on creating random grid of pairs for a game

2009-03-11 Thread Anthony Pace
Sounds like one of my old high-school projects, I see several ways of doing what you want that make sense: * -random population always of an array 81 units long (80 if you want the last to always be blank) o --you could create a function that loops 41(or 40 if last al

Re: [Flashcoders] Advice on creating random grid of pairs for a game

2009-03-11 Thread Anthony Pace
lashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Anthony Pace Sent: 11 March 2009 16:31 To: Flash Coders List Subject: Re: [Flashcoders] Advice on creating random grid of pairs for a game Sounds like one of my old high-school projects, I see several ways of

Re: [Flashcoders] Advice on creating random grid of pairs for a game

2009-03-11 Thread Anthony Pace
Oh man... I just got to thinking along those lines and you beat me to it; however, I was thinking that, in order to avoid them being placed side by side, you could place a restriction on minimum distance and force it to be 2 or more. Then I was thinking your could cross hatch; however, I thin

Re: [Flashcoders] Advice on creating random grid of pairs for a game

2009-03-11 Thread Anthony Pace
Perhaps this process is really time consuming and I need to leave it for hours to generate a grid but I wouldn't have thought so. Any advice much appreciated! Thanks Paul -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.fig

Re: [Flashcoders] Advice on creating random grid of pairs for a game

2009-03-11 Thread Anthony Pace
I just wanted to mention that I don't think it should be entirely random. Perhaps you may want to add restrictions as I mentioned before, yet, make sure it has a maximum that steps higher and higher based on availability, and alternate between diagonal and side to side. So if there is no way 2

Re: [Flashcoders] Advice on creating random grid of pairs for a game

2009-03-11 Thread Anthony Pace
Anthony Pace wrote: I just wanted to mention that I don't think it should be entirely random. Perhaps you may want to add restrictions as I mentioned before, yet, make sure it has a maximum that steps higher and higher based on availability, and alternate between diagonal and side to side.

Re: [Flashcoders] Playing Flash video in slow-motion

2009-03-14 Thread Anthony Pace
Nice catch Paul Andrews... When you are spreading out the frames you spread out the peaks and valleys in the audio sample; thus, in my understanding, because you are extending time, there is no way of keeping the audio sound similar to the original sample without losing sync to the frames.

Re: [Flashcoders] Problem Printing Lines

2009-03-14 Thread Anthony Pace
Can you show me an example? Wendy Serrell wrote: I've got a paint application which uses Flash 9/AS2's moveTo() and lineTo() functions to draw lines on a canvas. Works great. The problem is printing. Using PrintJob, the lines don't appear on the printed page as they do on screen. Most notic

Re: [Flashcoders] Problem Printing Lines

2009-03-14 Thread Anthony Pace
different colour? cause it might be the way the image is taking the alpha information, and it might be resolvable by putting a white background behind what you draw. Anthony Pace wrote: Can you show me an example? Wendy Serrell wrote: I've got a paint application which uses Flash 9/AS2

Re: [Flashcoders] Re: Problem Printing Lines

2009-03-14 Thread Anthony Pace
in this instance I was able to fix it by changing "none" to "normal" in your linestyle. Wendy Serrell wrote: Anthony Pace wrote: Can you show me an example? Yes. Paste this code into a new AS2 file: --- this.createEmp

Re: [Flashcoders] Re: Problem Printing Lines

2009-03-14 Thread Anthony Pace
Here is a pdf that shows it has the same output that you see in the flash player. I haven't tried to send a document to the list before, so I hope it isn't filtered out. Anthony Pace wrote: in this instance I was able to fix it by changing "none" to "normal&quo

Re: [Flashcoders] Re: Problem Printing Lines

2009-03-14 Thread Anthony Pace
Well that sucked; yet, it does work. Have you checked it out? Anthony Pace wrote: Here is a pdf that shows it has the same output that you see in the flash player. I haven't tried to send a document to the list before, so I hope it isn't filtered out. Anthony Pace wrote: in thi

[Flashcoders] AS3 examples of amoeba or microbes

2009-03-22 Thread Anthony Pace
I am looking for some really good examples of amoeba or microbe simulations done in as3 I know that it is probably just done using beziers; yet, I am also wondering what the best way would be to connect hair "feelers" to the edges, so if the microbe changes shape the hairs move accordingly.

[Flashcoders] free hi def Mercator projections?

2009-03-25 Thread Anthony Pace
Hi, A lot of people have advised me that it really does not matter if my data is localized within a city; yet, I would prefer a map of Toronto/Ontario/Canada taken from a Mercator projection, so it has clearly defined lines for longitude and latitude, or a highly detailed Mercator projection

Re: [Flashcoders] AS3 examples of amoeba or microbes

2009-03-25 Thread Anthony Pace
little bit. -jonathan On Mon, Mar 23, 2009 at 11:19 AM, Alan Shaw wrote: Check this out: http://www.nicoptere.net/blog/index.php/2008/10/13/51-bacteria-generator-actionscript-flash On Sun, Mar 22, 2009 at 11:11 PM, Anthony Pace wrote: I am looking for some really good examples of amoeba

Re: [Flashcoders] ?: how to prevent users to copy text from a TextArea?

2009-03-27 Thread Anthony Pace
I know its a bit hackish but it should work. You could get the width and height of the text field, and overlay a transparent shape that match the dimensions. pe...@pepo.nl wrote: I'll have to prevent users to copy text from a TextArea. In Flex I saw you do that bij setting a selectable attr

Re: [Flashcoders] ?: how to prevent users to copy text from a TextArea?

2009-03-27 Thread Anthony Pace
Similar to what I suggested; yet, it shouldn't have to be a sprite as a shape could do just as well I think. Either way, you gave code and I didn't. Taka Kojima wrote: Hey Peter, Hmm... i see the issue, very weird, probably classifies as a bug, here's how I got around it: public function Dis

Re: [Flashcoders] ?: how to prevent users to copy text from a TextArea?

2009-03-27 Thread Anthony Pace
reate another issue by solving this one On Fri, Mar 27, 2009 at 2:34 PM, Anthony Pace wrote: I know its a bit hackish but it should work. You could get the width and height of the text field, and overlay a transparent shape that match the dimensions. pe...@pepo.nl wrote: I'll have

Re: [Flashcoders] ExternalInterface ...

2009-03-28 Thread Anthony Pace
http://www.actionscript.org/resources/articles/745/1/JavaScript-and-VBScript-Injection-in-ActionScript-3/Page1.html This tutorial should be pretty useful. Glen Pike wrote: I also forgot to add that you may need to set the "AllowScriptAccess" variable to "always" in your SWF embedding HTML code

Re: [Flashcoders] Pixel recognition?

2009-03-28 Thread Anthony Pace
tml(should be easy to convert to as3) You could also use the inverse colour of a pixel to make it pop. Anyone else have any bright ideas? Seriously, I am sure somebody knows a better way. Hoping my 2:41am ramblings help, Anthony Pace Karl DeSaulniers wrote: I was wondering is there a way

Re: [Flashcoders] Pixel recognition?

2009-03-29 Thread Anthony Pace
2009, at 1:48 AM, Anthony Pace wrote: Hi Karl, Kind of tired, so the easiest way I can think of to do this is to evaluate and convert each pixel's RGB values to HSB and then average your found values for all the pixels in the region the loader is to be displayed within. Hue, Saturation,

Re: [Flashcoders] Pixel recognition?

2009-03-29 Thread Anthony Pace
just noticed that wikipedia has some decent info http://en.wikipedia.org/wiki/HSV_color_space Karl DeSaulniers wrote: Yeh I was going to see if I could adopt the theory into as Sent from losPhone On Mar 29, 2009, at 2:23 AM, Anthony Pace wrote: I just realized the link I have you with the

Re: [Flashcoders] Pixel recognition?

2009-03-29 Thread Anthony Pace
hought I'd ask. Sent from losPhone On Mar 29, 2009, at 5:48 AM, Anthony Pace wrote: just noticed that wikipedia has some decent info http://en.wikipedia.org/wiki/HSV_color_space Karl DeSaulniers wrote: Yeh I was going to see if I could adopt the theory into as Sent from losPhone On Mar 2

Re: [Flashcoders] ?: how to prevent users to copy text from aTextArea?

2009-03-29 Thread Anthony Pace
In this situation I agree with you, that rolling your own would be pretty easy and could prove to be less of a hassle; however, he does present a nice solution to the problem at hand. Cor wrote: Just interested. Is all this worth the hassle? I mean instead using a TextArea, I would go for a no

[Flashcoders] free lynda AS3 videos in safaribooks online through the Toronto public library

2009-03-30 Thread Anthony Pace
all the lynda videos pertaining to as3 are free through safaribooks online's public library access deals. not to mention tons of free math and comp sci books. Thank goodness my gf has a library card. ___ Flashcoders mailing list Flashcoders@chattyfig.

Re: [Flashcoders] FPS question

2009-03-30 Thread Anthony Pace
First you say swf, and yes, controlling the frame rate for an swf is doable; yet, then you say movie... do you mean movie clip, or stream? Karl DeSaulniers wrote: Ok here is a new one. Is there a way to control the way your swf plays according to the bandwidth it's getting? For eg: control ho

  1   2   3   4   >