RE: [flexcoders] Fastest filterfunction for large ArrayColeccions ?

2008-12-10 Thread Randy Martin
How large an array collection? I have an autocomplete (search-as-you-type) function working on an ArrayCollection of about 5000 records, and it's almost instantaneous. ~randy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cegarza2 Sent: Wednesday, December 10, 2008

[flexcoders] Re: Is there anything like EventListnerList in JAVA?

2008-12-10 Thread nathanleewei
To maintain a clear communication among all components / objects, especially for objects do not in the same event bubble path. +---+ | containerObject | | +-+ +-+ | | | objectA | | objectB | | | +-+ +-+ | +---

[flexcoders] Re: Creating multiple images and save

2008-12-10 Thread tdf0wler
Hi Allan- Are you asking once you've created the images with the rounded corners and drop shadows from the XML, that you essentially want to read the resultant image (i.e. sprite, including rounded corners and drop shadow) in as a bitmap and send that as a data stream to some service call? If so,

Re: [flexcoders] Best practice for calling asynchronous functions?

2008-12-10 Thread Mark Carter
Thanks for all the responses. I hadn't really looked into the ASyncToken until now. However, for me it seems that using the ASyncToken would be limited to the implementation of the, for example, save(XML, Function, Function) method. The calling code doesn't need to know about it. In my opinion t

Re: [flexcoders] Re: Flex training

2008-12-10 Thread Aaron Hardy
If you have solid experience in developing a variety of Flex applications, you should be able to pass with little studying. I recently took it and felt it was worth my time. For any company specifically looking for Flex developers, they should be aware of the certification. While it may not

[flexcoders] Unable to set up proxy for secure https in Blazeds

2008-12-10 Thread spinglittery
I am using Blazeds for the first time... trying to communicate with a secure api - and send a username and password over https, to receive xml response. But there seems to be a security sandbox violation between my flex app. and the Blaze/tomcat server I am using as my proxy on localhost:

[flexcoders] Bindable dictionary

2008-12-10 Thread Richard Rodseth
I noticed in the archives that Gordon kindly offered the class below. However, I believe the obvious limitation is that binding will fire for all keys each time that put() is called for one key. Has anyone developed a more sophisticated version in the interim, that is as efficient as separate pro

[flexcoders] Re: AIR 1.5 upgrade issue?

2008-12-10 Thread sunild999999
Hi, Not sure if this is your problem, but I recall reading something recently about changes to the HTMLLoader.loadString() method in AIR 1.5. I googled and found this blog post (which offers a solution): http://arunbluebrain.wordpress.com/2008/12/09/changes-to-htmlloaderloadstring-in- air-15/

[flexcoders] Creating multiple images and save

2008-12-10 Thread Allan Pichler
Hi all! I'm trying to create an little tool that initially loads an xml file containing the following: 15 0.7 5 0x00 0xff

[flexcoders] Re: Best Practices: ArrayCollection of custom objects?

2008-12-10 Thread burttram
Oh, just for clarification, item:CustomObject is actually item:DataType, which extends Object for the purpose I'm concerned with here.

[flexcoders] Best Practices: ArrayCollection of custom objects?

2008-12-10 Thread burttram
I have a class (DataType) that I've written that is intended to be used in an ArrayCollection of these objects (DataTypes). I would like to guarantee that this ArrayCollection can only be populated with objects of the DataType class. My initial thought was to extended the ArrayCollection class in

Re: [flexcoders] SpringGraph and ArrayCollection

2008-12-10 Thread shaun
timgerr wrote: > Has anyone used an arraycollection with a springgraph? > I played around with this just last week for an experiment.. private function init():void { var p:Plan = _plan; _graph = new Graph(); var item:Item = new Item(p.

RE: [flexcoders] Re: speed of the "for each" looping

2008-12-10 Thread Tracy Spratt
Yes. This thread has been about choosing between for loops, and speed, and readability have been discussed. Enumeration order is my primary deciding factor (when the option is available, which is not all that often) Tracy From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: speed of the "for each" looping

2008-12-10 Thread Gordon Smith
So don't use for..in or for each... in if you care about the enumeration order. It could very possibly change in future versions of the Flash Player. Gordon Smith Adobe Flex SDK From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Wednesday, December 10, 2008

[flexcoders] Slider predetermined values

2008-12-10 Thread flexaustin
Is it possible to set predefined values for the slider? Say based on the contents of an array or something else Example:? slidersPossiblValues:Array = [2, 3.5, 7, 10, 24]; snapInterval="{slidersPossiblValues}"

Re: [flexcoders] Re: Flex training

2008-12-10 Thread ivo
Would people recommend taking the Certification Exam from Adobe? >From what I hear and looking at the sample questions an experienced dev should >ace it without much trouble. I wonder if it is worth the expense and whether >its known enough that noting it on a resume carries weight. Thanks, -

RE: [flexcoders] Re: UIMovieClip shows nondeterministic behaviour

2008-12-10 Thread Alex Harui
Maybe you can test if getFocus() is contained within and move focus beforehand From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of florian.salihovic Sent: Wednesday, December 10, 2008 10:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: UIMovieClip shows nondeterm

RE: [flexcoders] Re: inner classes and static initialization

2008-12-10 Thread Alex Harui
I think there's Ecmascript history to the actual answer and I'm not enough of a language guy to offer the "official" answer, but basically, classes are initialized on-demand as they are used by the code. I think you ran into trouble in the setting of the const, not in the construction of the in

[flexcoders] Re: Flex training

2008-12-10 Thread Anthony DeBonis
If you have a group I would recommend an Adobe Training Class If 1-2 people a custom class/mentoring works great. Farata Systems is a good call in NYC Troy Web Consulting - Albany NY Certified Adobe Instructors + Mentoring This link can help you find a training partner http://partners.adobe.com/p

[flexcoders] Re: Flex training

2008-12-10 Thread valdhor
After going through formal training on Flex for a week earlier this year, I was underwhelmed. The course was taken directly from the book "Adobe Flex 3 Training from the Source". The one good thing was that every participant got a free book. I would recommend using some of the excellent free reso

[flexcoders] Re: inner classes and static initialization

2008-12-10 Thread cadisella
Thank you, that works. I'm guessing then that the inner classes are treated as globals in the same way that the static data members are, and initialzed after the static data members? It seems that all globals would be initialized before the class itself, as the class itself may (and in my case, d

Re: [flexcoders] Re: Flex training

2008-12-10 Thread Andrew Wetmore
Depending on where you are, New Toronto Group near, um, Toronto is quite good and also a certified training agency. www.newyyz.com. On Wed, Dec 10, 2008 at 2:25 PM, sdpbooks <[EMAIL PROTECTED]> wrote: > --- In flexcoders@yahoogroups.com , > "twcrone70" <[EMAIL PROTECTED]> wrote: > > > > We migh

[flexcoders] Re: Flex training

2008-12-10 Thread sdpbooks
--- In flexcoders@yahoogroups.com, "twcrone70" <[EMAIL PROTECTED]> wrote: > > We might be getting funding for Flex training early next year. What > are some good training vendors that will come on-site for Adobe Flex > training? > > Thanks > - Todd > Go with Farata Systems - practitioners plus A

Re: [flexcoders] Re: Listening for both Mouse Down and Double Click events.

2008-12-10 Thread Brendan Meutzner
Ahhh... I hear ya... AFAIK there's no way to "delay" an event from firing, so yeah write a Timer into your mouseDown, mouseUp, and click events to actually dispatch their meaning on that Timer's end event, and kill that Timer event listener if your doubleClick gets dispatched first... I remember h

Re: [flexcoders] problem with sample flex application with LCDS

2008-12-10 Thread Brendan Meutzner
The snippet of code you provde for data-management-config.xml... is that complete? I work with CF destinations rather than Java, and there is more information required for CF than I see in your example (ie. adaptor, channel, etc...). true com.company.

RE: [flexcoders] Date format in DataGrid?

2008-12-10 Thread Tracy Spratt
labelFunction() and DateFormatter. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Sent: Wednesday, December 10, 2008 1:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Date format in DataGrid? I display

RES: [flexcoders] Date format in DataGrid?

2008-12-10 Thread Luciano Manerich Junior
Using a labelFunction. It will receive the data in current line and the column, and must return a String. private function dateLabelFunction(obj:User, column:DataGridColumn):String { return obj.date.getYear + "-"; //... } -Mensagem original- De: flexcoders@yahoogroups.com [mail

[flexcoders] Date format in DataGrid?

2008-12-10 Thread markflex2007
I display data with DataGrid and dataProvider bind to a arraycollection (dataProvider="{acUsers}"), one column in the DataGrid is Date field. My question is how to change the Date display format in the DataGrid (like 2008-5-20). Thanks for help Mark

[flexcoders] Re: UIMovieClip shows nondeterministic behaviour

2008-12-10 Thread florian.salihovic
Hi Alex, yes indeed, the object gets removed but i don't know how to identify which component actually is the source of the problem. What gets removed is a composite of components, each skind with a UIMovieClip. Sometimes, when i want to remove it, the error occours. but it is the sometimes,

[flexcoders] Re: flex login popup help needed pleaseeeeeeeee

2008-12-10 Thread valdhor
Tom has it correct. You may have to take baby steps... Create your states and login window. Make sure you can switch states OK. Hard code the username and password and use these to check login from your login window. Get up to speed with RemoteObject and ColdFusion (Try the tutorial at http://tuto

[flexcoders] Re: SocetMonitor not working as expected

2008-12-10 Thread Geoffrey
Seems like this should be a no-brainer according to the docs and the examples I'm seeing online, but it just doesn't seem to work. I am running my client in a VM session(so I can easily enable/disable the network interface), but I don't think that is the issue since it does work if I don't spe

[flexcoders] SpringGraph and ArrayCollection

2008-12-10 Thread timgerr
Has anyone used an arraycollection with a springgraph? thanks for the help, timgerr

Re: [flexcoders] RE: services-config.xml: compc or just mxmlc?

2008-12-10 Thread Maciek Sakrejda
Seth, Thanks--this is really handy. But I think what I was asking is a little simpler: there are no modules (in the Flex sense of the word) here. I'm essentially just interested in building a main app and being able to extend it after-the-fact with an add-on that gets compiled into a single .swf a

[flexcoders] Flex training

2008-12-10 Thread twcrone70
We might be getting funding for Flex training early next year. What are some good training vendors that will come on-site for Adobe Flex training? Thanks - Todd

Re: RES: [flexcoders] Flex Builder caching PNGs

2008-12-10 Thread arieljake
I find that after making changes to an image in Fireworks, I need to right-click my assets folder and say Refresh. This seems to work because it causes a recompile. --- In flexcoders@yahoogroups.com, "Luciano Manerich Junior" <[EMAIL PROTECTED]> wrote: > > Clean & Build Project? > > _

RE: [flexcoders] Re: speed of the "for each" looping

2008-12-10 Thread Maciek Sakrejda
To clarify (since to some it might seem like Alex is all but admitting that Adobe couldn't code their way out of a wet paper bag), ArrayCollection.getItemIndex() is horribly inefficient *by design*. There are always trade-offs when designing data structures, and it's impossible to make a data struc

RE: [flexcoders] Re: speed of the "for each" looping

2008-12-10 Thread Alex Harui
No enumeration order of for..in is not guaranteed From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Wednesday, December 10, 2008 8:55 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: speed of the "for each" looping Is the enumeration order

RE: [flexcoders] Re: Cannot Tab to MovieClips from Flash SWF Loaded with SWFLoader

2008-12-10 Thread Alex Harui
No examples of your situation, but DataGrid uses keyFocusChange and my blog's DG editor with two editable fields post also shows how to grab keyFocusChange and basically shutdown Flex's focus handling so you can run your own. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf O

RE: [flexcoders] UIMovieClip shows nondeterministic behaviour

2008-12-10 Thread Alex Harui
The indication is that the object somehow got removed from the displaylist on the mouseDown. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of florian.salihovic Sent: Wednesday, December 10, 2008 4:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] UIMovieClip shows

RE: [flexcoders] inner classes and static initialization

2008-12-10 Thread Alex Harui
The definition doesn't exist at static initialization time so I think that's expected behavior. You'll see all of our code doing a null test then creating the instance inside of getInstance() From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cadisella Sent: Tuesday, Dece

RE: [flexcoders] lock first column in datagrid

2008-12-10 Thread Alex Harui
lockedColumnCount From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aphexyuri Sent: Tuesday, December 09, 2008 3:43 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] lock first column in datagrid Hi I'm building a datagrid with multiple columns, show and hide them a

RE: [flexcoders] Re: speed of the "for each" looping

2008-12-10 Thread Alex Harui
Keep in mind that getItemIndex is horribly inefficient. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cato Paus Sent: Wednesday, December 10, 2008 6:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: speed of the "for each" looping if you need to get the i

[flexcoders] Re: Flex nested tree get data from mysql and php

2008-12-10 Thread timgerr
So I took a few days to figure out how to create a parent child array using left, right keys and parent child relationship. You can use this code how ever you want. You have to have a table that holds left, right and parent information. parentString; $this->tempArry = array(); $

[flexcoders] Re: Listening for both Mouse Down and Double Click events.

2008-12-10 Thread flexaustin
Brendan, I have the the doubleclick enabled, but I have listener on my component (with property doubleclickenabled = true) that needs to listen for both MOUSE_DOWN & DOUBLE_CLICK. If DOUBLE_CLICK happens then I don't want Mouse_down to be handled. So I need my component to wait and see if the mo

Re: [flexcoders] Fastest filterfunction for large ArrayColeccions ?

2008-12-10 Thread Maciek Sakrejda
On the off chance that your filterFunction is anonymous, you could try de-anonymizing it (i.e., declare it as a private member function wherever makes the most sense), since anonymous functions have some overhead. Other than that, it's hard to say without seeing the function. -- Maciek Sakrejda Tr

[flexcoders] Re: [Bounce] Flex and Firefox 3.0.x performance

2008-12-10 Thread schneiderjim
Thought I'd try again to see whether anyone has experienced this and what they did to solve it. --- In flexcoders@yahoogroups.com, "schneiderjim" <[EMAIL PROTECTED]> wrote: > > Flex: 2 > Flash: 9 and 10 > > Has anyone experienced performance issues with a flex/flash app > running on Firefox 3.0.x

RE: [flexcoders] Re: flex login popup help needed pleaseeeeeeeee

2008-12-10 Thread Tracy Spratt
Yep, that about says it. Stinasius, how far have you gotten? What is not working? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Wednesday, December 10, 2008 8:01 AM To: flexcoders@yahoogroups.com Subject: Re: [flexc

RE: [flexcoders] Re: speed of the "for each" looping

2008-12-10 Thread Tracy Spratt
Is the enumeration order guaranteed to be the same for for-in and for each as an indexed loop? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cato Paus Sent: Wednesday, December 10, 2008 9:50 AM To: flexcoders@yahoogroups.com Subjec

Re: [flexcoders] Re: Parsley MVC :: some thoughts

2008-12-10 Thread Steve Mathews
The only way for a listener to not get called synchronously is if it is specifically setup to do that. For example in Flex you can call a method using callLater which will call it on the next frame. If you are not using Flex you can do the same thing by creating a timer with a duration of 1 and cal

[flexcoders] Re: Socket and Pop3

2008-12-10 Thread quantum_ohm
--- In flexcoders@yahoogroups.com, "Cato Paus" <[EMAIL PROTECTED]> wrote: > > http://blog.emmanuelbonnet.com/2007/02/08/connexion-pop-par-socket- > as3/ > > this one helped me more ! Thx Cato :-) > > --- In flexcoders@yahoogroups.com, "quantum_ohm" > wrote: > > > > Thx for responding, but t

[flexcoders] Re: Best practice for calling asynchronous functions?

2008-12-10 Thread Amy
--- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "Mark Carter" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, December 10, 2008 8:34 AM > Subject: [flexcoders] Best practice for calling asynchronous functions? > > > > > > In my

[flexcoders] Re: Parsley MVC :: some thoughts

2008-12-10 Thread Amy
--- In flexcoders@yahoogroups.com, "Jules Suggate" <[EMAIL PROTECTED]> wrote: > > > For several years before using flash I used a proprietary GUI OO tool that > > had a similar (though less sophisticated) event mechanism. In that system > > event dispatch did not actually take place until the co

[flexcoders] Re: Parsley MVC :: some thoughts

2008-12-10 Thread Amy
--- In flexcoders@yahoogroups.com, "Ralf Bokelberg" <[EMAIL PROTECTED]> wrote: > > Haha Amy, that's a good one. Maybe it should :) > > But seriously, dispatchEvent is nothing more than a function call, > which calls all the event handler methods. Of cause you can think of > pathologic examples li

[flexcoders] Re: speed of the "for each" looping

2008-12-10 Thread Cato Paus
if you need to get the i you can use the getItemIndex::ArrayCollection --- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "Josh McDonald" wrote: > > > > *nods* > > > > I find that it's often much easier to read when you use for..in and >

[flexcoders] Re: Still getting old swf

2008-12-10 Thread ross_w_henderson
Jitendra, You might have something buggy going on in your FlexBuilder (I'm assuming that's what you're building with), but I think your problem may be solved just by pressing Shift + Refresh in your browser. The HTTP-EQUIV tag might work, but it might not, depending on variables that I don't know

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

2008-12-10 Thread Alen Balja
Well, at least if we would be able to know that we're installing it and not just running it. Then I could at least hack that and clean old stuff before starting again fresh, this would also be acceptable for the client. So I guess there's no solution available unfortunately, apart from third party

[flexcoders] Re: Loading XML in preloader/ before application onComplete

2008-12-10 Thread valdhor
Scratch that - Didn't grok you were talking about the pre-loader. --- In flexcoders@yahoogroups.com, "valdhor" <[EMAIL PROTECTED]> wrote: > > Remove the ProgressBar. If there is an error, there is no progress to > speak of. > > > --- In flexcoders@yahoogroups.com, "ilikeflex" wrote: > > > > Hi

[flexcoders] Re: Loading XML in preloader/ before application onComplete

2008-12-10 Thread valdhor
Remove the ProgressBar. If there is an error, there is no progress to speak of. --- In flexcoders@yahoogroups.com, "ilikeflex" <[EMAIL PROTECTED]> wrote: > > Hi > > I tried the psuedo code and works fine but when there is error and > Alert is shown > > Alert.show("Security error " + error.erro

[flexcoders] Auto sizing columns in advanced datagrid

2008-12-10 Thread lorenzo.boaro
Hi all, I would have procedure that auto size columns width at the datagrid craetion based on cells or headers content. i appreciate any help regards lorenzo

[flexcoders] Applying metadata in the middle of mxml - is it possible?

2008-12-10 Thread per.olesen
Hi, Basically, I would like to apply some (of my own) metadata to a component instance inside the mxml. Like this: http://www.adobe.com/2006/mxml";> [MyMetadata] And then only have the [MyMetadata] applied to the foo button instance. Is this possible? Placing it there makes th

[flexcoders] Fastest filterfunction for large ArrayColeccions ?

2008-12-10 Thread cegarza2
Is there any way to speed a filterfunction for autocomplete component with a large ArrayColection? Thanks in advance Carlos G.

[flexcoders] Adobe AIR - Get/Set Desktop Background

2008-12-10 Thread HeRuZ
Is it possible to retrieve or change the desktop background from AIR ? I'm mainly concerned about achieving this for Windows. -- View this message in context: http://www.nabble.com/Adobe-AIR---Get-Set-Desktop-Background-tp20933083p20933083.html Sent from the FlexCoders mailing list archive at N

[flexcoders] Problem uploading BitmapData as PNG on PHP server.

2008-12-10 Thread robrandid
Here's my code... When this runs, test.png is created, but it has a small file size and is corrupt. Any help would be appreciated. public function saveImageToServer(event:Event):void { var bmp:BitmapData = getBitmapData();

[flexcoders] Removing White pixels and shadow from Bitmap Data

2008-12-10 Thread shardul bartwal
Currently i m working with the BitmapData Class.My requirement is to remove the white background of an image. I have done this will using the threshold() method.But the issue is related to the shadow inside the image.Can any body suggest me how to remove this shadow from any image. Thnx S

[flexcoders] Re: Tilelist image help

2008-12-10 Thread valdhor
The images look the same to me. Are you complaining about the scaling? If so, it probably has something to do with constraints based on your layout. What does the debugger say the actual size is? Can you post a small example showing the problem. --- In flexcoders@yahoogroups.com, "arulmurugan th

[flexcoders] lock first column in datagrid

2008-12-10 Thread aphexyuri
Hi I'm building a datagrid with multiple columns, show and hide them at runtime, and need to "lock" the first column from scrolling horizontally. Is this possible? I can't seem to find anything in the API.

[flexcoders] AIR 1.5 upgrade issue?

2008-12-10 Thread chi_boy_666
Hello, So, I recently updated my developer environment to AIR 1.5, and noticed some strange behavior in an application I had developed on AIR 1.0. I am retrieving HTML from a database, and displaying it to the user via an control. Before upgrading, I had no problem using stylsheet and javascrip

[flexcoders] inner classes and static initialization

2008-12-10 Thread cadisella
I'm having a strange problem with the use of an inner class and I wanted to see if anyone thought that this was a bug or the correct behavior. Here's my test that shows the problem: package { use namespace MyNamespace; public class InternalClassTest { public static const

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

2008-12-10 Thread valdhor
If AIR won't do it and there are time constraints you may like to look into a full installer product like InstallAnywhere (http://www.acresso.com/products/ia/installanywhere-overview.htm) or InstallShield (http://www.acresso.com/products/is/installshield-overview.htm). --- In flexcoders@yahoogro

Re: [flexcoders] Best language for remoting

2008-12-10 Thread Jules Suggate
Stay away from WCF and webservices unless you want the pain of arguing with MS geeks about why they can't use SOAP 1.2.. On Tue, Dec 9, 2008 at 12:01, Sceneshift <[EMAIL PROTECTED]> wrote: > > Hey guys, > > When building larger applications with bigger database interactions, which > is conside

[flexcoders] Re: speed of the "for each" looping

2008-12-10 Thread Amy
--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > *nods* > > I find that it's often much easier to read when you use for..in and for > each..in rather than regular for. And since you need to have a "var current > = list[i]" or similar as the first line, If you onl

[flexcoders] Re: Anything other than a JS alert can delay a window close?

2008-12-10 Thread valdhor
Another idea... How about setting up a timer in Flex to poll the server. If the server does not receive the poll in a certain amount of time then the client has disconnected and you can write the data to the database. It may work even better with BlazeDS (I don't know this - I'm kinda hoping it w

[flexcoders] Catch Undefined state Error (ArgumentError)

2008-12-10 Thread Luciano Manerich Junior
Hi all, imagine the following scenario (isnt my case, but works): User input a string and press a button. Apps change the current state to the that string. That state doesnt exists :( So, checking the UIComponent.as, the ArgumentError its throw on the getState, not on setState. This method is

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

2008-12-10 Thread Gregor Kiddie
Well... Keeping with the theme of un-installers not cleaning up after themselves, and leaving out ugly hacks... How about an explicit "clean up" option in the application to delete all that stuff that the users can use before uninstalling IF they don't want it next time... Gk. Gregor K

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

2008-12-10 Thread Tom Chiverton
On Wednesday 10 Dec 2008, Alen Balja wrote: > away with it. Well, I guess I could tell them that Adobe knows better than > them, and they did this for a reason, but I doubt they'd buy that. You'd think Adobe could manage an opt-in system for apps, where you set a flag in the descriptor, and then

Re: [flexcoders] Create Flex Ajax Bridge menu option - Crashes FlexBuilder

2008-12-10 Thread Tom Chiverton
On Friday 05 Dec 2008, polestar11 wrote: > So often I have accidentally clicked the 'Create Ajax Bridge' menu > option which is located just above the SVN 'Team' menu option. > I then click cancel and ... wallah ... Flex Builder has crashed. Builder standalone or plugin ? -- Tom Chiverton Helpin

Re: [flexcoders] Re: flex login popup help needed pleaseeeeeeeee

2008-12-10 Thread Tom Chiverton
On Wednesday 10 Dec 2008, stinasius wrote: > guys am sorry for sounding so naive but i have still failed to make > successful the child in the view stack should change to admin view. > can someone please and i say please help me with this proble? Assuming you've got up to speed with remoting from

Re: [flexcoders] Best language for remoting

2008-12-10 Thread Tom Chiverton
On Tuesday 09 Dec 2008, Fotis Chatzinikos wrote: > Google for BlazeDZ, opensource and free a good replacement over lcds... The next version of the free ColdFusion engine Railo (due next month) will have Blaze intergrated, same as the pay-for Adobe one. -- Tom Chiverton Helping to interactively

[flexcoders] Re: Socket and Pop3

2008-12-10 Thread Cato Paus
http://blog.emmanuelbonnet.com/2007/02/08/connexion-pop-par-socket- as3/ --- In flexcoders@yahoogroups.com, "quantum_ohm" <[EMAIL PROTECTED]> wrote: > > Thx for responding, but this info is about SMTP, not POP3. > (I just want to retrieve mails) > After lookin' at the code I found nothing whic

[flexcoders] Re: Socket and Pop3

2008-12-10 Thread quantum_ohm
Thx for responding, but this info is about SMTP, not POP3. (I just want to retrieve mails) After lookin' at the code I found nothing which could solve my problem... :-( --- In flexcoders@yahoogroups.com, "Cato Paus" <[EMAIL PROTECTED]> wrote: > > http://www.bytearray.org/?p=27 > > > > > --- I

Re: [flexcoders] How to wite a javascript that calls to ActionScript

2008-12-10 Thread Fidel Viegas
On Tue, Dec 9, 2008 at 6:14 PM, wkolcz <[EMAIL PROTECTED]> wrote: > Sorry about that. Its not really my fault. Its the flexcoder list system. > Actually I emailed one at 5pm yesterdays, waited for it to show up but it > didnt. > So I sent another one about 8:30 pm, it didn't show up either. > Then

[flexcoders] UIMovieClip shows nondeterministic behaviour

2008-12-10 Thread florian.salihovic
I have a pretty big application. The app uses various in Flash created components. Everything works fine untill some certain point, which varies from test to test. At some point, my app crashes with a typeerror: TypeError: Error #1009: Cannot access a property or method of a null object refere

[flexcoders] Re: drawing image from jpeg-encoded byte array

2008-12-10 Thread Robin Burrer
As usual - after asking the list I found the solution myself :-) The Loader class + the loadBytes method. Cheers Robin On 10/12/2008, at 12:22 PM, Robin Burrer wrote: Hi there, This must be really simple but I just can't find the solution... How do I decode a jpeg-encoded byte array s

[flexcoders] drawing image from jpeg-encoded byte array

2008-12-10 Thread Robin Burrer
Hi there, This must be really simple but I just can't find the solution... How do I decode a jpeg-encoded byte array so that I can draw/display an image from it? The set pixels method obviously only works for raw image byte arrays. private function doEncodingAndDecoding():

RE: [flexcoders] SWF Security - how to prevent browsers - FireFox / IE cache swf file

2008-12-10 Thread Kenneth Sutherland
You should view the following from flex 360 conference on adobe media player. http://www.adobe.com/products/mediaplayer/ - get media player from here Feed URL is http://sessions.onflex.org/1733261879.xml presentation is called Encrypting flex & protecting revenue by Andrew Westberg.

Re: [flexcoders] SWF Security - how to prevent browsers - FireFox / IE cache swf file

2008-12-10 Thread jitendra jain
add this line in index.template.html    Thanks, with Regards, Jitendra Jain From: kuntamayu <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Wednesday, 10 December, 2008 2:53:59 PM Subject: [flexcoders] SWF Security - how to prevent browsers - FireFox

[flexcoders] Still getting old swf

2008-12-10 Thread jitendra jain
Hi folks,   I'm getting the old swf everytime iam cleaning the code and building. I think my browser is caching the swf?   Does this line in html will help?   Is it safe to add this line or do it will affect my performance of flex as nothing is cached. Let me know your views.  Thanks, with R

Re: [flexcoders] Best practice for calling asynchronous functions?

2008-12-10 Thread Marco Catunda
Mark, I've used to the same approach you describe but I didn't implemet failureFunc. This facade, in my case, detect a failure and display a message error. This approach take an advantage that you don't take care any more for failures and it will always be treat in the same way. This is a example

Re: [flexcoders] speed of the "for each" looping

2008-12-10 Thread Jules Suggate
Sorry, couldn't resist commenting on the term cognitive cruft! I love it! :)) On Wed, Dec 10, 2008 at 12:37, Maciek Sakrejda <[EMAIL PROTECTED]> wrote: > Interesting. I decided to actually try my test above, and on 100 > items, the for-each version takes ~50 milliseconds, versus ~25 > millisec

[flexcoders] Re: Socket and Pop3

2008-12-10 Thread Cato Paus
http://www.bytearray.org/?p=27 --- In flexcoders@yahoogroups.com, "quantum_ohm" <[EMAIL PROTECTED]> wrote: > > Hi All ! > > I'm building a POP3 mail client in AIR, and can't figure out how to > dispatch events (or where ) to send all the commands one after each > other in a unique same shot.

Re: [flexcoders] Re: Parsley MVC :: some thoughts

2008-12-10 Thread Jules Suggate
Sorry, I mean "With /synchronous event dispatch/, triggering an event 100 times will mean the listeners get invoked 100 times, even if the last invokation completely overwrites the work of the previous 99." On Wed, Dec 10, 2008 at 23:31, Jules Suggate <[EMAIL PROTECTED]> wrote: >> For several year

Re: [flexcoders] Re: Parsley MVC :: some thoughts

2008-12-10 Thread Jules Suggate
> For several years before using flash I used a proprietary GUI OO tool that > had a similar (though less sophisticated) event mechanism. In that system > event dispatch did not actually take place until the code block had > completed - only then would handlers be invoked. This was particularly > i

Re: [flexcoders] Is there anything like EventListnerList in JAVA?

2008-12-10 Thread Fotis Chatzinikos
What are you trying to do? Why do you need it? Give some more info... Java has event listeners on its GUI staff but you are not using it if you are using flex for the front end... On Wed, Dec 10, 2008 at 11:09 AM, nathanleewei <[EMAIL PROTECTED]>wrote: > Is there anything like EventListnerList

[flexcoders] Re: flex login popup help needed pleaseeeeeeeee

2008-12-10 Thread stinasius
guys am sorry for sounding so naive but i have still failed to make this work. i have a popup login that is called by clicking on a signin button on the main application and i would like that someone be a registered user to be able to login so his/her login details must match what is in the databas

Re: [flexcoders] Re: Parsley MVC :: some thoughts

2008-12-10 Thread Jules Suggate
Funny, I have a very similar example at my end that I wrote just now to prove to myself what was happening. I should have checked my email first ;-) On Wed, Dec 10, 2008 at 16:22, Paul Andrews <[EMAIL PROTECTED]> wrote: > Here is a trivial example using dispatchEvent to show the synchronous > invo

[flexcoders] Re: Socket and Pop3

2008-12-10 Thread quantum_ohm
Socket, ByteArray, Nobody ? --- In flexcoders@yahoogroups.com, "quantum_ohm" <[EMAIL PROTECTED]> wrote: > > Hi All ! > > I'm building a POP3 mail client in AIR, and can't figure out how to > dispatch events (or where ) to send all the commands one after each > other in a unique same shot. > >

[flexcoders] SWF Security - how to prevent browsers - FireFox / IE cache swf file

2008-12-10 Thread kuntamayu
Folks, How can restrict Firefox and other browsers to stop caching flex swf file. Because once swf file is cashed at client side, it can be easily be decompiled. I have seen some decompilers are, now, available to decompile AS3 - Flash Player 9 swf files. ~ MayKun

Re: [flexcoders] Re: Parsley MVC :: some thoughts

2008-12-10 Thread Paul Andrews
- Original Message - From: "Ralf Bokelberg" <[EMAIL PROTECTED]> To: Sent: Wednesday, December 10, 2008 7:50 AM Subject: Re: [flexcoders] Re: Parsley MVC :: some thoughts > Haha Amy, that's a good one. Maybe it should :) > > But seriously, dispatchEvent is nothing more than a function ca

[flexcoders] Re: Cannot Tab to MovieClips from Flash SWF Loaded with SWFLoader

2008-12-10 Thread aut0poietic
My designers build the content, but it's rapid dev by non-technicals. I can do limited content prep, if I can automate it for them. I'll look into using implementing a SWFLoader that implements IFocusManagerComponent. Difficulty isn't that big of a concern -- it's either make this work or dump a

[flexcoders] Is there anything like EventListnerList in JAVA?

2008-12-10 Thread nathanleewei
Is there anything like EventListnerList in JAVA?

  1   2   >