Re: [flexcoders] Several swf for an application

2010-06-04 Thread dorkie dork from dorktown
u can decompose your application into modules. then when u need those or the app needs them they are loaded on demand and have access to variables in your main app. although, i'd like to know how the proper way to load in a sub-application. for example, in my case i want the login screen to appea

[flexcoders] Several swf for an application

2010-06-04 Thread Christophe
Hello, How to decompose an application into several swf files with a common list of variables ? Thank you, Christophe,

Re: [flexcoders] Re: dispatchEvent import

2010-06-04 Thread Oleg Sivokon
OK... dispatchEvent is an undocumented global function... test case: var ns:Namespace = new Namespace(""); trace(ns::dispatchEvent); Another hack in AS3... well... I have couple of strong words about this, but these should be only spoken in private... crap :(

[flexcoders] excluding symbols from sub swf

2010-06-04 Thread mattgarland2000
In my main swf, I have a (CS4) library item with the class of Dog. It's just a movie clip with a picture of a dog inside it. In the sub swf, there is a also a dog on the stage. It's necessary that the item in the sub swf be in the library or components panel, because my designer likes dogs. He

Re: [flexcoders] Re: dispatchEvent import

2010-06-04 Thread Marco Catunda
Yes, this component is neither UIComponent nor extend EventDispatcher and I don't have to change it to extend EventDispatcher because every things works well. For me it's so strange!! I don't know why. On 04/06/2010, at 18:24, turbo_vb wrote: > Hey Steve, > > The component that Marco is ref

[flexcoders] Re: dispatchEvent import

2010-06-04 Thread turbo_vb
The example does compile and the binding works; even when you remove the injected dispatcher. Kind of stumped on why this works in a class that doesn't extend EventDispatcher. -TH --- In flexcoders@yahoogroups.com, Oleg Sivokon wrote: > > If it ever worked that may be because of the patched c

Re: [flexcoders] Re: dispatchEvent import

2010-06-04 Thread Oleg Sivokon
If it ever worked that may be because of the patched compiler / preprocessor, and so all dispatchEvent calls were translated to what is marked as [Dispatcher]. Maybe it does the same as [Bindable] on class, or maybe like HaXe "using" directive. Otherwise - just a confusing piece of code... Well, yo

[flexcoders] Re: dispatchEvent import

2010-06-04 Thread turbo_vb
Hey Steve, The component that Marco is referring to is not a UIComponent, so it doesn't have a dispatchEvent() method. He'll have to change thel class to extend EventDispatcher. -TH --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > The component itself has a dispatchEvent method. The t

RE: [flexcoders] Opinions Wanted : Best Performing AS3 Zip Library

2010-06-04 Thread Battershall, Jeff
Thanks Oleg, Using FP 10 is no problem, but I'm using CF on the server side - not sure how CF would decompress. Jeff From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Oleg Sivokon Sent: Friday, June 04, 2010 3:17 PM To: flexcoder

Re: [flexcoders] Opinions Wanted : Best Performing AS3 Zip Library

2010-06-04 Thread Oleg Sivokon
I think that it says on the nochump site that it is not the fastest. In fact, using BiteArray.compress() with deflate would be the fastest, but that's only if you can use FP10.

Re: [flexcoders] ListCollectionMap

2010-06-04 Thread Oleg Sivokon
Cool, really, thanks for sharing. Although I didn't like the idea of extending Proxy... I think the bug where the dataProvider is accessed in a dataProvider[i] way should've been fixed now... There are also couple of wrong assumption that ListCollection makes when treating data as Arrays, thus not

[flexcoders] Re: dispatchEvent import

2010-06-04 Thread valdhor
The component itself has a dispatchEvent method. The this keyword is implicit in the call. It could have been written as this.dispatchEvent. --- In flexcoders@yahoogroups.com, Marco Catunda wrote: > > Hi, > > I'm learning swiz framework and stumble upon this code > http://www.pastebin.org/3073

[flexcoders] Re: dispatchEvent import

2010-06-04 Thread turbo_vb
Hi Marco, That does look like a problem. The dispatchEvent() method is available for any UIComponent subclass or any class that extends EventDispatcher. So, if you're going to use [Bindable] properties in the presentation model, you would want to have the PM extend EventDispatcher: import flash.

[flexcoders] Re: Setting preferences on the browser in the release folder

2010-06-04 Thread valdhor
That is what the html-template directory is for. Modify the index.template.html file to how you want it. Flex Builder will use this file to build the index.html file. --- In flexcoders@yahoogroups.com, "Quintjer" wrote: > > Hello All, > I am trying to set up my browser in the bin-debug fo

[flexcoders] Re: Setting preferences on the browser in the release folder

2010-06-04 Thread Andrew
I don't know how to override the settings, but I'll tell you what I do to handle this. After I have compiled the release build for the first time, I do a save-as on the html file that was created. I save the copy as index.html, since that is what I typically use (it simplifies the url, as you pr

[flexcoders] Opinions Wanted : Best Performing AS3 Zip Library

2010-06-04 Thread Battershall, Jeff
Hello, I'm using the nochump zip library in an AIR project and it's working reasonably well but I wanted to see if anyone has a strong opinion as to what is the best performing AS3 Zip library out there. Jeff Battershall Application Architect Dow Jones Indexes jeff.battersh...@dowjones.com (609

[flexcoders] dispatchEvent import

2010-06-04 Thread Marco Catunda
Hi, I'm learning swiz framework and stumble upon this code http://www.pastebin.org/307313 at http://www.briankotek.com/blog/files/swiz_10_rc_example/srcview/index.html My question is how could flex compiler understand the 'dispatchEvent' method in line 41 and 65? I haven't seen any explicit imp

[flexcoders] ListCollectionMap

2010-06-04 Thread ilya_persky
Hi guys! I wanna share a thing I coded recently: it is a ListCollectionMap class, that adds "map" functionality to ListCollectionView "sort" and "filter". A lot of times I felt I was missing something like this, especially when using Mate framework where everything is controlled by flows of bin

[flexcoders] Setting preferences on the browser in the release folder

2010-06-04 Thread Quintjer
Hello All, I am trying to set up my browser in the bin-debug folder to scroll properly when I set a specific width and height to my swf file but Flex will overwrite it every time with defaults setting. I am then forced to export the swf file to Dreamweaver so that I can configure my HTML

[flexcoders] Using Flex with server that does authentication

2010-06-04 Thread Trent Brown
Hi all, I'm building a Flex client for a fully-authenticated server with a REST-like API. All communication with the server will be over SSL/TLS. All requests must be authenticated. What I've discovered, by Googling and by trying my own code, is that Flex makes things very, very difficult for such

[flexcoders] how to make flex app compiled using sdk 3.5 to be compatible with flex sdk 3.0?

2010-06-04 Thread sathish_mca_raja
how to make flex app compiled using sdk 3.5 to be compatible with flex sdk 3.0? Urgent!! Please reply.

Re: [flexcoders] Event before preinitialize

2010-06-04 Thread Anatole Tartakovsky
This is an old article of what you are trying to do : http://flexblog.faratasystems.com/2006/09/20/flex-developers-and-the-need-to-understand-flash There should be also article by Ted Patrick on the topic dated around the same time. Thank you Anatole On Fri, Jun 4, 2010 at 12:16 AM, Andriy Panas

[flexcoders] Re: spark Panel titleBar equivalent

2010-06-04 Thread bhaq1972
Thanks Alex --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > Use a Custom skin for the Panel > > > On 6/3/10 8:13 AM, "bhaq1972" wrote: > > > > > > > In flex 3 > I used do add buttons to MyPanel (extends mx.containers.Panel) titleBar. > > var button:Button = new Button(); > this

Re: [flexcoders] Modify Flex ComboBox DataProvider

2010-06-04 Thread Angelo Anolin
hi Alex, Prior to SDK 4, is there a build after 3.5? Thanks for this info. I can't seem to get the way out of this and it dawned on me now that it must have been a bug. Thank you. angelo From: Alex Harui To: "flexcoders@yahoogroups.com" Sent: Fri, 4 June,

[flexcoders] Re: Flex 4 layout documentation for spark ActionScript components

2010-06-04 Thread Florian
I created a ticket at adobe's jira: https://bugs.adobe.com/jira/browse/SDK-26621 Best regards --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > I may not be understanding your issue. I'm pretty sure our > SkinnableContainers delegate their assigned layouts to the contentGroup > becaus