[flexcoders] Double-click to cancel Click

2007-01-21 Thread ecpmaz
I don't know if this is implemented natively somewhere in flex... but I want to cancel a click event when a double click is caught. mx:TextInput click=f1() doubleClick=f2() / If user double clicks, f1 and f2 will be launched... I want only f2 to be launched. The same goes between mouseDown and

Re: [flexcoders] Double-click to cancel Click

2007-01-21 Thread Ralf Bokelberg
Instead of directly handling the events, you could put them into a queue, which is evaluated after a little delay, at least as long as the double click delay. This way you can decide, if it is a single or a double click. Cheers, Ralf. On 1/21/07, ecpmaz [EMAIL PROTECTED] wrote: I don't know

[flexcoders] PopUpMenuButton Button Index - simple question

2007-01-21 Thread phipzkillah
Hey I have a simple question... How can I write an event listener for mouse over the icon button in the pop up menu button control? I have a pop up menu button and I want the pop up to appear when the mouse rolls over the icon (arrow) button that contains the pop up. Any ideas how to do this?

[flexcoders] Re: Using Flash For Authoring Flex 2 Content -- A Definitive Guide?

2007-01-21 Thread michael.ritchie
I keep asking Jesse why the hell he don't write a book about this stuff, something about attention span I used Jesse's blogs to make skins for work at my oufit, the dude rocks. We need to have more information out there on how to make better Flex applications with Flash. Jesse is on the

[flexcoders] Error while deploying Flex Data services application on SAP J2EE AS

2007-01-21 Thread ulag00
All, I am trying to deploy a Flex Data Services application on SAP J2EE Engine ( NetWeaver 2004s SP06). I deploy the application using Netweaver Developer Studio 7.0.06. I am deploying the application as a compressed EAR archive. Once deployed, when it tries to start the application I get

[flexcoders] repeater and id

2007-01-21 Thread dex
hello! im not sure im using repeater in right place, but i need to add new input text fields with button and NumericStepper. The problem is that when im trying to assign text inputs id id=a{String(rp.currentItem)} i get an error: 'a{String(rp.currentItem)}' is not a valid identifier. Is it

[flexcoders] Trouble coding AS Effect

2007-01-21 Thread David Buitenveld
Hi all - I am having trouble locating the proper way to attach an effect via AS code.. at a high level, I have controllers that are associated with views (Canvas descendants).. works well for me, but now I would like to have controllerA hand off control to controllerB/ViewB using a WipeDown

Re: [flexcoders] repeater and id

2007-01-21 Thread Ralf Bokelberg
The id needs to be a constant value, you can't use dynamic values for it. It looks like you are trying to implement a naming scheme like a1,a2,a3,... You can achieve something similar by naming your TextField just a. Now you can access the different TextFields like an array, eg. a[0], a[1],

Re: [flexcoders] Re: Using Flash For Authoring Flex 2 Content -- A Definitive Guide?

2007-01-21 Thread Martin Wood-Mitrovski
michael.ritchie wrote: I keep asking Jesse why the hell he don't write a book about this stuff, something about attention span I used Jesse's blogs to make skins for work at my oufit, the dude rocks. We need to have more information out there on how to make better Flex applications

[flexcoders] Re: Double-click to cancel Click

2007-01-21 Thread superstella_uk
In some languages Ive worked in, the click event is eaten as soon as it sees a doubleclick, so you dont have to worry. From what youre saying, Flex doesnt work like this, so I guess youll have to simulate it yourself. One option is to fire a timer on the click event, and if a doubleclick hasnt

[flexcoders] creating swf online

2007-01-21 Thread gdoucen
Hi, I want to create a light scrapblog application as a personnal project. Which techniques scrapblog or similar apps use to create the swf online ? Thanks for your help.

[flexcoders] Re: Double-click to cancel Click

2007-01-21 Thread ecpmaz
One option is to fire a timer on the click event, and if a doubleclick hasnt occured in the interim, then handle it as a click. Pretty ugly huh? but it will work. Alternatively handle the doubleclick yourself by seeing if two clicks occur in the timers interval. Yeah, it is the only way I

[flexcoders] Perspective Switching in Flex Builder

2007-01-21 Thread superstella_uk
I made a mistake and accidentally told Flex Builder that I didnt want it to automatically switch to Debugging perspective when I debug. How do I reset this option, I cant find it in Eclipse's options anywhere Thanks

[flexcoders] Combining controls in a list

2007-01-21 Thread Howard Fore
Somewhere in the last couple of days I've seen something and I can't remember where. Perhaps someone can point me in the right direction. It was a list of items, each a single line. The user could expand the item to show details on it, in list, by either clicking the item or a triangle to the

Re: [flexcoders] Re: Flex Data and Hibernate issue (identity mapping)

2007-01-21 Thread Richard Rodseth
John, I trust you read this thread about that article: http://forum.hibernate.org/viewtopic.php?t=967211 On 1/20/07, ripe101 [EMAIL PROTECTED] wrote: Hey Carlos, I'll be implementing my object IDs in this manner, it's a good article:

[flexcoders] Run time error ----- Netconnection must be connect.

2007-01-21 Thread rsekar_005
Dear Friends, in flex i am getting runtime error. this Net connection must be connect. plz give me solution for this. i am not able get video streaming. i am using flex. plz give me guide. or give me the sample code. can we able to do ip address base video streaming. give the sample. it

Re: [flexcoders] Non-english characters

2007-01-21 Thread Igor Costa
Try to use UTF-16 or ISO Best On 1/20/07, Mikhail Shevchuk [EMAIL PROTECTED] wrote: Hello, flexcoders! I got a Linux box with FF 1.5 and new Adobe Flash Plugin 9.0.31.0 installed. I have a problem with text in Russian - when I print some in input fields I got wrong characters. The page

[flexcoders] Re: repeater and id

2007-01-21 Thread ulag00
I am learning flex and I had similar requirement. I used attribute uid for this purpose. I was able to bind a dynamic value to uid in my prototype. I am not sure if this is the rightway. But I was able to leverage uid to identify the textfield uniquely. Regards Ulag --- In

[flexcoders] Adding an item to binded data XML source does not refresh view in a mx:Tree

2007-01-21 Thread Andriy Panas
Hello flexcoders, I ran into 2 different behaviors dependant on the type of binded data source (XML or XMLListCollection) to mx:Tree's dataProvider. Behavior #1 -- If I bind the data of XML type to dataProvider's mx:Tree the whenever I add the new node to XML data source at the

[flexcoders] Remote list (data provider)

2007-01-21 Thread roman_dolgov
FYI: Just to share a sample implementation of IList that supports remote paging and works well with DataGrid. (You don't need it if you are using FDS, otherwise I could not find much info how to do it without FDS) I tried two approaches: - using event notification - using ItemPendingError The

[flexcoders] Setting LinkBar button size?

2007-01-21 Thread Russell Sprague
Is there a way to set the width of the of the buttons in the LinkBar? I am trying to create a navigation path,where a user can click anywhere in the path to go to that location. ex. Parent/child/child/child etc. I was thinking using the linkbar would be easier then creating something from

[flexcoders] Re: HTTPService Vs PHP

2007-01-21 Thread nathanpdaniel
I do this sort of thing all the time - without amfphp - not that you still shouldn't look into it. For starters, your script below is incorrect. In our HTTPService object - you should have a parameter 'results' set equal to a function different from the one which calls the send() method of

[flexcoders] Re: Flex Data and Hibernate issue (identity mapping)

2007-01-21 Thread ripe101
Ah, cool, thanks for the link.. a heated thread, and some good points. I'm just getting started so I'll see how it goes. I still have a lot of ground to cover. Thanks John K. --- In flexcoders@yahoogroups.com, Richard Rodseth [EMAIL PROTECTED] wrote: John, I trust you read this thread

[flexcoders] Re: How to embed FlashType font?

2007-01-21 Thread zedan_gu
Can other help me? I am silly for this issue! --- In flexcoders@yahoogroups.com, zedan_gu [EMAIL PROTECTED] wrote: igorpcosta, thanks for your help, but I always make a error when I bulid the project, I had created a swf file in Flash 8, and embeded it in CSS. My project is in 2.0 now, I

[flexcoders] Socket Problem

2007-01-21 Thread David Steele
I've got a java server (based on the SimpleServer code suggested in the Flex documentation) and am listening to it from within Flex. It works fine when I run from within Flex. But as soon as I double-click the HTML file from within the bin folder, I get an error -- can't make the socket

Re: [flexcoders] Adding an item to binded data XML source does not refresh view in a mx:Tree

2007-01-21 Thread dorkie dork from dorktown
The XMLListCollection has a special design interfaces that allow it to be used correctly with databinding. The XML object does not. Remember how you use MyList.addItem(myItem) instead of myArray.push(myItem)? This is because addItem inspects data and dispatches events. It is the same thing with

Re: [flexcoders] Adding an item to binded data XML source does not refresh view in a mx:Tree

2007-01-21 Thread dorkie dork from dorktown
They explain it better than I do. :P http://livedocs.macromedia.com/flex/2/docs/0499.html Search on the page for raw data object Remember the race??? ;) On 1/21/07, dorkie dork from dorktown [EMAIL PROTECTED] wrote: The XMLListCollection has a special design interfaces that allow it to

[flexcoders] Difference Between FDS and Flex SDK

2007-01-21 Thread sanjaypmg
Hi, Can anyone tell me the main differences between Flex Data Services (FDS) and Flex SDK? And I have one more question, Can I connect to Remote Object without FDS? Please clearify my doubts. Thanks, Sanjay Sharma

[flexcoders] Re: scrollToIndex just won't work ... any workarounds ?

2007-01-21 Thread amigo_fd
found a solution: dg.validateNow() blog-example with and without the validate are available here: http://flextricks.wordpress.com/ --- In flexcoders@yahoogroups.com, amigo_fd [EMAIL PROTECTED] wrote: Hello, Any ideas why scrollToIndex won't work ? Tried it on a tilelist, datagrid, ... all

[flexcoders] Flex SDK configuration with JBoss?

2007-01-21 Thread sanjaypmg
Hi All, How can I configure Flex SDK with JBoss server? Is it the same as I configured Flex with JBoss or something different? Please do tell me. thanks, Sanjay sharma

Re: [flexcoders] video on flex

2007-01-21 Thread greg h
sekar, I just saw the following blog post: My Flex 2 Streaming Video Player http://www.webcfmx.com/blogman/archives/entries/42DF0600-2B3C-7D38-AB251B25EB7FA210.shtml The author, Mike, provides the source here: http://www.insideflex.com/fmsvideo/bin/srcview/index.html Note: He is streaming

RE: [flexcoders] Difference Between FDS and Flex SDK

2007-01-21 Thread Stembert Olivier (BIL)
Hi Sanjay, You will find a lot of answers by searching a little bit in this forum. And, by the way, here is the link to the doc: http://www.adobe.com/support/documentation/en/flex/ Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] FDS createItem - how to find ID of inserted record?

2007-01-21 Thread Stembert Olivier (BIL)
Hi, You should set the id in your dao class. Here is an example with a dao using Spring: public void create(Dept dept) throws DataAccessException { String sql = ... NamedParameterJdbcTemplate template = new NamedParameterJdbcTemplate(this.getDataSource()); MapSqlParameterSource namedParameters =

[flexcoders] Re: HTTPService Vs PHP

2007-01-21 Thread theduderino82
--- In flexcoders@yahoogroups.com, nathanpdaniel [EMAIL PROTECTED] wrote: I do this sort of thing all the time - without amfphp - not that you still shouldn't look into it. For starters, your script below is incorrect. In our HTTPService object - you should have a parameter 'results' set

[flexcoders] Re: 2.0.1 ListBase.as error

2007-01-21 Thread harishsivaram
Hi, I am following up on this issue and would greatly appreciate if a sample code simulating this issue could be provided. That would help us in understanding the use-case also. Thanks in advance Harish Flex SDK QE, Adobe. --- In flexcoders@yahoogroups.com, Shannon Hicks [EMAIL PROTECTED]

RE: [flexcoders] Remote list (data provider)

2007-01-21 Thread Stembert Olivier \(BIL\)
Hi, Thanks for sharing your code. Just want to say the paging mechanism is supported in Flex Data Management Service only (not in RPC services). Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of roman_dolgov Sent: