[flexcoders] Re: Will ECMAScript ever support abstract classes?

2007-04-26 Thread b_alen
Stop that wishfull thinking guys, the list is too long ;) I read somewhere that abstract classes / functions were meant to be in the release of AS3 but there was no time to do it for this release. They had to rewrite the whole engine and we gotta give them some credit for that. I really hope this

[flexcoders] Find and replace wih regex?

2007-04-26 Thread b_alen
I have a huge XML file with complex DTD. Now I have to parse this into something more usable by stripping the redundant tags and modifying some of them. I see two options: 1. Recursivly visit all the nodes and handle them with if statements. 2. Use RegEx to do some sort of find and replace. The

[flexcoders] Re: Find and replace wih regex?

2007-04-27 Thread b_alen
. It is still a huge piece, but of cake. I'm basically creating my own XSLT which converts this XML into something that can be renderable in Flash/Flex. Cheers --- In flexcoders@yahoogroups.com, Erik Price [EMAIL PROTECTED] wrote: On 4/26/07, b_alen [EMAIL PROTECTED] wrote: I have a huge XML file

[flexcoders] Re: Multiuser Applications (Games)

2007-04-29 Thread b_alen
Smartfox is a safe bet, great API, straightforward installation and good support on their forum. I haven't tried others yet but will certainly try RED5. Please tell me how will you implement Cairngorm in the multiuser app? I'm also thinking of doing the same, but I'm not even in the design phase

[flexcoders] Re: xml to e4x Help Please!!!

2007-05-05 Thread b_alen
The example that you pasted contains errors and there's no XML provided. Please send a compilable simplified example. Btw, I'm using E4X by just loading XML with URLLoader and then typing the result as XML. It's brilliant. Alen --- In flexcoders@yahoogroups.com, emobilecat [EMAIL PROTECTED]

[flexcoders] Setting the styles to Text .htmlText at runtime

2007-05-05 Thread b_alen
I have a string that goes somthing like this: var str:String = p class=\H1\section/p; var str:String += p class=\TXT\main text/p; and then I populate the Text component like this: txtPage.htmlText = str; Now, I want to add styles to this text through class attributes that I provided in the

[flexcoders] Re: Setting the styles to Text .htmlText at runtime

2007-05-05 Thread b_alen
, b_alen [EMAIL PROTECTED] wrote: I have a string that goes somthing like this: var str:String = p class=\H1\section/p; var str:String += p class=\TXT\main text/p; and then I populate the Text component like this: txtPage.htmlText = str; Now, I want to add styles to this text through

[flexcoders] Send XML to PHP

2007-05-14 Thread b_alen
I'm sending the XML object to php in HTTPService.send(xmlObject); But how do I receive it on the server and then store this as a new xml file on a server? I'm getting errors when I'm trying all of these on the server: $raw_xml = $_POST[data]; //$raw_xml = $_REQUEST[data]; //$raw_xml =

[flexcoders] Re: Send XML to PHP

2007-05-15 Thread b_alen
with what I'm sending. Hope it helps! -Nathan --- In flexcoders@yahoogroups.com, b_alen alen.balja@ wrote: I'm sending the XML object to php in HTTPService.send(xmlObject); But how do I receive it on the server and then store this as a new xml file on a server? I'm getting errors when I'm

[flexcoders] [JOB POSTING] Flex / Flash developers needed in New Delhi, India

2007-05-23 Thread b_alen
We are looking for intermediate to advanced Flex developers or very advanced Actionscript 2 developers. You should be motivated for work, coming up with your own ideas and taking initiative. We put a lot of effort into RND, so we do NOT need do as you're told kind of people. The company is 130+

[flexcoders] Loading code from swf (instantiating classes from external swf)

2007-09-17 Thread b_alen
Hi, I'll try to make myself as clear as possible. I got this interesting idea of loading the code in a swf file. Let's say I have main application, but then I load a swf with some classes there compiled, and then from the main swf, I would be able to instantiate and use classes from the loaded

[flexcoders] Re: Loading code from swf (instantiating classes from external swf)

2007-09-18 Thread b_alen
Cheers guys, just one quick check, is it possible with these two methods: 1. I make an application and deploy it on the web. 2. You, knowing nothing about the application except the API I provide you, write the extension and submit it in form of swf on my server. 3. My application recognizes that

[flexcoders] Re: Loading code from swf (instantiating classes from external swf)

2007-09-19 Thread b_alen
to know from them is what the fully qualified class path is. Steve On 9/18/07, b_alen [EMAIL PROTECTED] wrote: Cheers guys, just one quick check, is it possible with these two methods: 1. I make an application and deploy it on the web. 2. You, knowing nothing about the application except

[flexcoders] Re: Code behind - class extend mxml vs. mxml extend class

2007-09-19 Thread b_alen
As far as I know, Flex gods from Scotland do not advise the use of code behind approach as seen in .net. I was doing the same at the beginning but after having a chat with them I see why it's not good. First of all there is no code generator that would create references to all mxml elements in

[flexcoders] Re: Code behind - class extend mxml vs. mxml extend class

2007-09-20 Thread b_alen
On Wednesday 19 Sep 2007, [EMAIL PROTECTED] wrote: As far as I know, Flex gods from Scotland do not advise the use of code behind approach as seen in .net. It'd be interesting to see that advice :-) You just saw it :) First of all there is no code generator that would create

[flexcoders] Re: Code behind - class extend mxml vs. mxml extend class

2007-09-24 Thread b_alen
You just saw it :) Bizarre. I wonder why they said that ? You can always pay for consultancy and ask :) Do send me one simple example to see how you're using it exactly. Send me MXML and it's AS, I have to examine it, I think we might not be on the same page here.

[flexcoders] Re: Printing a large string over multiple pages

2007-12-02 Thread b_alen
I remember in AS2 I created an array of movieclips with print content and then print the array one by one. Each array entry was a movie clip object. I had to manually measure when the movieclip is to high, then create another one, etc. Now from the livedocs: The PrintJob class hasn't changed

[flexcoders] Re: Best Way to learn Flex

2007-12-02 Thread b_alen
Well it all depends on what your background knowledge is. Can you create simple if statements, while and for loops, and so on? Do you understand OOP? Maybe you want to get comfortable with AS3 first before developing Flex apps. And that's easier to learn in Flash, IMHO. Try making a simple

[flexcoders] Re: ValueObject Factories?

2007-12-05 Thread b_alen
Sometimes I use Factory for creating VOs, it really depends on the need. And I use VOs for everything that goes OTW, even if it is a trivial object. --- In flexcoders@yahoogroups.com, Christophe Herreman [EMAIL PROTECTED] wrote: Hi all, I was wondering how you guys deal with model objects

[flexcoders] Re: do you need CS Degree to get a job?

2008-02-19 Thread b_alen
No matter what everybody's saying, I'm finding a huge difference between developers with formal education and those self thought. I would definitely suggest you to take some courses at least, not just for getting a job, but to get the knowledge you'll find valuable quite often. There is a reason

[flexcoders] Re: Polymorphism....?

2008-02-20 Thread b_alen
I wouldn't suggest you uptype to an IClosable interface. By doing so, you loose access to all the members of the UIComponent. And having access to super class's members is why you do inheritance in the first place. say: class Sub extends UIComponent implements IClosable var sub1:IClosable = new

[flexcoders] getCharBounds not working on AIR?

2008-02-20 Thread b_alen
It seems a bit ridiculous but it's true. Not just that you have to use all sorts of hacks to get access to good old TextField (IUITextField) in Flex in order to even think of accessing characters' Rectangles. Once you do manage to cut your way through, you get a very nasty disappointment that

[flexcoders] Re: getCharBounds not working on AIR?

2008-02-20 Thread b_alen
, b_alen [EMAIL PROTECTED] wrote: It seems a bit ridiculous but it's true. Not just that you have to use all sorts of hacks to get access to good old TextField (IUITextField) in Flex in order to even think of accessing characters' Rectangles. Once you do manage to cut your way through, you get

[flexcoders] Re: getCharBounds not working on AIR?

2008-02-20 Thread b_alen
probably be the correct event.) Check out the events thrown by the components involved to see if one jumps out at you. - Dan Freiman On Wed, Feb 20, 2008 at 10:53 AM, b_alen [EMAIL PROTECTED] wrote: Wow, that was fast, I didn't even manage to finish the cigarette :) And it works. Now

[flexcoders] Re: Web conferencing with Flex

2008-02-20 Thread b_alen
Are you not familiar with Adobe Acrobat Connect? It is exactly that and yes, based on all those technologies you mentioned. A. It's expensive B. It sucks

[flexcoders] Re: getCharBounds not working on AIR?

2008-02-20 Thread b_alen
PROTECTED] On Behalf Of b_alen Sent: Wednesday, February 20, 2008 8:48 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: getCharBounds not working on AIR? Great, it seems like callLater saved my butt. Luckily i also found the blog which explains in short the WHY's and HOW's

[flexcoders] Re: getCharBounds not working on AIR?

2008-02-21 Thread b_alen
bugbase so that you can let us know what we're doing wrong in a way that gets tracked. Complaints on flexcoders don't always get tracked. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of b_alen Sent

[flexcoders] Re: Web conferencing with Flex

2008-02-22 Thread b_alen
A. Last time I was checking it was 700 per month. B. By sucks I meant that it was refused by all our departments despite couple of well prepared sales pitches from Adobe. Wheel was reinvented many times, that's why I don't have stone wheel on my Toyota. That's why we don't use IE for browsing

[flexcoders] Re: getCharBounds not working on AIR?

2008-02-22 Thread b_alen
like you've had nothing but frustration with Flex, and I apologize for that. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of b_alen Sent: Thursday, February 21, 2008 2:26 AM To: flexcoders

[flexcoders] Re: Best practices for setting up large applications?

2008-02-29 Thread b_alen
We had the same problem in AS2, where we basically build the whole Flex engine in AS2 / XML, plus everything else the application needed to do, more than 50k lines of code. Flash 7 was compiling it for 3 minutes. We couldn't move or change anything without destroying things somewhere else. We also

[flexcoders] Re: Launch seamless AIR install from within Flex App

2008-03-03 Thread b_alen
I asked this question few days back. The best solution so far was creating the BAT file that would launch first the AIR install and then the app install. All should reside on the CD. If you come up with something better please post, I'll do the same. anyone lauching an AIR app install from

[flexcoders] Errors in Export Project but not in normal build or debug...

2008-03-06 Thread b_alen
I'm using FB3, not beta. I'm getting all sorts of strange errors while exporting through Project / Export Release Build, but I'm not getting any errors in the console while I do an IDE build or debug. Project / Clean didn't help. Any ideas? ps: Errors that are stated in the Export Release

[flexcoders] Re: Errors in Export Project but not in normal build or debug...

2008-03-06 Thread b_alen
Any thoughts guys? It's really urgent. --- In flexcoders@yahoogroups.com, b_alen [EMAIL PROTECTED] wrote: I'm using FB3, not beta. I'm getting all sorts of strange errors while exporting through Project / Export Release Build, but I'm not getting any errors in the console while I do an IDE

[flexcoders] Cannot embed assets to CSS - can't resolve source error

2008-03-06 Thread b_alen
I get this error can't resolve source when trying to embed files to CSS. It only happens if I go to Project / Export RElease Build. If I do IDE build or debug, it all works fine. I'm using FB3, release candidate. I saw this bug reported on the bug tracking site:

[flexcoders] Re: FileReference / upload problem in Mozilla Firefox

2008-05-28 Thread b_alen
That's nasty! Any idea how I should name the session ID for it to be picked up by .NET? --- In flexcoders@yahoogroups.com, Marcelo Savioli [EMAIL PROTECTED] wrote: Its a session issue. This might help: http://thanksmister.com/?p=59 On Tue, May 27, 2008 at 9:02 AM, b_alen [EMAIL

[flexcoders] Re: Thinking about going to the dark side....Apple Mac Book

2008-06-05 Thread b_alen
Interesting. Me and my colleagues are also thinking of switching to Mac due to Vista crappiness. In fact we're 80% sure that next laptops will be Macs. My only concern is how to do .Net development and integration with Flex then. Anyone has a solution to that? --- In

[flexcoders] Possible to add some data to load to the default preloader?

2008-06-05 Thread b_alen
I always have some stuff to load before the app can be used. Is it possible to stick that loading into the default preloader? So the swf would know that it has to load other files also before it dispatches the event that it's fully loaded. Maybe some compiler directives, I don't know. Thanks

[flexcoders] Re: Thinking about going to the dark side....Apple Mac Book

2008-06-05 Thread b_alen
it you will never go back to the laptops again. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, b_alen alen.balja@ wrote: Interesting. Me and my colleagues are also thinking of switching to Mac due to Vista crappiness. In fact we're 80% sure that next laptops will be Macs. My only

[flexcoders] Re: are these 2 if tests the same (trivial question)

2008-06-05 Thread b_alen
Check out distributive law of boolean algebra, and operator precedence. In this case it's the same because logical AND anyway has precedence over logical OR. Your statements could also be written like this: AB+C (AB)+C So, obviously they are the same. --- In flexcoders@yahoogroups.com,

[flexcoders] Re: Thinking about going to the dark side....Apple Mac Book

2008-06-05 Thread b_alen
On Thu, Jun 5, 2008 at 6:41 AM, b_alen [EMAIL PROTECTED] wrote: Desktop is out of the question. Any experience with .net on Mac? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Dmitri Girski mitek17@ wrote: I am just wondering, why everyone is thinking about Mac

[flexcoders] Re: Thinking about going to the dark side....Apple Mac Book

2008-06-09 Thread b_alen
: Thinking about going to the dark sideApple Mac Book I'm not trying to be glib, but don't use Vista. Use XP SP3. Joseph Balderson | http://joeflash.ca | 705-466-6345 b_alen wrote: Interesting. Me and my colleagues are also

[flexcoders] Re: Possible to add some data to load to the default preloader?

2008-06-09 Thread b_alen
@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Put the data in an RSL? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of b_alen Sent: Thursday, June 05, 2008 3:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders

[flexcoders] Re: FileReference / upload problem in Mozilla Firefox

2008-06-09 Thread b_alen
@yahoogroups.com, b_alen [EMAIL PROTECTED] wrote: That's nasty! Any idea how I should name the session ID for it to be picked up by .NET? --- In flexcoders@yahoogroups.com, Marcelo Savioli marcelo.savioli@ wrote: Its a session issue. This might help: http://thanksmister.com/?p=59

[flexcoders] Re: Bitmap.draw

2008-06-09 Thread b_alen
No, it shouldn't be affected. You can draw the nested object and its owners will not affect how it looks. --- In flexcoders@yahoogroups.com, reflexactions [EMAIL PROTECTED] wrote: If I draw the contents of a target DisplayObjectContainer into a Bitmap is the rendered image affected by the

[flexcoders] Re: Possible to add some data to load to the default preloader?

2008-06-10 Thread b_alen
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of b_alen Sent: Monday, June 09, 2008 12:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Possible to add some data to load to the default preloader? Can't do

[flexcoders] Re: Possible to add some data to load to the default preloader?

2008-06-10 Thread b_alen
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of b_alen Sent: Tuesday, June 10, 2008 3:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Possible to add some data to load to the default preloader? Sure, that's the only way

[flexcoders] Re: OOP and Work for Hire

2008-06-10 Thread b_alen
BOLLOCKS!! Of course you can reuse your code. You're code is not stored in AS files anyway, but in your head. So unless you can erase memory how you cracked the algorithm or designed a system, there's no way you could not reuse the code. Since every project is different in nature, there's a very

[flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread b_alen
certainly spent some time doing a bit of expert analysis on getting that and working that out. --- In flexcoders@yahoogroups.com, b_alen alen.balja@ wrote: BOLLOCKS!! Of course you can reuse your code. You're code is not stored in AS files anyway, but in your head. So unless

[flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread b_alen
absolutely nothing to do with maintaining IP. GB, Bubba From: b_alen Sent: Tuesday, June 10, 2008 10:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: OOP and Work for Hire BOLLOCKS!! Of course you can reuse your code. You're code is not stored in AS files anyway

[flexcoders] Re: Possible to add some data to load to the default preloader?

2008-06-11 Thread b_alen
] wrote: I'll bet you had to handroll it in Flash 5, and you can hand-roll it in Flex 3. It will just take some work like it did in Flash 5. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of b_alen Sent: Tuesday, June 10, 2008 8:40

[flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread b_alen
@yahoogroups.com, Jeffry Houser [EMAIL PROTECTED] wrote: No argument there, however that employee cannot work on the other employers floor w/ the same equipment provided by the first employer. b_alen wrote: No, the floor is not Employee's. But if the employee by doing the finishing

[flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread b_alen
) the spirit of the agreement and get on with your life: I.e. Getting paid to do something that you enjoy and are proficient at, then using the proceeds to behave like a twisted, salted pretzel with your significant other... GB, Bubba From: b_alen Sent: Wednesday, June 11, 2008 3:31 AM

[flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread b_alen
business with you... :-o GB, Bubba From: b_alen Sent: Wednesday, June 11, 2008 8:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: OOP and Work for Hire So you're saying if I find a way how to get into a tight corner and polish it with a specially pimped tooth brush

[flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread b_alen
That's exactly what I was saying from the beginning. Typing code is not programming, as some on this thread think. Using your experience and knowledge to solve problems is programming. And nobody can take away that. I can delete all the code I have and I'll make even better in no time, once I

[flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread b_alen
, everyone agrees that the knowledge and techniques that you gain while writing code are yours and can often be used in other projects. But that is not at all the same as saying it's ok to copy a class or chunks of code verbatim. Doug On Wed, Jun 11, 2008 at 10:48 AM, b_alen [EMAIL PROTECTED

[flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread b_alen
:55 AM, b_alen [EMAIL PROTECTED] wrote: So if I create a great algorithm for collision detection while working for a client I can not use it ever again? And if I have to make it for 10 different clients in a year, I have to create 10 completely different solutions for the same problem, so

[flexcoders] Re: OOP and Work for Hire

2008-06-12 Thread b_alen
You can use it again definitely otherwise no one here would be allowed to do even a sorting algorithm ever again. Come on, some guys even went so far that every single digital line of code is client's. So even the mx:Button / I can't implement ever again, because it belongs to the customer.

[flexcoders] Re: OOP and Work for Hire

2008-06-14 Thread b_alen
incredibly wittyI'm just not seeing the humor or the usefulness of your comments GB, Bubba From: b_alen Sent: Thursday, June 12, 2008 7:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: OOP and Work for Hire You can use it again definitely otherwise no one here would

[flexcoders] Re: AS3 coding environment

2008-06-17 Thread b_alen
Good to know that you guys are still alive and kicking. I was amazed by FDT when AS2 was around. I can say some pretty big Flash projects would never see the light of day without it. But I know you were a bit slow and were postponing the 3.0 release for quite a while. At that point we also

[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread b_alen
Can you do folders in gmail? I thought only labels are there and you still see all the emails in your inbox, even if you don't want to. These lists are killing me and I had to make the emails coming in digests, and that's how I miss on all the fun. --- In flexcoders@yahoogroups.com, Jeffry

[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread b_alen
Cheers mate, that could help a lot. This is by the way the biggest show stopper of this list. Just to find this response took me quite a lot of clicking through crappy Yahoo mail list interface to find it. Can you do folders in gmail? I thought only labels are there and you still see all

[flexcoders] Re: Question for Subvision to Flex Bulider 3

2008-06-18 Thread b_alen
Do you have a standalone FB3 or Eclipse plugin? --- In flexcoders@yahoogroups.com, markflex2007 [EMAIL PROTECTED] wrote: Hi, I follow the url (http://tdotblog.info/?q=node/4) to install subvision to FB3 I extract site-1.0.6.zip and I get two folder (features and plugins) and files in

[flexcoders] Numbers gone crazy: 5 - 4.8 = 0.2000000000000018 ?

2008-07-21 Thread b_alen
Here is how I arrived at this: var res:Number; var a:Number = 5; var b:Number = 4.8; res = a - b; trace(result: + res + , a: + a + , b: + b); The trace clearly shows that the value of a is 5, and the value of b is 4.8. However the end result is clearly shown as 0.2018. Ok, I

[flexcoders] Getting the selected text from HTML control

2008-11-03 Thread b_alen
Hi everybody, is there a way to get the selected text out of the HTML control? IF I select the text and right click on it I get a copy option. Is it possible to achieve the same by clicking on any button and copy the selection to clipboard? Cheers!

[flexcoders] AIR app uninstall issue - database stays in applicationStorageDirectory forever?

2008-12-05 Thread b_alen
Not sure if I'm doing something wrong, on the application launch I'm copying SQLite database from applicationDirectory to applicationStorageDirectory, in order to be able to read and write. Of course, I check if the database already exists there or not. var dbFile:File =

[flexcoders] Re: How to display special characters like #176; in ComboBox list

2008-12-05 Thread b_alen
This is an issue since the Flash was invented. Your best bet is to convert HTML entities to unicode characters. You can do that in the runtime right after you fetch the data from the server, or you can do it on the server. If you're doing it in Flex runtime make use of String.replace, and

[flexcoders] Which Unit Testing Framework to use?

2009-01-06 Thread b_alen
After a brief search on flex unit testing I found that FlexUnit is supposed to be the leader of the pack. Also, there is FlexMonkey that looks to be promising and it even uses FlexUnit. http://code.google.com/p/flexmonkey/ Are there any other frameworks worth considering and what is your

[flexcoders] Blank Screen issue with application preloaders

2009-04-23 Thread b_alen
I get a blank screen for more than 10 seconds for the app that's about 700k in size. Only then the preloader appears and starts from somewhere around 70%. In the Flash days, this was easily solved by having one small SWF with preloader that would load the main SWF in empty movie clip. Is