RE: [Flashcoders] can I know if I class/package has been imported in aswf?

2006-02-01 Thread Steven Sacks
Is it possible to know if a class is being used in a flash movie? If so, how? Put a trace statement in the constructor of the class: class foo { function foo() { trace(new foo); } } ___ Flashcoders mailing

RE: [Flashcoders] Tell me more about _global

2006-02-01 Thread j.c.wichman
Hi, I think there are very good reasons to make a class for it, some of them mentioned before: It allows you to: - debug values stored - add listeners for changes/updates - detect collisions - track where changes made are coming from, or at least when they happen - implement

RE: [Flashcoders] XML Driven Application Driving me crazy :)

2006-02-01 Thread Pete Hotchkiss
Just clarify a few tings on this. This is an App running on a CD - that queries a DB which is online? I'm guessing that part of the problem is the sheer volume of data being passed back to the App. XML is great when there is a reasonable amount of data to parse, is this gets significantly large,

RE:[Flashcoders] Component and Live Preview problems

2006-02-01 Thread GregoryN
Explore native MM livePreview code to see in details how it works. Also, I think you should check items in contents, which is the clip you really see in LivePreview, rather then xch, which manages Preperties/Component inspector. Here's a code I used in similar situation (just to see what you have

Re: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread Meinte van't Kruis
'something that can play nicely with stuff that other people are likely to use' well, that's a good point, but it's hard to tell which stuff people are likely to use, allthough macromedia's frameworks seems a good bet. but perhaps take a look at some opensource projects, i think that's a

Re: [Flashcoders] Free Flex???

2006-02-01 Thread Ian Thomas
That's absolutely brilliant news. Ian On 2/1/06, David Rorex [EMAIL PROTECTED] wrote: yes, the command-line compiler framework will be free. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] interfaces and objects

2006-02-01 Thread j.c.wichman
Hi, i'm using a collection, which requires items of type Object to be added. I've declared an interface which gives me something like: - interface IWorldPart - a class implementing WorldPart now somewhere else i do: var myPart:IWorldPart = new SomeWorldPartSubclass(); myCollection.addItem

[Flashcoders] photoshop-like filters

2006-02-01 Thread Tom Versweyveld
Does anyone know where I can find (or buy) source as-code for photoshop-like filters (for use in fp8). I'm especially looking for a good sharpen filter, and some artistic filters (like watercolor, dry brush, etc...) Grtz, Tom ___ Flashcoders mailing

Re: [Flashcoders] Noise Cancelling in Flash

2006-02-01 Thread Stephen Matthews
You know you guys are so cool. I am thinking that it would require quite a good mic (eg better than the one on my laptop) I might look into the new 8.5 waveform stuff as I am quite interested in this kind of stuff. I might even offer a noise cancelling application in the future. Today I

Re: [Flashcoders] interfaces and objects

2006-02-01 Thread Ian Thomas
Um... not quite sure what you're up to here - but it sounds like you're getting a bit confused between IWorldPart and WorldPart. What you need is: interface IWorldPart class SomeWorldPartSubclass implements IWorldPart then var myPart:IWorldPart = new SomeWorldPartSubclass(); should be fine.

Re: [Flashcoders] interfaces and objects

2006-02-01 Thread Julien Vignali
Well, you can't instanciate an interface, you need first a concrete class that implements the interface... Your code should be: interface IWorldPart {} class SomeWorldPartSubclass implements IWorldPart {} var myPart:SomeWorldPartSubclass = new SomeWorldPartSubclass();

Re: [Flashcoders] interfaces and objects

2006-02-01 Thread Steve Webster
Well, you can't instanciate an interface, you need first a concrete class that implements the interface... While you cannot instantiate an interface, you can assign an object that is an instance of a class that does implement the interface to a variable that is typed to the interface.

Re: [Flashcoders] interfaces and objects

2006-02-01 Thread Ian Thomas
No, you can't instantiate an interface. But I don't think Hans was doing that. There's no problem with typing: interface IWorldPart {} class SomeWorldPartSubclass implements IWorldPart {} var myPart:IWorldPart = new SomeWorldPartSubclass(); /* Note INTERFACE-typed var, not concrete */

RE: [Flashcoders] interfaces and objects

2006-02-01 Thread j.c.wichman
Hi, No confusion here ;) except maybe for my fuzzy explanation ;). I did: interface IWorldPart class WorldPart implements IWorldPart class SomeWorldPartSubclass extends WorldPart then either var myPart:WorldPart = new SomeWorldPartSubclass(); or var myPart:IWorldPart = new

[Flashcoders] WebServices Connector / Error Msg ´s

2006-02-01 Thread MJorge
Hi, I´m using the WebService Connector to get some data from a service. I need to have three params to get the Data, but the problem is that two of those params are a username and a password. Whenever the pass and the user name are incorrect it gives me an error that can´t load (

RE: [Flashcoders] interfaces and objects

2006-02-01 Thread j.c.wichman
Hi, I know u can't instantiate an interface, which wasn’t what I was trying to do ;), I was declaring a variable to be of type SomeInterface (instantiating it with SomeConcreteClass), which apparently is not regarded by flash then of being of type Object as well. Got it figured out now ;) Thanks

Re: [Flashcoders] interfaces and objects

2006-02-01 Thread Ian Thomas
Then as Steve says, sounds like a compiler bug. Ian On 2/1/06, j.c.wichman [EMAIL PROTECTED] wrote: Hi, No confusion here ;) except maybe for my fuzzy explanation ;). I did: interface IWorldPart class WorldPart implements IWorldPart class SomeWorldPartSubclass extends WorldPart then

RE: [Flashcoders] interfaces and objects

2006-02-01 Thread j.c.wichman
Hi Ian, Which flash version are you using? I had other problems yesterday with extending CollectionImpl due to my flash version (mx 2004), which worked just fine in flash 8. Might be the same in this case. Are you using 7 or 8? Thanks! Hans -Original Message- From: [EMAIL PROTECTED]

Re: [Flashcoders] interfaces and objects

2006-02-01 Thread Ian Thomas
But it should. :-) Like I said, my quick test of var myPart:SomeInterface=new SomeConcreteImplementingSomeInterface(); trace(myPart instanceof Object); Traces 'true'. Which is what I'd expect. I really don't understand why you're getting an error with myCollection. I know you've solved your

Re: [Flashcoders] interfaces and objects

2006-02-01 Thread Julien Vignali
Yup, sorry it was my mistake... (I read the message too fast) ;-) j.c.wichman a écrit : Hi, I know u can't instantiate an interface, which wasn’t what I was trying to do ;), I was declaring a variable to be of type SomeInterface (instantiating it with SomeConcreteClass), which apparently is not

RE: [Flashcoders] interfaces and objects

2006-02-01 Thread j.c.wichman
Hi, At me too ;), it's indeed flash 7 compiler bug it seems, it compiles fine in flash 8. Time for me to switch ;). Greetz Hans -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Wednesday, February 01, 2006 1:22 PM To: Flashcoders

RE: [Flashcoders] interfaces and objects

2006-02-01 Thread j.c.wichman
Hi, Yes steve was completely right about that. Thanks all! H -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Wednesday, February 01, 2006 1:19 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] interfaces and objects Then as

Re: [Flashcoders] interfaces and objects

2006-02-01 Thread Ian Thomas
MX2004 Cheers, Ian On 2/1/06, j.c.wichman [EMAIL PROTECTED] wrote: Hi Ian, Which flash version are you using? I had other problems yesterday with extending CollectionImpl due to my flash version (mx 2004), which worked just fine in flash 8. Might be the same in this case. Are you

Re: [Flashcoders] interfaces and objects

2006-02-01 Thread Ian Thomas
'Fraid not. One to chalk down to experience, I guess. Oh well. I'm making the move to 8 shortly myself, once this latest crop of projects are out of the way... Ian On 2/1/06, j.c.wichman [EMAIL PROTECTED] wrote: Life is so unfair :) I had to switch to flash 8 to make it go away... My mind

RE: [Flashcoders] online security development needed

2006-02-01 Thread Igor Vasiliev
There was a pretty good discussion regarding Flash and security on Flash kit forums. Here is a link: http://www.flashkit.com/board/showthread.php?t=632535 Hope it will help. Igor V aka The Helmsman -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [Flashcoders] Re:AS3 reference live docs missing?

2006-02-01 Thread Igor Vasiliev
It seems that they found a bug :) somewere and now they change documentation because of the bug fix they done :) Yesterday I've tried to find documentation on binary sockets in AS3 and all links to reference were broken Igor V aka The Helmsman -Original Message- From: [EMAIL

Re: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread Mike Britton
mCom components are an attractive alternative: http://www.metaliq.com/mCOM/ These were formerly known as 'glic'. Supposedly they are easier to skin, too. Mike On 2/1/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: 'something that can play nicely with stuff that other people are likely to

Re: [Flashcoders] named anchor with dynamic text field - Possible?

2006-02-01 Thread Miles Thompson
Sajiid, Understand that this is for a daily business news site, paid for by subscribers; about three reporters generate 10~15 stories per day. Stories and headlines are stored in a database and fetched for display by date. The retrieval is done with a PHP script which feeds an XML stream to

[Flashcoders] Using JSFL

2006-02-01 Thread Christopher Whiteford
I am curious I am running jsfl scripts to attach swfs to a main fla file and it seems I have run into an issue. On a few of the attached swfs some of the static text being a $ is being converted for some reason into a graphic and erroring out updates to the other static text. Does anyone have any

RE: [Flashcoders] XML Driven Application Driving me crazy :)

2006-02-01 Thread Merrill, Jason
This won't help with the loading if the XML file is large, but it will help with the parsing - use xfactorstudios Xpath classes to access the nodes in the XML file (or hand-roll some code yourself) instead of parsing all of it at once. Also, try loading the XML files one at a time. Jason Merrill

[Flashcoders] Seeking a bit of drawing API inspiration...

2006-02-01 Thread Ian Thomas
Hi folks, I'm looking for a bit of inspiration to help me out with the drawing API. I've got a feature that's sort of like a painting tool - - User clicks the mouse - on mouse move, a filled circle is drawn on the canvas (using beginFill/curveTo/endFill) - User releases the mouse So essentially

[Flashcoders] Player Version Penetration -- Comparison Stats

2006-02-01 Thread Clive Sweeney
The recently published stats of Flash Player Version Penetration -- http://www.macromedia.com/software/player_census/flashplayer/version_penetration.html -- certainly seem to indicate an impressive adoption rate for the Flash 8 Player (e.g. 45.2% in the US, and higher in Canada and Europe).

[Flashcoders] Enhanced stroke is not supported in this player

2006-02-01 Thread Mendelsohn, Michael
Hi list... I'm making a swf in 8 and publishing for 7 and I keep getting this compile error: Enhanced stroke is not supported in this player Problem is, I can't figure out how to fix that. Any ideas? Thanks, - Michael M. ___ Flashcoders mailing list

Re: [Flashcoders] Enhanced stroke is not supported in this player

2006-02-01 Thread Steve Webster
Hi Michael, I'm making a swf in 8 and publishing for 7 and I keep getting this compile error: Enhanced stroke is not supported in this player Problem is, I can't figure out how to fix that. Any ideas? Somewhere in your symbols there is a stroke on a shape that is using the new enhanced

Re: [Flashcoders] Enhanced stroke is not supported in this player

2006-02-01 Thread stefan burt
Hello, I'm new to this list but what your trying to do is publish a flash 8 only feature to the flash 7 player. You need to use the basic version of the stroke I don't have a copy of flash 8 on this system but have a fliddle with the stroke setting on your vector objects and this should calm

Re: [Flashcoders] Enhanced stroke is not supported in this player

2006-02-01 Thread JesterXL
http://weblogs.macromedia.com/sfegette/archives/2006/01/targets_and_fla.cfm - Original Message - From: Mendelsohn, Michael [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, February 01, 2006 10:29 AM Subject: [Flashcoders] Enhanced stroke

Re: [Flashcoders] Player Version Penetration -- Comparison Stats

2006-02-01 Thread Mark Winterhalder
http://web.archive.org/web/20040211234604/http://www.macromedia.com/software/player_census/flashplayer/version_penetration.html hth, mark On 2/1/06, Clive Sweeney [EMAIL PROTECTED] wrote: The recently published stats of Flash Player Version Penetration --

Re: [Flashcoders] scope question

2006-02-01 Thread Josh Trout
My guess would be these lines: var xdiff:Number = _root._xmouse-this._x; var ydiff:Number = _root._ymouse-this._y; Unless the center of your holder mc is at (0,0), then your code will be off. Try changing this._x to _parent._x and the same for the _y. You could also build a more flexible

Re: [Flashcoders] Player Version Penetration -- Comparison Stats

2006-02-01 Thread hank williams
Does anyone know exactly what differences there are between 7 and 8 that might make 8.5 adoption faster than 8 adoption? My recollection is that there is some improvement in 8 in this regard, but I am not sure. Regards Hank On 2/1/06, Mark Winterhalder [EMAIL PROTECTED] wrote:

Re: [Flashcoders] Player Version Penetration -- Comparison Stats

2006-02-01 Thread Johannes Nel
auto update built in prompting the user to upgrade On 2/1/06, hank williams [EMAIL PROTECTED] wrote: Does anyone know exactly what differences there are between 7 and 8 that might make 8.5 adoption faster than 8 adoption? My recollection is that there is some improvement in 8 in this regard,

Re: [Flashcoders] XML Driven Application Driving me crazy :)

2006-02-01 Thread Nathan Derksen
This is a problem that has been addressed numerous times. I suggest that you search the archives at http://chattyfig.figleaf.com/ pipermail/flashcoders/ The summary is that the speed problem usually has little to do with the actual xml handling and more to do with how you are updating the

RE: [Flashcoders] Enhanced stroke is not supported in this player

2006-02-01 Thread Mendelsohn, Michael
Thanks everyone for the insight. But, I just can't figure out how to change the stroke settings. Where is that done? I've tried various combinations of the cap and join widgets on the prop inspector, but that isn't working. Where's the stroke setting in the UI? - MM You need to use the

Re: [Flashcoders] Player Version Penetration -- Comparison Stats

2006-02-01 Thread JesterXL
They only need 6.0.65.0 for that. - Original Message - From: Johannes Nel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, February 01, 2006 10:58 AM Subject: Re: [Flashcoders] Player Version Penetration -- Comparison Stats auto update

Re: [Flashcoders] photoshop-like filters

2006-02-01 Thread Lanny McNie
Grant Skinner has a good sharpen filter class: http://www.gskinner.com/blog/archives/2005/12/source_code_sha_1.html On 2/1/06, Tom Versweyveld [EMAIL PROTECTED] wrote: Does anyone know where I can find (or buy) source as-code for photoshop-like filters (for use in fp8). I'm especially

Re: [Flashcoders] Tell me more about _global

2006-02-01 Thread Nathan Derksen
Yah, as Ian mentioned, you lose all type checking with this technique. Also, you require that the object be in the global name space, while a singleton class does not clutter up the global namespace at all (var globalData = AppState.getInstance(); globalData.foo = bar). Finally, how do you

RE: [Flashcoders] Enhanced stroke is not supported in this player

2006-02-01 Thread Stacey Mulcahy
You can also just save the file as the lower version and that works to get rid of the error. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: Wednesday, February 01, 2006 11:18 AM To: Flashcoders mailing list Subject: RE:

RE: [Flashcoders] XML Driven Application Driving me crazy :)

2006-02-01 Thread Merrill, Jason
The summary is that the speed problem usually has little to do with the actual xml handling and more to do with how you are updating the user interface, I'm sorry, but I partially disagree with that statement based on my experience. Components can take some time to render, sure, but for me, most

RE: [Flashcoders] Enhanced stroke is not supported in this player

2006-02-01 Thread Mendelsohn, Michael
Bingo! Thank you very much, Stacey. - MM You can also just save the file as the lower version and that works to get rid of the error. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] can I know if I class/package has been imported in a swf?

2006-02-01 Thread Jason Rayles
No. Is there a way for my code in my class to figure out if another class that I am not writing but whose name I know is being used in a swf. From: Steven Sacks [EMAIL PROTECTED] Subject: RE: [Flashcoders] can I know if I class/package has been imported in aswf? To: 'Flashcoders

Re: [Flashcoders] XML Driven Application Driving me crazy :)

2006-02-01 Thread Nathan Derksen
Yah, agreed. I just know from experience on the various boards that one of the most common mistakes for people to make is to update a combo-box or data grid for each iteration of the xml parsing loop rather than waiting until the end. That can lock up the player tight, while if you wait

RE: [Flashcoders] can I know if I class/package has been imported in a swf?

2006-02-01 Thread Scott Hyndman
if (_global.path.to.class.Class != null typeof(_global.path.to.class.Class) == function)) { trace(CLASS EXISTS!); } -Original Message- From: [EMAIL PROTECTED] on behalf of Jason Rayles Sent: Wed 2/1/2006 11:33 AM To: flashcoders@chattyfig.figleaf.com Cc: Subject:

[Flashcoders] Creating Components - What am I over looking?

2006-02-01 Thread Charles Parcell
OK, I really am at a lose. There is some sort of property and or event/function that is getting called that I just am missing. I have created a simple component that extends MovieClip (NOT UIObject or UIComponent). If I scale the component in Flash (the IDE) there is no visible change to the

[Flashcoders] clearing variables from memory after use...

2006-02-01 Thread dls
Might be counting angels on a pin head here, but: if I set alot ( think hundreds) of _global variables such as: _global.state1 = Wisconsin; I assume they slow the performance of my player. Is there a way to clear them after use? (or more specifically, the ones I don't need -- I could figure

RE: [Flashcoders] Player Version Penetration -- Comparison Stats

2006-02-01 Thread David Mendels
Hi, There are several factors at work here: A) The primary thing that drives adoption of a new version of a Flash Player is content that requires that Player being deployed. I think that the dramatic advances in what is possible in Flash Player 8 -- especially the improved video -- led more

Re: [Flashcoders] XML Driven Application Driving me crazy :)

2006-02-01 Thread Nathan Derksen
To answer your question a bit more, there are a couple of approaches. One approach is to build in the filtering server-side, so that when you need a subset of the data for something, you send a request to the server, which does the filtering and only sends what is relevant as XML. This is

Re: [Flashcoders] clearing variables from memory after use...

2006-02-01 Thread Roman Blöth
dls schrieb: Might be counting angels on a pin head here, but: if I set alot ( think hundreds) of _global variables such as: _global.state1 = Wisconsin; I assume they slow the performance of my player. Is there a way to clear them after use? (or more specifically, the ones I don't need -- I

Re: [Flashcoders] XML Driven Application Driving me crazy :)

2006-02-01 Thread Ing. Mario Falomir
Yep, the main part of the problem is the huge amount of data that it is handling, I guess... It doesnt query a DB , we generate all the needed info, such as catalogs for example, in the form of XML files. We did it this way because since its an app its going to be in CDs we did not want to force

Re: [Flashcoders] clearing variables from memory after use...

2006-02-01 Thread dls
Thanks Roman! I will make it a practice to start dumping the variables after I don't need them! --dan Roman Blöth wrote: dls schrieb: Might be counting angels on a pin head here, but: if I set alot ( think hundreds) of _global variables such as: _global.state1 = Wisconsin; I assume

Re: [Flashcoders] scope question

2006-02-01 Thread Flash guru
Got it, I was calling the clip wrong. thanks all. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] AS3 Hopes!

2006-02-01 Thread Kamyar Nazeri
List, This is great that ActionScript is growing over time and with new AS version 3 many OOP concepts are now much easier to implement. Creating real encapsulation with new 'final', 'const', 'private' and 'protected' keywords or true polymorphism with 'override' are great features, it was

[Flashcoders] How much size does eventdispatcher add to my class?

2006-02-01 Thread Manuel Saint-Victor
I'm working on some button classes that I'm trying to make super-small and would love to have the ability for them to dispatch events. If I use the eventDispatcher in my button superclass that they all inherit how much size would I be looking at added in a compiled file? Another related question

Re: [Flashcoders] AS3 Hopes!

2006-02-01 Thread hank williams
There is a new open source language called haXe that has much of what you are looking for. It is being written by the author of MTASC, the open source actionscript compiler. It will compile down to code that runs in a virtual machine on servers (like php), into flash, and into javascript so that

RE: [Flashcoders] How much size does eventdispatcher add to my class?

2006-02-01 Thread Scott Hyndman
ActionStep buttons (and thus, Apple's Cocoa buttons) don't dispatch events, and they work great. Rather, they use actions and targets. They are perfect for most uses, as buttons do not generally have multiple observers. The basic idea is that the target is the observer, and the action is the

Re: [Flashcoders] AS3 Hopes!

2006-02-01 Thread Nicolas Cannasse
-Maybe generic programming (that were introduced in JDK 5.0 of Java Specification) should be added in the language as they play an important role in OO and are desirable because they let you write code that is safer and easier to read than code that is littered with Object variables and casts.

Re: [Flashcoders] AS3 Hopes!

2006-02-01 Thread Nicolas Cannasse
hank williams wrote: There is a new open source language called haXe that has much of what you are looking for. It is being written by the author of MTASC, the open source actionscript compiler. It will compile down to code that runs in a virtual machine on servers (like php), into flash, and

RE: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread Steven Sacks
http://www.ghostwire.com/ The Ghostwire components are slim, quick, use the same methods that MMs components use (dataProvider and what not), are easily skinnable, are written in AS1 so you can go in and hack them if you like, etc. I highly recommend them. -Original Message- From:

Re: [Flashcoders] AS3 Hopes!

2006-02-01 Thread Kamyar Nazeri
Would be great, download is already in progress;) hank williams [EMAIL PROTECTED] wrote: There is a new open source language called haXe that has much of what you are looking for. It is being written by the author of MTASC, the open source actionscript compiler. It will compile down to code that

Re: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread David Rorex
Unless you are writing AS1 projects, I would recommend against using AS1 components. Ghostwire is great most of the time, but there are problems with the AS1 component model. Things like conflicts between different versions, etc. -David R On 2/1/06, Steven Sacks [EMAIL PROTECTED] wrote:

RE: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread Steven Sacks
Have you even used the Ghostwire components? They compile in AS2 without any problems, unlike the Macromedia ones. You shouldn't speak against something you have never used based on your experience with Macromedia's components, which is the whole point of this thread. -Original

RE: [Flashcoders] Tell me more about _global

2006-02-01 Thread Pedro Furtado
Supported! I dare to add a few thoughts of me own. A good application is one that works, an excellent application is one that works fast. That said and with utra-tight deadlines together with designers having to open my fla so they can make it pretty while I make the next app, _global rules! This

Re: [Flashcoders] Q: Best tweening engine for Flash 8 filters

2006-02-01 Thread Moses Gunesch
You should re-fresh your memory by visiting ZEH's tweening site... Just wanted to give a shout out and remind that Zeh's original work is sort of the thing that kicked off a lot of this tween engine madness. Zeh's current work is great, I agree! It is very inspiring to me and at one point

[Flashcoders] Re: Flashcoders Digest, Vol 13, Issue 5

2006-02-01 Thread Chris Rounds
I will be out of the office from Wednesday, Feb 1 through Monday Feb 6th and may not be able to get to my email very often. Please direct any immediate needs to [EMAIL PROTECTED] or to the CDR Services office at: 505.391.7768. Thanks, Chris ___

Re: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread Mike Britton
Ghostwire's are fast and simple, but the deprecated AS1 syntax makes me wonder how good they'll fit with a new project. Are there plans to update these components? Mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] clearing variables from memory after use...

2006-02-01 Thread j.c.wichman
Hi Roman, You describe my_var =null as being useless, but this should be enough for the garbage collector to come along and reclaim an object? With respect to the static issue, what do you mean with 'static instances' ? Could u provide an example of such an object with isn't reclaimed? Thanks,

RE: [Flashcoders] Tell me more about _global

2006-02-01 Thread Pedro Furtado
Fast ones :D 7/10 are interactive advertising, which means that I have usually 2 weeks(at best) to do something that doesn't relate and never had the time to make me own framework. Still I insist in a one frame architecture, and leave the all the item in the library for the designers. May I ask

Re: [Flashcoders] Tell me more about _global

2006-02-01 Thread Dave Mennenoh
Let's code everything in one frame when working closely with designers so we can make them feel stupid and helpless when they go into our application and can't find anything and we can feel so superior to them because it's so obvious and now we have to walk them through it and by doing so can

RE: [Flashcoders] Tell me more about _global

2006-02-01 Thread Steven Sacks
Fast, bug-free ones. ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Chyko Sent: Wednesday, February 01, 2006 12:10 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Tell me more about _global I'm just curious to know

RE: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread Steven Sacks
AS1 syntax is deprecated? That's news to me. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Britton Sent: Wednesday, February 01, 2006 12:10 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] v2 components - are you kidding me?

RE: [Flashcoders] Tell me more about _global

2006-02-01 Thread Steven Sacks
They're theorycoders, the type that post pseudocode to forums and mailing lists. More often than not their pseudocode doesn't work and only serves to confuse others who think they're getting a lesson from a smart and experienced coder. These theorycoders have book smarts but lack street smarts.

RE: [Flashcoders] Tell me more about _global

2006-02-01 Thread j.c.wichman
You have been watching us through our webcams, haven't you? Ah come on... Just admit it... It's okay... I must say I do agree with your first line... After that it got a bit blurry. See I always thought that the guyz using only global vars with obscure names calling them from god-knows-where,

Re: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread Michael Stuhr
Steven Sacks schrieb: AS1 syntax is deprecated? That's news to me. yeah baby, flex will be free, but then as1 will be deprecated ;-) micha ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Tell me more about _global

2006-02-01 Thread Steven Sacks
Want an example? I wrote this desktop application. http://www.directv.com/see/landing/gametracker/gametracker.html In the first 6 months of deployment, they received THREE (count them 3) requests for help, and all three ended up having to do with their backend having issues. The application

RE: [Flashcoders] Tell me more about _global

2006-02-01 Thread Robert Chyko
Sure... Should have probably explained the curiousity more up front anyway... I guess I'm just looking at it from the other side of the fence - I currently work with a web-based application in which parts of the front-end are done in Flash (and getting the rest of the pieces over to Flash is part

RE: [Flashcoders] Tell me more about _global

2006-02-01 Thread Steven Sacks
Apart from that, your email takes a kind of i-won't-use-names-but-I'll-try-to-offend-you-all anyway tone, and your assumptions are just plain wrong on multiple levels. As I said simply the tone of your email makes it clear there is no use discussing it as well, you seem to have it all

Re: [Flashcoders] Tell me more about _global

2006-02-01 Thread Adam Fahy
Steven Sacks wrote: A stereotypical cop out. I guess I was wrong. You're not as smart and clever as I gave you credit for. ;) I think this conversation is wandering close to the line for what I assume is a professional mailing list. Take the flame war to personal email please. -Adam

Re: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread Mike Britton
Much of AS1 isn't deprecated, but that's just how I think of it. Sorry if it seemed like I was declaring AS1 deprecated because it isn't (officially). The point I wanted to make was that it makes me nervous to use AS1 stuff for practical reasons, one being the *likelihood* AS1 contains much

Re: [Flashcoders] Tell me more about _global

2006-02-01 Thread ryanm
7/10 are interactive advertising, which means that I have usually 2 weeks(at best) to do something that doesn't relate and never had the time to make me own framework. Has it occurred to you that if you built a class and got in the habit of using it, it would take exactly the same amount

[Flashcoders] understanding the for loop

2006-02-01 Thread Corban Baxter
Ok guys I am working with this for loop to help me grab random images. My problem is it seems like the for loop won't reset and random var each time it runs. Below is my code... [code] for(i=0; i=imagesToGrab; i++){ randomSet = random(totalSetsNLayout) + 1; img =

Re: [Flashcoders] Noise Cancelling in Flash

2006-02-01 Thread ryanm
8.5 actually provides write as well as read access to the waveforms? I haven't looked into it much, but i've only seen people making visualizations of sounds, not actually modifying or generating them in real-time. I don't know, but there was talk of it at one time. What I said was *if* 8.5

Re: [Flashcoders] can I know if I class/package has been imported in a swf?

2006-02-01 Thread Bart Wttewaall
or how about: var exists:Boolean = classExists(your.class.path); trace(exists); function classExists(path):Boolean { return (mx.utils.ClassFinder.findClass(path)); } 2006/2/1, Scott Hyndman [EMAIL PROTECTED]: if (_global.path.to.class.Class != null

Re: [Flashcoders] clearing variables from memory after use...

2006-02-01 Thread David Rorex
my_var = null; and delete my_var; should do exactly the same thing...delete doesn't actually delete the object, only the reference to the object. it doesn't get removed from memory until later (when the GC feels like it) var obj1 = {blah:hello}; var obj2 = obj1; delete obj1; trace(obj2.blah);

RE: [Flashcoders] understanding the for loop

2006-02-01 Thread Adrian Lynch
You're not incrementing imagesToGrab anywhere. for (...) { . imagesToGrab++; } Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Corban Baxter Sent: 01 February 2006 21:29 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders]

RE: [Flashcoders] understanding the for loop

2006-02-01 Thread Merrill, Jason
img = random(imagesToGrab)+1; Yeah - first part of is probably that your use of random is... well... incorrect. Math.random() retruns a random number of 0.0 or between 0.0 and 1.0. You should convert it to a whole number first. function getRandom(min:Number, max:number){ return

Re: [Flashcoders] clearing variables from memory after use...

2006-02-01 Thread ryanm
my_var = null; and delete my_var; should do exactly the same thing...delete doesn't actually delete the object, only the reference to the object. it doesn't get removed from memory until later (when the GC feels like it) Well, technically they do *slightly* different things, but usually with

Re: [Flashcoders] Noise Cancelling in Flash

2006-02-01 Thread Martin Wood
i think that theoretically it may be possible to generate real time audio just in the 8.5 player. In the thread about MIDI and the flash player I mentioned an idea for creating real time audio streams using 8.5 Basically i think you could do it by using the loadBytes method in

RE: [Flashcoders] understanding the for loop

2006-02-01 Thread Corban Baxter
Here is a better idea of what I need I think I posted the code off a little... [code] imgArray = new Array(); for(i=0; i=imagesToGrab; i++){ randomSet = random(totalSetsNLayout) + 1; //totalSetsNLayout = 4 //shouldn't i get a random number

Re: [Flashcoders] Noise Cancelling in Flash

2006-02-01 Thread David Rorex
1. can flash load .wav files? 2. can loadBytes simulate loading .wav files? if so, it might be simpler to generate a .wav structure than a .swf -David R On 2/1/06, Martin Wood [EMAIL PROTECTED] wrote: i think that theoretically it may be possible to generate real time audio just in the 8.5

RE: [Flashcoders] understanding the for loop

2006-02-01 Thread Corban Baxter
Jason so its bad to use this old way of random huh? Corban Baxter  |  rich media designer  |  www.funimation.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Wednesday, February 01, 2006 3:51 PM To: Flashcoders

RE: [Flashcoders] understanding the for loop

2006-02-01 Thread Merrill, Jason
I answered that already, although I didn't notice until now that you are using the random() global function which was depreciated with Flash 4. While it may server your purpose, use Math.random() as I demonstrated previously. but you're also not providing any information on how the value for

RE: [Flashcoders] understanding the for loop

2006-02-01 Thread Merrill, Jason
Well, its depreciated. You tell me. ;) Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Corban Baxter Sent: Wednesday, February 01, 2006 5:03 PM To: Flashcoders

  1   2   >