[Flashcoders] RE: one class listening for another classes dispatched event

2009-11-19 Thread Brett Artrahn
Wanted to add my input to this one. Firstly, I agree tight coupling is not good practice in regards to architecting an application. However, where event mechanics are concerned, it's impact can be slightly negated by using weak listeners - which are good practice in general. Secondly, I

Re: [Flashcoders] Weird auto format

2009-11-19 Thread Karl DeSaulniers
Oh and if I put code below, this is what it does.. for (var o in paypalObj) { sUrl += o + '=' + paypalObj[o] + ''; } trace(sUrl); if (paypalObj.quantity == 0) {

[Flashcoders] RE: Who uses Adobe Flex

2009-11-19 Thread Brett Artrahn
I'm currently using Flash Builder 4 Beta 2 and I'm happy with it. Once you get your head around using SWC libs, modifying compiler settings, template files, modules, the advanced debugging, profiling, etc (all of which I'm loving and still learning) you can take an advanced look at developing

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread Sid Ferreira
Does Flex costs all that? I think flash/flex is no option :s It's too expensive to brazillian market :p On Wed, Nov 18, 2009 at 23:09, Paul Andrews p...@ipauland.com wrote: 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

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread Ian Thomas
The Flex SDK is free, Flex Builder 3 (the current version) is $249 Ian On Thu, Nov 19, 2009 at 8:40 AM, Sid Ferreira sid@gmail.com wrote: Does Flex costs all that? I think flash/flex is no option :s It's too expensive to brazillian market :p On Wed, Nov 18, 2009 at 23:09, Paul

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread Sid Ferreira
And Adobe Flash? On Thu, Nov 19, 2009 at 06:47, Ian Thomas i...@eirias.net wrote: The Flex SDK is free, Flex Builder 3 (the current version) is $249 Ian On Thu, Nov 19, 2009 at 8:40 AM, Sid Ferreira sid@gmail.com wrote: Does Flex costs all that? I think flash/flex is no option

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread Paul Andrews
Sid Ferreira wrote: Does Flex costs all that? The $15K was Flex 1.0 - years ago. I think flash/flex is no option :s It's too expensive to brazillian market :p On Wed, Nov 18, 2009 at 23:09, Paul Andrews p...@ipauland.com wrote: Sid Ferreira wrote: How many time Flex/Flash took

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread Ian Thomas
I suggest you look at the website: http://www.adobe.com/products/flash/ On Thu, Nov 19, 2009 at 9:01 AM, Sid Ferreira sid@gmail.com wrote: And Adobe Flash? On Thu, Nov 19, 2009 at 06:47, Ian Thomas i...@eirias.net wrote: The Flex SDK is free, Flex Builder 3 (the current version) is

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

2009-11-19 Thread Paul Steven
Thanks Kerry Good point about the recommended spec. This is the first CDROM I have created since the days of Windows 98 so I am a bit rusty with regards all the required information that must go on the CDROM sleeve. A lot scarier than online stuff as one small mistake can be costly in terms of

[Flashcoders] OOP and XML

2009-11-19 Thread David Hunter
hi, just started out trying OOP. I've done some little things but never a full site, so its my first time attempt using the document class. i made a working demo which creates buttons and loads an image from an array when you click one of the buttons, using a button class and a loader class.

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread Henrik Andersson
Sid Ferreira wrote: And Adobe Flash? 799 USD for one standalone normal license. 299 USD for the upgrade deal. There are packages and student discounts available. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] OOP and XML

2009-11-19 Thread Henrik Andersson
Dispatch an event when the data is ready and have the main code listen for the event. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread Sid Ferreira
Damn... 1k USD... and there are all the taxes... more than I get in 1 month (yeah, Brazil pays too low) On Thu, Nov 19, 2009 at 10:51, Henrik Andersson he...@henke37.cjb.netwrote: Sid Ferreira wrote: And Adobe Flash? 799 USD for one standalone normal license. 299 USD for the upgrade deal.

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread Ivan Dembicki
Hello Sid, Damn... 1k USD... and there are all the taxes... more than I get in 1 month (yeah, Brazil pays too low) http://www.cleoag.ru/2009/11/12/langenfew-secret-videos-langenlangru-langru/ 50 EU -- iv http://www.bezier.ru http://bezier.googlecode.com

[Flashcoders] new AS Editor, few secret videos

2009-11-19 Thread Ivan Dembicki
Hello FlashCoders, http://www.cleoag.ru/2009/11/12/langenfew-secret-videos-langenlangru-langru/ -- iv http://www.bezier.ru http://bezier.googlecode.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] new AS Editor, few secret videos

2009-11-19 Thread Ian Thomas
Thanks, Ivan - it'll be interesting to see the full version of this! There's also: http://code.google.com/p/minibuilder/ :-) Ian On Thu, Nov 19, 2009 at 1:13 PM, Ivan Dembicki ivan.dembi...@gmail.com wrote: Hello FlashCoders,

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread Sid Ferreira
didn't got it On Thu, Nov 19, 2009 at 11:12, Ivan Dembicki ivan.dembi...@gmail.comwrote: Hello Sid, Damn... 1k USD... and there are all the taxes... more than I get in 1 month (yeah, Brazil pays too low) http://www.cleoag.ru/2009/11/12/langenfew-secret-videos-langenlangru-langru/ 50

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread Paul Andrews
Sid Ferreira wrote: didn't got it It was probably intended for the new thread, not this one. Where do you get $1,000 from? How do you code flash now? Paul On Thu, Nov 19, 2009 at 11:12, Ivan Dembicki ivan.dembi...@gmail.comwrote: Hello Sid, Damn... 1k USD... and there are all

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread Sid Ferreira
Here in Brazil a very good and talented developer can hit $1,200 (my case) each month. Used to run pirate software, but I want to get 100% legal.. It is correct, it is fair... and in the today world is even cool ;-) On Thu, Nov 19, 2009 at 11:44, Paul Andrews p...@ipauland.com wrote: Sid

Re: [Flashcoders] new AS Editor, few secret videos

2009-11-19 Thread Ivan Dembicki
Hello Ian, http://code.google.com/p/minibuilder/ Realaxy Editor is an editor of fundamentally different level. This is a new level of code editing tools regardless of programming language. No one has such editor yet. This editor is based on JetBrains MPS and will support tons of refactorings,

Re: [Flashcoders] new AS Editor, few secret videos

2009-11-19 Thread Ian Thomas
Fantastic - I used JetBrains IntelliJ IDE about 7 years ago, and it was the best Java IDE I've ever come across. Ian On Thu, Nov 19, 2009 at 2:13 PM, Ivan Dembicki ivan.dembi...@gmail.com wrote: Hello Ian, http://code.google.com/p/minibuilder/ Realaxy Editor is an editor of fundamentally

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread alpha
Sid Ferreira wrote: Used to run pirate software, but I want to get 100% legal.. It is correct, it is fair... and in the today world is even cool ;-) Good for you! I know software is expensive relative to wages in Brazil, and a lot of other countries. To make it worse, a lot of Adobe's products

RE: [Flashcoders] OOP and XML

2009-11-19 Thread David Hunter
thanks Henrik, are you saying that i need to create a custom event class and dispatch an event from that class? otherwise how else could i attach the data to a dispatched event? or do you mean to dispatch an existing event type so when fired the DocumentClass will go into the XMLLoaderClass

Re: [Flashcoders] OOP and XML

2009-11-19 Thread Gregory Boland
either way works... its a 6 of one half a dozen of another type situation so you could say dispatchEvent(Event.COMPLETE) from your XMLLoader class and put the data into a public var that your class listening can access. Or you could make a custom event like this dispatchEvent(new

RE: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread Merrill, Jason
Flex SDK + FlashDevelop = free development on par in many ways with Flexbuilder - only thing I really miss in the SDK is the Charting components. I have both Flexbuilder 3 and FlashDevelop and use both of them for different things. Jason Merrill Bank of America Global Learning

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread Sid Ferreira
Mmm... now I got a question: How to create an AS3 animated button without using flash... I mean, images, behaviours, etc... Any tutorial in mind? On Thu, Nov 19, 2009 at 13:30, al...@cyberiantiger.biz wrote: Sid Ferreira wrote: Used to run pirate software, but I want to get 100% legal.. It

RE: [Flashcoders] new AS Editor, few secret videos

2009-11-19 Thread Merrill, Jason
The code completion/hinting combo looks pretty cool. When/where will this be made available? Is it opensource? Jason Merrill Bank of America Global Learning Learning Performance Soluions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread alpha
Sid Ferreira wrote: Mmm... now I got a question: How to create an AS3 animated button without using flash... I mean, images, behaviours, etc... Any tutorial in mind? Well, here's one tutorial http://forums.greensock.com/viewtopic.php?f=1t=17. I haven't tried it, but you can find other

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread Sid Ferreira
it uses a FLA :-/ On Thu, Nov 19, 2009 at 14:18, al...@cyberiantiger.biz wrote: Sid Ferreira wrote: Mmm... now I got a question: How to create an AS3 animated button without using flash... I mean, images, behaviours, etc... Any tutorial in mind? Well, here's one tutorial

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread alpha
Sid Ferreira wrote: it uses a FLA :-/ Ok, I'll take some time to write an animated button class. It's something we can use here, too. I'll post it after lunch (it's 11:30 a.m. here). Cordially, Kerry Thompson ___ Flashcoders mailing list

RE: [Flashcoders] OOP and XML

2009-11-19 Thread David Hunter
thanks greg, and nice to know that either way is ok. don't want to start down bad habits already! i've got it working now with a custom event and a little extra help from this as well: http://www.learningactionscript3.com/2008/11/11/passing-arguments-with-events/ cheers. Date: Thu, 19 Nov

Re: [Flashcoders] OOP and XML

2009-11-19 Thread Gregory Boland
while your on the subject of bad habits, here's a list of coding conventions and best practices to use as a reference. http://opensource.adobe.com/wiki/display/flexsdk/Coding+Conventions I still haven't looked at the whole list yet and I'm not sure how relevant it all is, but its a handy link to

Re: [Flashcoders] new AS Editor, few secret videos

2009-11-19 Thread Ivan Dembicki
Hello Merrill, A little bit about LOP: http://www.onboard.jetbrains.com/is1/articles/04/10/lop/ -- iv http://www.bezier.ru http://bezier.googlecode.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] new AS Editor, few secret videos

2009-11-19 Thread Ivan Dembicki
Hello Merrill [...] When/where will this be made available? - ~ 1 month for beta Is it opensource? - yes. Not from release, but in result it's will opensource. -- iv http://www.bezier.ru http://bezier.googlecode.com ___ Flashcoders mailing list

[Flashcoders] GlowFilter vs. custom StrokeFilter?

2009-11-19 Thread Chris
I'm trying to get some thoughts on how the best way to do this is. I am adding some dynamic strokes on things, and right now I'm using the trick of adding a GlowFilter to sprites to create a stroke around objects (by setting the strength at about 8 i believe). Its seems like a bit of a hack, so I

RE: [Flashcoders] OOP and XML

2009-11-19 Thread Merrill, Jason
David - here is a class I wrote which I use all the time for working with XML. It's a slightly different approach I prefer, where the class listens for the load to complete, and then creates a public XML property of the data you can get once the load is done. Here is the class and the associated

RE: [Flashcoders] new AS Editor, few secret videos

2009-11-19 Thread Merrill, Jason
Cool - be sure to keep us posted. I'd like to try it out and see how it compares with FlashDevelop, and I'm sure you'll have others curious as well. Jason Merrill Bank of America Global Learning Learning Performance Soluions Join the Bank of America Flash Platform Community and visit

Re: [Flashcoders] Infinite Loops

2009-11-19 Thread beno -
On Wed, Nov 18, 2009 at 1:55 PM, Jack Doyle j...@greensock.com wrote: 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. ok Regarding

[Flashcoders] AS3 mouseUpOutside not working, yuck!

2009-11-19 Thread Mendelsohn, Michael
Hi list... I can't get a mouse up outside action to work, and the solutions I found online don't solve it. Ugh, seemingly so simple! What am I doing wrong? It always traces B. Thanks, - Michael M. playPause.addEventListener(MouseEvent.MOUSE_DOWN, playPausePressed);

Re: [Flashcoders] AS3 mouseUpOutside not working, yuck!

2009-11-19 Thread Henrik Andersson
99 % of the time when Event.target is wrong, it is due to it being a Shape instance instead of the containing MovieClips as wrongly expected. It's due to authoring time content being added as separate Shape instances instead of being drawn on the Movieclip itself.

RE: [Flashcoders] AS3 mouseUpOutside not working, yuck!

2009-11-19 Thread Mendelsohn, Michael
Thanks for answering Henrik. I just figured out a solution. I have to add a var to record what was clicked, and then compare that against the event's currentTarget. It seems like an awful hack though. I'm hoping there's something simpler. - MM

[Flashcoders] Swfs not loading in FF on PC

2009-11-19 Thread Joe Minkiewicz
I run into this issue a lot (I may have even posted here before asking for help about it). Has anyone run into an issue with swfs randomly not loading correctly in FireFox on PC? I have one regular client and once in awhile they say the swfs don't load—it's always FF on PC, Mac and other browsers

Re: [Flashcoders] AS3 mouseUpOutside not working, yuck!

2009-11-19 Thread Henrik Andersson
Whenever I need to work with a reference to a leaf node, I run a loop like this: for(var obj=target;obj!=stage;obj=obj.parent) { if(target is Type) { yay(); break; } } ___ Flashcoders mailing list

Re: [Flashcoders] AS3 mouseUpOutside not working, yuck!

2009-11-19 Thread mark . jonkman
Hi Michael Did you set the mouseChildren to false? Without Flash open at the second so I might get one or two minor things wrong here, but if you don't explicitely set mouseChildren to false, then the child elements within the MovieClip instance will be the target as the event bubbles.

Re: [Flashcoders] AS3 mouseUpOutside not working, yuck!

2009-11-19 Thread Ian Thomas
Henrik, Setting mouseChildren=false on an InteractiveObject/Sprite is much easier. The children no longer react to or originate mouse events. HTH, Ian On Thu, Nov 19, 2009 at 9:00 PM, Henrik Andersson he...@henke37.cjb.net wrote: Whenever I need to work with a reference to a leaf node, I

Re: [Flashcoders] Swfs not loading in FF on PC

2009-11-19 Thread Ian Thomas
Joe, wmode=transparent is notoriously bugged, particularly on Firefox. Adobe themselves advise against using it. Ian On Thu, Nov 19, 2009 at 8:54 PM, Joe Minkiewicz joe.min...@gmail.com wrote: I run into this issue a lot (I may have even posted here before asking for help about it). Has

Re: [Flashcoders] AS3 mouseUpOutside not working, yuck!

2009-11-19 Thread Henrik Andersson
Ian Thomas wrote: Henrik, Setting mouseChildren=false on an InteractiveObject/Sprite is much easier. The children no longer react to or originate mouse events. Agreed, it is easier. But the loop always works. I don't use it for simple cases. The right tool for the right job.

Re: [Flashcoders] AS3 mouseUpOutside not working, yuck!

2009-11-19 Thread Ian Thomas
What? mouseChildren=false always works, whether the job is simple or not. That's what it was designed for! Ian On Thu, Nov 19, 2009 at 9:19 PM, Henrik Andersson he...@henke37.cjb.net wrote: Ian Thomas wrote: Henrik,    Setting mouseChildren=false on an InteractiveObject/Sprite is much

Re: [Flashcoders] Swfs not loading in FF on PC

2009-11-19 Thread Zeh Fernando
Yes. While loading a SWF using wmode=transparent, loaderInfo doesn't fire ProgressEvent.PROGRESS and Event.COMPLETE events for itself inside FireFox. The solution is using a separate ENTER_FRAME event to check on the loading state. You can read the bytesLoaded and bytesTotal (they're correctly

Re: [Flashcoders] AS3 mouseUpOutside not working, yuck!

2009-11-19 Thread mark . jonkman
Hi Ian I'm in full agreement with you - mouseChildren = false is the best generic solution. There are a couple of situations where you might not be able to use it. For example if you have a complex button behaviour situation that for some strange reason has some weird animation that gets

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread Beatrix Krümmer-Frau
Sid Ferreira schrieb: Does Flex costs all that? I think flash/flex is no option :s It's too expensive to brazillian market :p On Wed, Nov 18, 2009 at 23:09, Paul Andrews p...@ipauland.com wrote: Sid Ferreira wrote: How many time Flex/Flash took to pay it self? I think a

Re: [Flashcoders] ComboBox troubles

2009-11-19 Thread Karl DeSaulniers
I think the problem is that it is nested inside a function loadItem (). But not entirely sure. I am aware that this is not the best practice, so I tried moving it out of the function, but to no avail. I have created the code by the book but it still does not work. What am I doing wrong here???

Re: [Flashcoders] ComboBox troubles

2009-11-19 Thread Glen Pike
Hi, Are you doing something like the following - you need to use the Delegate.create function to attach scope to your event handlers. I can't remember if you can pass in the event object or not - try it? HTH Glen import mx.utils.Delegate; class MyMovieClip extends MovieClip { private var