[flexcoders] How to add text properties to dragged Image.

2008-04-02 Thread Swamy Nathan
Hi i am new to flex. i am using drag and drop functionality in canvas. when i dragdrop the image to canvas the image will add to the canvas container. In that situation i need add the label or text to the image like[ the image name and the image taken date etx.,] how can i do that stuff with the

Re: [flexcoders] Re: flashvars hate me

2008-04-02 Thread Dennis Falling
Ok, I checked that page again (saw it during my current hunt) and think I'm doing everything in it. I'm sure there's something stupid that I'm missing, but this is my typical flex problem: something really basic takes me hours to do because I can't figure out the exact syntax. On Wed, Apr 2,

RE: [flexcoders] UK rapid adressing web api

2008-04-02 Thread Gregor Kiddie
I know QAS have a decent solution (That we use so it's a semi endorsement ;) ) http://www.qas.co.uk/products/capture-name-and-address-data/pro-web.htm Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ

[flexcoders] File upload in Flex

2008-04-02 Thread Gaurav Jain
Hi, I have to upload a file on Amazon S3 server in a particular bucket. I am calling the upload() method through FileReference object and providing URLRequest object containing server url as a parameter. But I am getting Invalid arguments error. Can anyone help me out on this?

RE: [flexcoders] File upload in Flex

2008-04-02 Thread Giro
I think that you can not use upload to send file to Amazon S3, because S3 use REST or SOAP protocol to upload files. Check this to upload to S3: http://code.google.com/p/as3awss3lib/ Giro. _ De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Gaurav Jain

RE: [flexcoders] Posted bug in Adobe with description of the problem

2008-04-02 Thread Rick Winscot
Yeah. this is an issue partially related to creation and the fact that column width - well that's another story. Here is a quick fix. add the listener to each of your grids and copy/paste the function. grid.addEventListener( Event.RENDER, handleDataGridRenderEvent ); private function

[flexcoders] Vversion Compatability

2008-04-02 Thread Asha Athrey
Hi Folks, I have developed an application and that was running on AIR beta version and now with the new release of AIR 1.0, I am not able to run or launch my application in AIR 1.0. I have changed the attribute xmlns=http://ns.adobe.com/air/application/1.0.M6

Re: [flexcoders] How to add text properties to dragged Image.

2008-04-02 Thread Nayan Savla
you need to pass the parameters as drag source and then your drop handler should populate those values. Nayan On Apr 1, 2008, at 11:48 PM, Swamy Nathan wrote: Hi i am new to flex. i am using drag and drop functionality in canvas. when i dragdrop the image to canvas the image will add to

Re: [flexcoders] Export release build copying PHP files

2008-04-02 Thread Tom Chiverton
On Tuesday 01 Apr 2008, Troy Gilbert wrote: I don't understand how *publishing* a release build of my SWF to my webroot should ever, under any circumstance, delete the contents of *all* PHP files. *contents* ?!? Not the files themselves ? That's very weird. change this behavior. I've lost

Re: [flexcoders] Re: How to create a new file and write the contents to it.

2008-04-02 Thread Tom Chiverton
On Wednesday 02 Apr 2008, bhaskar M wrote: How could I build AIR APPLICATION ? Inside RIA just ran a good getting started series. -- Tom Chiverton Helping to vitalistically engineer value-added developments on: http://thefalken.livejournal.com

Re: [flexcoders] Vversion Compatability

2008-04-02 Thread Tom Chiverton
On Wednesday 02 Apr 2008, Asha Athrey wrote: xmlns=http://ns.adobe.com/air/application/1.0.M6 to xmlns=http://ns.adobe.com/air/application/1.0in the applications app-xml file. But still not able to launch the applciation. What happens when you try ? How are

RE: [flexcoders] flashvars hate me

2008-04-02 Thread Rick Winscot
1. Make sure that you are editing the template (not the template output) so that your changes aren't getting overwritten 2. Add your flashvars to the AC_FL_RunContent group in the template as: FlashVars, url=woo - your syntax looks wrong. 3. Add your flashvars to the second

[flexcoders] Deep link:Enable back button of browser Issue:

2008-04-02 Thread shekharsinbox
HI, I am working on enable of back and forward button of browser. Dont want to use history manager so using deep linking in flex 3. Encountered an issue: 1. When i create a project in flex ide: the deep linking works fine. 2. While the same mxml file in another imported project to flex

[flexcoders] Re: Performing screen capture in Flex apps?

2008-04-02 Thread Steve Carpenter
You could try VHScrCap (http://www.hmelyoff.com/index.php?section=4) - it's Windows only at the moment but it's free and works fine with Flex for screen capture. I've done some work with it using Wowza Media Server to stream a user's desktop and it seemed to work ok.

[flexcoders] Re: Export release build copying PHP files

2008-04-02 Thread Dmitri Girski
*contents* ?!? Not the files themselves ? That's very weird. yes, it removes the *contents*, leaving files in place. This is weird indeed. And it takes time to understand why the app is busted - all files are there, but nothing works. Troy, I've submitted a bug

[flexcoders] Re: External swf as menu in Flex App

2008-04-02 Thread Dmitri Girski
Hi Alexander Have a read from here: http://blogs.adobe.com/flexdoc/2007/08/using_the_flex_component_kit_f_1.html We have a lot of components designed in Flash and we communicated with them from Flex. Now we are converting them one-by-one into the Flex components in Flash. This is more

[flexcoders] Child-parent communication, Flex and Flash

2008-04-02 Thread mnorrstrand
Hi I'm building a framework where a third party will deliver Flash swf's to be loaded into my Flex app (probably using SWFLoader). How do the loaded child swf communicate with the parent Flex app? For instance if i have a function in a class in the main app (would be a Singleton), eg

[flexcoders] Flex connection with Database

2008-04-02 Thread Chitra S.Pai
Hi all, I am Chitra, a new member of this group.I am an engineering student. I worked a little on the Flex. I really enjoyed working on it. But when I treid to connect to database I found some difficulties. Hope many of you had tried it out. With my HTML and JSP experience I think this is a easy

[flexcoders] resourceManager.localeChain not propagating in AS3 class

2008-04-02 Thread nickgerig
Hi All, I am trying to use resourceManager in an AS3 Flex component. I use resourceManager.loadResourceModule to load the swfs and I get the loaded event but when I set the localeChain the text isn't changed. I don't think its a resource problem because I have an exact replica MXML page that

Re: [flexcoders] Re: problem installing AIR linux, any way to debug install??

2008-04-02 Thread yiğit boyar
ok; let me be clear; i cannot install adobe integrated runtime(adobeair_linux_a1_033108.bin) which will let me run AIR applications on my linux. during the installation it just says there is an error, there is no information about the error.(it says it might be stopped because of root privilages

[flexcoders] File upload to amazon S3 from Flex

2008-04-02 Thread Gaurav Jain
Hi, I have to upload a file on Amazon S3 server in a particular bucket. I am calling the upload() method through FileReference object and providing URLRequest object containing server url as a parameter. But I am getting Invalid arguments error. Can anyone help me out on this?

Re: [flexcoders] Re: problem installing AIR linux, any way to debug install??

2008-04-02 Thread Jerome Clarke
loosing hope... get a grip boy... cant give up that easily :p my only suggestion then ( I don't like this suggestion and I'll explain why ) is to try another distrobution. It says on their site *Supported Linux Distributions* - RedHat Desktop Linux 4 - RedHat Enterprise Linux v5 -

[flexcoders] How to open a File

2008-04-02 Thread Asha Athrey
Hi, On clicking on a particular button i want to open a file by passing some arguments. How can i do that. Can i get the example code which does that or a similar operation.(opening a File) Share files, take polls, and discuss your passions - all under one roof. Go to

Re: [flexcoders] Vversion Compatability

2008-04-02 Thread Asha Athrey
Hi, I am using flex Builder. whenever i try to run the application i am not getting any error but the application is not launched and is not visible in the taskbar. If i try to debug it'll try tht primary instance exist and i am not able debug as well. Regards, Asha - Original

[flexcoders] New Question: Component

2008-04-02 Thread khan.ibraheem
Hello, I am creating a custom component and have 2 questions regarding it: 1) One way, I am thinking is to create actionscript class and use it. I can add controls using addChild method. But how can I set absolute position of the control. 2) The other way was to create MXML component and place

[flexcoders] Re: Flex connection with Database

2008-04-02 Thread gers32
Hi Chitra, I don't know exactly what kind of application you're working on, but I can tell you how I connect to a database from my Flex front-end. I use Flex's HttpService to call a URL, which then returns data sent from a Web Service. This Web Service can be written in Java, since you seem to

Re: [flexcoders] Flex connection with Database

2008-04-02 Thread Douglas McCarroll
Hi Chitra, You might want to check out this post: http://www.bfaig.org/blog/?p=60 The Boston Flex Application Incubator Group is going to be creating several different examples that access a MySQL database using different server-side approaches. I posted an extremely simple example that uses

Re: [flexcoders] New Question: Component

2008-04-02 Thread Douglas Knudsen
you have a scope issue there, setTempMethod() lives in the Label not Canvas. Move this method up inside Canvas and teh outside world will have access. DK On Wed, Apr 2, 2008 at 8:02 AM, khan.ibraheem [EMAIL PROTECTED] wrote: Hello, I am creating a custom component and have 2 questions

[flexcoders] Re: Showing progress to the user

2008-04-02 Thread markgoldin_2000
Well, sure, and it does not take too much of a time. So, they are happy :) I just think that an app. looks more professional when it let users know that it is working on something. My question is more of a general. What kind of progress info and how we can show when Flex is working on

Re: [flexcoders] Re: Flex connection with Database

2008-04-02 Thread Chitra S.Pai
Hi Chris, Thank you for your reply.It sounds good. I am developing a web application. I am using a tag called Data source and LCDS and using that I am tyring to connect the Flex code to Database. Because my first impression is that I cannot connect Flex 3.0 without LCDS. I don't know more about

[flexcoders] how to associate editable propperty of tree node on double clikck not click

2008-04-02 Thread qau_yasir
Hello All! I have a tree aTree, I have set its property aTree.editable = true; When I click (select)any node, node behavious as editable, I need to set this property on double click not on just click. Any body know how to do this? please help. thanks and Regards YM

Re: [flexcoders] Re: TabContainer with modules - how to cancel Tab change

2008-04-02 Thread Ben Clinkinbeard
Alex is, of course, correct. Listening for MouseEvent.CLICK on your TabNav in the capture phase and calling event.stopImmediatePropagation() in the handler will prevent switching to the new tab. (mouseDown didn't seem to work) One thing to remember though is that since you're listening to the

Re: [flexcoders] Flex connection with Database

2008-04-02 Thread Chitra S.Pai
Hi Douglas, Thank you for your reply let me try your example. What ever I have done lastly I have posted on the groups. Hope you will go through it and provide some suggestion. My code is very naive and crude. I haven't properly formatted it. Let me do that and then I will send the above. Thank

[flexcoders] Re: New Question: Component

2008-04-02 Thread khan.ibraheem
Thanks for the reply. But setTempMethod() lives in the Canvas, not in the label. However, I have reverfied and it is working. Your reply was indeed helping in the way, that I came to know that I was doing right thing. I just recheck it there was nothing wrong in it. Maybe I havent saved the

[flexcoders] How be notified (DRAG_DROP) in header of OLAPDataGrid

2008-04-02 Thread Marcio Napoli
Hi, I am trying be notified when i move (DRAG) one item of tree to header of OLAPDataGrid. Is it possible know where (AdvancedDataGridColumn, AdvancedDataGridHeaderRenderer) i dropped ? Thanks, Marcio N.

[flexcoders] Data Grid Validaton strategies

2008-04-02 Thread Battershall, Jeff
I have an editable data grid driven by an ArrayCollection of value objects that I would like to validate on the fly, row by row. As an invidual column is edited, I'd like to invoke logic to check if the row's VO is 'valid', meaning all data elements are present and within valid ranges and so

[flexcoders] LCDS one-to-many managed association

2008-04-02 Thread Zdenek Mikan
I am struggling with very simple sample of one to many managed association using mySQL database and custom Java assembler extended from AbstractAssembler. I have got two destinations, parent and child. In parent destination there is an ArrayCollection property which is associated with child

Re: [flexcoders] File upload to amazon S3 from Flex

2008-04-02 Thread Dmitry Kochetov
What kind of url do u use ? and u try to direct upload to AM S3 storage ? without creating signature and adding requested headers ? Gaurav Jain wrote: Hi, I have to upload a file on Amazon S3 server in a particular bucket. I am calling the upload() method through FileReference object

Re: [flexcoders] LCDS one-to-many managed association

2008-04-02 Thread Chitra S.Pai
Hi Zdenek, I am also tyring to do the same. But when I tried I have an error when I recompile the java files. Hope you are also working using LCDS. I think you are one step ahead of me so I don't have answer for your query. But I feel you can help me to resolve the problem. My problem is I cannot

Re: RES: [flexcoders] Resize very slow

2008-04-02 Thread Todd
Hey All, I have a very similar question to this one, so I thought I'd continue this thread. I also have a slow redraw, because of one of my properties id dynamically bound to calculate the width based on another property. When making the screen larger, it does one redraw, however, when making it

[flexcoders] hasEventListener() on null object causes silent failure and exit from block

2008-04-02 Thread ben.clinkinbeard
This seems like a bug to me. In the following code if dp is null, the trace will not be executed. function greatFun():void { if( dp.hasEventListener( foo ) ) { // do stuff } trace( WTF ); } It should either throw a RTE or just evaluate to false, shouldn't it? Thanks, Ben

RE: [flexcoders] .net flash remoting

2008-04-02 Thread Merrill, Jason
In Flash, with Flash 8 and AS2, I was using the webservice components to connect to ASP.NET scripts, not remoting. But adobe didn't update them for Flash in Flash CS3, so I had to switch to Flex for webservices - not a bad thing, but still bites if you want to connect to .NET via webservices in

Re: [flexcoders] Sizing when dealing with custom borderSkin

2008-04-02 Thread Daniel Gold
So what is the approach to use for non-rectangular borders? If someone has some good resources for programmatic border skins I'll happily digest them, I've read anything I can find. So let's say I've got a VBox and I create a custom skin that tapers the right side into a point. I extend Border

[flexcoders] annoying double-click behavior with textarea

2008-04-02 Thread Derrick Anderson
i have built a flex based text editor widget and there is 1 behavior I am not sure I can control, but is causing me a problem. whenever you double click a word that is at the end of a sentence, the word gets highlighted but the period at the end of the sentence is also highlighted. this causes

[flexcoders] My cutting room floor with example code and articles

2008-04-02 Thread allan_pichler
Hi all... For a while people have been telling me to post my little examples on riaforge and what not, and that made start wondering if people could get something useful out of the stuff that ends up on the cutting room floor.. Anyway... I have now put together a little site that hold

Re: [flexcoders] .net flash remoting

2008-04-02 Thread Dmitry Kochetov
Hi, You use simple HTTPWebservices or AMF ? Flash CS3 works fine with all web services (i dont know about components but hand made code works fine ) and for AMF connection use Fluorine. Merrill, Jason wrote: In Flash, with Flash 8 and AS2, I was using the webservice components to

[flexcoders] Total subscribers on LCDS rtmp messaging

2008-04-02 Thread Alexander Tsoukias
Is it possible to get a total count of subscribers on a specific destination/topic/subtopic when using LCDS RTMP messaging? Thanks, Alexander

Re: [flexcoders] .net flash remoting

2008-04-02 Thread Samuel Neff
We use Fluorine and love it. And the new stuff being done and planned for FluorineFX is great. Here's a good article I'd recommend (our developers wrote it): http://www.adobe.com/devnet/flex/articles/communicating_flex_dotnet.html HTH, Sam --

RE: [flexcoders] .net flash remoting

2008-04-02 Thread Merrill, Jason
If you have any examples of hand-coding Webservice connnection not using a component, I would be interested thanks. Jason Merrill Bank of America GTO and Risk LLD Solutions Design Development eTools Multimedia Bank of America Flash Platform Developer Community Are you a Bank of

[flexcoders] Flex 3: ChartLabel.as - parent is null

2008-04-02 Thread adtrantravis
When adding a chart to a canvas component, sometimes I recieve the following error. The parent value of the ChartLabel is null, and that causes the error stated below. Anyone had a similar experience? TypeError: Error #1009: Cannot access a property or method of a null object reference.

RE: [flexcoders] Re: How to pass Flex ArrayCollection to Coldfusion CFC?

2008-04-02 Thread Battershall, Jeff
Why not just pass the source attribute of the ArrayCollection? That's the actual data itself. Then you don't have to worry about what datatype you're dealing with. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David

Re: [flexcoders] Re: Announcement: Join us in a Flex-Related Focus Group

2008-04-02 Thread Jeffry Houser
lytvynyuk wrote: Jeff I didn't want to turn this into discussion of your website design, but I think any great idea have nice visual presentation :) I'm surprised it was given a second thought. A redesign will come at some future point, but traditionally DotComIt does not use our web

Re: [flexcoders] My cutting room floor with example code and articles

2008-04-02 Thread Tom Chiverton
On Wednesday 02 Apr 2008, allan_pichler wrote: Anyways... take a look if you want... www.unzipmenow.com and feel free to contact me on/off list. Wow, it's like 80s Amiga demo disks all over again, rar :-) -- Tom Chiverton Helping to biannually industrialize sticky developments on:

Re: [flexcoders] My cutting room floor with example code and articles

2008-04-02 Thread DreamCode
Well it was most meant as a reminder that a lot can be done in bitmaps... and that flex does it really well... --Allan On Wed, Apr 2, 2008 at 8:59 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 02 Apr 2008, allan_pichler wrote: Anyways... take a look if you want...

Re: [flexcoders] .net flash remoting

2008-04-02 Thread Dmitry Kochetov
Hi, please look at this links http://cs3as3rpc.riaforge.org/ http://labs.qi-ideas.com/2007/12/25/using-flex-compiled-code-within-flash Merrill, Jason wrote: If you have any examples of hand-coding Webservice connnection not using a component, I would be interested thanks.

[flexcoders] Select chart by clicking label

2008-04-02 Thread Nate Pearson
I want to select an item in a bar chart by clicking on the label. I'm not sure how to do this. Normally I would catch itemClick. I don't know how to do it if I want to catch the label on the Y axis. thanks. -Nate

[flexcoders] Question: Input/Output statements in Flex

2008-04-02 Thread cool buddy
HI all, I have a question regarding the output statemetn in flex.. i have read the documenation but could not find..i have used trace fucntion while debugging. I was wondering if there are any statements which i want to print out while exceuting the code. Thanks,

Re: [flexcoders] Export release build copying PHP files

2008-04-02 Thread Troy Gilbert
*contents* ?!? Not the files themselves ? That's very weird. You're telling me. And its not all files, it's only PHP files. Didn't someone* suggest that you should deploy to a sub-dir (like webroot/bin/) to prevent this happening again ? Yeah, but my point is the bug, not whether or not I

RE: [flexcoders] Sizing when dealing with custom borderSkin

2008-04-02 Thread Alex Harui
Due ot some backward compatibility reasons, the container does not honor bordermetrics of borders that are not IRectangularBorder. I guess we should have names IRectangularBorder something like IBorderThatHasRectangularContentArea. It sounds like your tapered border is one of those so you'll

RE: [flexcoders] Re: TabContainer with modules - how to cancel Tab change

2008-04-02 Thread Alex Harui
Hmm. Capture phase listeners should not get called in bubble phase. Are you sure you didn't also have a non-capture phase listener assigned as well? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ben Clinkinbeard Sent: Wednesday,

RE: [flexcoders] how to associate editable propperty of tree node on double clikck not click

2008-04-02 Thread Alex Harui
Blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of qau_yasir Sent: Wednesday, April 02, 2008 5:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how to associate editable propperty of tree node on double

[flexcoders] New to AIR - Filesystem Guidance

2008-04-02 Thread Ary
Hi Guys, sorry if its wrong post or already mentioned before, i did some search on the groups archive but still cant found what i need to find out.. :| my case is, to use Adobe AIR to read XML file on the server and download all the files that listed on that XML node to user PC into a

RE: [flexcoders] Child-parent communication, Flex and Flash

2008-04-02 Thread Alex Harui
The Flash SWFs should also be able to use the SomeSingletonClass.someMethod() From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mnorrstrand Sent: Wednesday, April 02, 2008 3:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Deep link:Enable back button of browser Issue:

2008-04-02 Thread Alex Harui
Deep linking isn't guaranteed to work from file::// so don't expect it work from the IDE. Deploy the swf and html and js to a server and try it there over http:// From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shekharsinbox Sent:

RE: [flexcoders] How to add text properties to dragged Image.

2008-04-02 Thread Alex Harui
Same answer as before. You can add Labels to your dragImage. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Swamy Nathan Sent: Tuesday, April 01, 2008 11:48 PM To: flexcoders@yahoogroups.com; [EMAIL PROTECTED] Subject: [flexcoders]

Θέμα: Re: [flexcoders] Vversion Compatabil ity

2008-04-02 Thread Νίκος Ιωάννου
--- Tom Chiverton [EMAIL PROTECTED] έγραψε: On Wednesday 02 Apr 2008, Asha Athrey wrote: xmlns=http://ns.adobe.com/air/application/1.0.M6 to xmlns=http://ns.adobe.com/air/application/1.0in the applications app-xml file. But still not able to launch

[flexcoders] Re: LCDS one-to-many managed association

2008-04-02 Thread zdenekmikan
I am curious: Was someone able to successfully implement the one-to-many managed association with custom Java assembler (POJOs)? Zdenek M --- In flexcoders@yahoogroups.com, Zdenek Mikan [EMAIL PROTECTED] wrote: I am struggling with very simple sample of one to many managed association

RE: [flexcoders] hasEventListener() on null object causes silent failure and exit from block

2008-04-02 Thread Alex Harui
I get the RTE when I call greatFun(). Are you sure that wasn't part of a binding expression evaluation? Those have catch blocks. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Wednesday, April 02, 2008 7:25 AM

Re: [flexcoders] hasEventListener() on null object causes silent failure and exit from block

2008-04-02 Thread Ben Clinkinbeard
Ah, yes, binding was involved. I still don't understand why the whole block exits though. Err, I guess I understand, but I don't like it. :) I have always wished the null checks worked a bit differently. Like it would be handy if we could say if( someObj.hasFoo ) and it would just evaluate to

Re: [flexcoders] Re: TabContainer with modules - how to cancel Tab change

2008-04-02 Thread Ben Clinkinbeard
Yep, this was my whole test app. The clicked tab gets traced out twice. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=init() mx:Script ![CDATA[ private function init():void {

[flexcoders] FlexBuilder: Passing url parameters to your flex app for debugging?

2008-04-02 Thread kuroiryu42
I want to pass an url to a config xml to my flex application I have tried going to the Run/Debug/Config properties and changing the path to launch to a local url default c:\dev\bin\MyApp.html so file:///C:/dev/bin/MyApp.html?config=http://myconfigurl/ the file protocol works great in the browser

[flexcoders] Partial result from HTTPService call

2008-04-02 Thread p_repetti
Hello I'm retrieving a JPEG from the server side to display it in an mx:Image. The image raw bytes are served by a plain Java Servlet. The content type is correct. If I call the servlet from a common browser it all works fine. The image is 400KB big. PROBLEM: when I call the servlet from Flex

RE: [flexcoders] how to find out the undo-select item in datagrid

2008-04-02 Thread coder3
i have multiple-select, and i can deselect not just the last one. Alex Harui wrote: You should keep track of the last selectedItem. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of coder3 Sent: Tuesday, April 01, 2008 6:58

Re: RES: [flexcoders] How to change the mouse scroll range of datagrid component

2008-04-02 Thread bigbb_kimo
Hello I try to implement a subclass of DataGrid with the following function: override protected function scrollVertically(pos:int, deltaPos:int, scrollUp:Boolean):void{ super.scrollVertically(pos,1,scrollUp); } However, it does not work properly. Some rows disappeared when I scroll up

[flexcoders] Item renderer behavior change in Flex3 ??

2008-04-02 Thread Robert Csiki
Hello Code that used to work with Flex2 does not work right with Flex3. I have a TileList with a custom item renderer. The renderer has view states, it also has handler for creationComplete. With Flex2, the creationComplete handler was always executed in renderer when the TileList data provider

RE: [flexcoders] Partial result from HTTPService call

2008-04-02 Thread Tracy Spratt
First, don't use lastResult. It is intended for binding expressions. Use event.result. Change that an see if it helps. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of p_repetti Sent: Wednesday, April 02, 2008 1:05 PM To:

RE: [flexcoders] flashvars hate me

2008-04-02 Thread Tracy Spratt
It looks like you are doing this manually. I always start with a wrapper generated by FlexBuilder, and edit the AC_FL_RunContent function as Rick suggests. I have never had any problems. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] How to open a File

2008-04-02 Thread Tracy Spratt
You cannot do this using a flex app hosted in a browser, for security reasons. You would need to host your app in AIR. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Asha Athrey Sent: Wednesday, April 02, 2008 5:09 AM To:

RE: [flexcoders] Re: How to create a new file and write the contents to it.

2008-04-02 Thread Tracy Spratt
The documents will address these questions very well. Study up, and post back if you have any specific questions. If you do use AIR, please include that in the subject. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaskar

Re: [flexcoders] Disable/enable menuBar menuItem

2008-04-02 Thread nhid
Got it working, Tracy. Thanks a lot. On 4/1/08, Tracy Spratt [EMAIL PROTECTED] wrote: In literal xml declarations, the braces do not create a binding. They simply give access to the members of the parent scope. To do what you want, use an e4x expression to find the menuitem node you

[flexcoders] fillColors on SelectedTab?

2008-04-02 Thread Rick Schmitty
I can't seem to get the fillColors style to work with the selected tab of a tab navigator, works fine for the non-selected tabs...

RE: [flexcoders] Item renderer behavior change in Flex3 ??

2008-04-02 Thread Tracy Spratt
...Flex2, the creationComplete handler was always executed in renderer when the TileList data provider... No, it wasn't. You were getting lucky some other way. itemRenderer behavior has not changed significantly between 2 and 3. All updates to a renderer must be triggered by the set data()

[flexcoders] Re: Scroll Thumb Not Dynamically Sized?

2008-04-02 Thread Ethan Miller
Thanks, Alex. Poking around, found the method that controls thumb size in ScrollBar.as. Looks super easy to hardwire it, however I'm not sure how to make my Project then use my altered ScrollBar class ... ? thanks, ethan --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

[flexcoders] Datechooser date select

2008-04-02 Thread ghus32
Hello everyone, Is there a way to have a date preselected in the date chooser?? ex.. I pull a date from my database 4/22/2008, and I want to use this date to preselect on the date chooser. Thanks again Steve

Re: [flexcoders] Re: Modules dont work when converting from Flex 2 to Flex 3

2008-04-02 Thread Raymond Martin
Could it be that you're accessing a deployed mxml and the webtier compiler is being used, compiling as flex 2? On 02/04/2008, Alex Harui [EMAIL PROTECTED] wrote: Could be pulling a module from a browser cache? You have an old module SWF somewhere, you just have find it.

[flexcoders] Calendar / Scheduling Component

2008-04-02 Thread Tom Armstrong
Hi All, I'm looking for a component to help with a scheduling application that I'm building in flex. I need the ability to drag-drop dates / tasks, etc. I read somewhere that Adobe was working on such a component but can't find it. Any links to help with existing components would help.

Re: [flexcoders] Datechooser date select

2008-04-02 Thread Scott Melby
I believe you can just set the selectedDate property. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com ghus32 wrote: Hello everyone, Is there a way to have a date preselected in the date chooser?? ex.. I pull a date from my

RE: [flexcoders] flashvars hate me

2008-04-02 Thread Peter DeHaan
You can also check out: http://blog.flexexamples.com/2007/08/07/grabbing-flashvars-from-the-embe dding-html-template/. The example should have view-source enabled, so you can download the ZIP and see the MXML and HTML template) Peter From:

RE: [flexcoders] Datechooser date select

2008-04-02 Thread Peter DeHaan
Steve, How about something like the following: mx:DateChooser id=dateChooser1 selectedDate={new Date('2008/04/19')} / Or mx:DateChooser id=dateChooser2 initialize=dateChooser2.selectedDate = new Date('2008/04/19'); / Peter From:

[flexcoders] checking for an existing VBox container in ActionScript?

2008-04-02 Thread Anthony Ettinger
I want to dynamically create a VBox container for messaging from ActionScript, however it's unclear to me how to check if one already exists given its ID. var vBox:VBox = new VBox(); vBox.id = 'theBox; vBox.styleName = theBoxStyle; addChild(vBox); // here is where I want to check for

[flexcoders] Re: Posted bug in Adobe with description of the problem

2008-04-02 Thread lytvynyuk
Thank you Rick! I appreciate you attention and help. Yes, there are some workarounds I figured, I think it should consider column width always, not only when creating DataGrid component, similar story happening with resizing. --- In flexcoders@yahoogroups.com, Rick Winscot [EMAIL PROTECTED]

Re: [flexcoders] Calendar / Scheduling Component

2008-04-02 Thread matt wicks
Have you looked at the ganttSheet that Ilog have created? http://www.ilog.com/products/elixir/ matt On 2 Apr 2008, at 20:19, Tom Armstrong wrote: Hi All, I'm looking for a component to help with a scheduling application that I'm building in flex. I need the ability to drag-drop dates /

Re: [flexcoders] checking for an existing VBox container in ActionScript?

2008-04-02 Thread DreamCode
something like this ? if (!theBox){ var vBox:VBox = new VBox(); vBox.id = 'theBox; vBox.styleName = theBoxStyle; addChild(vBox); } // Add content to the box or whatever --API On Wed, Apr 2, 2008 at 11:23 AM, Anthony Ettinger [EMAIL PROTECTED] wrote: I want to

[flexcoders] ItemRenderer Button fillColor

2008-04-02 Thread jmfillman
I am trying to take the value field from the array, and use it in an itemRender to set the color of a button in the itemRender. What is the correct syntax for this? ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[

Re: [flexcoders] flashvars hate me

2008-04-02 Thread Dennis Falling
No, I'm doing it with the template html file. I've double-checked the html source in my browser after running and they're all there. I've added the url=woo code in four places: the AC_FL function, the embed src=...swf?url=woo, the param flashvars value=url=woo..., and the FlashVars=url=woo. I'm

[flexcoders] Re: Calendar / Scheduling Component

2008-04-02 Thread jmfillman
Tom, I am currently working on an appointment calendar component. I'm nearly finished. You can try it out at http://www.imbizzi.com JF

[flexcoders] Re: checking for an existing VBox container in ActionScript?

2008-04-02 Thread caffeinewabbit
It sounds like you're approaching the problem from a JavaScript style mindset, which isn't really the best way to go when dealing with AS3. Without knowing more about your project or surrounding code, I'd suggest something along these lines: ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] rss feed not working

2008-04-02 Thread hworke
Hi am reading an rss file and calling the HTTPService with action script then handling the HTTPService result to a AsyncToken and finally handling the result is onResult function. But for some reason It is not giving me any return. Here is the HTTPService and the function that calls

Re: [flexcoders] Calendar / Scheduling Component

2008-04-02 Thread Jeffry Houser
You can take a look at the SCheduling Framework which is now a part of FlexLib. Tom Armstrong wrote: Hi All, I'm looking for a component to help with a scheduling application that I'm building in flex. I need the ability to drag-drop dates / tasks, etc. I read somewhere that Adobe

Re: [flexcoders] Re: checking for an existing VBox container in ActionScript?

2008-04-02 Thread Anthony Ettinger
Understandable, but I'm adding multiple VBoxes, so I'm giving them different IDs --- is it even possible to access it by the ID? I want to create it, if it doesn't exists, and then write to it (the new one or the existing one). On Wed, Apr 2, 2008 at 11:59 AM, caffeinewabbit [EMAIL PROTECTED]

  1   2   >