Re: [Flashcoders] AS3: Objects never get deleted

2006-09-12 Thread Fumio Nonaka
The useWeakReference parameter of EventDispatcher.addEventListener() does not seem to work. Also, the method has a bug, which is that the event listner function cannot be deleted with the parameter set to true. Flash 9 ActionScript 3.0 Preview: Does useWeakReference parameter of

[Flashcoders] Best actionscript developement environnement for Mac Intel

2006-09-12 Thread Flap Flap
Hi there, I try to find some ressource of the best environnement for as coding on Mac Intel. Also Flex 2. Eclipse seems to be the best way but I cannot find some good way to have as 3 / mxml autocompletion. Maybe there is other / better ? -- Flapflap http://www.kilooctet.net (Dev Flash Blog

Re: [Flashcoders] this['box_ratio'] works but this.box_ratio or just box_ratio does not

2006-09-12 Thread Alexander Farber
Hello John, On 9/12/06, John Axel Eriksson [EMAIL PROTECTED] wrote: You could look into Delegate or Proxy... makes these I've looked up the Delegate and it is for Components and I don't use them. And the Proxy is a bad keyword for searching - could you please give me an URL? I have put my

Re: [Flashcoders] this['box_ratio'] works but this.box_ratio or just box_ratio does not

2006-09-12 Thread Hans Wichman
Hi, Delegate is not only for components, it works for anycase where you wish to run functions in another scope. greetz JC On 9/12/06, Alexander Farber [EMAIL PROTECTED] wrote: Hello John, On 9/12/06, John Axel Eriksson [EMAIL PROTECTED] wrote: You could look into Delegate or Proxy... makes

Re: [Flashcoders] AS3: Objects never get deleted

2006-09-12 Thread Meinte van't Kruis
ok, thats nice to know :) any known solutions to this? -Meinte On 9/12/06, Fumio Nonaka [EMAIL PROTECTED] wrote: The useWeakReference parameter of EventDispatcher.addEventListener() does not seem to work. Also, the method has a bug, which is that the event listner function cannot be deleted

Re: [Flashcoders] AS3: Objects never get deleted

2006-09-12 Thread Meinte van't Kruis
pardon me, it seems to be described in the thread. - function callback(eventObject:Event):void { removeEventListener(Event.ENTER_FRAME, callback, false); // callback = null; trace([this, callback]); } // callback.self = callback; addEventListener(Event.ENTER_FRAME,

Re: [Flashcoders] this['box_ratio'] works but this.box_ratio or just box_ratio does not

2006-09-12 Thread John Axel Eriksson
Yeah, exactly. You can use it for anything. You should also check this out: http://www.person13.com/articles/proxy/Proxy.htm A nicer version of Delegate. What a Delegate/Proxy does is to execute a callback in another scope. So instead you could do it like this(I'm using Proxy, but you can

Re: [Flashcoders] Accessing a file on the local hard drive?

2006-09-12 Thread Mark Burvill
That's a good idea hadn't thought of that. Mind you, don't think we can use FP8 but worth considering. I'm still looking for the reason that it doesn't work straight from the hard drive though. Is it a Flash player thing or a service pack thing? *- **Mark Burvill* Interactive

[Flashcoders] Scrubbing offline flvPlayback with code

2006-09-12 Thread Danny Kodicek
It seems that it's not possible to set the playHeadTime of an FLVComponent unless it's streaming - is there any way to get it to work on a local file running on a CD-ROM? I want to be able to scrub through the video using code. Danny ___

[Flashcoders] taking color out of a jpg in flash

2006-09-12 Thread Stanford Vinson
I want to load in a jpg/gif and then take all its color out leaving it in gray scale. Is this possible using new functions in flash 8 ... like copybitmap or anything? Has anyone tried this? All the best, Stanford ___ Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] taking color out of a jpg in flash

2006-09-12 Thread Mike Mountain
http://www.senocular.com/flash/source.php?id=0.169 Googled desaturate flash -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stanford Vinson Sent: 12 September 2006 10:53 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] taking color

[Flashcoders] Webcam color tracking

2006-09-12 Thread Serge Jespers
Hey guys, I was wondering if anyone has already tried webcam color tracking inside Flash 8 or 9...? So not the difference motion tracking that you see everywhere but tracking one particular color. Or I should say range of colors... I started out with getColorBoundsRect but that doesn't

RE: [Flashcoders] taking color out of a jpg in flash

2006-09-12 Thread Stanford Vinson
IT WORKS Wow. Those are some fine googlin skills you got there (why didn't I think of that). Thanks for your help! Stanford http://www.senocular.com/flash/source.php?id=0.169 Googled desaturate flash -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

RE: [Flashcoders] Scrubbing offline flvPlayback with code

2006-09-12 Thread Jason Ross
We wrote one recently for a client. You can download it from here: http://www.view.uk.com/temp/video.player.zip Jason. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danny Kodicek Sent: 12 September 2006 10:43 To: Flashcoders mailing list Subject:

RE: [Flashcoders] Scrubbing offline flvPlayback with code

2006-09-12 Thread Danny Kodicek
We wrote one recently for a client. You can download it from here: http://www.view.uk.com/temp/video.player.zip Wow, thanks Jason, that's really helpful. Danny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

[Flashcoders] Flash Game/Highscore security

2006-09-12 Thread Almin Sehic
Hello everyone! I have a huge problem. I have made a game which also has a highscore feature, and I have some kid who is always cheating and submitting fake scores. I was checking this list and i have found a discussion on this theme from 2003. I am just interested, has anything changed since

Re: [Flashcoders] Flash Game/Highscore security

2006-09-12 Thread Michael Stuhr
Almin Sehic schrieb: What is the best way to protect the highscore? don't put it online. micha ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Flash Game/Highscore security

2006-09-12 Thread Ian Thomas
There was a pretty thorough discussion of this on the FlashGameCoders list the other day - it might be worth you taking a look there. HTH, Ian On 9/12/06, Almin Sehic [EMAIL PROTECTED] wrote: Your sollution is good, but the other paramters dont allow me to use it. It has to stay online. S.

RE: [Flashcoders] Flash Game/Highscore security

2006-09-12 Thread Danny Kodicek
Hello everyone! I have a huge problem. I have made a game which also has a highscore feature, and I have some kid who is always cheating and submitting fake scores. I was checking this list and i have found a discussion on this theme from 2003. I am just interested, has anything changed

RE: [Flashcoders] Scrubbing offline flvPlayback with code

2006-09-12 Thread Danny Kodicek
We wrote one recently for a client. You can download it from here: http://www.view.uk.com/temp/video.player.zip Wow, thanks Jason, that's really helpful. I've been examining this and it's great, but it suffers the same problems that my version did: it doesn't scrub the video to an exact

Re: [Flashcoders] Accessing a file on the local hard drive?

2006-09-12 Thread Muzak
If a Flash application (on the web) would have access to your harddrive, Adobe would be out of business in no time. That goes for any web application really.. Muzak - Original Message - From: Mark Burvill [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] this['box_ratio'] works but this.box_ratio or just box_ratio does not

2006-09-12 Thread Alexander Farber
Thank you John, the Delegate has been just what I needed - I've just replaced the 2 lines and it works: listener.onLoadProgress = Delegate.create(this, display_progress); listener.onLoadInit = Delegate.create(this,

Re: [Flashcoders] Flash Game/Highscore security

2006-09-12 Thread Ian Thomas
Another method is to have the server send out a generated hash code of some sort to the client (that expires after a set time); for the client to encrypt the score using the code and send it back. Yet another mentioned on FlashCoders is to do the above, but send (along with score and name) game

RE: [Flashcoders] Accessing a file on the local hard drive?

2006-09-12 Thread Mike Mountain
From what I can see of the tweenies one it does upload the photo - it just takes care of the where from bit with the text: Create a folder on your c drive called temp and save the file here, naming it me.jpg I assume this triggers a php script or something similar to upload it from that location

RE: [Flashcoders] Scrubbing offline flvPlayback with code

2006-09-12 Thread Jim Berkey
If the video is short, and is playing from a cd, why not make every frame a keyframe when you encode the flv? jimbo *** REPLY SEPARATOR *** On 9/12/2006 at 1:18 PM Danny Kodicek wrote: We wrote one recently for a client. You can download it from here:

Re: [Flashcoders] Scrubbing offline flvPlayback with code

2006-09-12 Thread Michael Stuhr
Danny Kodicek schrieb: We wrote one recently for a client. You can download it from here: http://www.view.uk.com/temp/video.player.zip Wow, thanks Jason, that's really helpful. I've been examining this and it's great, but it suffers the same problems that my version did: it doesn't scrub the

RE: [Flashcoders] Scrubbing offline flvPlayback with code

2006-09-12 Thread Danny Kodicek
If the video is short, and is playing from a cd, why not make every frame a keyframe when you encode the flv? Because there's quite a lot of video and we don't want the filesize to bloat (also we may want to put it online in the future) Danny ___

RE: [Flashcoders] Selection.getIndex() on textfield with a button?

2006-09-12 Thread Merrill, Jason
I just went through that nightmare myself related to UI components. What I ended up doing was a kludgy workaround using setInterval, storing the selection indicies: //capture the selection span in the currently focused textfield and save it for when other UI elements are focused . //A kludgy

[Flashcoders] Stylegala.com

2006-09-12 Thread Marcelo de Moraes Serpa
Just found this beutiful website. As a programmer that loves design, I found this to be a valuable resouce to keep up to date with webdesign tendencies and to study web/interface and design in general. Very cool! Is there something like that for flash? What other websites about design would you

[Flashcoders] Close all brances in tree component

2006-09-12 Thread Lieven Cardoen
Does anybody have a function to close all branches in tree component???(V2 component Flash) Thx, Lieven Cardoen ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Close all brances in tree component

2006-09-12 Thread Johannes Nel
this is a cheat. reset your dataprovider. On 9/12/06, Lieven Cardoen [EMAIL PROTECTED] wrote: Does anybody have a function to close all branches in tree component???(V2 component Flash) Thx, Lieven Cardoen ___ Flashcoders@chattyfig.figleaf.com To

Re: [Flashcoders] Close all brances in tree component

2006-09-12 Thread Éric Thibault
Here is my old code Good luck! function CloseAll() { var i:Number; var j:Number; j = this.length; for(i = 0; i j; i++) { var oNode:XMLNode = this.getTreeNodeAt(i); if(oNode != undefined this.getIsBranch(oNode)) { this.CloseNode(oNode);

Re: [Flashcoders] Close all brances in tree component

2006-09-12 Thread Éric Thibault
OUPS! This code is attached to the tree instance! ;-) A+ Éric Thibault a écrit : Here is my old code Good luck! function CloseAll() { var i:Number; var j:Number; j = this.length; for(i = 0; i j; i++) { var oNode:XMLNode = this.getTreeNodeAt(i); if(oNode !=

RE: [Flashcoders] Close all brances in tree component

2006-09-12 Thread Lieven Cardoen
Thx. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Éric Thibault Sent: dinsdag 12 september 2006 16:10 To: Flashcoders mailing list Subject: Re: [Flashcoders] Close all brances in tree component OUPS! This code is attached to the tree instance! ;-)

Re: [Flashcoders] Click drag to control a MC?

2006-09-12 Thread PGriswold
Thanks Zeh! I understand the concept of what you're saying to do, but don't understand how to apply it. Right now I'm doing this: onClipEvent (enterFrame) { framePos = int(_xmouse / 200 *( _parent._totalframes)); if (framePos0) { _parent.gotoAndStop(_parent._totalframes + ((framePos + 1) %

[Flashcoders] TextArea and TextInput differences in creation, why?

2006-09-12 Thread Stephen Matthews
Hi, If I use this code below without having a TextArea TextInput component in my library the TextArea component creation fails. import mx.controls.TextArea; import mx.controls.TextInput; clip.createClassObject( TextInput, newname, depth ); clip.createClassObject( TextArea, newname2, depth2

RE: [Flashcoders] TextArea and TextInput differences in creation, why?

2006-09-12 Thread Robert Chyko
Gotta have the components in the library -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Matthews Sent: Tuesday, September 12, 2006 11:24 AM To: Flashcoders mailing list Subject: [Flashcoders] TextArea and TextInput differences in creation, why?

RE: [Flashcoders] {OT} Job Postings?

2006-09-12 Thread Merrill, Jason
Wade - I assume you have already, but have you also posted on the Flexcoders list? Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Wade

Re: [Flashcoders] {OT} Job Postings?

2006-09-12 Thread slangeberg
And don't forget to post the location in your subject line! -Scott On 9/12/06, Merrill, Jason [EMAIL PROTECTED] wrote: Wade - I assume you have already, but have you also posted on the Flexcoders list? Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions

Re: [Flashcoders] TextArea and TextInput differences in creation, why?

2006-09-12 Thread Stephen Matthews
Hi Robert, I only have TextArea in my Library and everything works. Maybe TextArea contains everything TextInput needs to exist. I just looked at the classes for both and they are quite different, I don't have time to drill down through all the dependencies and inheritance, but I imagine

Re: [Flashcoders] {OT} Job Postings?

2006-09-12 Thread John Grden
that's the problem - they're hard to find. When I was at blitz, must have interviewed everyone in Los Angeles that even thought about Actionscript / flash. Good ones were extremely hard to find, and they were either already working for us or 2-3 competitors. there just aren't many out there.

[Flashcoders] certificate problem in a desktop application

2006-09-12 Thread Céline Nguyen
Hello, I have a strange certificate problem with Flash8. I am building a flash app that runs on local computers. The app uses LoadVars and sendAndLoad methods to send and load parameters to a distant php page in HTTPS. I have configured the global security panel of the flash player to add the

Re: [Flashcoders] {OT} Job Postings?

2006-09-12 Thread John Grden
one thing I've been trying to champion is to embrace more telecommuters and take an aggressive stance on it where they go after people not wanting to relocate. I think when companies finaly come to grips with letting people work from home, and learn how to filter out bad eggs (people who get

[Flashcoders] Site Check Please

2006-09-12 Thread Aaron Roberson
I have a flash banner on my site that is parsing xml and displaying a navigation menu. I have recieved a couple of reports that some users are unable to click through to the pages linked in the navigation. Could as many as possible take a look at the site and tell me if the navigation works. If

Re: [Flashcoders] Site Check Please

2006-09-12 Thread Mick G
Working OK here - FF / PC. On 9/12/06, Aaron Roberson [EMAIL PROTECTED] wrote: I have a flash banner on my site that is parsing xml and displaying a navigation menu. I have recieved a couple of reports that some users are unable to click through to the pages linked in the navigation. Could as

RE: [Flashcoders] {OT} Job Postings?

2006-09-12 Thread Kevin Aebig
I completely agree. I've seen hundreds of good job postings that I was extremely interested in, but didn't apply because I have no need to re-locate. The fact that I worked at home (Canada, eh!) for a company in Chicago for over two years really proved it to me. They got the type of geek they

Re: [Flashcoders] {OT} Job Postings?

2006-09-12 Thread Zeh Fernando
I have been on this list for years and have seen all the job postings and have posted some myself. I am looking to hire 5 Flex 2.0 and 3 flash developers. I have tried posting on dice and monster and have yet to get resumes that come close to the qualifications that I need. So I have to ask where

Re: [Flashcoders] Site Check Please

2006-09-12 Thread Éric Thibault
I have to install flash player 9... are those users having the problems without administrator rights? :-\ Aaron Roberson a écrit : I have a flash banner on my site that is parsing xml and displaying a navigation menu. I have recieved a couple of reports that some users are unable to click

RE: [Flashcoders] Site Check Please

2006-09-12 Thread Ryan Potter
Once I installed flash 9 it worked fine. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Roberson Sent: Tuesday, September 12, 2006 11:02 AM To: Flashcoders mailing list Subject: [Flashcoders] Site Check Please I have a flash banner on my site that

Re: [Flashcoders] {OT} Job Postings?

2006-09-12 Thread Johannes Nel
paul barnes-hogget had an argument about supply and demand in the flex/flasharena which i thought is very apt. he stated that as flex and flash is such a hot technology the demand is very high, thus with normal market factors wages tend to rise. big companies want to use the technology, but due

RE: [Flashcoders] certificate problem in a desktop application

2006-09-12 Thread Kevin Aebig
I'd look at doing an installer. That would probably be on of the easiest routes and would be guaranteed to work. !k -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Céline Nguyen Sent: Tuesday, September 12, 2006 10:11 AM To: Flashcoders mailing list

Re: [Flashcoders] {OT} Job Postings?

2006-09-12 Thread DannyT
I completely agree with Johannes approach. Knowledge of the ins and outs of flash/flex/actionscript isn't half as important as an ability to pick up new technologies, follow best practices and work effectively as a member of a team. I think if you ask if they can do something, and they can't

Re: [Flashcoders] Site Check Please

2006-09-12 Thread Mick G
Yeh, it might be overkill to publish as Flash 9 just for a navigation system. On 9/12/06, Ryan Potter [EMAIL PROTECTED] wrote: Once I installed flash 9 it worked fine. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Roberson Sent: Tuesday,

Re: [Flashcoders] Webcam color tracking

2006-09-12 Thread Serge Jespers
So... euhm.. no one? Hey guys, I was wondering if anyone has already tried webcam color tracking inside Flash 8 or 9...? So not the difference motion tracking that you see everywhere but tracking one particular color. Or I should say range of colors... I started out with

Re: [Flashcoders] does actionscript have something like sql's IN or LIKE ?

2006-09-12 Thread Jim Kremens
Hi, Try this for checking if one string contains another: public static function contains(str:String, val:String):Boolean { return str.indexOf(val) != -1 ? true : false; } Also, try to avoid attaching your functions directly to buttons, as it makes scoping tricky:

Re: [Flashcoders] certificate problem in a desktop application

2006-09-12 Thread Céline Nguyen
Yes I am trying to figure out how to do this. Any ideas ? Do you know why a browser window running the application displays the security pop-up windows whereas the flash player nor the zinc .exe does not displays the same security pop-up, and don't even reach the https server ? (I trace an

RE: [Flashcoders] does actionscript have something like sql's IN orLIKE ?

2006-09-12 Thread Mike Keesey
Why not just: public static function contains(str:String, val:String):Boolean { return str.indexOf(val) = 0; } ? A tad more concise (you don't need the ? true : false part), and avoids the problem your function has that if str is null or undefined, it returns true. ― Mike Keesey

Re: [Flashcoders] Re: inline images in a textarea

2006-09-12 Thread Rich Rodecker
wierd...how do you suppose they did it here then?: http://www.mambers.com/chat/preloader.swf i thought about picking the string apart and piecign together some new movieclips/text fields to display the content, but that would get crazy when the text spans multiple lines. the link above handles

Re: [Flashcoders] does actionscript have something like sql's IN orLIKE ?

2006-09-12 Thread Jim Kremens
Good point! That function has been hanging around in my library for about 2 years and I never really thought much about it... Thanks, Jim On 9/12/06, Mike Keesey [EMAIL PROTECTED] wrote: Why not just: public static function contains(str:String, val:String):Boolean { return

Re: [Flashcoders] {OT} Job Postings?

2006-09-12 Thread John Grden
I would agree with all that's been said - I couldn't have said it better Finding the type of person has become the focus. We designed some questioning that really helped us weed through the people that would most likely be good candidates for coming up to speed. Then you get into work ethic,

Re: [Flashcoders] Re: inline images in a textarea

2006-09-12 Thread Johannes Nel
they use on textfield per line and just leave a space in the text itself cleverly done. this can be seen by selecting the line of text On 9/12/06, Rich Rodecker [EMAIL PROTECTED] wrote: wierd...how do you suppose they did it here then?: http://www.mambers.com/chat/preloader.swf i thought

Re: [Flashcoders] Re: inline images in a textarea

2006-09-12 Thread Marcelo Volmaro
They measure the width of each character and then insert spaces where the image should be placed. Then the image is attached onto a movieclip using as a coordinates the sum of the width of all the characters in one line. If the text spans into multiple lines, that´s no problem neither. You

RE: [Flashcoders] {OT} Job Postings?

2006-09-12 Thread Kevin Aebig
I completely agree as well, but the initial problem remains: Finding someone with those talents. I consider myself extremely talented in those areas, but won't relocate. Employers should definitely consider giving remote workers a chance to prove themselves through contract work if they really

Re: [Flashcoders] {OT} Job Postings?

2006-09-12 Thread Count Schemula
There needs to be creative agencies that works this way. Clients can still deal with account managers and directors locally, but they access their remote teams to get it done. -- count_schemula a href=http://www.thelargeglass.com/flashNo0b/;files for No0bs/a

Re: [Flashcoders] Site Check Please

2006-09-12 Thread Aaron Roberson
On 9/12/06, Éric Thibault [EMAIL PROTECTED] wrote: I have to install flash player 9... are those users having the problems without administrator rights? :-\ No, they have adminstrative rights. In fact, one of them told me they had to install Flash 9 but once they did and returned to the

Re: [Flashcoders] Webcam color tracking

2006-09-12 Thread Mick G
http://www.adobe.com/devnet/flash/articles/webcam_motion.html On 9/12/06, Serge Jespers [EMAIL PROTECTED] wrote: So... euhm.. no one? Hey guys, I was wondering if anyone has already tried webcam color tracking inside Flash 8 or 9...? So not the difference motion tracking that you see

Re: [Flashcoders] Site Check Please

2006-09-12 Thread Aaron Roberson
I really thought I was publishing as Flash 8. Is it possible to publish for Flash 9 anyways? Perhaps is is just the detection script that is requiring Flash 9, in which case the navigation system should work without it. Any ideas? On 9/12/06, Mick G [EMAIL PROTECTED] wrote: Yeh, it might be

Re: [Flashcoders] Webcam color tracking

2006-09-12 Thread Alias™
Yeah, I've done some work with it. The trick is to apply some contrast filters to reduce the colour depth, and be a bit more picky about getting your source colour. You can do the getColourBoundsRect thing, but it's still pretty inaccurate though. Alias On 12/09/06, Serge Jespers [EMAIL

RE: [Flashcoders] Site Check Please

2006-09-12 Thread Ryan Potter
8 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Roberson Sent: Tuesday, September 12, 2006 1:47 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Site Check Please So it didn't work without Flash 9? Do you know if you had Flash 7 or 8

RE: [Flashcoders] Site Check Please

2006-09-12 Thread Ryan Potter
Are you using swfObject? If not I would give it a look. The detection works great. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Roberson Sent: Tuesday, September 12, 2006 1:47 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Site

RE: [Flashcoders] Re: inline images in a textarea

2006-09-12 Thread Keith Reinfeld
This maybe the component you are referring to: http://home.tiscali.nl/~erikwe/component/TextFieldExtension.mxp HTH, -Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo Volmaro Sent: Tuesday,

[Flashcoders] ns.onStatus calling a function

2006-09-12 Thread Christian Pugliese
can't I call a function inside a ns.onStatus ? ie: ns.onStatus = function(info) { if(info.code == NetStream.Play.Start) { trace(info.code); callTheFunction(); } } the trace line executes, an any other event occurs normally, but the callTheFunction() is never called?

Re: [Flashcoders] Webcam color tracking

2006-09-12 Thread Serge Jespers
not the difference motion tracking that you see everywhere but tracking one particular color Thanks tho... http://www.adobe.com/devnet/flash/articles/webcam_motion.html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options

Re: [Flashcoders] Webcam color tracking

2006-09-12 Thread Serge Jespers
Interesting... So you didn't use getColorBoundsRect? Did you 'walk through' all pixels then? Or how exactly do you search for the color? Serge Yeah, I've done some work with it. The trick is to apply some contrast filters to reduce the colour depth, and be a bit more picky about

Re: [Flashcoders] ns.onStatus calling a function

2006-09-12 Thread Johannes Nel
its a scope issue, try delegating the onstatus function On 9/12/06, Christian Pugliese [EMAIL PROTECTED] wrote: can't I call a function inside a ns.onStatus ? ie: ns.onStatus = function(info) { if(info.code == NetStream.Play.Start) { trace(info.code); callTheFunction();

[Flashcoders] [MTASC] Crashes on Point.add method ?

2006-09-12 Thread Jeroen Beckers
Hi List! I use FlashDevelop to write my classes, and I use MTASC as bug-checker in FlashDevelop. I am working on a little 3d experiment and (apparently), I use the flash.geom.Point class. (I guess the BitmapData class uses the Point class, 'cause I'm not using it in my class...). Now, the

Re: [Flashcoders] ns.onStatus calling a function

2006-09-12 Thread John Grden
it's a scope issue. ns object doesn't know about calltheFunction() use Delegate import mx.utils.Delegate; ...later in your code ns.onStatus = Delegate.create(this, myCustomStatusMethod); private function myCustomStatusMethod(evtObj:Object):Void { trace(evtObj.info); f(evtObj.code ==

Re: [Flashcoders] ns.onStatus calling a function

2006-09-12 Thread eka
Hello :) where is your function ? :) var write = function ( message ) { trace( + message) ; } ns.onStatus = function(info) { if (info.code == NetStream.Play.Start) { write( info.code ) ; } } ??? EKA+ :) 2006/9/12, Christian Pugliese [EMAIL PROTECTED]: can't I call a

Re: [Flashcoders] Webcam color tracking

2006-09-12 Thread Serge Jespers
Well... I need to be able to track a LED light. I want to be able to track the position of the light to substitute a mouse... Serge depending on what you want to do, I've converted stuff to black and white (thank you keith peters) for easier tacking. Alias' suggestion is in the same

[Flashcoders] Flash Size / Scaling on IE Windows Mobile

2006-09-12 Thread Erik Bianchi
Hey list, I'm trying to port an app to IE running on Windows Mobile 5.0, but I'm fighting with the IE renderer. I can't seem to get something to open perfectly in the browser without any scroll bars. I can size it just right so the vertical scroll bars aren't visible, but anytime I try to

Re: Re: [Flashcoders] {OT} Job Postings?

2006-09-12 Thread Chris Allen
I totally agree with John. Either you put up with what your city has to offer, try to get people to move, or you go after telecommuting talent. I'm based in Boston and we have a pretty big pool of talented Flash/Flex developers and it's still hard to find people that are willing to change jobs or

Re: [Flashcoders] [MTASC] Crashes on Point.add method ?

2006-09-12 Thread slangeberg
It is really weird how developers either find or fix problems/ issues at the same time as others... This should be a topic for research. -- I was just dealing with this today, and after some poking around discovered that the compiler is set to build to FP7 by default (even if you're not using

[Flashcoders] Job posting: Flash/actionscript coder for Juniper Webcraft

2006-09-12 Thread Paul Novitski
We're looking for a Flash/actionscript developer available now to work on a short-term project. Timing: Immediate, with a hard completion deadline of October 15, 2006. Locale: We're located in the North American Pacific timezone (GMT -8) but are willing to consider fluent English-speaking

RE: [Flashcoders] Flash Size / Scaling on IE Windows Mobile

2006-09-12 Thread Harald Kobler
Hi Erik, I recently built a small Pocket PC application for IE. The only way I found to eliminate both scroll bars is to set the View menu option in IE to One Column otherwise I can't get rid of the horizontal scrollbar. I also experimented with various size parameters and scaling to determine

Re: [Flashcoders] certificate problem in a desktop application

2006-09-12 Thread Céline Nguyen
I don't use browsers because it's supposed to be an .exe in the end, but interestingly, I have tested on both Firefox and IE, and I have noticed that when I install permanently the certificate with Firefox, then, when I run the .exe there is no communication with the https page, and there's no

RE: [Flashcoders] Flash Size / Scaling on IE Windows Mobile

2006-09-12 Thread Erik Bianchi
Hey thanks for the info Harald. I fiddled around with it some more and on the Verizon XV6700 I got it pretty locked at 240w x 245h running in default mode with leftMargin and topMargin set to 0. Nice and tight all the way around the bottom and top nav bars. It seems that there is some play in

Re: [Flashcoders] Re: inline images in a textarea

2006-09-12 Thread Rich Rodecker
that doesnt look like it does anything with inline images, that is a pretty cool component. On 9/12/06, Keith Reinfeld [EMAIL PROTECTED] wrote: This maybe the component you are referring to: http://home.tiscali.nl/~erikwe/component/TextFieldExtension.mxp HTH, -Keith

RE: [Flashcoders] Re: inline images in a textarea

2006-09-12 Thread Keith Reinfeld
There are none so blind... -Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rich Rodecker Sent: Tuesday, September 12, 2006 6:32 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Re: inline images

[Flashcoders] Local Connection - max connections on a Mac?

2006-09-12 Thread Joe Mease
I recently built a iTunes similar html/Flash hybrid site, where each song result has an embedded flash object sample player, based on streaming FLVs. Using the mediator pattern, I have created a single flash component that manages the streaming audio, through a single netStream object. And each

Re: [Flashcoders] [MTASC] Crashes on Point.add method ?

2006-09-12 Thread Jeroen Beckers
Thanks, Scott! That did it :-). slangeberg wrote: It is really weird how developers either find or fix problems/ issues at the same time as others... This should be a topic for research. -- I was just dealing with this today, and after some poking around discovered that the compiler is set to