Re: [flexcoders] Re: Simpler than Flex??????

2006-03-08 Thread Joe Berkovitz
I think the best thing about the site has to be the company slogan: Life within the lifelessness... is what we Inculcate. After that, what is there to add? ... . .. .j pauland2513 wrote: --- In flexcoders@yahoogroups.com, flash6designeronline [EMAIL PROTECTED] wrote:

Re: [flexcoders] FastMxmlc

2006-03-07 Thread Joe Berkovitz
The pre-parsed information that makes Fastmxmlc fast is only generated by mxmlc. At least in 1.5, compc does not cache this information, so there's no similar way to speed it up. ... . .. .j Clint Modien wrote:

Re: [flexcoders] Re: RIA Certified Developer/Architect

2006-02-28 Thread Joe Berkovitz
I am sure that there are many viewpoints on this subject, and I won't presume to have the right one. However, I have been in the business for over 20 years, so I can at least claim to have seen a lot, even if I'm wrong in my conclusions :) I have a couple of things to share -- both my own

Re: [flexcoders] Actionscript-based Applications with Flex 2

2006-02-18 Thread Joe Berkovitz
Something like a direct-manipulation nodes-and-arcs editor such as you describe should be totally doable within Flex. You don't really need Flash (the tool) to combine programmatic animation and drawing with Flex components, because the Flex APIs are a superset of those that you will

Re: [flexcoders] LinkBar questions - Flex 1.5

2006-02-16 Thread Joe Berkovitz
The problem is the 100% specifications on everything. Something has to limit the HBox's width to the ViewStack's width, otherwise the whole Application will grow to a size that contains everything without scrolling. Try this: mx:HBox width={vs.width} hScrollPolicy=auto ... . .. .

[flexcoders] Flex Positions at Allurent

2006-02-14 Thread Joe Berkovitz
, we're having a great time doing it. For details, please look at our career postings reachable from http://www.allurent.com via the 'Careers' link. Interested parties should contact [EMAIL PROTECTED]; please do not respond directly to this email or to this list. Cheers, Joe Berkovitz Chief

Re: [flexcoders] embed a movieclip

2006-02-10 Thread Joe Berkovitz
Roger, I just want to point out again that LocalConnection doesn't quite cut it, because it means you have to pass some sort of unique connection ID into an FP8 movie in order to distinguish it from other loaded instances of the same movie. The only sanctioned way to do this is via a URL

Re: [flexcoders] embed a movieclip

2006-02-10 Thread Joe Berkovitz
-Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joe Berkovitz Sent: Friday, February 10, 2006 7:23 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] embed a movieclip Roger, I just want to point out again that LocalConnection doesn't quite cut

Re: [flexcoders] embed a movieclip

2006-02-09 Thread Joe Berkovitz
I have to say, I think you have all missed my point. OK, we've found something clever and we're pleased that it works. That is not the end of the story. Don't just go away and assume that this is going to keep working, because it is totally undocumented and unsupported. If you want it, then

Re: [flexcoders] embed a movieclip

2006-02-08 Thread Joe Berkovitz
Oh, and... No communication techniques work for embedded clips, they only work for loaded external clips. Embedded clips can't contain any AS code whatsoever. ... . .. .j Joe Berkovitz wrote: I played with this approach quite a lot a few months back, before giving

[flexcoders] Java to AS conversion with XDoclet2 now available

2005-12-14 Thread Joe Berkovitz
(just plain hard work, actually) of open source. ... . .. .j Joe Berkovitz wrote: I recently reviewed the group and saw a thread on automating POJO conversion from Java to AS. I've just developed an XDoclet2 plugin that does this and will make it available shortly

[flexcoders] Java Pojo to AS pojo conversion with xdoclet2

2005-11-29 Thread Joe Berkovitz
I recently reviewed the group and saw a thread on automating POJO conversion from Java to AS. I've just developed an XDoclet2 plugin that does this and will make it available shortly after it gets some testing. It also converts static final fields from Java into static vars in AS, and works

Re: [flexcoders] How to create copy of a object

2005-06-22 Thread Joe Berkovitz
A couple of big caveats here. 1. mx.utils.ObjectCopy is broken. (At least, in the Flex 1.5 distribution.) It does not correctly preserve the class of an object when that class is a subclass of some superclass. Instead, the copied object will appear to have the type of the superclass. I

Re: [flexcoders] run Flex apps fullscreen

2005-06-14 Thread Joe Berkovitz
I don't have the answer, but I would very much expect that this is doable purely by employing DHTML and JavaScript in the enclosing web page, without involving Flex in any way. As such, you may have more luck searching resources that have to do with DHTML and scripting, rather than Flex. ...

Re: [flexcoders] Re: CF7, CFCs as Remote Objects, and AMF

2005-05-31 Thread Joe Berkovitz
Unfortunately, bindings have the capability of making properties seem to disappear from the standpoint of serialization. This happens because when a binding is applied to an value object, the bindings system invisibly replaces the var property with a getter/setter pair, and moves the actual

Re: [flexcoders] Re: Converting Java POJO to Actionscript Errors

2005-05-27 Thread Joe Berkovitz
Kevin, here's one other thing to try if Peter's advice isn't relevant: Often, an AS class that is mapped from a POJO will not be referenced anywhere in the application code, since it only arrives in the application as a result of being deserialized. What happens in this case is that the MXMLC

Re: [flexcoders] Compiling Flex files with Ant and mxmlc.jar

2005-05-25 Thread Joe Berkovitz
Here's a working Ant script(this is run in an exploded web application dir, but that's easy to change): java jar=${flex.mxmlc.jar} dir=${app.dir} fork=true arg line=-flexlib ${flex.dist.lib} -configuration WEB-INF/flex/flex-config.xml -webroot . -o index.mxml.swf index.mxml/

Re: [flexcoders] Compiling Flex files with Ant and mxmlc.jar

2005-05-25 Thread Joe Berkovitz
Brett, here are some answers that I hope will be helpful. 2. With the fork option set to true can I still use relative paths or do I need to use full paths? You can use relative paths. Relative paths in arguments to the java program will be relative to the dir attribute of the java task,

[flexcoders] deserialization bug: constructor runs AFTER properties are populated

2005-05-20 Thread Joe Berkovitz
I just found to my surprise and chagrin that when a typed AMF object is deserialized on the client, the constructor for the object is run *after* the object's properties have been populated from the input stream. So if one innocently thinks that a constructor ought to be able to initialize

[flexcoders] deserializing Maps with AMF (RemoteObject)

2005-05-20 Thread Joe Berkovitz
I can't for the life of me seem to pass a java.util.Map back from a RemoteObject call. The data comes back as an empty array object ([]) rather than as an untyped object. Anyone encountered this problem? I have tried return-typing the method as HashMap and Object as well, no dice in any

Re: [flexcoders] deserialization bug: constructor runs AFTER properties are populated

2005-05-20 Thread Joe Berkovitz
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joe Berkovitz Sent: Friday, May 20, 2005 1:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] deserialization bug: constructor runs AFTER properties are populated I just found to my surprise and chagrin that when a typed AMF

Re: [flexcoders] deserializing Maps with AMF (RemoteObject)

2005-05-20 Thread Joe Berkovitz
the requirements for AMF / AS2 types. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joe Berkovitz Sent: Friday, May 20, 2005 1:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] deserializing Maps with AMF (RemoteObject) I can't

Re: [flexcoders] crimson.jar flex runtime

2005-05-05 Thread Joe Berkovitz
I will say (possibly irrelevantly) that I have seen xerces-based applications fail in the past when crimson.jar was placed in the CLASSPATH. I don't think they play nice together. [EMAIL PROTECTED] wrote: Hi Peter, I checked the web.xml and the AMFGatewayServlet is loaded by a

Re: [flexcoders] dispatchEvent in AS class?

2005-05-03 Thread Joe Berkovitz
BTW, any reason not to simply extend EventDispatcher itself, if this class does not already extend some other superclass? JesterXL wrote: Nope, after my 2nd cup of coffee I understand, didn't know it was a Singleton, doh! :: hits self on head :: - Original Message - From: Erik

Re: [flexcoders] API/Programmatic interface to MXMLC?

2005-05-02 Thread Joe Berkovitz
Well, you can always run MXMLC itself, because it's a Java program. The mxmlc command is roughly equivalent to java -jar ${FLEX_HOME}/lib/mxmlc.jar [args]. I note that running MXMLC is not exactly the same as the MXML generation, because you have to pass in some args that pertain to the

Re: [flexcoders] Tips on Custom component

2005-04-29 Thread Joe Berkovitz
Erik, Unfortunately I'm not at liberty to share our source code, but I've created a component that is very similar to what you want. I can describe the overall approach since we're not in the business of building component libraries, so no state secrets here. But no code, sorry. It did take

[Fwd: Re: [flexcoders] Tips on Custom component]

2005-04-29 Thread Joe Berkovitz
Erik, one more thing: I guess I should have mentioned that what I consider the hard part here is creating the kind of animation effects that are shown in the SWF that you posted. If all you want is to just have the appropriate components appearing and disappearing in a VBox with no animation

Re: [flexcoders] Re: Positioning from a label in a Button

2005-04-28 Thread Joe Berkovitz
Unfortunately it seems that it really *is* that hard. Someone at Macromedia should take note of the fact that the button label placement appears to be hardcoded into the border metrics of ButtonSkin. We wound up having to create a custom theme with its own ButtonSkin subclass just to override

Re: [flexcoders] Apply affects before and after databinding occurs in TileList

2005-04-21 Thread Joe Berkovitz
(i.e within the handler for childDestroyed, I want the effect to start and finish, before the child gets destroyed). Any ideas would be appreciated. Thanks, - superabe - Original Message - From: Joe Berkovitz [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday

Re: [flexcoders] Re: setting conditional enabled with AS

2005-04-19 Thread Joe Berkovitz
Joao, The trouble here is that you are only evaluating the condition once, when you create the button. You will need to add a listener to the dataProvider(s) that causes the condition to be reevaluated every time the data changes. As in: btn =

Re: [flexcoders] Re: Adobe aquires Macromedia

2005-04-18 Thread Joe Berkovitz
One thing I see a lot of this morning is postings which roughly take this position: Uh oh, this acquisition may mean that Flex (doesn't have | has more of | has less of) a future. I guess I'd like to remind all of us developers (including myself) that Flex's future, while extremely promising,

[flexcoders] Flex Development Position at Allurent

2005-04-18 Thread Joe Berkovitz
Allurent has an opening for a UI developer! Our job posting follows. Please send your resume directly to Lucy Chung ([EMAIL PROTECTED]). = Stealth-mode startup seeks UI developer to join us as a core team member in creating

Re: [flexcoders] HSlider for FLASH MX 2004?

2005-04-11 Thread Joe Berkovitz
Matt Chotin wrote: Before anyone gets all high and mighty on how we should be including source always Ill just say were investigating options for doing so in the next release. Gosh darn... I was *so* looking forward to getting all high and mighty... Oh, well, there's always a next time.

Re: [flexcoders] Changing the 'Initializing...' text on the preloader?

2005-04-08 Thread Joe Berkovitz
Well, who would be so unkind as to delay your exit to the pub (which by my clock may have already occurred)? Try creating a custom preloader progress bar as per the using a custom progress bar section in Developing Flex Applications. Have this be a Canvas subclass that delegates all of its

Re: [flexcoders] Image caching

2005-03-25 Thread Joe Berkovitz
I would also like to see some response from MM on this subject (I have asked support, but no response yet). Basically, it would be really helpful to understand how to minimize overhead for repeatedly loading a movieclip from an external URL, because even if the URL's response bytes are cached

Re: [flexcoders] Cyclical References

2005-03-25 Thread Joe Berkovitz
Eric, I recently ran into a compiler bug (confirmed as such by MM) that is very reminiscent of the problem you mention, in that the compiler breaks in a full compile, but works in an incremental compile. (In my case, the breakage consisted of emitting faulty property-binding code, rather

Re: [flexcoders] Attaching Custom Component

2005-03-24 Thread Joe Berkovitz
Jack Waknitz wrote: I'm trying to make a app that will look through an xml file and decide what components to use for each item based on some meta data. So I'm thinking about puting the createChild tag within the function based on if statements to choose between a few different compontents

Re: [flexcoders] Mxml compiler for Unix/Linux

2005-03-22 Thread Joe Berkovitz
I don't know about you, but my Flex 1.5 distribution came with Unix shell scripts for mxmlc, compc and fdb. All they do is basically run a JVM against the appropriate .jar file in {FLEX_HOME}/lib, so I am sure you can run the compiler, debugger, etc. on every platform that runs a JVM. Valy

Re: [flexcoders] creationPolicy vs load/unload?

2005-03-21 Thread Joe Berkovitz
In your question, performance hit could refer network performance (i.e. latency to load the code/data for the views over the net) as well as component initialization performance (latency to actually initialize the components in the views). So the answer probably depends on: - the expected

Re: [flexcoders] Re: Flow Control in Flex

2005-03-18 Thread Joe Berkovitz
Harris, I haven't used Flash screens/forms, but I am sure there is a good way to do this in Flex, based on experience with other UI frameworks in which I have implemented wizard-type components with access to little more than things like ViewStack, etc. I would think about embedding a

Re: [flexcoders] Submit an editable grid

2005-03-14 Thread Joe Berkovitz
The only time I've ever seen that happen is when there is something broken about the Java/AS mappings. There are several simple JavaBean gotchas that can bite you here: - forgetting to put in a public no-arg constructor - forgetting to have public setter methods for properties - trivial

Re: [flexcoders] Re: One more time : Some guidance on debugging Cairngorm apps. would be apprecia

2005-03-08 Thread Joe Berkovitz
FlexBuilder has a Debug command or tab. When using FlexBuilder to debug (rarely, since I usually use fdb), I have always viewed the application by using FlexBuilder's Debug command. I don't know if FlexBuilder can debug an app that's been run by entering a debugging URL by hand in a browser.

Programmatic skin limitation

2005-03-08 Thread Joe Berkovitz
I'm encountering a weird problem with programmatic skinning. If I take the SampleRectBorder shipped by MM as is, it works fine. If I change the package name of the class from sampletheme. to com.allurent.theme., however, the skin stops working and the default RectBorder takes over. compc does

Design point: View Helpers vs. data binding

2005-03-07 Thread Joe Berkovitz
a switch. Perhaps I've missed some discussion points that have already flown by in the group, or have some basic misunderstanding; please excuse me if that's the case! . . . . ...j Joe Berkovitz Allurent, Inc 30 Brattle St. Cambridge, MA 02138

Re: [flexcoders] Re: random flexcoders notes

2005-03-07 Thread Joe Berkovitz
It is true that this list is independent of Macromedia, but I think Eric was speaking to the fact that Macromedia in effect tacitly encourages the use of FlexCoders as an alternative to their own support forum, by the strength of their participation (and long may it continue!). I don't think

Re: [flexcoders] Equivalent to Thread.sleep()

2005-03-07 Thread Joe Berkovitz
You can do everything that you want to do in Flex. But due to the threadless execution model, you will need to arrange for the response from each server side operation to trigger the next thing via a result event handler, whatever that next thing is. Typically this involves breaking the