[Flashcoders] [SOLVED] arguments.caller -- name of this function?

2008-07-17 Thread Leonardo Scattola - New Vision srl
Thanks everybody for your prompt response. A dude on the FlashMedia List (on which we crossposted) proposed this solution: setFunctionNames = function (pObjContainer) { // Description: // Sets the property name for every Function // that was found in pObjContainer // Arguments: //

Re: [Flashcoders] [SOLVED] arguments.caller -- name of this function?

2008-07-17 Thread Hans Wichman
Hi, and nowhere near complete:). But it might suffice for most cases. greetz JC On Thu, Jul 17, 2008 at 8:24 AM, Leonardo Scattola - New Vision srl [EMAIL PROTECTED] wrote: Thanks everybody for your prompt response. A dude on the FlashMedia List (on which we crossposted) proposed this

Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread elibol
The only one that makes any sense is #2, and that is being addressed with Loader.unloadAndStop(), except for the most part I'm kind of wary about having the Loader class tear my loaded swfs a new one. I kind of agree with Sacks when he more subtly articulates that this is for noobs. I was

Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Ashim D'Silva
I like the way Steven split this into child's toy and adult's toy because at heart: yes, Flash is indeed a toy. But like in all cases of everything, everywhere, things do need to grow. This big jump has been at the expense of the easy-of-use aspect of Flash, just as the introduction of Filters and

Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Beatrix Krümmer-Frau
Juan Pablo Califano schrieb: I agree with the article and with what Steve has pointed out already. Even from an historical point of view, I think that what made the flash platform ubiquitous was that many people started to create cool stuff for it. Hi, at this point i just want to remember

Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread daniele tassone
I agree with this point. I use with no particular difficult c#, sql, asp.net, java, as3, as2, Flex and i think that as3 is better than as2/as1 because my skill give me the opportunity to work with a language that can be great (that is at first version ... so with a little bit of problem). But

Re: [Flashcoders] Game source code / classes? I need to make a gamequick!

2008-07-17 Thread Alistair Colling
Thanks guys, I'll get the book :) On 15 Jul 2008, at 14:05, Cédric PASCAL wrote: You can also suscribe Lynda.com for a month and watch *ActionScript 3.0 Projects: Game Development*. The level is not very height but maybe it should help you to start. url :

Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Meinte van't Kruis
I don't see why people make such a distinction between designer and programmer, I think, espessially in the flash environment, this distinction is very vague and you'll see alot of designers doing programmer work and vice versa. That said I think that anyone who was used to as2 and the way things

[Flashcoders] General questions regarding Secuirty and CrossDomain actions

2008-07-17 Thread Sebastian Scholz
Hi, I have currently two tasks that kinda not work, because of Flash security handling. When I say kinda, I mean they do work in the normal flash IDE but not in an live enviroment. I am aware however that this two ways are totally different to each other ...btw I need this working on a flash

Re: [Flashcoders] hiring

2008-07-17 Thread Gert-Jan van der Wel
Hi Sid, True! We're not looking for freelancers, but for someone to fill an on site full time position, but the problem is the same. We adjusted our vacancy from a Flash coder to someone with OOP experience and wanting to learn Actionscript. We'll see... Op 16 jul 2008, om 18:10 heeft

RE: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Brian Mays
-Original Message- From: [EMAIL PROTECTED] on behalf of Meinte van't Kruis Sent: Thu 7/17/2008 3:59 AM To: Flash Coders List Subject: Re: [Flashcoders] The Charges Against ActionScript 3.0 I don't see why people make such a distinction between designer and programmer, I think,

Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Paul Andrews
- Original Message - From: Steven Sacks [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, July 16, 2008 10:53 PM Subject: Re: [Flashcoders] The Charges Against ActionScript 3.0 Everyone forgets their roots. Nobody remembers what it was like

RE: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Romuald Quantin
Well, I've coded years with AS2 and I have to say, except for the problem with loaded SWF, which will probably be solved soon: http://www.gskinner.com/blog/archives/2008/07/additional_info.html, I'm not missing AS2 at all!! I'm not from another language but AS3 is a lot cleaner, nothing to

Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Matt S.
On Thu, Jul 17, 2008 at 4:59 AM, Meinte van't Kruis [EMAIL PROTECTED] wrote: I don't see why people make such a distinction between designer and programmer, I think, espessially in the flash environment, this distinction is very vague and you'll see alot of designers doing programmer work and

RE: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Merrill, Jason
Nice post - I agree with most of what you have said... although just a comment on this one, it seems like Flash may need to become two apps in the long run. Or rather, EXPLICITLY become two apps It already has: Flash CS3 and Flexbuilder. Adobe is working on other tools too to ease the workflow

Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Matt S.
Maybe THREE Apps then ;) Flash CS3, FlexBuilder, and some sort of Animation/Timeline focused app, called, lets say, FutureSplash. ;) .m On Thu, Jul 17, 2008 at 11:44 AM, Merrill, Jason [EMAIL PROTECTED] wrote: Nice post - I agree with most of what you have said... although just a comment on

Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Zeh Fernando
Matt S. wrote: But I think part of the problem is the increasingly schizophrenic nature of Flash's identity as an application. This is the money quote of this whole discussion, IMO. AS3 is fine as a language. The charges are indicative of a bigger problem, however. Zeh

RE: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Merrill, Jason
Maybe THREE Apps then ;) Flash CS3, FlexBuilder, and some sort of Animation/Timeline focused app, called, lets say, FutureSplash. ;) There you go! Jason Merrill Bank of America Enterprise Technology Global Risk LLD Instructional Technology Media Join the Bank of America Flash Platform

[Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread SJM - Flash
Hi Guys im having a bit of a nightmare with the first item in an array! For some reason when the flash file is first loaded it will not display any information related to the first item in the array! When the flash its reloaded it works fine! Any ideas? SJM

Re: [Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread jonathan howe
Hi, SJM, Hypothesis: Don't know if this is different for AS3 (couldn't find the appropriate documentation in a quick search) but I got into the habit of avoiding assigning values for declared variables in the class body unless they are static variables. My recommendation would be declare

Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Brian Mays
On 7/17/08 10:35 AM, Matt S. [EMAIL PROTECTED] wrote: But I think part of the problem is the increasingly schizophrenic nature of Flash's identity as an application. I like that. That's my new mantra :-) Brian Mays ___ Flashcoders mailing list

RE: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Kerry Thompson
Matt S. wrote: it seems like Flash may need to become two apps in the long run. Or rather, EXPLICITLY become two apps, since at this point it already basically is. It IS two apps. Flash and Flex. More and more of us hard-core coder types are using Flex for heavy-duty development. I often

RE: [Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread Cor
What does your class DynamicImage look like? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SJM - Flash Sent: donderdag 17 juli 2008 19:08 To: Flash Coders List Subject: [Flashcoders] AS3 - Problem with first item in Array Hi Guys im having a bit of a

[Flashcoders] AS3 - MovieClip in MovieClip not showing

2008-07-17 Thread Cor
I am trying to put some MovieClip in another MovieClip and show it on stage. What am I doing wrong? This is my Document class in a empty fla: package { import flash.display.MovieClip; import flash.display.SimpleButton; import flash.text.TextField; public class

Re: [Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread Jim McIntyre
I got the impression from the AS2 documentation that one *should* set an initial value for a variable in the class body, as long as the initial value could be defined at compile time.

Re: [Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread SJM - Flash
Thanks for the advice! - Original Message - From: jonathan howe To: Flash Coders List Sent: Thursday, July 17, 2008 6:31 PM Subject: Re: [Flashcoders] AS3 - Problem with first item in Array Hi, SJM, Hypothesis: Don't know if this is different for AS3 (couldn't find the

RE: [Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread Cor
It is a proper thing to declare your variables at the top of your class ans import the according classes. And instanciate the variabele at the location it is needed. This keeps memory use minimized and scope guaranteed. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

RE: [Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread Cor
I took the liberty to do it on your code: package { import flash.events.*; import flash.display.MovieClip; import flash.display.DisplayObject; import flash.geom.Point; import fl.transitions.Tween; import fl.transitions.easing.*; import

Re: [Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread SJM - Flash
Hey Cor This is a continuation from the thing you were looking on Sunday for me! I took your advice and re-wrote most of the code! You will notice first time round it will trace all the correct info (5 image URLs) for the array but when you get to... trace(LOAD COMPLETE -

Re: [Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread SJM - Flash
What's the real deal? Is there a reason it's better (or worse) to favor one practice over the other? Im new to AS3 so still learning from what ive been told you declare a static var here and any you want to update in the class body! - Original Message - From: Jim McIntyre

RE: [Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread Cor
I will dive into it some deeper. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SJM - Flash Sent: donderdag 17 juli 2008 20:20 To: Flash Coders List Subject: Re: [Flashcoders] AS3 - Problem with first item in Array Hey Cor This is a continuation from

RE: [Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread Kerry Thompson
Jim McIntyre wrote: I got the impression from the AS2 documentation that one *should* set an initial value for a variable in the class body, as long as the initial value could be defined at compile time. However, I've seen many folks leave the value undefined by not assigning anything in

RE: [Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread Cor
OK, I did some adjustment and it work OK here. The only error is referring to the php file wich I don't have ofcourse. Please tell me if it helped you. package { import flash.events.*; import flash.display.MovieClip; import

Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Matt S.
I know, Jason called me on that :) But I guess my real point was that there needs to be another version of Flash which is explicitly targeted at the non-coder, at the people who want to timeline and tween and drag-drop their way to an animated/interactive product. Flash for dummies as it were.

RE: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Kerry Thompson
Matt S. wrote: I know, Jason called me on that :) Yeah, I saw that. He beat me to the punch. (Jason, you _will_ pay! ;-) But I guess my real point was that there needs to be another version of Flash which is explicitly targeted at the non-coder, at the people who want to timeline and

RE: [Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread Cor
I notice the use of the ev.target.name. You set it to number and lateron you the name. You don't have to give it a name, because Flash does this for you. If you use ev.target it gives you the correct instance name. I am now struggling with your tween. The last image works OK, but 1 - 4 not.

Re: [Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread Jim McIntyre
Kerry Thompson wrote: Jim McIntyre wrote: I got the impression from the AS2 documentation that one *should* set an initial value for a variable in the class body, as long as the initial value could be defined at compile time. However, I've seen many folks leave the value undefined by not

RE: [Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread Cor
SJM, The tweener is undefined on jpg 1-4. The fifth is alright. Over tweener =[object MovieClip] Out tweener =[object MovieClip] Over tweener =undefined TypeError: Error #1009: Cannot access a property or method of a null object reference. at fl.transitions::Tween/setPosition()

RE: [Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread Merrill, Jason
Personally, I'm of the opinion that any time you have hard coded information in a class, you should often avoid doing so and put it in an external source (like an XML config file), but if it's a minor thing to have it in the class (which it often is, you don't need to take the time to make

[Flashcoders] preparing a series of keywords for a search

2008-07-17 Thread Mendelsohn, Michael
Hi list... I'm trying to build a simple search engine where users enter one or more keywords. But first, I'm trying to format a nice clean array based on what's entered, taking into account extra spaces, commas, etc. Any ideas? Below isn't really working for me. // criteria is the text

Re: [Flashcoders] AS3 - MovieClip in MovieClip not showing

2008-07-17 Thread Paul Andrews
Have you added the instance of LesViewer to the display list? Paul - Original Message - From: Cor [EMAIL PROTECTED] To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Sent: Thursday, July 17, 2008 7:10 PM Subject: [Flashcoders] AS3 - MovieClip in MovieClip not showing I am

RE: [Flashcoders] AS3 - MovieClip in MovieClip not showing

2008-07-17 Thread Merrill, Jason
Have you added the instance of LesViewer to the display list? He shouldn't have to, LesViewer is linked as the document class... unless it actually isn't - then you have a problem. Otherwise, I was not able to locate any problems in the code. Jason Merrill Bank of America Enterprise Technology

RE: [Flashcoders] AS3 - MovieClip in MovieClip not showing

2008-07-17 Thread Cor
Hi Paul, I don't know what you mean by that? When I do addChild(tfHeader); it shows and when I do header.addChild(tfHeader); it doesn't??? Regards Cor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews Sent: donderdag 17 juli 2008 21:20 To:

RE: [Flashcoders] AS3 - MovieClip in MovieClip not showing

2008-07-17 Thread Cor
Yes it is. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: donderdag 17 juli 2008 21:25 To: Flash Coders List Subject: RE: [Flashcoders] AS3 - MovieClip in MovieClip not showing Have you added the instance of LesViewer to the display

Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Matt S.
On Thu, Jul 17, 2008 at 2:47 PM, Kerry Thompson [EMAIL PROTECTED] wrote: Flash CS3 has all the features of Flash 8--in fact, Flash 6. You can still write AS2 code, and you can still do all the tweening and timeline animation you want. I work with artists regularly who don't do a lick of coding,

[Flashcoders] SOLVED: preparing a series of keywords for a search

2008-07-17 Thread Mendelsohn, Michael
public function Search():Void { // replace all , , - or - with var changeToSpaces:Array = [-, - , :, : , \r, \t, ,, , , ]; for (var i = 0; ichangeToSpaces.length; i++) { while

[Flashcoders] Embed meta tags and import classes

2008-07-17 Thread Helmut Granda
hi all, Is there a way to set an import statement to a different folder outside the source structure with the embed meta tags? I have a project that I am compiling without flash and you know how in flash you can set up your source path for classes to basically anywhere in your computer. Is there

RE: [Flashcoders] SOLVED: preparing a series of keywords for a search

2008-07-17 Thread Cor
OK. I was nearly there: var changeToSpaces:Array = [-,,, :, ;, \r, \t]; var inputString:String = Dog, cat,squirrel, bird - horse:worm; var idealArray:Array = []; for (var i:uint =0; ichangeToSpaces.length;i++){ //clean the string from the inputfield inputString =

RE: [Flashcoders] SOLVED: preparing a series of keywords for a search

2008-07-17 Thread Mendelsohn, Michael
Thanks anyway Cor! Much appreciated. - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Meinte van't Kruis
Yeah I know, but I'm suggesting a version which is explicitly targetted at that user. So you mean flash cs3, but without the actionscript ;) :P But I think part of the problem is the increasingly schizophrenic nature of Flash's identity as an application. Well, this has maybe always been

Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Matt S.
On Thu, Jul 17, 2008 at 4:45 PM, Meinte van't Kruis [EMAIL PROTECTED] wrote: Yeah I know, but I'm suggesting a version which is explicitly targetted at that user. So you mean flash cs3, but without the actionscript ;) :P Exactly! .m ___

RE: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Jason Van Pelt
The negative side to creating a flash without the as3 application is that many of us grew up with Flash and used it as a way to learn to be developers. I think Colin's point isn't to provide a basic app to basic users, necessarily, but to make the point of entry easy for new users -- as it was

Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Matt S.
On Thu, Jul 17, 2008 at 5:38 PM, Jason Van Pelt [EMAIL PROTECTED] wrote: The negative side to creating a flash without the as3 application is that many of us grew up with Flash and used it as a way to learn to be developers. I think Colin's point isn't to provide a basic app to basic users,

Re: [Flashcoders] AS3 - MovieClip in MovieClip not showing

2008-07-17 Thread Paul Andrews
- Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, July 17, 2008 8:24 PM Subject: RE: [Flashcoders] AS3 - MovieClip in MovieClip not showing Have you added the instance of LesViewer to the display list?

Re: [Flashcoders] SOLVED: preparing a series of keywords for a search

2008-07-17 Thread Wagner Amaral
Are you using AS3? That would be much easier: var input:String = Dog,cat,squirrel, bird - horse:worm; var re:RegExp = /\s*[,-:\r\t]\s*/gm; var result:Array = input.split(re); On Thu, Jul 17, 2008 at 4:45 PM, Mendelsohn, Michael [EMAIL PROTECTED] wrote: public function Search():Void {