Re: [flexcoders] change button color dynamically?

2012-08-17 Thread Sudesh Das
hello Mark,
   you can use the urcomponentID.setStyle(stylename, value); to change the 
style of component.

Regards,
Sudesh



 From: markflex2007 
To: flexcoders@yahoogroups.com 
Sent: Friday, August 17, 2012 8:18 PM
Subject: [flexcoders] change button color dynamically?
 
The following code can change Button Color



May I use setStyle in AS TO change fillColors, please show me how to do that?

May I use AS code change fillColors dynamically with dynamic data.

Thanks

Mark







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links



    http://docs.yahoo.com/info/terms/

Re: [flexcoders] How to sync Audio and video files

2010-05-10 Thread Sudesh Das


Hello Pravin,
  Thanks for the help. But my client not all listening.
Thanks & Regards
Sudesh

 



From: "p...@vin Uttarwar" 
To: flexcoders@yahoogroups.com
Sent: Mon, May 10, 2010 1:56:38 PM
Subject: Re: [flexcoders] How to sync Audio and video files

  

Hello Sudesh,

Look the thing is that you are trying to sync two different file(Hope there 
bitrate is same),
Here the problem is that two different streams that you are playing can take 
different bandwidth so synchronization problem
starts here only as one stream can be behind of other or vice verse.

Now to achieve the synchronization  you need to make sure that both streams are 
playing at constant bitrate or having equal elapsed time.

You can achieve this on cleint side by continuous monitiring of two streams.

eg: If you set timer of 5 sec then you will check 
stream1.time and stream2.time if both are not exactly same then you can 
seek the audio stream same as video stream to handle the sync.

But here problem is that after X number of seconds you are seeking the stream 
so no audio will be hered untill seeking will complete.

Thanks & Regards,

Pravin Uttarwar | Perennial Systems
pravin.uttar...@perennialsys.com | Cell: +91 9371288080 | Tel: +91 (020) 2421 
1286 Ext:2007



On 10 May 2010 13:14, Sudesh Das  wrote:

>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>  >
>
>>
> 
>>  
> 
>
>
>Hello Pravin,
>   its the clients requirement. There may be up to 3-4 video files and a 
> single audio. and I have to play all in sync.
>>
>Thanks 
>
>

From: "p...@vin Uttarwar" 
>To: flexcoders@yahoogroups.com
>Sent: Mon, May 10, 2010 12:12:10 PM
>Subject: Re: [flexcoders] How to sync Audio and video files
>
>
>
>
>>
>
>
>
>Hi Sudesh,
>
>You are trying to achieve something which is next to impossible.
>Why you have used two separate files to record audio and video instead of 
>single file?
>
>Thanks & Regards,
>
>>
>Pravin Uttarwar | Perennial Systems
>pravin.uttar...@perennialsys.com | Cell: +91 9371288080 | Tel: +91 (020) 2421 
>1286 Ext:2007
>
>
>
>On 10 May 2010 11:40, sudeshdas  wrote:
>
>>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>  >>
>>
>>>>
>> 
>>>>  
>> 
>>Hi All,
>>>>   In my flex application the video and audio files are loaded separately. 
>>>> I want sync both to play together. can anyone give some idea.
>>
>>>>Thanks
>>>>Sudesh 
>>
>>
>
>
>
>






  

Re: [flexcoders] How to sync Audio and video files

2010-05-10 Thread Sudesh Das


Hello Pravin,
   its the clients requirement. There may be up to 3-4 video files and a single 
audio. and I have to play all in sync.
Thanks 



From: "p...@vin Uttarwar" 
To: flexcoders@yahoogroups.com
Sent: Mon, May 10, 2010 12:12:10 PM
Subject: Re: [flexcoders] How to sync Audio and video files

  

Hi Sudesh,

You are trying to achieve something which is next to impossible.
Why you have used two separate files to record audio and video instead of 
single file?

Thanks & Regards,

Pravin Uttarwar | Perennial Systems
pravin.uttar...@perennialsys.com | Cell: +91 9371288080 | Tel: +91 (020) 2421 
1286 Ext:2007



On 10 May 2010 11:40, sudeshdas  wrote:

>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>  >
>
>>
> 
>>  
> 
>Hi All,
>>   In my flex application the video and audio files are loaded separately. I 
>> want sync both to play together. can anyone give some idea.
>
>>Thanks
>>Sudesh 
>
>