Re: [Flashcoders] Testing before removing a child

2009-11-18 Thread Francis Turmel
If I understand properly what you mean, the "contains" method is what you're looking for. if (loader_clip.contains(ldr)){ loader_clip.removeChild(ldr); } http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/DisplayObjectContainer.html#contains%28%29 On Wed, Nov 18, 2009

Re: [Flashcoders] ComboBox troubles

2009-11-18 Thread Karl DeSaulniers
Nope. Those didn't work either. Its just not registering the "change" ?? Karl On Nov 18, 2009, at 9:32 PM, Barry Hannah wrote: Hey Karl. The issue you are facing is that the function on the comboListen object (comboListen.change) steals your scope - so you don't have any access to a

Re: [Flashcoders] ComboBox troubles

2009-11-18 Thread Karl DeSaulniers
Thanks for that Barry. I will test and see. Thats funny, it seems I was so close at one point. I had function comboListen(evt_obj:Object) { var selectNum:Number = colorBox.selectedIndex; if (selectNum <= 1) { var pic = picturesArry[thumbHolder.ID][0];

RE: [Flashcoders] ComboBox troubles

2009-11-18 Thread Barry Hannah
Hey Karl. The issue you are facing is that the function on the comboListen object (comboListen.change) steals your scope - so you don't have any access to all the things you need: "picturesArry", "thumbHolder" etc. So, you can either, forget creating an object to handle events and just put your "c

Re: [Flashcoders] ComboBox troubles

2009-11-18 Thread Karl DeSaulniers
Oh and this is an AS2 project too. Karl Sent from losPhone On Nov 18, 2009, at 7:22 PM, Karl DeSaulniers wrote: Hello List, Have a little snag on my hands. I am trying to get the value of a selected comboBox to change the picture of another MC. My code: var comboListen = new Object();

Re: [Flashcoders] Testing before removing a child

2009-11-18 Thread Gregory Boland
try .numChildren property On Wed, Nov 18, 2009 at 4:48 PM, Alan Neilsen wrote: > I am using loader_clip.removeChild(ldr); to remove child objects from my > loader clip, and I want to test if a child object is there before removing > it. I thought it would be something like > if (loader_clip.child

[Flashcoders] ComboBox troubles

2009-11-18 Thread Karl DeSaulniers
Hello List, Have a little snag on my hands. I am trying to get the value of a selected comboBox to change the picture of another MC. My code: var comboListen = new Object(); comboListen.change = function(evt_obj:Object) { trace(evt_obj.selectedIndex);

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Paul Andrews
Sid Ferreira wrote: How many time Flex/Flash took to pay it self? I think a lot of people on the flash lists don't realise how much money some corporates invest in software development. $15K would be a fraction of the development costs in some projects. It's a completely different situation

[Flashcoders] Testing before removing a child

2009-11-18 Thread Alan Neilsen
I am using loader_clip.removeChild(ldr); to remove child objects from my loader clip, and I want to test if a child object is there before removing it. I thought it would be something like if (loader_clip.child !=0) { // or !="", or !=null, or ==true, or something like that loader_clip

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Dave Watts
> How many time Flex/Flash took to pay it self? $15K USD is a drop in the bucket for enterprise software. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chi

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Sid Ferreira
How many time Flex/Flash took to pay it self? On Wed, Nov 18, 2009 at 22:29, Dave Watts wrote: > > I am still quite amazed that Macromedia ever developed Flex. I suspect > that > > a few people on the list might not know that originally it would cost > > something like $6,000 for a Flex licence

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Dave Watts
> I am still quite amazed that Macromedia ever developed Flex. I suspect that > a few people on the list might not know that originally it would cost > something like $6,000 for a Flex licence and some serious server power was > also required. More than that - Flex 1.x was around $15k USD accordin

RE: [Flashcoders] one class listening for anotherclassesdispatchedevent

2009-11-18 Thread Merrill, Jason
Yes, encapsualtion - exactly. Jason Merrill Bank of America Global Learning Learning & Performance Soluions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America employees only) -Original Message--

Re: [Flashcoders] Advice on minimum specification for cross platform cdrom

2009-11-18 Thread alpha
Paul Steven wrote: > I just wanted to double check this is correct before duplicating a few > thousand CDROM sleeves. > > Minimum system requirements > PC: XP, AMD / Intel, 1.0 Ghz, 256 mb RAM > MAC: 10.4.x, G3 PowerPC / Intel Solo, 1.0 Ghz, 256 mb RAM Bear in mind that minimum spec is just that-

Re: [Flashcoders] one class listening for anotherclassesdispatchedevent

2009-11-18 Thread Steven Sacks
Exactly. Encapsulation FTW. Merrill, Jason wrote: A bunch of smart stuff about not breaking encapsulation ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] one class listening for anotherclassesdispatchedevent

2009-11-18 Thread Merrill, Jason
>> So you are basically saying that every single time you want to use something in another class, you should dispatch an event. No, that's not what I'm saying, if you want/need to use something in another class, you can call it directly. For example, Math.floor() or myPersonInstance.jump(). Tha

Re: [Flashcoders] one class listening for another classesdispatchedevent

2009-11-18 Thread Henrik Andersson
Merrill, Jason wrote: If that makes it so there would be too much code in one class and the tasks so different, then they should be in separate classes with events dispatched and listened to. So you are basically saying that every single time you want to use something in another class, you sh

RE: [Flashcoders] one class listening for another classesdispatchedevent

2009-11-18 Thread Merrill, Jason
My feeling is if the two components are related enough that tight coupling is the desired option, then they really should be the same single class. If that makes it so there would be too much code in one class and the tasks so different, then they should be in separate classes with events dispatch

RE: [Flashcoders] Infinite Loops

2009-11-18 Thread Jack Doyle
First of all, you don't need to keep re-activating the AutoAlphaPlugin - you can just do that once in your SWF. It doesn't hurt anything to re-activate it multiple times, but it definitely doesn't help. Regarding the infinite loop, please make sure you're using the latest version of the GreenSock

RE: [Flashcoders] Advice on minimum specification for cross platform cdrom

2009-11-18 Thread Paul Steven
I did hire a testing company. Just wanted to check my text included all the necessary stuff. Here is what the testing company reported. The application successfully ran on each of the configurations listed in the table below. Some of the animations run noticeably slower on configurations 2 and

Re: [Flashcoders] Advice on minimum specification for cross platform cdrom

2009-11-18 Thread Henrik Andersson
Paul Steven wrote: I just wanted to double check this is correct before duplicating a few thousand CDROM sleeves. If it is important enough to print on the box, hire a company to do the testing for you and find out the real numbers. ___ Flashcoder

Re: [Flashcoders] Advice on minimum specification for cross platform cdrom

2009-11-18 Thread Latcho
You can always test and evaluate it on a ultra low spec machine... Nobody knows better than how much ram or cpu your app uses. Ciao, Lacho Paul Steven wrote: Just designing the CDROM sleeve for a cross platform CDROM created with Flash CS3 and MDM Zinc 3 and need to include a minimum system spe

[Flashcoders] Advice on minimum specification for cross platform cdrom

2009-11-18 Thread Paul Steven
Just designing the CDROM sleeve for a cross platform CDROM created with Flash CS3 and MDM Zinc 3 and need to include a minimum system spec. The application contains voice over. No video is included. Here is what I have come up with based on Zincs minimum specification. I just wanted to double c

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Paul Andrews
Dave Watts wrote: Allow me to summarize your post: That never works out very well, does it? Because it seems to me that your summary missed a lot of Paul's points. When summarizing, you have to remove details. I just focused on what I felt was the core message. Right, bu

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Dave Watts
>>> Allow me to summarize your post: >>> >> That never works out very well, does it? Because it seems to me that >> your summary missed a lot of Paul's points. > > When summarizing, you have to remove details. I just focused on what I felt > was the core message. Right, but Paul may disagree with

Re: [Flashcoders] Infinite Loops

2009-11-18 Thread beno -
On Wed, Nov 18, 2009 at 11:51 AM, Cedric Muller wrote: > that's the problem. I suspect external calls, all one line after the other, > in the timeline, and maybe the timeline's playhead gets over this code every > frame ? > > main.hatAndFace(); > main.eyeball1(); > main.eyeball1(); > main.rightHa

Re: [Flashcoders] Flex Coders List

2009-11-18 Thread Cedric Muller
hth, Cedric What is the Flex equivalent of this mailing list? -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/l

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Latcho
In Kerry's post read: " There are other development environments for Flex, such as FlashBuilder, which is free " as " There are other development environments for Flex, such as FlashDEVELOP, which is free " and read "Flex is the free Eclipse-based base" "Flex IDE which is not free is build

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Latcho
In Kerry's post read: " There are other development environments for Flex, such as FlashBuilder, which is free " as " There are other development environments for Flex, such as FlashDEVELOP, which is free " and read "Flex is the free Eclipse-based base" "Flex IDE which is not free is build

Re: [Flashcoders] Infinite Loops

2009-11-18 Thread Cedric Muller
that's the problem. I suspect external calls, all one line after the other, in the timeline, and maybe the timeline's playhead gets over this code every frame ? main.hatAndFace(); main.eyeball1(); main.eyeball1(); main.rightHand(); ... beno, could you try: public function init():void {

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread alpha
Sidn Ferreira wrote: > At this moment Im deciding between Html 5 or focus in the flash media... It's not an either-or choice. You can use both. Javascript, too. We do on our site, . Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@c

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread alpha
Henrik Andersson wrote > Using Flash to create graphics for flex kinda defeats the point of flex, > doesn't it? Not at all. You can have a broad code base, a fully OOP implementation, in Flex, for your programmers. Your designers and artists use Flash. There's no conflict--in fact, it's the best

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Ian Thomas
I'd just like to add: - I use Flash for some projects. - I use the Flex SDK + Flash for other projects. It's simply about choosing the right tool for the job. Getting back to the original poster's question, as Giro has demonstrated with his samples, yes there are good sites written in Flex, and

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Ian Thomas
On Wed, Nov 18, 2009 at 3:32 PM, Henrik Andersson wrote: > You seem to ignore the components that Flash does ship with. We can fight > about whose components are the best, but I am not interested in that. Neither am I. > I also never claimed that they where rivals, I see them as different tools

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread alpha
Glen Pike wrote: > But you can easily create your own button type class rather than use > the Flash symbols... In fact, you can do your buttons, or movie clips, and the like in Flash. Publish the .swf, and you can download it using Flex and use all the assets in it. Flex's real strong point

Re: [Flashcoders] Infinite Loops

2009-11-18 Thread tom rhodes
stop(); just stops the playhead of a timeline in a movieclip, you are tweening with code, two completely different things. where is the code that calls the functions in this class? 2009/11/18 beno - > Hi; > I have the following code. All the functions go in infinite loops *except* > the first

Re: [Flashcoders] AS2 to AS3 Translation

2009-11-18 Thread beno -
Thanks, guys. beno On Wed, Nov 18, 2009 at 11:32 AM, Zeh Fernando wrote: > http://livedocs.adobe.com/flex/2/langref/migration.html > > On Wed, Nov 18, 2009 at 10:20 AM, beno - wrote: > > > Hi; > > I've found the following AS2 script I'm trying to translate into AS3. > Right > > now, I'd just li

Re: [Flashcoders] AS2 to AS3 Translation

2009-11-18 Thread Zeh Fernando
http://livedocs.adobe.com/flex/2/langref/migration.html On Wed, Nov 18, 2009 at 10:20 AM, beno - wrote: > Hi; > I've found the following AS2 script I'm trying to translate into AS3. Right > now, I'd just like a little help understanding how to rewrite some code > variables. Please help me transl

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Henrik Andersson
Ian Thomas wrote: Stuff You seem to ignore the components that Flash does ship with. We can fight about whose components are the best, but I am not interested in that. I also never claimed that they where rivals, I see them as different tools designed for different tasks. You seem to thin

Re: [Flashcoders] Flex Coders List

2009-11-18 Thread Joel Stransky
Thank you friends. On Wed, Nov 18, 2009 at 9:53 AM, Paul Andrews wrote: > Joel Stransky wrote: > >> What is the Flex equivalent of this mailing list? >> >> >> > Surprisingly.. http://groups.yahoo.com/group/flexcoders/ > > > > ___ > Flashcoders mailing

Re: [Flashcoders] Baby Step #2

2009-11-18 Thread beno -
On Wed, Nov 18, 2009 at 5:05 AM, Cedric Muller wrote: > :) Ok, and now for something completely different: you have to, you > absolutely have to buy a book, one that is called ActionScript 3.0 > Essentials by Colin Moock. > OK. It's on the list. Not for today, however, but I will buy it around t

[Flashcoders] Infinite Loops

2009-11-18 Thread beno -
Hi; I have the following code. All the functions go in infinite loops *except* the first one, which is strange to me, since both it (hatAndFace, and both eyeball1 and eyeball2) all use the same greensock codes, yet the latter two repeat ad infinitum the alpha tween. Why is this? How do I control it

Re: [Flashcoders] AS2 to AS3 Translation

2009-11-18 Thread Glen Pike
Try this useful doc http://www.adobe.com/devnet/actionscript/articles/as3_migration_cookbook/as3_migration_cookbook.pdf Glen beno - wrote: Hi; I've found the following AS2 script I'm trying to translate into AS3. Right now, I'd just like a little help understanding how to rewrite some code vari

[Flashcoders] AS2 to AS3 Translation

2009-11-18 Thread beno -
Hi; I've found the following AS2 script I'm trying to translate into AS3. Right now, I'd just like a little help understanding how to rewrite some code variables. Please help me translate into AS3 (with my guesses ;) _xmouse (mouseX?) _root (root?) Just for good style, should I eliminate all the

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Cedric Muller
The cool thing is the future :) Adobe wants to correct this bias; Flash Builder will happen, and the distinction between Flex Builder and Flex framework will melt. There we will be happy and everything :) The IDE is about to get all dressed up for a sexy evening ;) Now, if one could, he/sh

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Paul Andrews
Henrik Andersson wrote: Paul Andrews wrote: Stuff Allow me to summarize your post: You think that Flash is good for graphical projects, such as animations. You also think that Flex builder is better for creating software. You like the Flex components and how they are data driven. You ackno

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Ian Thomas
On Wed, Nov 18, 2009 at 2:40 PM, Henrik Andersson wrote: > My opinion: > I think that Flash is better for anything that isn't strictly code only, and > that is more or less all projects, since it's quite boring to design > graphics using code. > The upcoming code completion in Flash CS 5 seems to

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Henrik Andersson
Dave Watts wrote: Allow me to summarize your post: That never works out very well, does it? Because it seems to me that your summary missed a lot of Paul's points. When summarizing, you have to remove details. I just focused on what I felt was the core message. But if you just see Flex as

Re: [Flashcoders] Flex Coders List

2009-11-18 Thread Paul Andrews
Joel Stransky wrote: What is the Flex equivalent of this mailing list? Surprisingly.. http://groups.yahoo.com/group/flexcoders/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcod

Re: [Flashcoders] Flex Coders List

2009-11-18 Thread Dave Watts
> What is the Flex equivalent of this mailing list? The biggest list, I think, is Flexcoders on Yahoo. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicag

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Dave Watts
> Allow me to summarize your post: > > You think that Flash is good for graphical projects, such as animations. You > also think that Flex builder is better for creating software. > You like the Flex components and how they are data driven. > You acknowledge that Flex projects end up larger, due to

[Flashcoders] Flex Coders List

2009-11-18 Thread Joel Stransky
What is the Flex equivalent of this mailing list? -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Henrik Andersson
Paul Andrews wrote: Stuff Allow me to summarize your post: You think that Flash is good for graphical projects, such as animations. You also think that Flex builder is better for creating software. You like the Flex components and how they are data driven. You acknowledge that Flex projects

Re: [Flashcoders] one class listening for another classes dispatchedevent

2009-11-18 Thread Latcho
If like you said, --"totally tightly coupled solution is overkill."-- ,than I can agree with you :P But alright, to plug in on this matter. As I found out it's not hard to lose the tight coupling. The hard part is to find a system that works fast and intuitive for you. Once you found or cr

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Paul Andrews
Sid Ferreira wrote: I know this isn't actually an Adobe Flex / Adobe Flash Builder list (actually, if you know a good one, forward me), I don't know how anyone on a flashcoders list could possibly miss flexcoders, or the adobe flex forums.. ;-) but today a client sent a briefing asking the we

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Sid Ferreira
What about handle libraries? Create classes to define the look of a button? On Wed, Nov 18, 2009 at 10:46, Giro wrote: > Not. You only use flash to create a vector graphic, but not code on flash, > all code is in flex. The same for example if you user photoshop to create > jpeg and use this jpeg

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Giro
Not. You only use flash to create a vector graphic, but not code on flash, all code is in flex. The same for example if you user photoshop to create jpeg and use this jpeg on flex. Giro 2009/11/18 Henrik Andersson > Giro wrote: > >> You can use vector graphics on flex. You can create this on fl

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Sid Ferreira
This is a real problem... it's over expensive a flash license... On Wed, Nov 18, 2009 at 10:35, Henrik Andersson wrote: > Giro wrote: > >> You can use vector graphics on flex. You can create this on flash and >> export >> to flex as symbol inside a swf. >> On flex you can scale and don't lose qua

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Henrik Andersson
Giro wrote: You can use vector graphics on flex. You can create this on flash and export to flex as symbol inside a swf. On flex you can scale and don't lose quality. Using Flash to create graphics for flex kinda defeats the point of flex, doesn't it?

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Giro
You can use vector graphics on flex. You can create this on flash and export to flex as symbol inside a swf. On flex you can scale and don't lose quality. Giro.. 2009/11/18 Henrik Andersson > Giro wrote: > >> I do website with flex, flex builder is a best IDE thant Flash IDE. And >> using fl

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Sid Ferreira
But, now the big question: How to handle with the legal costs? In brazil there are many people using flash, most of them I doubt are legal... Mauro: Are you brazillian? On Wed, Nov 18, 2009 at 10:04, Mauro Martins < mauroalexandremart...@gmail.com> wrote: > Hi! I tend to start a project in flash

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Mauro Martins
Hi! I tend to start a project in flash IDE and then code it all the way inside a flex bluider or eclipse + FDT. I just use my IDE for Flash assets like custom constructed components. That way you have all the neat code hinting (wich you still dont have in IDE) and have all the good things from

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Sid Ferreira
I need to retake the studies in flex... At this moment Im deciding between Html 5 or focus in the flash media... On Wed, Nov 18, 2009 at 09:51, Glen Pike wrote: > Hi, > > But you can easily create your own button type class rather than use the > Flash symbols... > Glen > > > Sid Ferreira

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Glen Pike
Hi, But you can easily create your own button type class rather than use the Flash symbols... Glen Sid Ferreira wrote: Well, indeed you changed my mind... Now, a thing that bothers me is that buttons, for instance, uses timeline and not AS animation... On Wed, Nov 18, 2009 at 09:19,

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Sid Ferreira
Well, indeed you changed my mind... Now, a thing that bothers me is that buttons, for instance, uses timeline and not AS animation... On Wed, Nov 18, 2009 at 09:19, Cedric Muller wrote: > Hi, > > My answer is one of those very general and informative answers, please > pardon me for that. > > All

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Henrik Andersson
Giro wrote: I do website with flex, flex builder is a best IDE thant Flash IDE. And using flex is more easy to do somethings, and one good thing for me it is less code lines. I find the opposite to be true. The swf format has a lot of neat features that you are just throwing away when using F

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Cedric Muller
Hi, My answer is one of those very general and informative answers, please pardon me for that. All in all, Flex / Flash Builder is just Flash platform ... which is just Flash. Flash is Flash. The florense site could have been done with Flex. Actually you can use Flex Builder to

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Giro
I do website with flex, flex builder is a best IDE thant Flash IDE. And using flex is more easy to do somethings, and one good thing for me it is less code lines. Some website I do, in spanish. http://www.salgueda.com/ http://www.bricoceramic.com/ Giro. 2009/11/18 Sid Ferreira > I know thi

[Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Sid Ferreira
I know this isn't actually an Adobe Flex / Adobe Flash Builder list (actually, if you know a good one, forward me), but today a client sent a briefing asking the website to be done in Adobe Flex. Once it will need CEO and it isn't for small audiences, we plan to deny it, but then I got the doubt:

Re: [Flashcoders] Baby Step #2

2009-11-18 Thread Cedric Muller
otherwise (if you haven't) you should buy a serious book ;) You know, I just moved back from a 3rd world country (the Dominican Republic) where I went broke (it was wonderful). I learned to survive on very little in the process. And I ain't changing those habits. I don't buy nuttin unless