Re: [flexcoders] Passing an email *subject* when opening email client?

2008-06-01 Thread Josh McDonald
I think you append ?subject=foo but it only works in MSIE... It's been a while tho so I could be very wrong! -J On Sun, Jun 1, 2008 at 5:01 PM, JRBower [EMAIL PROTECTED] wrote: The function below works great for passing the email address but I'd like to also pass the subject also. Any ideas

Re: [flexcoders] Passing an email *subject* when opening email client?

2008-06-01 Thread Maciek
http://www.google.com/search?btnI=Iq=mailto+syntax On Sun, 2008-06-01 at 00:01 -0700, JRBower wrote: The function below works great for passing the email address but I'd like to also pass the subject also. Any ideas how to include the subject in this function? private function

[flexcoders] Passing an email *subject* when opening email client?

2008-06-01 Thread JRBower
The function below works great for passing the email address but I'd like to also pass the subject also. Any ideas how to include the subject in this function? private function launchMailer(e:Event):void { var mailLink:URLRequest = new URLRequest(mailto://; +

[flexcoders] Casting Problem.. Type Coercion Failed

2008-06-01 Thread Manu Dhanda
Hii am writing a simple application where for logging in, am checking the values against the value objects contained in an ArrayCollection. While if((evt.userVO.email == ModelLocator.ALL_USERS[i].email) (evt.userVO.pwd == ModelLocator.ALL_USERS[i].pwd)) returns true, then why it throws this

Re: [flexcoders] yoyo Tween Function in Flex?

2008-06-01 Thread Paul Andrews
mx.effects.tween. In the function called at the end of the tween, use reverse(). Paul - Original Message - From: Sherif Abdou To: flexcoders@yahoogroups.com Sent: Sunday, June 01, 2008 2:38 AM Subject: [flexcoders] yoyo Tween Function in Flex? Is there a similiar

Re: [flexcoders] New to flex, wonder why one works and the other doesn't...

2008-06-01 Thread Charlie Hubbard
Right. Image is a UIComponent, and TextArea is a UIComponent. UIComponent's can't contain other UIComponents without being a subclass of Container or implementing the IContainer interface. Not a simple task. addChild() is defined in DisplayObject which apart of the Flash API not the Flex API.

Re: [flexcoders] New to flex, wonder why one works and the other doesn't...

2008-06-01 Thread Charlie Hubbard
Damn. Sorry the last paragraph should read: Since the bitmap is not apart of the document in the TextArea you aren't going to get clipping or scrolling of that image. Charlie On Sun, Jun 1, 2008 at 10:52 AM, Charlie Hubbard [EMAIL PROTECTED] wrote: Right. Image is a UIComponent, and TextArea

[flexcoders] please need help with dataGrid and checkBox

2008-06-01 Thread Laila Towailib
-- Forwarded message -- From: Laila Towailib [EMAIL PROTECTED] Date: Sat, May 31, 2008 at 8:37 PM Subject: dataGrid and checkBox To: flexcoders@yahoogroups.com *what is the best way to add a checkbox field to each row of a datagrid and read what is checked ? I really need this

[flexcoders] Re: What next after getting FLEX ?

2008-06-01 Thread itdanny2002
Dear All, Thank you very much. Then I need to learn Linux + PHP + MySQL. I would like to ask one more questions since I never use Linux stuff before. I only use IIS in windows envirnoment. What should I use in Linux ? Tomcat ? JBoss ? I can't distinguish it. Thanks in advance --- In

[flexcoders] Flex drag n drop, zoom issue

2008-06-01 Thread gireeshgiri
Hi, I am having an issue with the application currently I am developing, the issue after dropping object to the canvas and if i try to zoom (in-out) the dropped objects seems to shifts its place. I have placed a demo URL, you can drag and drop objects to the plan, and try zooming the plan.

Re: [flexcoders] please need help with dataGrid and checkBox

2008-06-01 Thread Manu Dhanda
Use itemRenderer, inline or custom For example: this is your datagridcolumn mx:AdvancedDataGridColumn dataField=aircon headerText=AC width=50 itemRenderer=com.renderers.DistRenderer/ Here is this renderer implementation: DistRenderer.mxml ?xml version=1.0 encoding=utf-8? mx:VBox

[flexcoders] Re: please need help with dataGrid and checkBox

2008-06-01 Thread Cato Paus
package { import flash.display.DisplayObject; import flash.events.KeyboardEvent; import flash.events.MouseEvent; import flash.text.TextField; import mx.controls.CheckBox; import mx.controls.dataGridClasses.DataGridListData; import mx.controls.listClasses.ListBase; /** * The Renderer.

Re: [flexcoders] Re: What next after getting FLEX ?

2008-06-01 Thread Paul Andrews
I don't think anyone said you have to learn linux. Use Windows. If you're comfortable with IIS use that. Try and follow some basic tutorials - they often include installation instructions - and get small things working. Don't try and do everything at once. It's the road to disaster. Tackle the

RE: [flexcoders] Flex drag n drop, zoom issue

2008-06-01 Thread Rick Winscot
I took a quick look at your sample. and it looks like you are doing something strange with your scaleX/scaleY - they aren't being set uniformly. You'll only need a single change so I would think: scaleX = scaleY = zoomer.value -- no? Rick Winscot From: flexcoders@yahoogroups.com

RE: [flexcoders] yoyo Tween Function in Flex?

2008-06-01 Thread Rick Winscot
I'm a huge fan of Tweener (http://code.google.com/p/tweener/). It gives you a real fine grained approach in visual effects. Paul's suggestion will give you a 'yo' after 'yo' - but if you want the movement to look more organic. Tweener's transition types are great (easeInElastic == walk the dog).

Re: [flexcoders] Flex drag n drop, zoom issue

2008-06-01 Thread Gireesh Kumar
Hi, Here is the code I use to set the scaleX and Y values private function doZoom(event:Event):void{ if(currentPlanCanvas == null){ return; } doComponentZoom(currentPlanCanvas, (HSlider(event.currentTarget).value)); }

Re: [flexcoders] yoyo Tween Function in Flex?

2008-06-01 Thread Paul Andrews
Also consider TweenLite - http://blog.greensock.com/tweenliteas3/ since were going off-Adobe-piste.. ! - Original Message - From: Rick Winscot To: flexcoders@yahoogroups.com Sent: Sunday, June 01, 2008 6:05 PM Subject: RE: [flexcoders] yoyo Tween Function in Flex? I'm a

RE: [flexcoders] Flex drag n drop, zoom issue

2008-06-01 Thread Rick Winscot
It crossed my mind that you might be doing something like this. can I recommend an alternate solution? Use a canvas/container to host your plan _and_ all of your placed objects - then just set the scaleX/scaleY of that canvas/container. If you do it this way - you won't have to worry about object

Re: [flexcoders] Flex drag n drop, zoom issue

2008-06-01 Thread Gireesh Kumar
Actually it is a canvas, and I am placing the objects on the canvas, I tried setting the plan image as background of canvas also. And if I change only the canvas scaleX and scaleY the placed object is not zooming properly. If you look at the source you will see this. Thanks Gireesh On Sun, Jun

Re: [flexcoders] Passing an email *subject* when opening email client?

2008-06-01 Thread Vadim Melnik
I believe it's related to mailto protocol (http://www.rfc.net/rfc2368.html), something like listed below should work: navigateToURL(new URLRequest(mailto://[EMAIL PROTECTED]), _self ); -- Thanks, Vadim. - Original Message - From: JRBower To: flexcoders@yahoogroups.com Sent:

Re: [flexcoders] Drilldown ideas

2008-06-01 Thread Charlie Hubbard
I think you're asking what's the best UI metaphor for displaying hierarchal data from a dataGrid. While popup windows are cheap and easy. This work well if your user will be edtting the data once they see it. The Ok-Cancel metaphor on the popup window makes editing easy to use. Adding editing

[flexcoders] Flex / Air sharewware app: what database to use in network environment?

2008-06-01 Thread scottyale2008
I've sold a Windows based shareware application using a FoxPro database for years and now it's time to give it much needed RIA. I was excited to hear when Flex 3 was released it supported SQLite, but it's not meant to be a network shared database. My shareware app generally has anywhere from

[flexcoders] IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2038 on file upload

2008-06-01 Thread vishnu sv
Hi, I am trying to upload files to share.adobe.com using the share apis. But on uploading the file I am getting the following error IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2038 In Charles I am getting 'No request was made. Possibly certificate

Re: [flexcoders] New to flex, wonder why one works and the other doesn't...

2008-06-01 Thread Joseph Balderson
Of course! I knew the answer was simple, man that was bugging me. Thanks Charlie. :) ___ Joseph Balderson | http://joeflash.ca Flex Flash Platform Developer | Abobe Certified Developer Trainer Author, Professional Flex 3

[flexcoders] Re: How to convert a powerpoint to AS3 swf for loading in Flex?

2008-06-01 Thread rdebled
I'm not sure exactly which forum you're referring to. Can you provide a link or details of where I should look? Thanks. --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: Yes, you'll find a debate about that on the flashcoders forum!

Re: [flexcoders] Panel with no borders. How To?

2008-06-01 Thread Charlie Hubbard
I know this has been said, but if you want a panel without any borders then you really probably want a Canvas not a Panel. The only real difference between the border functionality of Panel has two layout modes and absolute positioning is not the default. Canvas only supports absolute

[flexcoders] Re: please need help with dataGrid and checkBox

2008-06-01 Thread dbronk
How about just: mx:DataGrid mx:columns mx:DataGridColumn headerText=Check Something editable=true mx:itemRenderer mx:Component mx:CheckBox selected=[EMAIL PROTECTED]'true'} click=[EMAIL PROTECTED](event.target as CheckBox).selected / /mx:Component /mx:itemRenderer /mx:DataGridColumn /mx:columns

[flexcoders] Re: How to convert a powerpoint to AS3 swf for loading in Flex?

2008-06-01 Thread rdebled
I've tried a few possible solutions. First I tried using LocalConnection to get the Flex app to speak to an AS2 wrapper. This works, but it's got the limitation that the app can only have one instance running because multiple instances cause the LocalConnection names to collide. There are

Re: [flexcoders] Re: How to convert a powerpoint to AS3 swf for loading in Flex?

2008-06-01 Thread Paul Andrews
Here you go: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Paul - Original Message - From: rdebled [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, June 01, 2008 9:14 PM Subject: [flexcoders] Re: How to convert a powerpoint to AS3 swf for loading in Flex?

Re: [flexcoders] Multiple filtered views on one source ArrayCollection

2008-06-01 Thread Richard Rodseth
Array collection has a publicly-accessible source Array property and filterFunction property. I'm actually building array collections on the fly in a model class getter with a custom binding event. Same source, different filter function. Seems to be working for me. Does that help? On Sun, Jun

Re: [flexcoders] Multiple filtered views on one source ArrayCollection

2008-06-01 Thread Josh McDonald
Normally I'd agree, but my problem is the sourceCollection is being set via a binding long before it gets populated, and an ArrayCollection doesn't like it when you change .source behind its back. I also don't know if there's any conditions where the implementation of ArrayCollection will replace

[flexcoders] Multiple filtered views on one source ArrayCollection

2008-06-01 Thread Josh McDonald
Hey guys, I think maybe I've missed the point of something, or there's a class I need to use that I don't know exists :) I have an ArrayCollection we'll call sourceCollection. I need to have a couple of different views of this data, with which I can use filterFunctions without affecting each

[flexcoders] Re: Tree duplicating items - desperate!!!

2008-06-01 Thread Rafael Faria
If i remove those lines it wont create the brances dynamically... What i do is when i drag over a page that is not a branch it automatically transform it as a branch, if i don't drop and drag out of it, it will trasnform back to a simple leaf. that's why i need to leave it on the dragover. if

[flexcoders] [Bindable], get and set functions and debugging - an idea or two to make it a little nicer

2008-06-01 Thread Josh McDonald
Hey guys, say I have the following: [Bindable] public function get foo() : Foo {...} public function set foo(v : Foo) : Void {...} When I'm single-stepping through something that calls obj.foo = fooInstance() the debugger tells me I'm in set foo, but highlights get foo. Now I understand why

[flexcoders] Re: New to flex, wonder why one works and the other doesn't...

2008-06-01 Thread Michael Labriola
Guys, sorry, but that's not quite right. UIComponents can contain other UIComponents without being a container. It is a common use case. Take a look at the simple example Adobe includes with their docs: http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp.h tm?href=1742.html

[flexcoders] Air App - Check connection

2008-06-01 Thread Indra Prastha
Hi Guys, I'm creating an Air Application that has to check the connections to a server. So when there's connection to the server, it retrieves XMLs through HTTPservice from my backend and if there's no connection , it should retrieve XMLs from local disk. Reading xml is no problem in both ways,

[flexcoders] Re: Air App - Check connection

2008-06-01 Thread Michael Labriola
Indra, Look in the AIR help files for the presence API. I think this article also covers it, but not sure how up to date it is: http://www.adobe.com/devnet/air/flex/articles/flickr_floater_06.html HTH, Labriola --- In flexcoders@yahoogroups.com, Indra Prastha [EMAIL PROTECTED] wrote: Hi

Re: [flexcoders] Re: Air App - Check connection

2008-06-01 Thread Sherif Abdou
I think you would need LIveCycle Express for that - Original Message From: Michael Labriola [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, June 1, 2008 8:40:06 PM Subject: [flexcoders] Re: Air App - Check connection Indra, Look in the AIR help files for the presence

[flexcoders] SWFLoader doesn't fire complete event

2008-06-01 Thread Pete Miller
I have problems with getting the 'complete' event to occur in an application I'm working on, so I wrote this: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.events.*;

Re: [flexcoders] SWFLoader doesn't fire complete event

2008-06-01 Thread Sherif Abdou
mx:Script ![CDATA[ test.content.addEventListener(Event.COMPLETE,doWhateverFunction); ]] /mx:Script mx:SWFLoader id=test/ you need to add a Listener to the content and not the SWF. try that - Original Message From: Pete Miller [EMAIL PROTECTED] To:

[flexcoders] Re: BitmapData source for mx:Image

2008-06-01 Thread limhy0306
Hi, I've tried it; but it still doesn't work! Thank you. Regards, hy --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Try setting columnWidth rowHeight to 176 and 144 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

RE: [flexcoders] SWFLoader doesn't fire complete event

2008-06-01 Thread Joan Lafferty
You could also try adding a listener to the SWFLoader for the complete event in the initialize or preinitialize event. Since both your complete event and source are defined in mxml, if the source loads really quickly, you probably will miss the event. Try: mx:SWFLoader id=thisSWF

Re: [flexcoders] Re: BitmapData source for mx:Image

2008-06-01 Thread Josh McDonald
This is a guess, but: When the binding updates the bitmapData on your mx:bitmap, it's not updating the width and height of that mx:bitmap component. The Image see the mx:bitmap is the same size, so paints it directly in rather than scaling it to fit. -J On Mon, Jun 2, 2008 at 1:17 PM, limhy0306

Re: [flexcoders] Re: BitmapData source for mx:Image

2008-06-01 Thread Josh McDonald
Are you getting a layout change, or does the bitmap sort of just grow out of where the image component was like it's colouring outside the lines? On Mon, Jun 2, 2008 at 1:28 PM, Josh McDonald [EMAIL PROTECTED] wrote: This is a guess, but: When the binding updates the bitmapData on your

Re: [flexcoders] JAXB for actionscript

2008-06-01 Thread Everson Alves
Hello, I haven´t seen any but i´ve written a air application that gets Java code generated with JAXB and creates the corresponding actionscript classes. The code is messy but it works. I can give it to you if you are interested. On 5/26/08, gianlucavatinno [EMAIL PROTECTED] wrote: hello to

RE: [flexcoders] Flex drag n drop, zoom issue

2008-06-01 Thread Rick Winscot
Right. I don't have the time to fix your application for you - but I do have time to give you a quickie example that will set you in the right direction. This example works as-is if you replace the house_plans.png and couch.png images. The 'take-aways' are listed below the example. ?xml

Re: [flexcoders] Multiple filtered views on one source ArrayCollection

2008-06-01 Thread Paul Andrews
Check out ListCollectionView. I've been down that same road. (Feb Thread: any ArrayCollection tricks?) From the thread: I found a great example here, which is perfect: http://viconflex.blogspot.com/2006/11/listcollectionview-different.html Paul - Original Message - From: Josh

Re: [flexcoders] book errata

2008-06-01 Thread Joseph Balderson
Check the peachpit website. ___ Joseph Balderson | http://joeflash.ca Flex Flash Platform Developer | Abobe Certified Developer Trainer Author, Professional Flex 3 (coming Winter 2008) Staff Writer, Community MX |

Re: [flexcoders] Multiple filtered views on one source ArrayCollection

2008-06-01 Thread Josh McDonald
Dammit I've been looking at that class all week. I didn't notice it took an IList! I ran with the hack temporarily (building a new ArrayCollection from sourceCollection.source on CollectionEvent.CHANGE), coz I knew there'd be an easy answer. Thanks mate :) -J On Mon, Jun 2, 2008 at 1:38 PM,

Re: [flexcoders] Flex drag n drop, zoom issue

2008-06-01 Thread Gireesh Kumar
Hi Rick, It worked, I need to make some adjustment to my application to get this integrated. Thanks you very much. Gireesh. On Mon, Jun 2, 2008 at 9:06 AM, Rick Winscot [EMAIL PROTECTED] wrote: Right… I don't have the time to fix your application for you – but I do have time to give

Re: [flexcoders] Casting Problem.. Type Coercion Failed

2008-06-01 Thread Doug McCune
ALL_USERS isn't a collection of UserVO objects it seems. Looks like it's a collection of generic Objects. How did you create the collection? Did you use AMF? Did you load from XML? Somehow the objects that got created did not get created as the proper UserVO objects. So check the collection when

[flexcoders] MXML syntax suggestion - worth adding a feature request for Fx4?

2008-06-01 Thread Josh McDonald
Just wanna test the waters and see what people think before I clog up adobe's pipeline with yet another request :) What about a non-binding evaluation syntax for MXML? OpenLaszlo (shudder) lets you do element attr=${ foo }/ Which is a binding, and: element attr=$once{ foo }/ Which is executed

Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

2008-06-01 Thread Scott Barnes
wow :) I only joined Microsoft in 2007 (prior to which I was on this list coding away in Flex since this list was born), I don't know what we did prior to 2007 nor do I really care (can't change the past, can only influence the future!), suffice to say while I'm on the job, the tactics and

RE: [flexcoders] SWFLoader doesn't fire complete event

2008-06-01 Thread Alex Harui
I'd have to double-check, but I don't think @Embed's generate a complete event since it isn't an external asynchronous load. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joan Lafferty Sent: Sunday, June 01, 2008 8:28 PM To:

RE: [flexcoders] Re: Tree duplicating items - desperate!!!

2008-06-01 Thread Alex Harui
I would add trace statements showing when you add/remove stuff and see if the log makes sense. You could be dragging over or out in some way that you don't expect From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent:

Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

2008-06-01 Thread Paul Andrews
Hi Scott, Wow . Well maybe. I'm trying to make my mind up about whether I should really be bothered about your presence or not. As I said in another post, I've seen similar things in another technical area and the helpful posts were more about promotion of the rival technology rather than