[flexcoders] Changing the properties of a Drag Proxy

2005-12-28 Thread Eric Raymond
Is there a way to change the properties of the dragProxy in response to a drag event? For example can you change the size or scale of the proxy if you drag it over certain targets? Yahoo! Groups Sponsor ~--> Most low income homes are not online.

[flexcoders] Re: How to handle manipulation of Date object and Timezones elegantly in Flex?

2005-12-28 Thread Kam-Wing Pang
Hi Jim, Your problem appears to be half the problem that I am having. In your case, the client requests (for record insertion of a date) that is sent back to the server means that the server tries to translate the time into it's local timezone. Our problem inlcudes the above, plus any date objec

Re: [flexcoders] Re: Max width and height for the Loader??

2005-12-28 Thread JesterXL
Ideas off the top of my head: - use an image library server-side to crop the image to a series. So, 1 2880x2880 image becomes 4 1440x1440 images. You can then put 4 Image tags in a Tile tag to align them nicely. - scale the image to whatever aspect ratio matches 2880x2880 and deal with the lim

[flexcoders] Is there a way to find out the instance name of an anonymous object?

2005-12-28 Thread Libby
I have reading the doco for AS2lib / reflection and have found how I can get the class name. With the class name I can create a new Instance. I would like to get the instance name of the original object so that I can assign it to the new instance. Something like this: // this is pseudocode var s =

Re: [flexcoders] How do I generate useful CFC Errors?

2005-12-28 Thread Mohanraj Jayaraman
Most of my functions in the CFC return's an object (Struct) that has both the 'code' and 'message' apart from the other details you need. Here's an example your query

RE: [flexcoders] How do I generate useful CFC Errors?

2005-12-28 Thread Ben Forta
During development? Start CF from the command line and you should see the CFML error messages in the console window when they occur.   --- Ben   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Greg JohnsonSent: Wednesday, December 28, 2005 3:15 PMTo: flexcoders@

[flexcoders] How do I generate useful CFC Errors?

2005-12-28 Thread Greg Johnson
Right now, when something goes caput in a cfc I get back a realitivly meaningless set of information in Flex vs and CFML doc calling the same CFC and getting an error. Yahoo! Groups Sponsor ~--> 1.2 million kids a year are victims of human traffi

RE: [flexcoders] Nested faceless components. keeping IDs and DataBinding

2005-12-28 Thread Matt Chotin
Did you declare [Event("talk")] on the Person class, that should cause the event handler to work. But if you're getting an exception that's a bug which you should file. The id stuff is in Flex 2 so it should make your FSM easier to implement. Matt -Original Message- From: flexcoders@yah

[flexcoders] Re: [Flex 2.0] XMLEncoder

2005-12-28 Thread alpharythms
Direct binding and dataprovider support for XML and XMLList would be ideal! With E4X that would incredibly awesome! Thanks for the update and explanations. It is greatly appreciated! -Adam --- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote: > > The XMLEncoder class

RE: [flexcoders] I need help information of command line compile at Flex2.0

2005-12-28 Thread Matt Chotin
Mxmlc is only meant to compile one application at a time I think. So just specify the application mxml file and you should be good to go. Mxmlc will find all the dependent files as long as the classpath is set up, etc. The docs should have more details. Matt -Original Message- From: fl

Re: [flexcoders] Having hard time understanding what features are available to whom when and how

2005-12-28 Thread JesterXL
OpenAMF is one ornery )($*%.  I don't mind things being strict, but without helpful error messages, it's hard to get right.  I agree with Darron, though, once you get OpenAMF working, it's pretty good in terms of performance.  Getting ValueObjects to match was always a battle with me & the

Re: [flexcoders] Having hard time understanding what features are available to whom when and how

2005-12-28 Thread Bruce Cichowlas
That's very informative.  I'll be trying it soon.I did install Tomcat and Flex 1.5 in the way that you suggested and confirmed that it was running properly with the samples.  I've also looked through some of the 1.5 examples and found it encouraging.  I have part of my app that I initially buil

[flexcoders] Question about web.xml file

2005-12-28 Thread nostra72
 have come to the conclusion that in order to make my site secure I need to do some work with the web.xml file. Work meaning editing it or changing it around. What I am confused about is this. In my web.xml file the url pattern is  /amfgateway/*  I am not able to find a folder named amfgateway s

Re: [flexcoders] Nested faceless components. keeping IDs and DataBinding

2005-12-28 Thread Aldo Bucchi
Matt, Unless I have a bug in my compiler(s), I believe I cannot place inline events in a nested faceless component ( the stack trace is attached at the end of the mail ) and since I cannod declare an ID on it either, the only way to bind is b

Re: [flexcoders] Making Form in flex export as swf

2005-12-28 Thread JesterXL
Point your browser to: http://yourflexserver.com/yourapp.mxml.swf Appending the .swf will give you the SWF only. - Original Message - From: "pioplacz" <[EMAIL PROTECTED]> To: Sent: Wednesday, December 28, 2005 12:35 PM Subject: [flexcoders] Making Form in flex export as swf Stupid qu

[flexcoders] Gordon Smith owes me $10 (i.e. setChildIndex)

2005-12-28 Thread JesterXL
In mx.core.View, setChildIndex generates a childIndexChanged event. However, 2 children are affected by the index changing; the child that is moved, and the child that is displaced. I haven't tested this in Flex 2 yet, but in Flex 1.5, the event should either be changed, or 2 events should be

[flexcoders] Making Form in flex export as swf

2005-12-28 Thread pioplacz
Stupid question but I really wonder. I wanted to make a form yesterady in flash but found it more diffuclt then in flex. So is there a way to export it from flex cause i wanted to use on my webpage that does not have support for Flex. Yahoo! Groups Sponsor -

RE: [flexcoders] Dynamically change the root label of a MenuBar

2005-12-28 Thread Matt Chotin
The XML data providers are going to be very different in the next drop you get so it’s hard to say what the right thing to do there is.  I think setProperty should have done it, so re-assigning the dataProvider is probably your workaround for this release.   Matt   From: flexc

RE: [flexcoders] Question - Still alive the FLEX Quick Start 4cpu Pack ?

2005-12-28 Thread Matt Chotin
I would just continue working with your salesperson, but it's certainly possible they're taking a new approach as the new quarter begins and we follow Adobe sales guidelines. None of the engineers from Adobe on here are going to know anything though :-( Matt -Original Message- From: flex

RE: [flexcoders] Nested faceless components. keeping IDs and DataBinding

2005-12-28 Thread Matt Chotin
What part of inline events and databinding are missing? If your class extends EventDispatcher it has events. And binding is the same on a faceless object as a UIComponent. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aldo Bucchi Sent: W

[flexcoders] Dynamically change the root label of a MenuBar

2005-12-28 Thread nicolasberney
Hi,I'm trying to dynamically change the root label of a MenuBar.I had to use: "menuBar.dataProvider = menuBar.dataProvider;" to see my changes, but now there is no sub-menus anymore.Is it the right way to do this with Flex 2?Thanks,Nicolashttp://www.macromedia.com/2005/mxml" xmlns="*">      

Re: [flexcoders] Having hard time understanding what features are available to whom when and how

2005-12-28 Thread JesterXL
Dude, that is so easy.  You just: - import each graphic into Flash - give it an instance name - modify the code I posted to do:   var c:Color = new Color(targetState); c.setRGB(0xFF);   That'll set it red, and ONLY it.  If you have the graphic as a PNG or GIF (transparency intact), it'll

Re: [flexcoders] Having hard time understanding what features are available to whom when and how

2005-12-28 Thread Bruce Cichowlas
Thanks for the prompt reply.I can see how your suggestion would work, but in my case I don't think I can use the background color.  Imagine if the shapes were the six states of New England on a map.  I want to be able to control the color of each state to be one of eight colors. I can see a few

Re: [flexcoders] Extra space problem in ViewStack while using Text with 100% width defined

2005-12-28 Thread Stanislav Zayarsky
Hello Guys, Inside documentation we can find "resizeToContent" property: So it's a good practice to read documentation sometimes :) Best regards Stanislav On 12/27/05, Matt Chotin <[EMAIL PROTECTED]> wrote: > Look into the margin styles maybe? > > -Original Message- > From: flexcoder

Re: [flexcoders] Having hard time understanding what features are available to whom when and how

2005-12-28 Thread Bruce Cichowlas
I'm wondering which of the ways to implement the color-changing irregular shapes might work or whether I should be learning to do something custom with Flash, such as making a movie in which the irregular shape changes between the eight colors.  I don't know enough about using Flash controls wit

[flexcoders] Re: Max width and height for the Loader??

2005-12-28 Thread moyosaned
Since version? Man Ok but I'm trying to load loading an image bigger than 2880 x 2880. and setting in my Image-tag it has to for example 400 x 400. It does seem to react the same as when i use a smaller image, I'm not seeing an image at all. I tried to trace (image.)content! When i'm loading an la

Re: [flexcoders] Having hard time understanding what features are available to whom when and how

2005-12-28 Thread Weyert de Boer
What's the problem? Yahoo! Groups Sponsor ~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM ~-