[flexcoders] Re: loading flv videos dynamically

2008-08-20 Thread stinasius
hi guys still haven't made progress from my last post. please help me figure out this. thanks alot

[flexcoders] Re: loading flv videos dynamically

2008-08-10 Thread stinasius
hi its a little more complicated than i mentioned it. i am using a custom flvplayer component developed by some guys which i load into another component that holds my datagrid. here is my code maybe you can be able to help me when you view like this. "FLaVr.mxml" http://www.adobe.com/2006/mxml";

Re: [flexcoders] Re: loading flv videos dynamically

2008-08-10 Thread Simon Bailey
Something like: [Bindable] public var selectedClip:String; private function loadClip():void { var url:String = "http://localhost:8500/iestate/images/ video/"+selectedClip; trace(url); } destination="selectedClip"/> width="100%" click="if (aDataGrid.selectedIndex != -1) loadClip

[flexcoders] Re: loading flv videos dynamically

2008-08-10 Thread stinasius
hi if you dont mind would please post a code snippet of how to go about your solution?

Re: [flexcoders] Re: loading flv videos dynamically

2008-08-10 Thread Simon Bailey
Are you sure a string is being passed as a value? I would create a variable such as: [Bindable] public var selected_clip:String; and assign the selected item to this variable casting it as a String. HTH Simon On 10 Aug 2008, at 11:13, stinasius wrote: thats exactly what i meant and what am

[flexcoders] Re: loading flv videos dynamically

2008-08-10 Thread stinasius
thats exactly what i meant and what am doing but nothing is played in the flv player. here is the code i use for sending the video to the player when a row is clicked "http://localhost:8500/iestate/images/video/{parentDocument.dgrid.selectedItem.image}";;

Re: [flexcoders] Re: loading flv videos dynamically

2008-08-10 Thread Simon Bailey
Hi, I am unsure 100% if your doing what I think your doing, but you mention loading the video into the database and DataGrid. I wouldn't do that! Simply store the path to the flv's in the database. So the DataGrid is populated with the url's to your flv's i.e. ../path/flvs/ myvideo.flv

[flexcoders] Re: loading flv videos dynamically

2008-08-10 Thread stinasius
any help guys?