[flexcoders] URLStream, RMTP, ByteArray?
Hi Coders, I am able to record,capture a video or an audio to desktop with AIR using URLStream, and byteArray. It works np. In the project client ask me to record the streaming video to desktop while the video is streaming. Been trying to use URLStream over RMTP but as can be thought it does not work? Any thoughts to achieve this? Best, Berkay UNAL www.berkayunal.com berkayu...@gmail.com
Re: [flexcoders] URLStream, RMTP, ByteArray?
Scenario is like this:It is an IPTV app where users can watch videos online when they purchase and also while they are watching the video should be downloaded to client machine for later use. Best, Berkay UNAL berkayu...@gmail.com On Wed, Jun 17, 2009 at 18:11, Harish Sivaramakrishnan hsivaramakrish...@gmail.com wrote: The whole purpose of keeping it streaming is that you SHOULD NOT be able to rip it using your client. I cannot think of a legal, straightforward way. Cheers Harish On Wed, Jun 17, 2009 at 7:56 PM, Berkay Unal berkayu...@gmail.com wrote: Hi Coders, I am able to record,capture a video or an audio to desktop with AIR using URLStream, and byteArray. It works np. In the project client ask me to record the streaming video to desktop while the video is streaming. Been trying to use URLStream over RMTP but as can be thought it does not work? Any thoughts to achieve this? Best, Berkay UNAL www.berkayunal.com berkayu...@gmail.com
Re: [flexcoders] VO and LabelField Problem
Nothing happens. I got it working if i cast the evt.result to ArrayCollection but when i cast it, in the flex debugger i see the result.events as an nativeObject not VO Objects. Best, Berkay UNAL berkayu...@gmail.com On Mon, Jan 12, 2009 at 18:06, Alex Harui aha...@adobe.com wrote: What happens when you use labelField=courseName? *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Berkay Unal *Sent:* Sunday, January 11, 2009 9:24 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] VO and LabelField Problem Hi, When trying have dataprovider for a list control using remoting with VO i cannot set the label of the control with the labelField = courseName. How to achieve this, guess i am missing smthing. Any help appreciated much result Array (@1a522159) [0]com.abc.courseList.VO.CourseVO (@1ee40449) courseID 1 courseNameCourse1 [1]com.abc.courseList.VO.CourseVO (@1ee404c1) courseID 2 courseNameCourse2 [2]com.abc.courseList.VO.CourseVO (@1ee40719) courseID 3 courseNameCourse3 length 3 Best Bunal
[flexcoders] VO and LabelField Problem
Hi, When trying have dataprovider for a list control using remoting with VO i cannot set the label of the control with the labelField = courseName. How to achieve this, guess i am missing smthing. Any help appreciated much result Array (@1a522159) [0] com.abc.courseList.VO.CourseVO (@1ee40449) courseID 1 courseName Course1 [1] com.abc.courseList.VO.CourseVO (@1ee404c1) courseID 2 courseName Course2 [2] com.abc.courseList.VO.CourseVO (@1ee40719) courseID 3 courseName Course3 length 3 Best Bunal
[flexcoders] Custom Event problem?
Hi I have 2 components. These two components both extends the core component abilist. abi:CourseList width=400 height=300 / abi:CourseChapterList width=400 height=300 / When abi:CourseList dispatches a custom event AbiListEvent.COURSECHANGED it doesnt caught by abi:CourseChapterList by addEventListener in the constructor of the abi:CourseChapterList. I can catch it , if i assign by Application.application.addEventListener in the abi:CourseChapterList's constuctor. Is there any other way to do this without Application.application and a framework? Best, Bunal
[flexcoders] FMS3 and ZendAMF
Hi, I've been trying to use serverside remoting in FMS3 with ZendAMF but no luck. I get onStatusinfo.code: Client.Header.BadVersion in FMSLiveLog But when i try to use the samegateway with Flex there is np and eveything works smooth. Thought it might be smthing related to amf version but FMS3 should also use AMF3 in serverside calls? Any help would be appreciated much. If needed i can post the code. Best Berkay
[flexcoders] TrackHighlight Skin in HSlider?
Hi, I have checked the documentation but could not find the relative skin style for the trackhighlight? Does anyone knows if it is possible to be changed? Best BUnal
[flexcoders] Re: TrackHighlight Skin in HSlider?
Hey Guys, Sorry , i haven't seen it. Found it. Best On Mon, Dec 22, 2008 at 17:44, Berkay Unal berkayu...@gmail.com wrote: Hi, I have checked the documentation but could not find the relative skin style for the trackhighlight? Does anyone knows if it is possible to be changed? Best BUnal
[flexcoders] Dynamic variable for embed image classes?
Hi, I am trying to get the icons that are embeded with a dynamic variable. For ex: ikon(usd); But cannot make it work. Any ideas? //SRC [Embed(images/eur.png)] private var icon_EUR:Class; [Embed(images/usd.png)] private var icon_usd:Class; [Embed(images/chf.png)] private var icon_CHF:Class; public function ikon(value:String):Class { var t:String = icon_+value; var classRef:Class = getDefinitionByName(t) as Class; return new classRef(); } Best, Berkay UNAL berkayu...@gmail.com
Re: [flexcoders] Dynamic variable for embed image classes?
Ahh right ;) Thanks for the info. Best, Berkay UNAL berkayu...@gmail.com On Tue, Dec 16, 2008 at 20:36, Alex Harui aha...@adobe.com wrote: Icon_usd is not the name of the class, it is a variable referencing the class (what would be returned from getDefinition) You can try: var classRef:Class = this[icon_ + value] From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Berkay Unal Sent: Tuesday, December 16, 2008 9:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dynamic variable for embed image classes? Hi, I am trying to get the icons that are embeded with a dynamic variable. For ex: ikon(usd); But cannot make it work. Any ideas? //SRC [Embed(images/eur.png)] private var icon_EUR:Class; [Embed(images/usd.png)] private var icon_usd:Class; [Embed(images/chf.png)] private var icon_CHF:Class; public function ikon(value:String):Class { var t:String = icon_+value; var classRef:Class = getDefinitionByName(t) as Class; return new classRef(); } Best, Berkay UNAL berkayu...@gmail.com
Re: [flexcoders] Re: 3rd party compiler for AIR with some extension?
Thanks this will also work out. On Fri, Aug 15, 2008 at 5:03 PM, haykelbj [EMAIL PROTECTED] wrote: don't know if this is what you meant: http://www.shu-player.com/ but this is not a compiler but a tool to wrap AIR applications in exe files. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Berkay Unal [EMAIL PROTECTED] wrote: Hi Coders, I have recently find a 3rd party tool that extends air with couple of features but i cannot remember the url Does anyone has the URL? -- Berkay UNAL [EMAIL PROTECTED] -- Berkay UNAL [EMAIL PROTECTED]
[flexcoders] 3rd party compiler for AIR with some extension?
Hi Coders, I have recently find a 3rd party tool that extends air with couple of features but i cannot remember the url Does anyone has the URL? -- Berkay UNAL [EMAIL PROTECTED]
[flexcoders] Returning value inside a nested functions event?
Hi Coders I want to return a value from a handler function that is nested inside a function. The scenario is to check the duplicate Does anybody know how to achieve it? public function checkDuplicate(email:String):Boolean { var checkStmt:SQLStatement = new SQLStatement(); checkStmt.sqlConnection = conn; var sql:String = select * from people where email = '[EMAIL PROTECTED]' ; checkStmt.text = sql; checkStmt.addEventListener(SQLEvent.RESULT, function(e:SQLEvent):Boolean { var result:SQLResult = checkStmt.getResult(); Alert.show(result.data[0][name]) return true; }); //checkStmt.addEventListener(SQLErrorEvent.ERROR, errorDBHandler); checkStmt.execute(); } -- Berkay UNAL [EMAIL PROTECTED]
Re: [flexcoders] Opening path with Finder/Explorer in AIR
Well the file is the DB file. And the Machines has no internet connection.That DB file needs to upload to a CF server which will parse the data and process. The DB file is located in Users folder. When you use NavigateToURL in a windows box it is no problem. But the client machines are all Mac. The client cannot find the DB file in the system (Limited knowledge in computers), so he cannot attach it to an email to send it over to the system admin who would upload the sqlite file to CF So if would be perfect if there is a way to open a Finder/Explorer Window and let him do whatever he wants On Tue, Aug 5, 2008 at 2:02 PM, Tom Chiverton [EMAIL PROTECTED]wrote: On Tuesday 05 Aug 2008, Berkay Unal wrote: I am able to do it with browser but could not find a way to open the path with finder/explorer What the users computer chooses to do when you navigateToUrl() with a URL that starts 'file://' is probably beyond your control. I happen to like the way KDE's Konqueror gets launched for file:// URLs even if they're on a http:// site in Konq., for instance. Someone else might prefer that Nautilus gets launched in that case, and configure Konqueror to do that. shrug Why is it important ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Berkay UNAL [EMAIL PROTECTED]
[flexcoders] Opening path with Finder/Explorer in AIR
Hi Coders, I have an application that store data in users folder. Does any one know how to open that folder with Finder/Explorer so user can take those files attach to its email, do anthing else. I am able to do it with browser but could not find a way to open the path with finder/explorer
[flexcoders] Using AIR sqlite DB with PHP
Hi Coders, I am trying to use an sqlite file that is created in AIR with PHP. When i try to open the DB with an SQLITE manager there is no problem. But when i try to access it with PHP i get file is encrypted or is not a database Has anyone got experience. Really appreciate it much Best -- Berkay UNAL [EMAIL PROTECTED]
[flexcoders] Re: Using AIR sqlite DB with PHP
Well i solved the problem. The problem was AIR uses SQLITE3 and in order to use it with php you need to use PDO Best On Fri, Feb 22, 2008 at 1:44 AM, Berkay Unal [EMAIL PROTECTED] wrote: Hi Coders, I am trying to use an sqlite file that is created in AIR with PHP. When i try to open the DB with an SQLITE manager there is no problem. But when i try to access it with PHP i get file is encrypted or is not a database Has anyone got experience. Really appreciate it much Best -- Berkay UNAL [EMAIL PROTECTED] -- Berkay UNAL [EMAIL PROTECTED]
[flexcoders] Air DragDrop images between windows?
Hi Coders, Does anyone have an example on dragout and image from one window to another? Thanks Berkay
[flexcoders] Update viewstack view on each button click
Hi Coders I have 2 buttons and when clicked i am changing the viewstack's selectedChild. My problem is i have some dynamic content on the peopleView. When i click on the UserList button the stack change and data is loaded. But when i click it again it does not refresh. What i need to know is every time i click on the a button although the current view is the same as the clicked one i want it to be recreated? Anyone know how to achieve this? mx:Button label=Add Person click=mainView.selectedChild = personView icon={__AddPersonIcon} / mx:Button label=User List click=mainView.selectedChild = peopleView icon={__PeopleIcon} / mx:ViewStack id=mainView width=100% height=100% paddingTop={ myMenuBar.height} views:person id=personView dbConnection={conn} / views:people id=peopleView dbConnection={conn} / /mx:ViewStack
Re: [flexcoders] Update viewstack view on each button click
Well i have solved the problem. My problem was when i reference a function that is making some design changes inside a viewstack it was giving an error reference null. I have fixed it with the callLater method. Now everyhing is fine Thanks On Jan 29, 2008 2:27 PM, yigit [EMAIL PROTECTED] wrote: creating the view again and again is not a good solution; instead you better use data binding and keepdata valid in a singleton model class... another (bad) solution is that, if your component do their business job themselves (connect to server, retrieve data); implement them an init function which you will call when you select that component. the function will free the data arrays first then retreive data from server... but as i said before; you better use a singleton Model class. Berkay Unal wrote On 01/29/2008 12:14 PM: Hi Coders I have 2 buttons and when clicked i am changing the viewstack's selectedChild. My problem is i have some dynamic content on the peopleView. When i click on the UserList button the stack change and data is loaded. But when i click it again it does not refresh. What i need to know is every time i click on the a button although the current view is the same as the clicked one i want it to be recreated? Anyone know how to achieve this? mx:Button label=Add Person click=mainView.selectedChild = personView icon={__AddPersonIcon} / mx:Button label=User List click=mainView.selectedChild = peopleView icon={__PeopleIcon} / mx:ViewStack id=mainView width=100% height=100% paddingTop={myMenuBar.height} views:person id=personView dbConnection={conn} / views:people id=peopleView dbConnection={conn} / /mx:ViewStack -- Berkay UNAL [EMAIL PROTECTED]
[flexcoders] Overlay over mx:videoDisplay
Hi Coders, I am trying to achieve some animation over mx:videodisplay to show some events like buffering etc etc. I am tried making it work with mx:states. But I can only use position:Before | After. But could not make the animation or image to overlay on the centers of the videoDisplay Does anyone have an example or way to show. Thanks
[flexcoders] Re: Overlay over mx:videoDisplay
Sorry for taking time. I have solved my problem On 9/5/07, Berkay Unal [EMAIL PROTECTED] wrote: Hi Coders, I am trying to achieve some animation over mx:videodisplay to show some events like buffering etc etc. I am tried making it work with mx:states. But I can only use position:Before | After. But could not make the animation or image to overlay on the centers of the videoDisplay Does anyone have an example or way to show. Thanks -- Berkay UNAL [EMAIL PROTECTED]