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

2006-02-01 Thread GregoryN
Just a few points: 1) Do you use your own onUpdate and setSize methods? 2) Have a look at mm_livepreview.as file 3) Read similar thread (yesterday or so) -- Best regards, GregoryN http://GOusable.com Flash components development. Usabi

Re: [Flashcoders] Flash 8 ActionScript additions?

2006-02-01 Thread Bart Wttewaall
New in ActionScript 2.0 and Flash 8 http://livedocs.macromedia.com/flash/8/main/1132.html 2006/2/2, thotskee <[EMAIL PROTECTED]>: > Can anyone supply a list of additions made to ActionScript 2.0 for Flash 8 > (not AS3[?])? > > thanks for your time. > __

[Flashcoders] Return complex data with remoting

2006-02-01 Thread David Serrano
Hi, anybody knows if I can return a complex data from Java to Flash with openAmf. I am trying to return a HasMap with another HasMap into, like this: public Map onUserConnect (long _petitionId,String userName, String password, String roomId){ Map m = new HashMap(); Boolean

Re: [Flashcoders] Component instantiation- How does dragging affect the constructor

2006-02-01 Thread Bart Wttewaall
If you create your first Singleton-instance, and from that class you build up your application, the instance is not yet stored in the variable. Therefore when other elements call its getInstance(), the classvar hasn't been set yet. That's why your Singleton's constructor gets called twice. My solut

RE: [Flashcoders] photoshop-like filters

2006-02-01 Thread Tom Versweyveld
Thnx Lanny, I guess I missed that one... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lanny McNie Sent: woensdag 1 februari 2006 17:25 To: Flashcoders mailing list Subject: Re: [Flashcoders] photoshop-like filters Grant Skinner has a good sharpen fil

Re: [Flashcoders] Tell me more about "_global"

2006-02-01 Thread Nathan Derksen
Coolness, I missed that before. The actual page that this is shown is http://livedocs.macromedia.com/labs/1/flex/langref/migration.html for those who don't want to search through the docs. Nathan http://www.nathanderksen.com On Feb 1, 2006, at 6:29 PM, David Peek wrote: Besides, you don't

Re: [Flashcoders] Understanding dynamic classes

2006-02-01 Thread Troy Rollins
On Feb 2, 2006, at 12:24 AM, Helmut Granda wrote: Where I get confused is when I have to pass the reference from the button to the manager function. All the methods come from the same class? for a minute I thought I needed 2 classes (1 to initiate the button, 2 to handle the references of

[Flashcoders] Zinc file system callbacks?

2006-02-01 Thread David Clarke
Hi Coders, We're building a large flash application atm that will use Zinc to wrap it up and provide access to the file system (copying files, etc). The trouble is that zinc doesn't seem to have any callbacks on file system methods for us to track success/fail/load progress. Does anyone on the lis

Re: [Flashcoders] using flash for UI in applications

2006-02-01 Thread Chris Velevitch
As I understand the fscommand, the allowable values to the fscommand depends on the container to the .swf file. (see http://livedocs.macromedia.com/flash/8/main/1596.html) So, for projectors like Zinc, the list of fscommand values is very large and well documented in the Zinc documentation. In

Re: [Flashcoders] Understanding dynamic classes

2006-02-01 Thread Helmut Granda
Troy, Lots of great advise, I felt for a minute I had it but then all of the sudden everything faded away... Where I get confused is when I have to pass the reference from the button to the manager function. All the methods come from the same class? for a minute I thought I needed 2 classes

Re: [Flashcoders] dynamic html text with xpath and cdata

2006-02-01 Thread Troy Rollins
On Feb 1, 2006, at 11:19 PM, Ryan Luce wrote: For some reason when i load cdata text in using xpath like this thexml.selectNodes("//node/subnode/text()") where there is a br it breaks the line, but leaves the br in the text... anyone know why this is happening? Also my textfield will not al

RE: [Flashcoders] dynamic html text with xpath and cdata

2006-02-01 Thread Merrill, Jason
You're missing a "<" in the CDATA tag - try this instead: mailto:[EMAIL PROTECTED] Behalf >>Of Ryan Luce >>Sent: Wednesday, February 01, 2006 11:19 PM >>To: flashcoders@chattyfig.figleaf.com >>Subject: [Flashcoders] dynamic html text with xpath and cdata >> >> >>For some reason when i load cdat

[Flashcoders] dynamic html text with xpath and cdata

2006-02-01 Thread Ryan Luce
For some reason when i load cdata text in using xpath like this thexml.selectNodes("//node/subnode/text()") where there is a br it breaks the line, but leaves the br in the text... anyone know why this is happening? Also my textfield will not align to the right, i have manually set it to align to

Re: [Flashcoders] Understanding dynamic classes

2006-02-01 Thread Troy Rollins
On Feb 1, 2006, at 10:14 PM, Helmut Granda wrote: For example if I have a property (array) inside a class it must be public so other intances of the object I create can access that property and they can write to it? And if that is true, how would I avoid having the property re-assigned (de

Re: [Flashcoders] Understanding dynamic classes

2006-02-01 Thread Troy Rollins
On Feb 1, 2006, at 10:23 PM, Bjorn Schultheiss wrote: Has anyone come across an essential use for a Dynamic Class while developing an RIA, besides laziness. Not if you go and rule out the number one reason I've done it just like that. ;-) -- Troy RPSystems, Ltd. http://www.rpsystem

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

2006-02-01 Thread Bjorn Schultheiss
Few interesting methods I have never come across. How about trying to instantiate it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bart Wttewaall Sent: Thursday, 2 February 2006 8:38 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] can I know

RE: [Flashcoders] using flash for UI in applications

2006-02-01 Thread Bjorn Schultheiss
No MacroAdobe DevKit I have heard of but that zinc app has got 100s of fscommands. BTW sounds like an interesting app -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rønning Sent: Thursday, 2 February 2006 10:44 AM To: Flashcoders mailing list Sub

RE: [Flashcoders] Tell me more about "_global"

2006-02-01 Thread Steven Sacks
> You are clearly an idiot. > > Scott Thanks for noticing. :) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Understanding dynamic classes

2006-02-01 Thread Bjorn Schultheiss
So far in AS2 Development I have not found a case yet to use Dynamic Classes. Has anyone come across an essential use for a Dynamic Class while developing an RIA, besides laziness. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Th

Re: [Flashcoders] Understanding dynamic classes

2006-02-01 Thread Helmut Granda
Troy, thanks for such a great explanation. I had the same idea I just cant wrap it around my head in programming termns. For example if I have a property (array) inside a class it must be public so other intances of the object I create can access that property and they can write to it? And if

Re: [Flashcoders] Tell me more about "_global"

2006-02-01 Thread David Peek
Besides, you don't want to go teaching people bad habits, especially when the _global scope is not long for this world... AS2: _global AS3: Removed. Comment: Use a static member of a class instead. from http://livedocs.macromedia.com/labs/1/flex/langref/index.html David You are clearly an id

Re: [Flashcoders] Naming conventions for AS2.0 ...

2006-02-01 Thread Mark Walters
The extensions _mc, _txt, etc, were originally recommended by Macromedia to trigger the context sensitive autocompletion in Flash MX. With strict datatyping it's no longer required and is really just preference. Personally, I add a $ in front of my private variables and just make everything else na

RE: [Flashcoders] Naming conventions for AS2.0 ...

2006-02-01 Thread Scott Hyndman
This is called hungarian naming. (http://en.wikipedia.org/wiki/Hungarian_notation) It is generally viewed nowadays as bad practice, in the age of type-aware browsers and way too many classes to possibly come up with names for. I still use it here and there, but descriptive variable names will o

Re: [Flashcoders] Naming conventions for AS2.0 ...

2006-02-01 Thread JesterXL
Naming conventions don't matter. What matters is whatever you pick, be consistent. - Original Message - From: "Stephen Ford" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 01, 2006 8:53 PM Subject: [Flashcoders] Naming conventions for AS2.0 ... Does anyone have an opinion, or a p

Re: [Flashcoders] Naming conventions for AS2.0 ...

2006-02-01 Thread Ramon Tayag
I use oListener:Object; bIsReady:Boolean sText:String; tf:Textfield; mcHolder:MovieClip; mcl:MovieClipLoader; Yeah I don't think prefixes are recognized elsewhere but it takes a bit of effort to type _ (underscore) because it's out of the way for me Mon On 2/2/06, Bjorn Schultheiss <[EMAIL PROT

RE: [Flashcoders] Naming conventions for AS2.0 ...

2006-02-01 Thread Bjorn Schultheiss
listener_obj answer I hate mcImage, I don't think that prefix is recognized in any dev app. I know image_mc works in Flash and I think sepy for code hinting -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Ford Sent: Thursday, 2 February 2006 12:5

Re: [Flashcoders] Understanding dynamic classes

2006-02-01 Thread Troy Rollins
On Feb 1, 2006, at 7:00 PM, Helmut Granda wrote: Las week I made a component similar to the radio button component. While I was working on this I requested help understanding the way the component works. Eric (ericCD) suggested making a manager class: In a general sense, the concept is to

[Flashcoders] Naming conventions for AS2.0 ...

2006-02-01 Thread Stephen Ford
Does anyone have an opinion, or a preferred method, in regards to naming conventions for AS2.0 objects ? For example, Macromedia recommends: clip_mc (movie clip) comm_lc (local connection) names_array (array) beep_sound (sound) field_txt (text field) etc, etc, etc but what if I wanted to us

Re: [Flashcoders] Tell me more about "_global"

2006-02-01 Thread ryanm
A global namespace as an object is all you need for managing global variables. ...as long as you don't want compile-time type checking, the ability to watch one of them or fire an event from them *ever*, and so on and so forth. Oh, wait... I get it now! *You're* that guy whose project I inhe

[Flashcoders] Flash 8 ActionScript additions?

2006-02-01 Thread thotskee
Can anyone supply a list of additions made to ActionScript 2.0 for Flash 8 (not AS3[?])? thanks for your time. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Tell me more about "_professionalism"

2006-02-01 Thread ryanm
but as far as type-checking goes, I'm going to take as much of it as I can get. 1us3r n3wb!!! l0l! ryanm ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] changing reference of sounds to _parent clip

2006-02-01 Thread Keith Reinfeld
MaTT, You wouldn't 'move' the reference to the sounds but you can get at them in order to control them. You could use a for...in loop to access the sound objects. var sndRefArr:Array = Array(); function sndInTarget(mc:MovieClip){ //where mc is the child swf var tmpSndArr:Array =

Re: [Flashcoders] quick array question

2006-02-01 Thread thotskee
try checking into the Array .splice method Method; adds and removes elements from an array. This method modifies the array without making a copy. var myPets_array:Array = new Array("cat", "dog", "bird", "fish"); trace( myPets_array.splice(1) ); // dog,bird,fish trace( myPets_array ); // cat

Re: [Flashcoders] Tell me more about "_professionalism"

2006-02-01 Thread Chris Allen
On 2/1/06, Scott Hyndman <[EMAIL PROTECTED]> wrote: > > > This is not OOP fanatisism talking. It's experience. I understand that > ActionStep, being a dynamic language, shouldn't be treated as if it is > Java...but as far as type-checking goes, I'm going to take as much of it as > I can get. LOL

Re: [Flashcoders] understanding the for loop - EXTENDED HELP NEEDED.

2006-02-01 Thread Andreas Rønning
I'm way, way too sleepy to pretend that i can give you any advice on your actual problem, but i CAN give you advice on your AS form. Please dude, for the sake of your brain cells, start using strict typing and local variables, and when you can, lose the myMethod = function(param) syntax. Semanti

Re: [Flashcoders] Noise Cancelling in Flash

2006-02-01 Thread David Rorex
On 2/1/06, Martin Wood <[EMAIL PROTECTED]> wrote: > > David Rorex wrote: > > 1. can flash load .wav files? > > No > > > 2. can loadBytes simulate loading .wav files? > > No > > > if so, it might be simpler to generate a .wav structure than a .swf > > thats what would be best, but doesnt look like i

Re: [Flashcoders] quick array question

2006-02-01 Thread Grant Cox
Use Array.splice() to remove an element. randomPos = random(total); rfcClip = rfcsArray[randomPos]; imgID = imgArray[randomPos]; rfcsArray.splice(randomPos, 1); imgArray.splice(randomPos, 1); total--; Corban Baxter wrote: Ok one quick array question... randomPos = random(total); rfcClip =

[Flashcoders] Problems with Javascript Integration Kit

2006-02-01 Thread Jim Kremens
Hi all! I'm having trouble with the latest version of the Flash Javascript Integration Kit (from SVN source). I've got 2 examples that show the problems I'm having: http://www.jimkremens.com/js_kit_issues/example_01.html http://www.jimkremens.com/js_kit_issues/example_02.html View source to comp

[Flashcoders] Understanding dynamic classes

2006-02-01 Thread Helmut Granda
Since we are in the "understanding" mode, I want to throw a question out there. Las week I made a component similar to the radio button component. While I was working on this I requested help understanding the way the component works. Eric (ericCD) suggested making a manager class: --> Mak

RE: [Flashcoders] understanding the for loop - EXTENDED HELP NEEDED.

2006-02-01 Thread Corban Baxter
Thanks a million Jason! Corban Baxter  |  rich media designer  |  www.funimation.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Corban Baxter Sent: Wednesday, February 01, 2006 5:53 PM To: Flashcoders mailing list Subject: RE: [Flash

[Flashcoders] quick array question

2006-02-01 Thread Corban Baxter
Ok one quick array question... randomPos = random(total); rfcClip = rfcsArray[randomPos]; imgID = imgArray[randomPos]; total--; //now how can I delete those two records from my two arrays and recompile the arrays for use next time? I want to slowing delete the entire array so that I never use one

RE: [Flashcoders] Tell me more about "_professionalism"

2006-02-01 Thread Scott Hyndman
I guess I'm just wondering whether he even read the earlier responses. Compile-time type checking clearly makes this a good decision for medium to large-sized projects. As soon as you start dealing with dynamic types (Object and MovieClip), you're asking for trouble. I know, because I've been th

RE: [Flashcoders] understanding the for loop - EXTENDED HELP NEEDED.

2006-02-01 Thread Corban Baxter
That would be great I'd love to see other approaches to this. But things are looking up I simplified that function into the one before it and it works fine. I am hoping to get this working fairly shortly. If so I will send you the file. Its going to be fun to look at I'm sure... Corban Baxter  

RE: [Flashcoders] understanding the for loop - EXTENDED HELP NEEDED.

2006-02-01 Thread Merrill, Jason
I gotta run home, maybe someone else can help - I'll try and write up some examples if I can later - but relax, don't go nuts on us. And you didn't have to change your sig just because I teased you a little! :) Seriously, I'll try and work up an example that might be a little cleaner if I can

RE: [Flashcoders] Tell me more about "_professionalism"

2006-02-01 Thread Scott Hyndman
heh, yeah. I'm sorry. That was bad... Scott -Original Message- From: [EMAIL PROTECTED] on behalf of Merrill, Jason Sent: Wed 2/1/2006 6:21 PM To: Flashcoders mailing list Cc: Subject:RE: [Flashcoders] Tell me more about "_professionalism" >From the RE: [Flashcoders] T

[Flashcoders] using flash for UI in applications

2006-02-01 Thread Andreas Rønning
We're currently looking to create a custom flash projector wrapper for an expo application that is directx driven. We'd like to superimpose a transparent flash interface on 3d rendered graphics in real time I know Zinc has functionality that lets you call DLLs via FScommand, but i'd like to know

RE: [Flashcoders] understanding the for loop - EXTENDED HELP NEEDED.

2006-02-01 Thread Corban Baxter
Well it's kind of working. I'd love to have some help on this to get me going correctly. So with that said I'll try and explain what this is. Ok so we are creating a screensaver that has 5 img layouts/templates with different numbers of images per layout but they have empty MC's in place to place

Re: [Flashcoders] Tell me more about "_professionalism"

2006-02-01 Thread Manuel Saint-Victor
ROTFLMAO On 2/1/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: > > >From the RE: [Flashcoders] Tell me more about "_global" thread: > > >>You are clearly an idiot. > >> > >>Scott > > Wow, are we really getting that low now? C'mom guys, lets make a choice > here: 1)keep it professional, 2)take it

RE: [Flashcoders] Tell me more about "_professionalism"

2006-02-01 Thread Merrill, Jason
>From the RE: [Flashcoders] Tell me more about "_global" thread: >>You are clearly an idiot. >> >>Scott Wow, are we really getting that low now? C'mom guys, lets make a choice here: 1)keep it professional, 2)take it off-list, or 3) end it. I'm not the first to request that. A simple "I disagr

RE: [Flashcoders] understanding the for loop

2006-02-01 Thread Merrill, Jason
I just think it gets pretty hairy after they get nested more than one level - functions that rely on other functions which rely on other functions are OK, but when they have to be executed in a certain order in order for them to work, gets real messy. Nothing wrong with a function that uses oth

RE: [Flashcoders] Tell me more about "_global"

2006-02-01 Thread Scott Hyndman
You are clearly an idiot. Scott -Original Message- From: [EMAIL PROTECTED] on behalf of Steven Sacks Sent: Wed 2/1/2006 2:43 PM To: 'Flashcoders mailing list' Cc: Subject:RE: [Flashcoders] Tell me more about "_global" Let's make classes for everything. Let's make com

RE: [Flashcoders] understanding the for loop

2006-02-01 Thread Corban Baxter
Yeah I know. I just meant what is wrong with me having fnctions that call functions etc? Do I have a better way to do something like this? Corban Baxter  |  rich media designer  |  www.funimation.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

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

2006-02-01 Thread Manuel Saint-Victor
Check Joey Lott's tutorial on building components that subclass MovieClip http://www.person13.com/articles/components/creatingcomponents.html Mani On 2/1/06, Charles Parcell <[EMAIL PROTECTED]> wrote: > > OK, I really am at a lose. There is some sort of property and or > event/function that is

RE: [Flashcoders] understanding the for loop

2006-02-01 Thread Merrill, Jason
>>Jason could you possibly help me off list on a better way to throw this stuff >>around? I am really in the dark here and it would be a huge help if you could >>explain a better way to format this. Or anyone for that matter. Thanks! Nah, don't be silly. ;) I spent a little more digging and found

RE: [Flashcoders] understanding the for loop

2006-02-01 Thread Corban Baxter
Oh and I found where it was not being passed right. But I would appericate beyond belief if you had some ideas for me. Thanks! Corban Baxter  |  rich media designer  |  www.funimation.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of C

RE: [Flashcoders] understanding the for loop

2006-02-01 Thread Corban Baxter
Jason could you possibly help me off list on a better way to throw this stuff around? I am really in the dark here and it would be a huge help if you could explain a better way to format this. Or anyone for that matter. Thanks! Corban Baxter  |  rich media designer  |  www.funima

[Flashcoders] Component instantiation- How does dragging affect the constructor

2006-02-01 Thread Manuel Saint-Victor
Would a component that subclasses movie clip call its constuctor when dragged on stage despite the fact that the constructor is private. I'm getting a strange error wherein a supposed singleton class is calling the private constructor twice and therefore eliminating the references to it that other

RE: [Flashcoders] understanding the for loop

2006-02-01 Thread Merrill, Jason
>>// and I really need to learn OOP and AS2 I'm sure life would be a lot >>//easier. Maybe, though the problems you're having aren't really related to any issue that OOP would fix - this is more plain old calling functions, passing parameters, etc. Jason Merrill | E-Learning Solutions | ic

RE: [Flashcoders] understanding the for loop

2006-02-01 Thread Merrill, Jason
>>What ARE you on about? :OD >> >>Adrian Lynch | Stuff | adrianlynch.co.uk DUDE! Had this sig for years, it's catching on! Sweet! lol Jason Merrill | E-Learning Solutions | icfconsulting.com >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[

RE: [Flashcoders] understanding the for loop

2006-02-01 Thread Merrill, Jason
You have functions calling functions calling functions... probably why it's gettting hard to debug. Found it though, Right above this line: randomSet = random(totalSetsNLayout) + 1; put this: trace(""+totalSetsNLayout) You will see it's undefined. Follow it back through your function c

[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 howeve

RE: [Flashcoders] understanding the for loop

2006-02-01 Thread Adrian Lynch
What ARE you on about? :OD Adrian Lynch | Stuff | adrianlynch.co.uk -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Merrill, Jason Sent: 01 February 2006 22:12 To: Flashcoders mailing list Subject: RE: [Flashcoders] understanding the for loop By th

RE: [Flashcoders] understanding the for loop

2006-02-01 Thread Corban Baxter
In a world. In a time. Wait that is weird. Better? //cb Ok those are determinded in an array in a previous function. Here is EVERYTHING THAT I AM GOING TO THIS POINT. I will change the code for random later I just need to figure this out. Oon step at a time. The random works fine above so I feel

RE: [Flashcoders] Tell me more about "_global"

2006-02-01 Thread Steven Sacks
I'm not opposed to writing classes. I'm opposed to overcomplicating things that are simple and should stay simple. You seem to get the impression that I am a noob coder. A global namespace as an object is all you need for managing global variables. If you have variables that need complicated wa

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

2006-02-01 Thread Manuel Saint-Victor
I do like that. I'm hoping that I can have all of my buttons auto register themselves to the main EventListener when they are dragged on stage. I'm going to give it a try. Thanks again, Mani On 2/1/06, Scott Hyndman <[EMAIL PROTECTED]> wrote: > > ActionStep buttons (and thus, Apple's Cocoa bu

Re: [Flashcoders] Noise Cancelling in Flash

2006-02-01 Thread Martin Wood
David Rorex wrote: 1. can flash load .wav files? No 2. can loadBytes simulate loading .wav files? No if so, it might be simpler to generate a .wav structure than a .swf thats what would be best, but doesnt look like its currently possible. Generating the swf header and audio tags isnt

RE: [Flashcoders] understanding the for loop

2006-02-01 Thread Merrill, Jason
By the way, with that e-mail signature line of yours, I feel like I am talking to my alter-self from a parallel universe. Jason Merrill | E-Learning Solutions | icfconsulting.com Jason so its bad to use this old way of random huh? Corban Baxter | rich media desig

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

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 t

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 mai

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

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 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 flash.display.

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] 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 mi

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] un

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] 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 > && typeof(_global.path.to.

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 p

[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 = random(imagesTo

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 of

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 synta

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] 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 a

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
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 is

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 http://chattyfig.figleaf.com/mailman/listinfo

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, wer

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] 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

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 t

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 sho

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 wh

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, Ha

RE: [Flashcoders] Tell me more about "_global"

2006-02-01 Thread Robert Chyko
I'm just curious to know what kind of projects these are that you are working on? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pedro Furtado Sent: Wednesday, February 01, 2006 2:52 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Tell me mo

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 http://chattyfig.figl

[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 ___ Flash

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

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] 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 Message--

  1   2   >