Re: [flexcoders] Flex and Rails - examples?

2006-08-17 Thread Mark Wales
Karsten, There are a few links floating around, but I think one of the most interesting developments is that The Midnight Coders will soon be releasing their WebORB for Rails: http://www.themidnightcoders.com/ I think that will open up a new world of possibilities for people looking to

[flexcoders] php, flex...and uploading images

2006-07-30 Thread Mark Wales
I've seen several references to the possibility of uploading BitmapData or similar client-derived images to a server using PHP, but I can't find any actual examples. While the docs do have an example of using FileReference to upload a client-side file off the filesystem, it seems the code

[flexcoders] Cairngorm Examples

2006-07-27 Thread Mark Wales
Are there any ultra-simple examples of Cairngorm using the GA of Flex 2 that include the server-side java classes down to the data access objects that might invoke a database? I am looking for the simplest possible implementation that shows all the code/classes on both the client and server.

Re: [flexcoders] Flex and Server-Side Technology Recommendations

2006-07-16 Thread Mark Wales
There are several ways that Ruby and Flex can work together. However, so far, none of them offer the same degree of integration provided by FDS, if that is what you are seeking. If you are intent on Rails and with a simple query/response model, google "Rails Flex 2" and you'll find some

Re: [flexcoders] Setting Charts' Parameters in Runtime

2006-05-30 Thread Mark Wales
I am not positive this is right, but I suspect you want something like this:: public function setupChart():void { var myChart:AreaChart = new AreaChart(); var myValue:Number = .001; var myAxis:LinearAxis = new LinearAxis(); myAxis.interval = myValue; myChart.horizontalAxis = myAxis;

Re: [flexcoders] AJAX versus Flex

2006-05-25 Thread Mark Wales
Imagine a world where desktop applications and Web applications look and feel the same AND work together seamlessly, then you are on a path that might lead to success. Microsoft is working on doing exactly this - it is just taking them years to deliver on it. AJAX is a place holder because

[flexcoders] How to programmatically move scroll bars?

2006-05-19 Thread Mark Wales
Perhaps this is much simpler than it appears, but I am trying to programmatically re-assign the scrollPosition parameter of a scroll bar and while it changes the position of the targeted component (i.e. the canvas or whatever that is the target of the scroll) it does not seem to have a

Re: [flexcoders] Exceeding Component Boundaries

2006-05-04 Thread Mark Wales
r examples to use it in my application. Manish Jethani wrote: On 5/4/06, Mark Wales [EMAIL PROTECTED] wrote: I have a UIComponent inside a Canvas where I place Sprites, draw lines, etc. The UIComponent's dimensions are larger than the Canvas and right now I have the scrollbar

Re: [flexcoders] Drwaing API inside an AS based component - not working

2006-05-04 Thread Mark Wales
Not sure which version you are using, but in Flex 2 Beta 2, I also have a component that extends the UIComponent. When you say you are using the drawing API, I presume you are doing something like this: this.graphics.clear(); this.graphics.beginFill(0xff); this.graphics.drawRect(-25, -25,

Re: [flexcoders] Re: Drwaing API inside an AS based component - not working

2006-05-04 Thread Mark Wales
createChildren), it works when it's on his own but not when inside the parent. any ideas? --- In flexcoders@yahoogroups.com, "leo4beer" [EMAIL PROTECTED] wrote: You were right, i did not set the line style. Thanks! --- In flexcoders@yahoogroups.com, Mark Wales st

Re: [flexcoders] Exceeding Component Boundaries

2006-05-04 Thread Mark Wales
a fair bit of time trying to better understand the finer points of using a scrollRect and there is not much documentation out there. -Mark Manish Jethani wrote: On 5/4/06, Mark Wales [EMAIL PROTECTED] wrote: At some seemingly arbitrary step in scaling up or down, the elements

Re: [flexcoders] Implementing pull-out window

2006-04-28 Thread Mark Wales
I think the best guide to get you started is the work done here: http://weblogs.macromedia.com/sho/archives/2006/04/flex_sliding_dr.cfm I easily placed a datagrid in one of the slide in windows and was then able to "detach" it and move it around my display. While not actually a "pop-up"

Re: [flexcoders] Large XML Dataset?

2006-04-04 Thread Mark Wales
As another alternative, there are "XML servers" out there that support exactly the type of searching you want to do but on the server side - which seems like the proper place for this sort of thing. Just because it needs to be on a desktop, doesn't mean it can't have a tiered structure with

[flexcoders] How to deploy resources bundles in Flex?

2006-03-22 Thread Mark Wales
I have a need to package sets of data files and images for use by an offline Flex-based application and I am wondering what my alternatives are for producing and then referencing the files. In this case, there is an existing fat client application that allows users to manipulate large

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

2006-02-18 Thread Mark Wales
: http://www.helpqlodhelp.com/blog/archives/000140.html - Original Message - From: Mark Wales To: flexcoders@yahoogroups.com Sent: Saturday, February 18, 2006 12:14 AM Subject: [flexcoders] Actionscript-based Applications with Flex 2

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

2006-02-18 Thread Mark Wales
of Flash Authoring) will support AS3 directly, and will have a beta version out around when Flex 2 ships. -rg -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Wales Sent: Saturday, February 18, 2006 5:33 AM To: flexcoders@yahoogroups.com

[flexcoders] Actionscript-based Applications with Flex 2

2006-02-17 Thread Mark Wales
I am interested in writing an all Actionscript application (i.e. using the Actionscript project option within the Eclipse-based Flex Builder) that combines both Flex-based and traditional Flash-based components. For example, I want to define a Canvas on one side of the screen and

RE: [flexcoders] IFrame Example for Flex 2?

2006-02-11 Thread Mark Wales
it in my HTML-based text field using _javascript_/AJAX and then again using _javascript_ pass it back to Flex. -Mark ---Original Message--- From: Manish Jethani [EMAIL PROTECTED] Subject: Re: [flexcoders] IFrame Example for Flex 2? Sent: 10 Feb '06 20:51 On 2/10/06, Mark Wales [EMAIL

RE: [flexcoders] IFrame Example for Flex 2?

2006-02-10 Thread Mark Wales
To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] IFrame Example for Flex 2? On 2/8/06, Mark Wales [EMAIL PROTECTED] wrote: Like a few before me I have tried to get the IFrame example that Christophe Coenraets put together for an earlier version of Flex. Has anyone been able to successfully port

RE: [flexcoders] About Webservices and XML request format

2006-02-10 Thread Mark Wales
Id doubtful this will help, but since I hear strains of desperation, I thought Id share that I went through a similar array in request scenario but with HTTPService. Matt Chotin was extremely gracious and patient in helping me around a similar problem doing a POST with an HTTPService.

[flexcoders] IFrame Example for Flex 2?

2006-02-08 Thread Mark Wales
Like a few before me I have tried to get the IFrame example that Christophe Coenraets put together for an earlier version of Flex. Has anyone been able to successfully port this to either the Alpha or Beta? Also, as a conceptual question, might a working example of this allow Drag and Drop from

RE: [flexcoders] Re: Using HTTPService to POST complex data

2006-01-31 Thread Mark Wales
Alaric, I agree that simple types are only supported - the docs you identify, Matt's comments, and my own trial-and-error support that conclusion. My challenge is that the default operation of the server-side application I am trying to communicate with uses the nested form. While in my

RE: [flexcoders] Using HTTPService to POST complex data

2006-01-29 Thread Mark Wales
I've tried using child tags in the same namespace, I've also tried creating objects in Actioncript and then embedding them such as: In MXML: request{myRequestObject}/request In Actionscript: new myRequestObject:Object = new Object; new embeddedObject:Object = new

Re: [flexcoders] Using HTTPService to POST complex data

2006-01-29 Thread Mark Wales
then file a bug against Flex 2 saying that this is how the behavior should work (and please include the HTML that would simulate a correct request). Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Wales Sent: Sunday, January 29

RE: [flexcoders] (Flex 2.0) interacting with SWF files

2005-12-14 Thread Mark Wales
Check out the presentation materials that Waldo provided in support of his Max session: http://www.waldosmeets.com/index.cfm?entryID=596 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Hansen Sent: Tuesday, December 13,

RE: [flexcoders] Flex 1.5 for PDAs Mobiles ??

2005-12-13 Thread Mark Wales
Jesse made the comment that the PocketPC is different and able to run a regular Flash Player. Has anyone successfully installed and run an 8.5 Flash Player on a PocketPC? If so, which one? -Mark -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] changing color of button when it is pressed

2005-11-11 Thread Mark Wales
You'll want to set the style of the button in Actionscript: In MXML: mx:Button id=myButton label=Change Color click=changeColor() / In script: public function changeColor():Void { var colorArray:Array = [ red, red ]; myButton.setStyle(fillColors,

[flexcoders] Dynamic Events

2005-11-10 Thread Mark Wales
Has anyone used them? I've been a bit confused by several things: DynamicEvent is a subclass (according to the documentation) of flash.events.Event but is actually found in mx.events. In addition, the documentation describes how you can add arbitrary properties at runtime. However,

[flexcoders] Drawing Examples in Flex 2?

2005-10-30 Thread Mark Wales
Has anyone spent any time drawing simple shapes (lines, circles, etc.) in Flex 2?? Can someone point me to a couple examples? An ideal scenario would be something that showed how to draw a line between a point and the current location of the mouse. Thanks in advance...

[flexcoders] Re-creating runtime components - Flex2

2005-10-26 Thread Mark Wales
I'd like to create components at runtime (a technique well-understood and well-documented) but then retain the list of created components so that, upon subsequent start-up, those same components are re-instantiated. I'm certainly not trying to be as far-reaching as SAP with Netweaver, but the

RE: [flexcoders] Usage of CreateClassObject CreateComponent

2005-10-26 Thread Mark Wales
If you don't mind a follow-up question from someone else, how do you then listen for the events that will come from the new Button that is created? For example, I've tried calling clickBroadcast but it didn't seem to work. Thanks, -Mark -Original Message- From:

[flexcoders] Creating Children in a Dynamic Accordion

2005-10-05 Thread Mark Wales
Title: Message Hello, I am trying to dynamically/conditionally add children to a set of dynamically/conditionally created Accordion segments. At present,I createthe segments I wantusing a loop over my array: mx:Accordion id="inputDetail" height="100%" width="100%"

[flexcoders] Flex and Ruby - Anyone tried it?

2005-09-27 Thread Mark Wales
Title: ClassUtil Question Hello, I was curious if anyone had tried to put Flex and Ruby together in any interesting ways (as in accessing server-side ruby objects via HTTP and CGI, building a custom remote object facility to a Ruby-based server, etc). Ruby has developed a serious