[flexcoders] DataGridCollumn: Display formatted value

2006-11-03 Thread Pascal Schrafl
Hi all, I have a DataGridCollumn where I display the time in Seconds (i.e. 77). I would like to convert the diplayed time into minutes and seconds. I have a function, that converts the seconds into minutes and seconds, i.e. 1:17 The function is named secondsToMinuteString. Here's the code:

Re: [flexcoders] DataGridCollumn: Display formatted value

2006-11-03 Thread Pascal Schrafl
a undefined variable in my concern you didn't have in your function the lengh_seconds but also just secs. Regards On 11/3/06, * Pascal Schrafl* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all, I have a DataGridCollumn where I display the time in Seconds (i.e. 77

Re: [flexcoders] Re: DataGridCollumn: Display formatted value

2006-11-03 Thread Pascal Schrafl
Hi Andrew, Thanks for your advice. Thank you for explaining me the function of labelFunction. I will try your approach and will let you know, if I had success. Best regards, Pascal greenfishinwater wrote: This is an example of labelFunction that works for me: In mxml:

[flexcoders] Slider thumb controlling playheadTime of VideoDisplay

2006-11-04 Thread Pascal Schrafl
Hi all, I have a slider thumb and would like to controll the playheadTime of a VideoDisplay with it. I therefore use this code: ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=340 height=300 !-- video display -- !-- important, video sends the

[flexcoders] VideoPlayer Example

2006-11-05 Thread Pascal Schrafl
Hi all, I'm trying to build a videoplayer, that gets some urls from an XML file and then can play those .flv, that are located at those urls. I looked at the Flex Manual and have used the NetConnection Example. Now as I plug the videoPlayer Component into my application, I suddenly only hear

[flexcoders] Fade Text in and out, when text variable is changed

2006-11-05 Thread Pascal Schrafl
Hi all, I have some text, that gets retrieved from some variables (those variables get retrieved from an xml-file). I would like to fade in the text, when the variable changes and fade it out, when the old text is replaced by the new one (i.e. again the variable changes). I tried

[flexcoders] DataTip on DataGrid: Change background color

2006-11-05 Thread Pascal Schrafl
Hi all, I use some DataTips on a DataGrid (showDataTips=true). It works fine, but the DataTips have a yellow background. Where can I change this background color? I have tried to use the CSS Style: DataTips { backgroundColor: #FF } but the background color of the DataTips didn't change.

Re: [flexcoders] VideoPlayer Example

2006-11-06 Thread Pascal Schrafl
Hi Marcel, I didn't try that. But I will add this line of code to the application init function. I will post you my results. Best regards, Pascal Marcel Fahle wrote: Hey Pascal, without looking at your code (but the symptoms are familar to me ;)): did you gave the domain www.youtube.com

Re: [flexcoders] onPress Event in Flex 2.0 on Button?

2006-11-15 Thread Pascal Schrafl
Hi Mike, Thanks for your answer. I wanted the second part, that the event gets fired as long as the button is pressed. Is there a way, how this can be done easily? Thanks for your answer, Pascal Mike Keesey wrote: What do you mean by fires once, instead of the whole time? The onPress

Re: [flexcoders] onPress Event in Flex 2.0 on Button?

2006-11-15 Thread Pascal Schrafl
Hi Andrew and camlinaeizerous, autoRepeat=true did the job for me. I will check with the repeatInterval and the repeatDelay, perhaps it may enhance the function a bit. Thank you very much, you made my day. Cheers, Pascal Andrew Trice wrote: Just turn on the autoRepeat property of the

[flexcoders] Accessing methods in nested components

2006-10-24 Thread Pascal Schrafl
Hi all, I'm new to Flex but used OpenLaszlo before. I must now build an application to use with Zinc for my studies and as OpenLaszlo is not supported by Zinc, I decided to use Flex 2. I have several components and would like to call some methods in other components. Here's my application

[flexcoders] Accessing a method in a component

2006-10-24 Thread Pascal Schrafl
Hi all, I'm new to Flex but used OpenLaszlo before. I must now build an application to use with Zinc for my studies and as OpenLaszlo is not supported by Zinc, I decided to use Flex 2. I have several components and would like to call some methods in other components. Here's my application

Re: [flexcoders] Accessing methods in nested components

2006-10-24 Thread Pascal Schrafl
Hi Tracy, Thanks for your answer. And sorry for the trippe posting. I used the mx.core.Application.application approach too, but I always get an error #1069. I have no clue, why it doesn't work. From the nested component (addressBook) I can access the sessionID by using

Re: [flexcoders] Accessing methods in nested components

2006-10-24 Thread Pascal Schrafl
Hello Gordon, Thanks for the hint. I will try this. I didn't know, that the parentDocument must be cast, because I use it also (parentDocument.currentState='') and there it works. I will try it and give you a feedback, if it solved my problem. Best regards, Pascal Gordon Smith wrote: If

Re: [flexcoders] Accessing methods in nested components

2006-10-24 Thread Pascal Schrafl
Hi Gordon, My main application is called main.mxml and I have tried to cast it: main(parentDocument).filenet.sidebar.addressbookTab.addressBook.getAddressBookEntries(); I still get the Error #1069. Thanks for the help. Best regards, Pascal -- Flexcoders Mailing List FAQ:

[flexcoders] Autoscrolling Text

2006-10-28 Thread Pascal Schrafl
Hi all, I wanted to ask, if somebody can let me know, how I can create a autoscroll text. As I will have a fixed screen size, I would like to display the text in a textbox, and check the text, if it surpasses a certain length. If the complete text can not be displayed in the textbox (as it is

[flexcoders] Flex Developer seeked for expert help

2006-10-29 Thread Pascal Schrafl
Hi all, I'm seeking for a Flex 2 Developer, who could assist me in developing a small application (video player for youtube with some zinc functions, I just need to get that video displayed at the moment). I assume, that I would need about 2 hours of dedicated time. I seeking for an expert to

[flexcoders] AS3 or Flex MXML to UML, OO architecture, use cases, object classes, sequence diagrams, and state diagrams

2008-07-30 Thread Pascal Schrafl
Hi all, Does anyone of you know a tool, to reverse engineer a already existing Flex 3 application in order to create the OO architecture, use cases, object classes, sequence diagrams and state diagrams in UML? Thanks a lot for your answers and best regards, Pascal