[flexcoders] Re: Split up data inside itemrenderer
Here is my main mxml file: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; height=100% layout=absolute creationComplete=startupServices() xmlns:lib=flexlib.containers.* styleName=ListItems xmlns:view=view.* verticalGap=0 !-- Call the XML list with the waiting folders -- mx:HTTPService id=getWaitingItems url=http://192.168.1.197/PHP/adminFolders/getFolders.php; method=GET useProxy=false result=waitingItems_results(event)/ !-- Calling the IMDB for results -- mx:HTTPService id=IMDBSearch url=http://192.168.1.197/PHP/adminFolders/imdbphp-1.0.3/imdbXMLsearch.php; method=GET result=imdbSearch_results(event) mx:request !--name{SearchBox.text}/name searchtypemovie/searchtype -- /mx:request /mx:HTTPService !-- Getting the IMDB item details -- mx:HTTPService id=IMDBDetails url=http://192.168.1.197/PHP/adminFolders/imdbphp-1.0.3/imdbXML.php; method=GET result=imdbDetails(event) mx:request xmlns= !--mid{imdbList.selectedItem.imdbid}/mid-- /mx:request /mx:HTTPService mx:Style source=css/whiteTheme.css/ mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.rpc.events.ResultEvent; import mx.collections.IList; import mx.utils.ArrayUtil; public function startupServices():void { getWaitingItems.send(); } public function waitingItems_results(event:ResultEvent):void { waitingItems = event.result.allWaiting.folder as ArrayCollection; } [Bindable] private var waitingItems:ArrayCollection; public function imdbSearch_results(event:ResultEvent):void { imdbSearch = event.result.IMDBresult.movie as ArrayCollection; } [Bindable] private var imdbSearch:ArrayCollection; [Bindable] public var imdbPlots:ArrayCollection; public var newPlotsArray:Array; public function imdbDetails(event:ResultEvent):void { // First determine if the result can be converted or present itself as an array. // We can use the mx.collections.ILis interface for that if (IMDBDetails.lastResult.IMDBdata.movie.plots.plot is IList) { // when true, call the IList.toArray() method newPlotsArray = IMDBDetails.lastResult.IMDBdata.movie.plots.plot.toArray(); } else{ // when false, use the ArrayUtil.toArray() method to convert the result newPlotsArray = ArrayUtil.toArray(IMDBDetails.lastResult.IMDBdata.movie.plots.plot); } // Create a new ArrayCollection using 'newArray' imdbPlots = new ArrayCollection(newPlotsArray); } ]] /mx:Script mx:VBox width=960 height=100% horizontalCenter=0 top=0 verticalGap=0 mx:Spacer height=59/ mx:HBox width=100% mx:Spacer width=100%/ mx:Label text=You have 4 items in query x=828 y=10/ /mx:HBox mx:HRule width=100% strokeWidth=1 strokeColor=#C4C4C4/ mx:Spacer height=22/ mx:TabNavigator id=tn width=100% height=90% tabWidth=140 view:moviesView label=Movies width=100% height=100%/ mx:VBox label=TV-Shows enabled=false/ mx:VBox label=Maintance enabled=false/ /mx:TabNavigator mx:Canvas width=100% mx:Text text=TEST textAlign=center horizontalCenter=0 top=10 color=#595959/ /mx:Canvas /mx:VBox /mx:Application Here is my itemrenderer for mx:List: ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=925 height=74 mx:Script
[flexcoders] Split up data inside itemrenderer
Hi, I'm having issues when trying to split data inside itemrenderer. When referencing to data from the mx:List data provider inside itemrenderer you use {data.something} should it not be the sam way in ActionScript? What i'm trying to do is split up {data.stars} but I get Error #1009 cannot access a property or method of a null object reference. Can somebody help me with that. I've just modified the code from Flex 3 Help: var queryStr:String = data.stars; var params:Array = queryStr.split(,);
[flexcoders] Keeping selectedItem in diffrent viewstates
Hi, I have a question regarding viewstate. I have three different view states, in those three states i have TileList in the first, DataGrid in the second and HorizontalList in the third. All those use the same arrayCollection. What I'm trying to achieve is: when user selects an item in the first view and then switches to second view then item should get selected in the new view. Is it possible? of course it's possible, but what's the easiest way?
[flexcoders] getting all selected dynamically created checkboxes within a repeater
Hi, I was wondering if there is an easy way to get all selected checkboxes that were created by the repeater component? I've tried to create a new arraycollection to store the value when checkbox is selected by i keep on getting multiply values of the same checkbox. Thanks in advance!
[flexcoders] Yahoo ASTRA AutoCompleteManager component error
Hi, I was just wondering if anybody experience problem when enabling autofill on the AutoCompleteManager text input. When i type in the textinput i get a null reference object error. I find it strange because I'm using the same code as the example code on the yahoo page. Thanks in advance!
[flexcoders] Help with passing values from tilelist selecteditem to TitleWindow?
Hi, I'm was wondering if somebody here have any idea how to pass values from selecteditem in tilelist to TitleWindow? I have a seperate mxml for the titlewindow. Thanks for all the help!
[flexcoders] Re: Help with passing values from tilelist selecteditem to TitleWindow?
any example? i've tryed: [Bindable] public var objItemSelected = movieTile.selectedItem; i've red few examples that i found on google but nothing seems to be working. --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: create a public variable or setter and getter and bind it. - Original Message From: pioplacz [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, January 26, 2008 5:17:10 PM Subject: [flexcoders] Help with passing values from tilelist selecteditem to TitleWindow? Hi, I'm was wondering if somebody here have any idea how to pass values from selecteditem in tilelist to TitleWindow? I have a seperate mxml for the titlewindow. Thanks for all the help! Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
[flexcoders] Re: Help with passing values from tilelist selecteditem to TitleWindow?
/ mx:TextInput id=searchInput change=movieCollection.refresh(); editable=true fontWeight=normal backgroundColor=#FF borderStyle=none borderThickness=1 color=#00 borderColor=#3E3E3E right=8/ mx:LinkBar dataProvider=movieViewStack /mx:LinkBar mx:Text text={movieTile.selectedItem.title} width=387/ mx:Spacer width=100%/ /mx:HBox /mx:Canvas /mx:VBox moviedownload.mxml -- ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute width=450 height=600 borderStyle=none backgroundColor=#00 horizontalAlign=left showCloseButton=true close=PopUpManager.removePopUp(this); creationComplete=handleCreationComplete(); mx:Script ![CDATA[ import mx.managers.PopUpManager; //import valueObjects.Product; public var [Bindable] private var myimga:movieView; private function handleCreationComplete():void { // Center the TitleWindow container // over the control that created it. PopUpManager.centerPopUp(this); } ]] /mx:Script mx:Image x=10 y=10 width=227 height=218 source=images/medium/{objItemSelected.image}/ mx:Text x=10 y=261 text={myimga.data.movie_list.selectedItem.title} width=239 height=63/ /mx:TitleWindow --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: something like this is out to work [Bindable] public var objItemSelected:Object = myTile.selectedItem; then for the TitleWindow you create another public variable and pass it so myTitileWindow.tileSelectedItem = objItemSelected; I have no idea what your exactly trying to do or where the TitleWindow and tileList is, post some code. - Original Message From: pioplacz [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, January 26, 2008 5:28:44 PM Subject: [flexcoders] Re: Help with passing values from tilelist selecteditem to TitleWindow? any example? i've tryed: [Bindable] public var objItemSelected = movieTile.selectedI tem; i've red few examples that i found on google but nothing seems to be working. --- In [EMAIL PROTECTED] ups.com, Sherif Abdou sherif626@ .. wrote: create a public variable or setter and getter and bind it. - Original Message From: pioplacz icep87@ To: [EMAIL PROTECTED] ups.com Sent: Saturday, January 26, 2008 5:17:10 PM Subject: [flexcoders] Help with passing values from tilelist selecteditem to TitleWindow? Hi, I'm was wondering if somebody here have any idea how to pass values from selecteditem in tilelist to TitleWindow? I have a seperate mxml for the titlewindow. Thanks for all the help! _ _ _ _ _ _ Never miss a thing. Make Yahoo your home page. http://www.yahoo. com/r/hs Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
[flexcoders] How to easly setup a php proxy that requests and receives data from wsdl service
Hi! I found many ways on internet to setup a php proxy that retrivers data from wsdl service but what about requesting data? My problems is that the API service i'm trying to access isn't that happy about setting up a crossdomain.xml file on the server and i have to find a way around it all. Maybe use Flex Data Services 2 or is it easier with PHP?
[flexcoders] Re: Include CA certificate in flex for a SSL connection?
Thanks I'm using the proxy now but i still have a problem with the verification of the SSL certification. I know that for java app i should use: System.setProperty(javax.net.ssl.trustStore,Path To der file); But I don't know how to include this line in Flex or PHP. I've google around a bit an come with conclusion that there is not a way i can make it possible. Is it true? --- In flexcoders@yahoogroups.com, Sterling, Brian [EMAIL PROTECTED] wrote: One solution is to proxy the call through your own server. -Brian From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pioplacz Sent: Friday, May 25, 2007 10:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Include CA certificate in flex for a SSL connection? So I'm out of luck :( I cannot get the company to upload a crossdomain.xml on their server. Isn't there any way around? When I tryed to access the webservice with a missing value I got response that I miss a value but as soon I corrected the problem I get HTTP Error :( --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Igor Costa igorcosta@ wrote: Yes, you need first instance crossdomain. Throw out your http protocol and set an https server for tunneling the webservices. for ceritifcation propouses just pass the https url and flex rpc collection understand that is a certification . Nothing needs more. ;) best On 5/25/07, pioplacz icep87@ wrote: Hi! I'm trying to get my flex app to connect with a wsdl service but that service requires that I include a CA certificate for validation off connection. My problem is that I don't really know how. I've got an example line for a Java Application from the API reference: System.setProperty(javax.net.ssl.trustStore,Path To istcacert); Does anyone here know how I can make it all possible? One more question when trying to connect to a webservice do I really need the crossdomain.xml on the data hosting server? Cause that just isn't possible. -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta
[flexcoders] Is there any way around the crossdomain.xml
Hi! I'm trying to create an application that loads data from a wsdl webservice the problem is that I don't have access to the hosting server and I'm not possible to upload crossdomain file on it. That's why I'm asking you all, is there any way around it? Can i do something to make it work? It's really important and I really would like to make that app in flex.
[flexcoders] Re: Is there any way around the crossdomain.xml
Ok, well tryed to talk to them but didn't get any response. But I will instead use the php proxy way, but now i've run into another problem so maybe you could help me out. In their API reference they wrote that I have to include this line in my application: System.setProperty(javax.net.ssl.trustStore,Path To istcacert); But that line is only for java apps. Is there any way to make it work with php or flex? --- In flexcoders@yahoogroups.com, John Robinson [EMAIL PROTECTED] wrote: First, ask the folks who provide the webservice to install a crossdomain.xml file for you. If that isn't an option, you can make a php/etc proxy file to do the loading for you. Google php flash proxy. John John Robinson - Flash/Flex Developer at large Blog: http://jrobinsonmedia.wordpress.com On May 26, 2007, at 5:34 PM, pioplacz wrote: Hi! I'm trying to create an application that loads data from a wsdl webservice the problem is that I don't have access to the hosting server and I'm not possible to upload crossdomain file on it. That's why I'm asking you all, is there any way around it? Can i do something to make it work? It's really important and I really would like to make that app in flex.
[flexcoders] Include CA certificate in flex for a SSL connection?
Hi! I'm trying to get my flex app to connect with a wsdl service but that service requires that I include a CA certificate for validation off connection. My problem is that I don't really know how. I've got an example line for a Java Application from the API reference: System.setProperty(javax.net.ssl.trustStore,Path To istcacert); Does anyone here know how I can make it all possible? One more question when trying to connect to a webservice do I really need the crossdomain.xml on the data hosting server? Cause that just isn't possible.
[flexcoders] Re: Include CA certificate in flex for a SSL connection?
So I'm out of luck :( I cannot get the company to upload a crossdomain.xml on their server. Isn't there any way around? When I tryed to access the webservice with a missing value I got response that I miss a value but as soon I corrected the problem I get HTTP Error :( --- In flexcoders@yahoogroups.com, Igor Costa [EMAIL PROTECTED] wrote: Yes, you need first instance crossdomain. Throw out your http protocol and set an https server for tunneling the webservices. for ceritifcation propouses just pass the https url and flex rpc collection understand that is a certification . Nothing needs more. ;) best On 5/25/07, pioplacz [EMAIL PROTECTED] wrote: Hi! I'm trying to get my flex app to connect with a wsdl service but that service requires that I include a CA certificate for validation off connection. My problem is that I don't really know how. I've got an example line for a Java Application from the API reference: System.setProperty(javax.net.ssl.trustStore,Path To istcacert); Does anyone here know how I can make it all possible? One more question when trying to connect to a webservice do I really need the crossdomain.xml on the data hosting server? Cause that just isn't possible. -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta
[flexcoders] Live update value in sql when editing datagrid
Hi! First of all i'm using PHP as backend to my flex app. At this moment i have a datagrid that populates values that are loaded throw a httpservice. What i want to do is that when i've edited a value in datagrid i want it to automatically get updated in mysql. How can i do that? any samples?
[flexcoders] Star Rating component
Hi! I'm looking for a star rating component something like there is in the sample application restaurant by adobe. I've tryed to figure out the component there but got confused. Do you know if there is any other component like that out there? Or how I can make one?
[flexcoders] Access Flex components from browser
Hi! The thing I need help with is kind of hard to explain. What I want to do is access the components in flex from the address line in browser. I want to enter text into a textbox from the command line. I want to to work kind of like sending variables to php. Something like http://addresstoflex.com/?textbox=pioplacz http://addresstoflex.com/?textbox=pioplacz You know what I mean? Thx for all the help inadvance!
[flexcoders] Disable RollOverColor within TileList
I have a question is it possible to disable the rollover color when u move the mouse over some item within TileList. What i mean is that color box that shows behind the item. Or is it possible to customise it?
[flexcoders] User Authentication
Hi! I was wondering if there is a use and secure way to make a user login system for any flex app? I just want to have a login before the user can access the application.
[flexcoders] Linking Components Between MXML ViewStack Components
H! Just wondering if anybody know how i can connect actionscript located in main.mxml to textinput box located in MovieView.mxml. I have a filterFunction located in my main.mxml to refers to textinput located in the MovieView (ViewStack) components. But i don't know how i can get them to communicate. Anybody have a solution? Simply explain is that i want the main.mxml to notice the changes in the textinput located in diffrent mxml file. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: filterFunction between ViewStack MXML components
); textAlign=left toolTip=Klicka här om du befinner dig utanför hemmet id=linkbutton1/ /mx:HBox /mx:VBox /mx:Canvas --- In flexcoders@yahoogroups.com, Michael Labriola [EMAIL PROTECTED] wrote: If I understand your question correctly (and I am not sure that I do), I would personally put your filter function in the file that currently calls the HTTPService and gets the result. Unless you are using one of the, or your own, common frameworks, most people seem to put this in their main application file. Depending a lot on how your code is constructed, you can probably apply this filter function in the result handler for your HTTPService. If I am missing the point, or your setup is more complex, let me know. As an aside, please take a look at the refresh method of the ListCollectionView. If you are not actually replacing the whole collection, you could use this to simply apply the filter. --Mike --- In flexcoders@yahoogroups.com, pioplacz icep87@ wrote: Hi! I was just wondering is it possible to make a filterfunction work between ViewStack components. What i mean is i'm calling the HTTP service in my main.mxml but showing the results in MovieView.mxml passing the data works fine. But i can't figure out where i should write the filter function: // Filter function public function movieFilter(item:Object):Boolean { var result:Boolean=false; if (!item.title.length || item.title.toUpperCase().indexOf(filterInput.text.toUpperCase()) = 0) if (!item.genres.length || item.genres.toUpperCase().indexOf(genresInput.selectedItem.data.toUpperCase ()) = 0) result=true; return result; } and where i should put: movieCollection.filterFunction=movieFilter; From the beginning i had all that in my Main.mxml and it worked fine. Can somebody help me, if you even get what i mean ? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: filterFunction between ViewStack MXML components
Still not working it says it cannot connect to the filterInput and genresInput and those two are located in MovieView.mxml --- In flexcoders@yahoogroups.com, Michael Labriola [EMAIL PROTECTED] wrote: In your result handler, call the refresh method after you set the filterFunction. --Mike --- In flexcoders@yahoogroups.com, pioplacz icep87@ wrote: Yes, i want to put my filter function in the main mxml file where all my HTTPServices are locates. I have already apply my filterfunction in the result handler in the HTTPService the problem is that i cannot get it to connect with the textinput located in a MXML ViewStack component. I pass my code here for both Main.MXML and MovieView.MXML. Hopes this help you all to help me. Main.MXML: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* layout=absolute horizontalAlign=center verticalAlign=middle backgroundGradientColors=[#00, #00] width=100% height=100% creationComplete=initApp() viewSourceURL=srcview/index.html mx:HTTPService id=movieService url=http://192.168.25.200/PHP/katalog.php; useProxy=false result=srv_results(event) fault=msFaultHandler(event); invoke=msInvokeHandler (event);/ !-- HTTPSerivce for the tv-shows starts here -- mx:HTTPService id=tvService url=http://192.168.25.200/PHP/tvshows.php; useProxy=false result=tv_results(event)/ mx:HTTPService id=epService url=http://192.168.25.200/PHP/tvepisodes.php; useProxy=false result=ep_results(event)/ !-- END -- !--mx:Model id=ipService source=data/ip.xml/-- mx:Style source=katalog2main.css/ mx:Script ![CDATA[ import mx.managers.CursorManager; import mx.collections.IViewCursor; import mx.rpc.events.ResultEvent; import mx.rpc.events.FaultEvent; import mx.rpc.events.InvokeEvent; import mx.collections.ArrayCollection; import mx.events.ItemClickEvent; import mx.controls.Alert; import mx.events.CloseEvent; import flash.events.Event; private function initApp():void { movieService.send(); tvService.send(); epService.send(); } private function msFaultHandler(event:FaultEvent):void { // There was an error in loading the XML Alert.show (event.fault.message); // Hide the busy cursor CursorManager.removeBusyCursor(); } // Gets called when HTTPService is invoked to // request the XML. private function msInvokeHandler(event:InvokeEvent):void { // Display the busy cursor CursorManager.setBusyCursor(); } public function srv_results(event:ResultEvent):void { movieCollection = event.result.helakatalog.katalog as ArrayCollection; movieCollection.filterFunction=movieFilter; //Hide the busy cursor CursorManager.removeBusyCursor(); } public function tv_results(event:ResultEvent):void { tvCollection = event.result.helakatalog.katalog as ArrayCollection; //tvCollection.filterFunction=tvshowsFilter; } public function ep_results(event:ResultEvent):void { epCollection = event.result.helakatalog.katalog as ArrayCollection; //epCollection.filterFunction=episodeFilter; } [Bindable] private var movieCollection:ArrayCollection; [Bindable] private var tvCollection:ArrayCollection; [Bindable] private var epCollection:ArrayCollection; // Filter function public function movieFilter(item:Object):Boolean { var result:Boolean=false; if (!item.title.length || item.title.toUpperCase().indexOf(filterInput.text.toUpperCase()) = 0) if (!item.genres.length || item.genres.toUpperCase().indexOf(genresInput.selectedItem.data.toUpperCase ()) = 0
[flexcoders] Re: filterFunction between ViewStack MXML components
click=internetClick(event); textAlign=left toolTip=Klicka här om du befinner dig utanför hemmet id=linkbutton1/ /mx:HBox /mx:VBox /mx:Canvas --- In flexcoders@yahoogroups.com, Michael Labriola [EMAIL PROTECTED] wrote: If I understand your question correctly (and I am not sure that I do), I would personally put your filter function in the file that currently calls the HTTPService and gets the result. Unless you are using one of the, or your own, common frameworks, most people seem to put this in their main application file. Depending a lot on how your code is constructed, you can probably apply this filter function in the result handler for your HTTPService. If I am missing the point, or your setup is more complex, let me know. As an aside, please take a look at the refresh method of the ListCollectionView. If you are not actually replacing the whole collection, you could use this to simply apply the filter. --Mike --- In flexcoders@yahoogroups.com, pioplacz icep87@ wrote: Hi! I was just wondering is it possible to make a filterfunction work between ViewStack components. What i mean is i'm calling the HTTP service in my main.mxml but showing the results in MovieView.mxml passing the data works fine. But i can't figure out where i should write the filter function: // Filter function public function movieFilter(item:Object):Boolean { var result:Boolean=false; if (!item.title.length || item.title.toUpperCase().indexOf(filterInput.text.toUpperCase()) = 0) if (!item.genres.length || item.genres.toUpperCase().indexOf(genresInput.selectedItem.data.toUpperCase ()) = 0) result=true; return result; } and where i should put: movieCollection.filterFunction=movieFilter; From the beginning i had all that in my Main.mxml and it worked fine. Can somebody help me, if you even get what i mean ? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] filterFunction between ViewStack MXML components
Hi! I was just wondering is it possible to make a filterfunction work between ViewStack components. What i mean is i'm calling the HTTP service in my main.mxml but showing the results in MovieView.mxml passing the data works fine. But i can't figure out where i should write the filter function: // Filter function public function movieFilter(item:Object):Boolean { var result:Boolean=false; if (!item.title.length || item.title.toUpperCase().indexOf(filterInput.text.toUpperCase()) = 0) if (!item.genres.length || item.genres.toUpperCase().indexOf(genresInput.selectedItem.data.toUpperCase ()) = 0) result=true; return result; } and where i should put: movieCollection.filterFunction=movieFilter; From the beginning i had all that in my Main.mxml and it worked fine. Can somebody help me, if you even get what i mean ? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Data in ViewStack Component
I have a question about how to bind data in a viewstack component. How can i make my ArrayCollection to work in the viewstack component? Here is my code... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute horizontalAlign=center verticalAlign=middle backgroundGradientColors=[#00, #00] width=100% height=100% creationComplete=initApp() viewSourceURL=srcview/index.html xmlns=* mx:HTTPService id=movieService url=http://192.168.25.200/PHP/katalog.php; useProxy=false result=srv_results(event)/ !-- HTTPSerivce for the tv-shows starts here -- mx:HTTPService id=tvService url=http://192.168.25.200/PHP/tvshows.php; useProxy=false result=tv_results(event)/ mx:HTTPService id=epService url=http://192.168.25.200/PHP/tvepisodes.php; useProxy=false result=ep_results(event)/ !-- END -- mx:Model id=ipService source=data/ip.xml/ mx:Style source=katalog2main.css/ mx:Script ![CDATA[ import mx.collections.IViewCursor; import mx.rpc.events.ResultEvent; import mx.collections.ArrayCollection; import mx.events.ItemClickEvent; import mx.controls.Alert; import mx.events.CloseEvent; import flash.events.Event; private function initApp():void { movieService.send(); tvService.send(); epService.send(); } public function srv_results(event:ResultEvent):void { //Alert.show(ObjectUtil.toString(event.result) ); movieCollection = event.result.helakatalog.katalog as ArrayCollection; //movieCollection.filterFunction=movieFilter; } public function tv_results(event:ResultEvent):void { tvCollection = event.result.helakatalog.katalog as ArrayCollection; //tvCollection.filterFunction=tvshowsFilter; } public function ep_results(event:ResultEvent):void { epCollection = event.result.helakatalog.katalog as ArrayCollection; //epCollection.filterFunction=episodeFilter; } [Bindable] private var movieCollection:ArrayCollection; [Bindable] private var tvCollection:ArrayCollection; [Bindable] private var epCollection:ArrayCollection; ]] /mx:Script mx:VBox width=85% height=100% verticalCenter=20 id=mainVbox horizontalCenter=0 horizontalAlign=center verticalAlign=middle mx:ViewStack width=100% height=80% creationPolicy=all TvView id=tvView label=TV/ /mx:ViewStack mx:ApplicationControlBar id=dockedBar dock=true width=100% mx:HBox horizontalAlign=right paddingBottom=5 paddingTop=5 mx:Image source=assets/zoom.png autoLoad=true height=100% verticalAlign=middle scaleContent=false/ mx:TextInput id=filterInput text= change=movieCollection.refresh(); width=166 toolTip=Skriv../ mx:Spacer width=100% id=spacer1/ mx:Image source=assets/color_swatch.png autoLoad=true height=100% verticalAlign=middle scaleContent=false/ mx:Text text=Kategori color=#ff fontSize=12 fontFamily=Arial fontWeight=bold textAlign=left selectable=false/ /mx:HBox mx:HBox horizontalAlign=right width=100% paddingBottom=5 paddingTop=5 mx:Image source=assets/application_cascade.png autoLoad=true height=100% verticalAlign=middle scaleContent=false id=image2/ mx:LinkButton id=stchange label=Byta läge textAlign=left width=69 click=currentState='Grid'/ mx:Image source=assets/film.png autoLoad=true height=100% verticalAlign=middle scaleContent=false id=image3/ mx:Text id=counterText text={movieCollection.length} paddingTop=2 color=#ff fontWeight=bold textAlign=left width=30 height=20 selectable=false toolTip=Antal filmer som visas/ !--mx:LinkButton id=intlink label=Download /-- /mx:HBox /mx:ApplicationControlBar mx:HBox id=footer width=100% mx:LinkButton id=tvchange label=TvShows/ mx:Spacer width=100% / mx:Text text=FilmKatalog Ver.2 BETA color=#ff fontWeight=bold fontSize=12 fontFamily=Arial textAlign=right id=text1/ mx:Image source=assets/world_link.png autoLoad=true height=100% verticalAlign=middle scaleContent=false id=image1/ /mx:HBox /mx:VBox
[flexcoders] Re: Data in ViewStack Component
If you look at my ViewStack code i have a component name TvView. That is a MXML file with a horizontalList and for that list i wan the epCollection to be a dataprovider. With simpel words what i'm trying to do is to make epCollection result to work in a diffrent MXML file. Is is a better explenation? --- In flexcoders@yahoogroups.com, Michael Labriola [EMAIL PROTECTED] wrote: Can you explain more about what you are trying to do? I see that you have 3 arrayCollections. Only 1 of them seems to be used in the code, and, in that one, you are only using the length property. Please provide details about what you are trying to accomplish. Thanks, --Mike --- In flexcoders@yahoogroups.com, pioplacz icep87@ wrote: I have a question about how to bind data in a viewstack component. How can i make my ArrayCollection to work in the viewstack component? Here is my code... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute horizontalAlign=center verticalAlign=middle backgroundGradientColors=[#00, #00] width=100% height=100% creationComplete=initApp() viewSourceURL=srcview/index.html xmlns=* mx:HTTPService id=movieService url=http://192.168.25.200/PHP/katalog.php; useProxy=false result=srv_results(event)/ !-- HTTPSerivce for the tv-shows starts here -- mx:HTTPService id=tvService url=http://192.168.25.200/PHP/tvshows.php; useProxy=false result=tv_results(event)/ mx:HTTPService id=epService url=http://192.168.25.200/PHP/tvepisodes.php; useProxy=false result=ep_results(event)/ !-- END -- mx:Model id=ipService source=data/ip.xml/ mx:Style source=katalog2main.css/ mx:Script ![CDATA[ import mx.collections.IViewCursor; import mx.rpc.events.ResultEvent; import mx.collections.ArrayCollection; import mx.events.ItemClickEvent; import mx.controls.Alert; import mx.events.CloseEvent; import flash.events.Event; private function initApp():void { movieService.send(); tvService.send(); epService.send(); } public function srv_results(event:ResultEvent):void { //Alert.show(ObjectUtil.toString(event.result) ); movieCollection = event.result.helakatalog.katalog as ArrayCollection; //movieCollection.filterFunction=movieFilter; } public function tv_results(event:ResultEvent):void { tvCollection = event.result.helakatalog.katalog as ArrayCollection; //tvCollection.filterFunction=tvshowsFilter; } public function ep_results(event:ResultEvent):void { epCollection = event.result.helakatalog.katalog as ArrayCollection; //epCollection.filterFunction=episodeFilter; } [Bindable] private var movieCollection:ArrayCollection; [Bindable] private var tvCollection:ArrayCollection; [Bindable] private var epCollection:ArrayCollection; ]] /mx:Script mx:VBox width=85% height=100% verticalCenter=20 id=mainVbox horizontalCenter=0 horizontalAlign=center verticalAlign=middle mx:ViewStack width=100% height=80% creationPolicy=all TvView id=tvView label=TV/ /mx:ViewStack mx:ApplicationControlBar id=dockedBar dock=true width=100% mx:HBox horizontalAlign=right paddingBottom=5 paddingTop=5 mx:Image source=assets/zoom.png autoLoad=true height=100% verticalAlign=middle scaleContent=false/ mx:TextInput id=filterInput text= change=movieCollection.refresh(); width=166 toolTip=Skriv../ mx:Spacer width=100% id=spacer1/ mx:Image source=assets/color_swatch.png autoLoad=true height=100% verticalAlign=middle scaleContent=false/ mx:Text text=Kategori color=#ff fontSize=12 fontFamily=Arial fontWeight=bold textAlign=left selectable=false/ /mx:HBox mx:HBox horizontalAlign=right width=100% paddingBottom=5 paddingTop=5 mx:Image source=assets/application_cascade.png autoLoad=true height=100% verticalAlign=middle scaleContent=false id=image2/ mx:LinkButton id=stchange label=Byta läge textAlign=left width=69 click
[flexcoders] Re: Data in ViewStack Component
Yes, that makes sense! Really Thanks for the help! --- In flexcoders@yahoogroups.com, Michael Labriola [EMAIL PROTECTED] wrote: Okay, So, a few things: #1) your TvView component must have either a property or a getter/setter method to hold the data from the collection. So, for example, you might have a bindable public property inside of TvView called [Bindable] var myDataProvider:ArrayCollection; Then inside of the TvView component, your horizontal list would use this variable as its dataprovider. So mx:HorizontalList dataProvider={myDataProvider}/ Then, inside of the MXML file that you posted, your TvView component would be called like this: mx:ViewStack width=100% height=80% creationPolicy=all TvView id=tvView label=TV myDataProvider={epCollection}/ /mx:ViewStack Does that make sense? Mike --- In flexcoders@yahoogroups.com, pioplacz icep87@ wrote: If you look at my ViewStack code i have a component name TvView. That is a MXML file with a horizontalList and for that list i wan the epCollection to be a dataprovider. With simpel words what i'm trying to do is to make epCollection result to work in a diffrent MXML file. Is is a better explenation? --- In flexcoders@yahoogroups.com, Michael Labriola labriola@ wrote: Can you explain more about what you are trying to do? I see that you have 3 arrayCollections. Only 1 of them seems to be used in the code, and, in that one, you are only using the length property. Please provide details about what you are trying to accomplish. Thanks, --Mike --- In flexcoders@yahoogroups.com, pioplacz icep87@ wrote: I have a question about how to bind data in a viewstack component. How can i make my ArrayCollection to work in the viewstack component? Here is my code... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute horizontalAlign=center verticalAlign=middle backgroundGradientColors=[#00, #00] width=100% height=100% creationComplete=initApp() viewSourceURL=srcview/index.html xmlns=* mx:HTTPService id=movieService url=http://192.168.25.200/PHP/katalog.php; useProxy=false result=srv_results(event)/ !-- HTTPSerivce for the tv-shows starts here -- mx:HTTPService id=tvService url=http://192.168.25.200/PHP/tvshows.php; useProxy=false result=tv_results(event)/ mx:HTTPService id=epService url=http://192.168.25.200/PHP/tvepisodes.php; useProxy=false result=ep_results(event)/ !-- END -- mx:Model id=ipService source=data/ip.xml/ mx:Style source=katalog2main.css/ mx:Script ![CDATA[ import mx.collections.IViewCursor; import mx.rpc.events.ResultEvent; import mx.collections.ArrayCollection; import mx.events.ItemClickEvent; import mx.controls.Alert; import mx.events.CloseEvent; import flash.events.Event; private function initApp():void { movieService.send(); tvService.send(); epService.send(); } public function srv_results(event:ResultEvent):void { //Alert.show(ObjectUtil.toString(event.result) ); movieCollection = event.result.helakatalog.katalog as ArrayCollection; //movieCollection.filterFunction=movieFilter; } public function tv_results(event:ResultEvent):void { tvCollection = event.result.helakatalog.katalog as ArrayCollection; //tvCollection.filterFunction=tvshowsFilter; } public function ep_results(event:ResultEvent):void { epCollection = event.result.helakatalog.katalog as ArrayCollection; //epCollection.filterFunction=episodeFilter; } [Bindable] private var movieCollection:ArrayCollection; [Bindable] private var tvCollection:ArrayCollection; [Bindable] private var epCollection:ArrayCollection; ]] /mx:Script mx:VBox width=85% height=100% verticalCenter=20 id=mainVbox horizontalCenter=0
[flexcoders] Re: preload images HorizontalList
do you have any example how it can be done? Kind of beginner on flex. --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Another way is to make your app more smarter by having a logic to preload first set of images before showing TileList. And in background, you can keep loading with a loader.. -abdul On 9/6/06, Samuel Reuben [EMAIL PROTECTED] wrote: for that you would have to embed your images... Hope that helps, -sam On 9/5/06, janeminkovich [EMAIL PROTECTED] wrote: Hello, I am a photographer(before was an engineer) and just finishing up the flex site. I notice that my horizontallist that I use to display the thumbnails/images loads really slow. How would I preload it and then display what is in memory? Thanks zhenya -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] dynamic URLRequest();
I'm having some problems and can't really figure out a way of do it. What i want to do is a doubleclick event in tilelist. On doubleclick i want to create a link. Every item rendered in tilelist have diffrent link. But cannot get it to work. I have created a doubleclick event in tilelist. Everything work so far but i cannot get the dynamic link to work. here is my code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute horizontalAlign=center verticalAlign=middle backgroundGradientColors=[#00, #00] width=100% height=100% creationComplete=movieService.send() viewSourceURL=srcview/index.html mx:HTTPService id=movieService url=http://192.168.25.200/PHP/katalog.php; useProxy=false result=srv_results(event)/ mx:Style LinkButton { rollOverColor: #33; color: #ff; textRollOverColor: #ff; } VScrollBar { highlightAlphas: 0.23, 0; fillAlphas: 0.6, 0.72, 0.63, 0.69; fillColors: #00, #33, #66, #33; } HScrollBar { highlightAlphas: 0.23, 0; fillAlphas: 0.6, 0.72, 0.63, 0.69; fillColors: #00, #33, #66, #33; } ApplicationControlBar { dropShadowEnabled: true; shadowDirection: center; highlightAlphas: 0.26, 0.05; fillAlphas: 0.22, 1; fillColors: #00, #33; backgroundAlpha: 1; } ComboBox { backgroundAlpha: 0.53; color: #ff; borderColor: #99; cornerRadius: 3; highlightAlphas: 0.23, 0; fillColors: #33, #00, #00, #33; useRollOver: true; alternatingItemColors: #00, #00; } /mx:Style mx:Script ![CDATA[ import mx.rpc.events.ResultEvent; import mx.collections.ArrayCollection; import mx.events.ItemClickEvent; // Import Event and URLRequest classes. import flash.events.Event; import flash.net.URLRequest; public function srv_results(event:ResultEvent):void { //Alert.show(ObjectUtil.toString (event.result) ); movieCollection = event.result.helakatalog.katalog as ArrayCollection; movieCollection.filterFunction=processFilter; } [Bindable] private var movieCollection:ArrayCollection; // Filter function public function processFilter (item:Object):Boolean { var result:Boolean=false; // If no filter text, or a match, then true if (!item.title.length || item.title.toUpperCase().indexOf (filterInput.text.toUpperCase()) = 0) if (!item.genres.length || item.genres.toUpperCase().indexOf (genresInput.text.toUpperCase()) = 0) result=true; return result; } private function textChange():void { movieCollection.refresh(); } public var u:URLRequest; // Event listener to open URL using the navigateToURL() method. private function handleClick(eventObj:Event):void { u = new URLRequest(movieCollection.link); navigateToURL(u); } ]] /mx:Script !-- An ArrayCollection with an array of objects. -- mx:ArrayCollection id=genres mx:Array mx:Object label= data=/ mx:Object label=Action data=Action/ mx:Object label=Animerat data=Animerat/ mx:Object label=Drama data=Drama/ mx:Object label=Komedi data=Komedi/ mx:Object label=Thriller data=Thriller/ /mx:Array /mx:ArrayCollection mx:states mx:State name=Grid mx:RemoveChild target={tilelist1}/ mx:AddChild relativeTo={mainVbox} position=lastChild mx:DataGrid width=100% height=80% dataProvider={movieCollection} editable=false borderStyle=none mx:columns
[flexcoders] dataservice only working localy, not working when trying access from internet
I don't know what's wrong it worked fine in the flex 1.5. My httpservice is placed on the same machine as the application and i'm accessing in by the local ip adress. But when trying to access the application from internet nothing is working no data is loaded and it tryes to load it from the local ip adress why's that. I paste here my source code. can anybody please help me? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute horizontalAlign=center verticalAlign=middle backgroundGradientColors=[#00, #00] width=100% height=100% creationComplete=movieService.send() viewSourceURL=srcview/index.html xmlns:ns1=* mx:HTTPService id=movieService url=http://192.168.25.200/PHP/katalog.php; useProxy=false result=srv_results(event)/ mx:Style source=katalog2main.css/ mx:Script ![CDATA[ import mx.rpc.events.ResultEvent; import mx.collections.ArrayCollection; import mx.events.ItemClickEvent; import mx.controls.Alert; import mx.events.CloseEvent; import flash.events.Event; import flash.net.URLRequest; public function srv_results(event:ResultEvent):void { //Alert.show(ObjectUtil.toString (event.result) ); movieCollection = event.result.helakatalog.katalog as ArrayCollection; movieCollection.filterFunction=processFilter; } [Bindable] private var movieCollection:ArrayCollection; [Bindable] public var selectedItem:Object; // Filter function public function processFilter (item:Object):Boolean { var result:Boolean=false; if (!item.title.length || item.title.toUpperCase().indexOf (filterInput.text.toUpperCase()) = 0) if (!item.genres.length || item.genres.toUpperCase().indexOf (genresInput.text.toUpperCase()) = 0) result=true; return result; } private function textChange():void { movieCollection.refresh(); } public var u:URLRequest; // Event listener to open URL using the navigateToURL() method. private function dgMovieListClick (eventObj:Event):void { u = new URLRequest (http://192.168.25.200/Movies/; + dgMovieList.selectedItem.link); navigateToURL(u); Alert.show(Nerladdnings sida öppnad..., Nerladdnings sidan, Alert.OK); } // Event listener to open URL using the navigateToURL() method. private function dgTileListClick (eventObj:Event):void { u = new URLRequest (http://192.168.25.200/Movies/; + tilelist1.selectedItem.link); navigateToURL(u); Alert.show(Nerladdnings sida öppnad..., Nerladdnings sidan, Alert.OK); } ]] /mx:Script !-- An ArrayCollection with an array of objects. -- mx:ArrayCollection id=genres mx:Array mx:Object label= data=/ mx:Object label=Action data=Action/ mx:Object label=Animerat data=Animerat/ mx:Object label=Drama data=Drama/ mx:Object label=Komedi data=Komedi/ mx:Object label=Thriller data=Thriller/ /mx:Array /mx:ArrayCollection mx:states mx:State name=Grid mx:RemoveChild target={tilelist1}/ mx:RemoveChild target={dockedBar}/ mx:AddChild relativeTo={mainVbox} position=lastChild target={dockedBar}/ mx:SetEventHandler target={stchange} name=click handler=currentState=''/ mx:AddChild relativeTo={tilecanvas} position=lastChild mx:DataGrid id=dgMovieList width=100% height=100% dataProvider={movieCollection} doubleClickEnabled=true itemDoubleClick=dgMovieListClick(event); editable=false borderStyle=none y=0 mx:columns mx:DataGridColumn headerText=Titel dataField=title/ mx:DataGridColumn headerText=Kategori dataField=genres/ mx:DataGridColumn headerText=År dataField=year/ mx:DataGridColumn headerText=Utgivare dataField=publisher/ /mx:columns /mx:DataGrid
[flexcoders] Re: FlexStore damn slow when there is 250 items in the shop
Well the think is that i'm designing movie catalog for my own use on the network. So mostly of the times i want to see all the movies i have. Becuase there are only 4columns and 3 rows of movies that you can see at once but the array have 250 items I maybe can make blur screen while the array is filtering. What do you think? --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Yeah, don't show 250 products at once. Who wants to see 250 products at once? I think I UI redesign is in order. ... Just because you can doesn't mean you should. Peace, Mike On 6/29/06, pioplacz [EMAIL PROTECTED] wrote: Last year i've made a movie catalog based on the flexstore so i wanted once again give it a try. But experience wasn't the same :( i love the effect and all the new stuff i could do with flex2 but the speed wast not as i hoped. When trying to sort 250 products in the flex store it feels like i'm sitting on a i386. It takes 20sec before i can se the result and ofcourse without any effects. Is there anything i can to to omptimize the code and make it work better? -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] FlexStore damn slow when there is 250 items in the shop
Last year i've made a movie catalog based on the flexstore so i wanted once again give it a try. But experience wasn't the same :( i love the effect and all the new stuff i could do with flex2 but the speed wast not as i hoped. When trying to sort 250 products in the flex store it feels like i'm sitting on a i386. It takes 20sec before i can se the result and ofcourse without any effects. Is there anything i can to to omptimize the code and make it work better? Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: mx.rpc.xml::NamespaceUtil$/getLocalName() ERROR in flex 2
I have a closing tag how you mean take hyphens out? --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: So what you sent me has the hyphens in the XML from where you viewed it in IE probably. Take those out and the error went away for me. Also add the closing /helakatalog. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pioplacz Sent: Thursday, February 16, 2006 12:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: mx.rpc.xml::NamespaceUtil$/getLocalName() ERROR in flex 2 Here is the beginning of the xml output ?xml version=1.0 encoding=utf-8 ? - helakatalog - katalog id109/id title100 Girls/title year2000/year publisherMiramax/publisher genresKomedi/genres image07m.jpg/image infoSelf-described tragically glib college freshman Jonathan Tucker finds true love in a girls' dorm elevator during a blackout, but when he forgets to get her name he has 100 suspects to sift through, one by one! It may sound like the premise of just another teen sex farce, but writer-director Michael Davis makes it the starting point of the boy's getting of wisdom. Amiable young star Tucker brings an excited and endearing innocence to his journey, and Emmanuelle Chriqui is a delight as the promiscuous girl who teaches him a thing or three about crippling stereotypes. Larisa Oleynik, Jaime Pressly, Marissa Ribisi, and Katherine Heigl are just a few of the other girls who help him along. 100 Girls is a refreshingly frank, funny, and sexy exploration of the dynamics of young men and women and the power of first impressions, reputations, and expectations./info link100.Girls.DVDRip//link rate0/rate /katalog - katalog id139/id title100 Women/title year2002/year publisherLions Gate Film/publisher genresKomedi/genres image16m.jpg/image infoA very bright and likable student is on a mission to find a girl he met in a blackout. His problem; he doesn't know who she is or what she looks like! He leaves no stone unturned in his effort to find that girl, the girl of his dreams. In the process, a co-ed friend talks him into cross-dressing to understand what a women experience. This experience actually helps him mature in a college way, and develops respect for women realizing how men can be so primitive. Shame on males for being so primitive acting the way they do! Like we needed another movie to confirm what we already know. 100 Women is another movie about college kids experiencing their liberation from parents. However, this movie unlike similar movies works. 100 Women is worth watching. There are many memorable one- liners will keep you laughing. This movie is worthy of it R rating and parental guidance is strongly advised./info link100 Women/link rate0/rate /katalog --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote: Can you post some example XML from it? Clearly the parser didn't like it... -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pioplacz Sent: Wednesday, February 15, 2006 1:48 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: mx.rpc.xml::NamespaceUtil$/getLocalName () ERROR in flex 2 I'm using PHP to make an xml output so i've changed my HTTPService to http://192.168.0.200/PHP/katalog.php and i'm sure it works cause i have a flex 1.5 application running with that Service... --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote: Well, how did you change the HTTPService? Are you sure it's successfully downloading the file? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pioplacz Sent: Tuesday, February 14, 2006 10:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] mx.rpc.xml::NamespaceUtil$/getLocalName () ERROR in flex 2 I keep on getting this error in flex: TypeError: Error #1009: null has no properties. at mx.rpc.xml::NamespaceUtil$/getLocalName() at mx.rpc.xml::SimpleXMLDecoder/decodeXML() at mx.rpc.xml::SimpleXMLDecoder/decodeXML() at mx.rpc.xml::SimpleXMLDecoder/decodeXML() at mx.rpc.xml::SimpleXMLDecoder/decodeXML() at mx.rpc.http::HTTPService/http://www.macromedia.com/2005/flex/mx/inter nal::processResult() at mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/intern al::resultHandler() at flash.events::EventDispatcher/dispatchEvent() at mx.rpc::Producer/acknowledge() at C:\dev\enterprise_beta1\frameworks\libs\framework.swc (mx/validators/Validator) $132::DirectHTTPMessageResponder/completeHandler() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::onComplete() I cannot find
[flexcoders] Re: mx.rpc.xml::NamespaceUtil$/getLocalName() ERROR in flex 2
Here is the beginning of the xml output ?xml version=1.0 encoding=utf-8 ? - helakatalog - katalog id109/id title100 Girls/title year2000/year publisherMiramax/publisher genresKomedi/genres image07m.jpg/image infoSelf-described tragically glib college freshman Jonathan Tucker finds true love in a girls' dorm elevator during a blackout, but when he forgets to get her name he has 100 suspects to sift through, one by one! It may sound like the premise of just another teen sex farce, but writer-director Michael Davis makes it the starting point of the boy's getting of wisdom. Amiable young star Tucker brings an excited and endearing innocence to his journey, and Emmanuelle Chriqui is a delight as the promiscuous girl who teaches him a thing or three about crippling stereotypes. Larisa Oleynik, Jaime Pressly, Marissa Ribisi, and Katherine Heigl are just a few of the other girls who help him along. 100 Girls is a refreshingly frank, funny, and sexy exploration of the dynamics of young men and women and the power of first impressions, reputations, and expectations./info link100.Girls.DVDRip//link rate0/rate /katalog - katalog id139/id title100 Women/title year2002/year publisherLions Gate Film/publisher genresKomedi/genres image16m.jpg/image infoA very bright and likable student is on a mission to find a girl he met in a blackout. His problem; he doesn't know who she is or what she looks like! He leaves no stone unturned in his effort to find that girl, the girl of his dreams. In the process, a co-ed friend talks him into cross-dressing to understand what a women experience. This experience actually helps him mature in a college way, and develops respect for women realizing how men can be so primitive. Shame on males for being so primitive acting the way they do! Like we needed another movie to confirm what we already know. 100 Women is another movie about college kids experiencing their liberation from parents. However, this movie unlike similar movies works. 100 Women is worth watching. There are many memorable one- liners will keep you laughing. This movie is worthy of it R rating and parental guidance is strongly advised./info link100 Women/link rate0/rate /katalog --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Can you post some example XML from it? Clearly the parser didn't like it... -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pioplacz Sent: Wednesday, February 15, 2006 1:48 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: mx.rpc.xml::NamespaceUtil$/getLocalName() ERROR in flex 2 I'm using PHP to make an xml output so i've changed my HTTPService to http://192.168.0.200/PHP/katalog.php and i'm sure it works cause i have a flex 1.5 application running with that Service... --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote: Well, how did you change the HTTPService? Are you sure it's successfully downloading the file? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pioplacz Sent: Tuesday, February 14, 2006 10:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] mx.rpc.xml::NamespaceUtil$/getLocalName() ERROR in flex 2 I keep on getting this error in flex: TypeError: Error #1009: null has no properties. at mx.rpc.xml::NamespaceUtil$/getLocalName() at mx.rpc.xml::SimpleXMLDecoder/decodeXML() at mx.rpc.xml::SimpleXMLDecoder/decodeXML() at mx.rpc.xml::SimpleXMLDecoder/decodeXML() at mx.rpc.xml::SimpleXMLDecoder/decodeXML() at mx.rpc.http::HTTPService/http://www.macromedia.com/2005/flex/mx/inter nal::processResult() at mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/intern al::resultHandler() at flash.events::EventDispatcher/dispatchEvent() at mx.rpc::Producer/acknowledge() at C:\dev\enterprise_beta1\frameworks\libs\framework.swc (mx/validators/Validator) $132::DirectHTTPMessageResponder/completeHandler() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::onComplete() I cannot find a way to solve it... only thing i did is that i changed httpservice for the flexstore sample... Any solution for this error? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives
[flexcoders] mx.rpc.xml::NamespaceUtil$/getLocalName() ERROR in flex 2
I keep on getting this error in flex: TypeError: Error #1009: null has no properties. at mx.rpc.xml::NamespaceUtil$/getLocalName() at mx.rpc.xml::SimpleXMLDecoder/decodeXML() at mx.rpc.xml::SimpleXMLDecoder/decodeXML() at mx.rpc.xml::SimpleXMLDecoder/decodeXML() at mx.rpc.xml::SimpleXMLDecoder/decodeXML() at mx.rpc.http::HTTPService/http://www.macromedia.com/2005/flex/mx/inter nal::processResult() at mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/intern al::resultHandler() at flash.events::EventDispatcher/dispatchEvent() at mx.rpc::Producer/acknowledge() at C:\dev\enterprise_beta1\frameworks\libs\framework.swc (mx/validators/Validator) $132::DirectHTTPMessageResponder/completeHandler() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::onComplete() I cannot find a way to solve it... only thing i did is that i changed httpservice for the flexstore sample... Any solution for this error? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Transparent Tilelist
Hi! Is there any way to make tilelist transparent. The backgroundalpha does not work :( -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Overlaying custom component
I walked throw the Flex samples explorer and found something nice Overlaying effect. I tryed to instert something like that in my code but with no luck so I'm asking for help. The custom component is tilelist that loads in images and shows them + some text in a panel. But what i want is that i want other panel overlay the tilelist and show all the info. When i try to insert tha code only thing it does is it places it self under the custom component and not over it. Please help! Here is the beginning of my code: !-- The ActionScript code for this class is externalized in a separate .as file for better readability -- mx:Script source=katalog_script.as/ mx:Script ![CDATA[ function ShowUPandDown() { if(button.selected) { findView.visible=true; } else if (!button.selected) { findView.visible=false; } } ]] /mx:Script mx:Effect mx:WipeDown name=wipedown duration=1000 show=true/ mx:WipeUp name=wipeup duration=1000/ /mx:Effect !-- Style sheet used in this application -- mx:Style source=katalog.css/ !-- Design begins -- mx:VBox mx:Label text=Test styleName=appTitle/ mx:HBox id=hb horizontalGap=4 height=500 mx:Panel id=main title=Film Katalog width=1230 height=100% !-- mx:ViewStack id=bodyStack changeEffect=Fade width=100% height=100% resize=true -- !-- A custom component (ThumbnailView.mxml) that displays the list of products in a Thumbnail view: This is the view displayed when you start the application. When the user clicks a product (change event), we store the selected item in the selectedItem instance variable of this application -- ThumbnailView id=thumbView label=Product Catalog change=selectedItem=event.target.selectedItem/ mx:HBox FindView id=findView width=100% height=100% itemSelected=selectedItem=event.target.selectedItem vScrollPolicy=off visible=false showEffect=wipedown hideEffect=wipeup/ /mx:HBox !-- A custom component (GridView.mxml) providing another way (DataGrid) to look at the same data -- !--GridView id=gridView change=selectedItem=event.target.selectedItem/ /mx:ViewStack -- !-- ControlBar for the panel starts here -- mx:ControlBar id=controlBar height=40 InfoView id=infoView/ mx:Button id=button label=Play Effect toggle=true click=ShowUPandDown()/ mx:Spacer width=100%/ mx:HBox horizontalGap=0 mx:Image source={currentView=='thumb'?thumbOn:thumbOff} mouseDown=changeView('thumb') mouseOver=event.target.source=thumbRoll mouseOut=event.target.source=currentView=='thumb'? thumbOn:thumbOff/ mx:Image source={currentView=='grid'? listOn:listOff} mouseDown=changeView('grid') mouseOver=event.target.source=listRoll mouseOut=event.target.source=currentView=='grid'?listOn:listOff/ /mx:HBox /mx:ControlBar /mx:Panel -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Making Form in flex export as swf
Stupid question but I really wonder. I wanted to make a form yesterady in flash but found it more diffuclt then in flex. So is there a way to export it from flex cause i wanted to use on my webpage that does not have support for Flex. Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] showing subcateogries on selecteditem
Hi! I'm trying to make a tv-series catalog for myself but i'm having some trouble. This it how far i have come: http://serenadserver.homeip.net/flex/katalog/tvserier/tvserier.mxml I'm having some problem to make something like when u click on the series all the episodes will show in the grid. My problem is I have no idea how to make the xml for it or how to make it in flex could you help me? Here is my xml: ?xml version=1.0 encoding=iso-8859-1? tvserier serier titleLost/title infoFrom J.J. Abrams, the creator of Alias, and Damon Lindelof (Crossing Jordan) comes an action-packed adventure that will bring out the very best and the very worst in the people who are lost. Out of the blackness, the first thing Jack (Matthew Fox, Party of Five) senses is pain. Then burning sun. A Bamboo forest. Smoke. Screams. With a rush comes the horrible awareness that the plane he was... /info imagehttp://image.com.com/tv/images/processed/thumb/41/fa/1 2304.jpg/image episodePilot. Pilot (1)/episode /serier serier titleThe 4400/title infoThe 4400 tells the stories of 4,400 abductees after they are returned to earth, but they ended up being abducted by people from the future to save mankind. In the words of the executive producers, these are stories of people dealing with traumatic changes, driven by the mystery of what happened and why. Some of them have been affected in mysterious ways, and some will have certain... /info imagehttp://image.com.com/tv/images/processed/thumb/ea/18/6 001.jpg/image /serier /tvserier Here is my flex: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; initialize=mySrv.send() mx:Script ![CDATA[ var selectedItem; ]] /mx:Script mx:HTTPService id=mySrv url=http://192.168.0.200/PHP/tvSerier.xml; showBusyCursor=true resultFormat=object contentType=application/xml method=GET /mx:HTTPService mx:Style source=tvserier_style.css/ mx:Panel width=462 height=600 mx:VDividedBox height=100% width=100% mx:HBox width=100% height=100% marginTop=5 mx:TileList id=tvList width=100% height=100% itemWidth=430 itemHeight=156 borderStyle=solid borderSides=bottom dataProvider={mySrv.result.tvserier.serier} change=selectedItem=event.target.selectedItem cellRenderer=TvThumbnail / /mx:HBox mx:DataGrid id=avsnitt height=166 width=100% dataProvider={tvList.selectedIndex} mx:columns mx:Array mx:DataGridColumn headerText=Avsnitt columnName=episode / mx:DataGridColumn headerText=Säsong columnName=id / mx:DataGridColumn headerText=Undertexter columnName=Undertexter / /mx:Array /mx:columns /mx:DataGrid /mx:VDividedBox /mx:Panel /mx:Application Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Can someone please make a simple Amazon search application?
I've got the subscription key and the link to wdsl i used is: http://webservices.amazon.com/AWSECommerceService/AWSECommerceService .wsdl I cannot give out my subscriptionkey but you can get it for free on amazon. Anything else you need? Here is the link to the amazon webservice page where you can register: http://www.amazon.com/gp/browse.html/104-4671252-3983930?% 5Fencoding=UTF8node=3435361 --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: Got a WSDL + license key? - Original Message - From: pioplacz [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, October 01, 2005 5:46 PM Subject: [flexcoders] Can someone please make a simple Amazon search application? Hi! I have now tryed for few days to get my amazon app. running. But got so mad so i deleted all files cause the result never got to the datagrid. So now i ask you all greate developers for help. If you could just write a simpel app. that make's a search on amazon throw there webservice and outputs it in a datagrid. I would be very thankful! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Can someone please make a simple Amazon search application?
Thx really thanks!!! --- In flexcoders@yahoogroups.com, Jeff Tapper [EMAIL PROTECTED] wrote: I just put together an example on my blog. You can find it here: http://jeff.mxdj.com/using_amazons_itemsearch_webservice_from_flex.ht m At 05:46 PM 10/1/2005, pioplacz wrote: Hi! I have now tryed for few days to get my amazon app. running. But got so mad so i deleted all files cause the result never got to the datagrid. So now i ask you all greate developers for help. If you could just write a simpel app. that make's a search on amazon throw there webservice and outputs it in a datagrid. I would be very thankful! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtht tp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.comhttp://www.mail-archive.com/flexcoders% 40yahoogroups.com SPONSORED LINKS http://groups.yahoo.com/gads? t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2= Computer+software+developmentw3=Software+design+and+developmentw4=M acromedia+flexw5=Software+development+best+practicec=5s=166.sig=L -4QTvxB_quFDtMyhrQaHQWeb site design development http://groups.yahoo.com/gads? t=msk=Computer+software+developmentw1=Web+site+design+developmentw 2=Computer+software+developmentw3=Software+design+and+developmentw4 =Macromedia+flexw5=Software+development+best+practicec=5s=166.sig =lvQjSRfQDfWudJSe1lLjHwComputer software development http://groups.yahoo.com/gads? t=msk=Software+design+and+developmentw1=Web+site+design+development w2=Computer+software+developmentw3=Software+design+and+development w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.s ig=1pMBCdo3DsJbuU9AEmO1oQSoftware design and development http://groups.yahoo.com/gads? t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+sof tware+developmentw3=Software+design+and+developmentw4=Macromedia+fl exw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZ I36cYzBjwMacromedia flex http://groups.yahoo.com/gads? t=msk=Software+development+best+practicew1=Web+site+design+developm entw2=Computer+software+developmentw3=Software+design+and+developme ntw4=Macromedia+flexw5=Software+development+best+practicec=5s=166 .sig=f89quyyulIDsnABLD6IXIwSoftware development best practice -- YAHOO! GROUPS LINKS * Visit your group http://groups.yahoo.com/group/flexcodersflexcoders on the web. * * To unsubscribe from this group, send an email to: * mailto:[EMAIL PROTECTED] subject=Unsubscribe[EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/Yahoo! Terms of Service. -- Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Can someone please make a simple Amazon search application?
Hi! I have now tryed for few days to get my amazon app. running. But got so mad so i deleted all files cause the result never got to the datagrid. So now i ask you all greate developers for help. If you could just write a simpel app. that make's a search on amazon throw there webservice and outputs it in a datagrid. I would be very thankful! Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Easiest way to connect to mysql?
That I know cause at the moment I use PHP to output all the data from mysql and show it in XML. But thinking of using some other technology like webservices. But don't really know how to create them? Can you maybe explain a little how is all works and what would be the easiest way to use. --- In flexcoders@yahoogroups.com, Niklas Richardson [EMAIL PROTECTED] wrote: Hi there, You will need to use a server side technology, like Java, ASP, CF, PHP to integrate with a MySQL database. You can then use HTTP, WebServices or RemoteObjects to integrate between Flex and your server side. The Flex docs and also the Flex book have information on how to use the above services to connect Flex and the server side together. Regards Niklas On 07/08/05, pioplacz [EMAIL PROTECTED] wrote: Hi folks! Im looking for a easiesway to get data from database and add data into it. At the moment i'm receving data my getting xml output by php file and adding data same simple way like in html. But is there any easiest way to get it all working? Would be really nice!! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com Yahoo! Groups Links -- Niklas Richardson Prismix Ltd Flex and ColdFusion Experts! Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Easiest way to connect to mysql?
Hi folks! Im looking for a easiesway to get data from database and add data into it. At the moment i'm receving data my getting xml output by php file and adding data same simple way like in html. But is there any easiest way to get it all working? Would be really nice!! Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hbq6on4/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123437619/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Star System]
Hi again! Sound kind of stupid but how can i make the stars smaller they are to big... could not open the file in any program :S and nothing happens when i try to decide width and height for it.. --- In flexcoders@yahoogroups.com, Ketan Bengali [EMAIL PROTECTED] wrote: here it is.. Sorry.. had all the display code in set. Shifted it to draw now. Now it should work. Attaching the updated file. P.S: The component checks if the number received as parameter is a whole integer else rounds off. Example: if num is 3.49 and lesser rounds to 3 else rounds to 4. Regards, Ketan Bengali pioplacz wrote: have a problem i tryed making it work dynamic like this: CineRating id=stars rating={dataObject.rate}/ the rate changes on every movie i click but nothing happens it keeps the same value as the first one i clicked on. Is it possible to fix it? --- In flexcoders@yahoogroups.com, Ketan Bengali [EMAIL PROTECTED] wrote: We have already have a star system which matches your requirements . If you need it you can have that. Have attached it with current mail. Copy the .swc file to default-war\WEB-INF\flex\user_classes For safer side restart your server. mxml code would be: CineRating id=yourid rating=3 / rating can be anything from 1 to 5. Regards, Sagar Kulkarni Dipti Mane Ketan Bengali pioplacz wrote: Hi! Was wondering if somebody have any idea if it's possible to make a star system like in iTunes? that u grade every song by giving it 1- 5 stars? How can i make something like this? My second question? How is it possible to make a search funtion in Flex Store Demo Application last time i tryed it would really work it worked in the grid view. But when i clicked on the product no information were showed in the details part... is it possible to fix it? Yahoo! Groups Links Yahoo! Groups Links -- Regards, Ketan Bengali Multimedia Programmer, Silver Communication Pvt. Ltd., Pune. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Image caching
Have a question i made a movie library based on the exampel flex store... and i have aroun 150 images loading everytime i want to found a movie... is it possible to make the images stor in cache to make a faster browsing. it loads fast cause it's local but i can only feat aroun 20 images in a box and have to scroll to see the rest and the it have to loads images... and there a no images in about 2 seconds. that's why i want to make them cache is it possible? Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Image caching
Yes it sounds kind of that way.. i use repeater component do make it appear. find it way easier then writing code myself. but it fills kind of sad that nobody can really answear our questions. It would be really good if it just could cache all the images same way old HTML did. just store all the images in the temporary internet files folder, it really saves time :P --- In flexcoders@yahoogroups.com, Joe Berkovitz [EMAIL PROTECTED] wrote: I would also like to see some response from MM on this subject (I have asked support, but no response yet). Basically, it would be really helpful to understand how to minimize overhead for repeatedly loading a movieclip from an external URL, because even if the URL's response bytes are cached by the browser, there's still some significant time that it takes to load the clips. MovieClip.duplicateMovieClip() is not of help in this regard, as others have noted in various Flash-based forums. My current default guess is that we're stuck with the overhead of loadMovie(), unless one uses embedding. Erik Westra wrote: Well, my guess is that this has nothing to do with cache, but the fact that the flex components delete and create the movieclips again and then load the image. If it is cached or not, it takes some time before the image can appear. I don't know exactly how these components are constructed or if there are settings for this 'paging' feature... Greetz Erik -Original Message- From: pioplacz [mailto:[EMAIL PROTECTED] Sent: vrijdag 25 maart 2005 11:55 To: flexcoders@yahoogroups.com Subject: [flexcoders] Image caching Have a question i made a movie library based on the exampel flex store... and i have aroun 150 images loading everytime i want to found a movie... is it possible to make the images stor in cache to make a faster browsing. it loads fast cause it's local but i can only feat aroun 20 images in a box and have to scroll to see the rest and the it have to loads images... and there a no images in about 2 seconds. that's why i want to make them cache is it possible? Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Star System
Could you please send it again.. i deleted mail by misstake... :( --- In flexcoders@yahoogroups.com, Ketan Bengali [EMAIL PROTECTED] wrote: Sorry.. had all the display code in set. Shifted it to draw now. Now it should work. Attaching the updated file. P.S: The component checks if the number received as parameter is a whole integer else rounds off. Example: if num is 3.49 and lesser rounds to 3 else rounds to 4. Regards, Ketan Bengali pioplacz wrote: have a problem i tryed making it work dynamic like this: CineRating id=stars rating={dataObject.rate}/ the rate changes on every movie i click but nothing happens it keeps the same value as the first one i clicked on. Is it possible to fix it? --- In flexcoders@yahoogroups.com, Ketan Bengali [EMAIL PROTECTED] wrote: We have already have a star system which matches your requirements . If you need it you can have that. Have attached it with current mail. Copy the .swc file to default-war\WEB-INF\flex\user_classes For safer side restart your server. mxml code would be: CineRating id=yourid rating=3 / rating can be anything from 1 to 5. Regards, Sagar Kulkarni Dipti Mane Ketan Bengali pioplacz wrote: Hi! Was wondering if somebody have any idea if it's possible to make a star system like in iTunes? that u grade every song by giving it 1- 5 stars? How can i make something like this? My second question? How is it possible to make a search funtion in Flex Store Demo Application last time i tryed it would really work it worked in the grid view. But when i clicked on the product no information were showed in the details part... is it possible to fix it? Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Star System
have a problem i tryed making it work dynamic like this: CineRating id=stars rating={dataObject.rate}/ the rate changes on every movie i click but nothing happens it keeps the same value as the first one i clicked on. Is it possible to fix it? --- In flexcoders@yahoogroups.com, Ketan Bengali [EMAIL PROTECTED] wrote: We have already have a star system which matches your requirements . If you need it you can have that. Have attached it with current mail. Copy the .swc file to default-war\WEB-INF\flex\user_classes For safer side restart your server. mxml code would be: CineRating id=yourid rating=3 / rating can be anything from 1 to 5. Regards, Sagar Kulkarni Dipti Mane Ketan Bengali pioplacz wrote: Hi! Was wondering if somebody have any idea if it's possible to make a star system like in iTunes? that u grade every song by giving it 1- 5 stars? How can i make something like this? My second question? How is it possible to make a search funtion in Flex Store Demo Application last time i tryed it would really work it worked in the grid view. But when i clicked on the product no information were showed in the details part... is it possible to fix it? Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: dynamic xml in flex
This is my PHP: ?php header('Content-type: application/xml'); //config included include_once (config.php); //this line selects the city $result = mysql_query (SELECT * FROM filmer); // and output a XML document echo '?xml version=1.0 encoding=ISO-8859-1?'; echo 'helakatalog'; //fitching all the entries while ($row=mysql_fetch_assoc($result)) { $line = 'id'.$row['id'].'/id'; $line1 = 'title'.$row['title'].'/title'; $line2 = 'year'.$row['year'].'/year'; $line3 = 'publisher'.$row['publisher'].'/publisher'; $line4 = 'genres'.$row['genres'].'/genres'; $line5 = 'image'.$row['image'].'/image'; $line6 = 'info'.$row['info'].'/info'; $line7 = 'link'.$row['link'].'/link'; $line8 = 'internet'.$row['internet'].'/internet'; $line9 = 'trailer'.$row['trailer'].'/trailer'; echo 'katalog'; echo $line; echo $line1; echo $line2; echo $line3; echo $line4; echo $line5; echo $line6; echo $line7; echo $line8; echo $line9; echo '/katalog'; } echo '/helakatalog'; ? This is my mxml (it's the one i saved last without the arrayutil.toarray function): ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=* backgroundImage=@Embed('assets/images/Aqua_Blue.png') backgroundSize=100% !-- mx:Model id=katModel source=http://192.168.0.200:8080/flex/katalog/katalog.xml/ -- mx:HTTPService id=katSrv url=http://192.168.0.200:8080/flex/katalog/katalog.xml; resultFormat=xml/mx:HTTPService !--mx:Model id=katModel source=http://192.168.0.200:8080/flex/katalog/katalog.xml/-- !-- The ActionScript code for this class is externalized in a separate .as file for better readability -- mx:Script source=katalog_script.as/ !-- Style sheet used in this application -- mx:Style source=katalog.css/ !-- Design begins -- mx:VBox mx:Label text=SerenadServer Film Katalog styleName=appTitle/ mx:HBox id=hb horizontalGap=4 height=555 mx:Panel id=main title=Film Katalog width=512 height=100% mx:ViewStack id=bodyStack changeEffect=Fade width=100% height=100% !-- A custom component (ThumbnailView.mxml) that displays the list of products in a Thumbnail view: This is the view displayed when you start the application. When the user clicks a product (change event), we store the selected item in the selectedItem instance variable of this application -- ThumbnailView id=thumbView label=Product Catalog dataObject={katSrv.result.helakatalog.katalog} change=selectedItem=event.target.selectedItem/ !-- A custom component (GridView.mxml) providing another way (DataGrid) to look at the same data -- GridView id=gridView dataObject={katSrv.result} change=selectedItem=event.target.selectedItem/ /mx:ViewStack mx:ControlBar height=50 mx:ViewStack id=controlStack mx:HBox horizontalGap=0 horizontalAlign=right mx:Image source={currentView=='thumb'? thumbOn:thumbOff} mouseDown=changeView('thumb') mouseOver=event.target.source=thumbRoll mouseOut=event.target.source=currentView=='thumb'? thumbOn:thumbOff/ mx:Image source={currentView=='grid'? listOn:listOff} mouseDown=changeView('grid') mouseOver=event.target.source=listRoll mouseOut=event.target.source=currentView=='grid'?listOn:listOff/ /mx:HBox /mx:ViewStack /mx:ControlBar /mx:Panel mx:VBox width=100% height=100% mx:Canvas id=topCanvas width=370 height=355 vScrollPolicy=off MovieDetail id=movieDetail dataObject={selectedItem} width=100% height=100% vScrollPolicy=off/ PanelControl id=statusTop width=100% resizeEvent=slide(event)/ /mx:Canvas mx:Canvas id=bottomCanvas width=370 height=100% vScrollPolicy=off FindView id=findView width=100% height=100% itemSelected=selectedItem=event.target.selectedItem vScrollPolicy=off/ PanelControl id=statusBottom width=100% resizeEvent=slide(event)/ /mx:Canvas /mx:VBox /mx:HBox /mx:VBox /mx:Application --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: pioplacz wrote: Maybe it sounds king of noobish but i'm a noob... but cannot get it to work... i tryed just passing the data from httpservice to datagrid but the right data won't show... I'm getting all confused maybe is something wrong with my php xml output... :S Your XML output looks fine to me. A couple of things: 1. As Matt noted, you should use ArrayUtil.toArray() to make sure your data provider is an array, not an object (happens when you have only one node). 2. You need to allow access to external URLs by adding your URL to the whitelist in flex-config.xml. I'm not an expert in this. Read the docs. When you say it's not working, what exactly is failing? Are you getting an error message? Are you setting up a fault handler for your HTTPService and then swallowing the error? What format are you getting the data in, object or xml? Show us some code and we can help you. As an aside, I've done something similar, here: http://manish.revise.org/archives/2005/02/04/blog-activity- analyzer-written-in-flex/ You might find it easier to copy the code and edit it to suit your needs
Re: dynamic xml in flex
I've tryed to this is my php... http://serenadserver.mine.nu:8080/katalog.php it won't work... don't know really why... my app works the same way like the flex store... --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: pioplacz wrote: would be nice is something like webservice used in the flex store.. cuase my application works the same way.. but how can i make it happen i have mysql database and i run iis so i have both php and asp... Write some PHP to output your data in XML format, and then Flex can access it from the URL using HTTPService. See the blog reader example. Manish
Re: dynamic xml in flex
Maybe it sounds king of noobish but i'm a noob... but cannot get it to work... i tryed just passing the data from httpservice to datagrid but the right data won't show... I'm getting all confused maybe is something wrong with my php xml output... :S --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: You might need to use mx.utils.ArrayUtil.toArray() depending on which part of the data you're looking for. Search for that in the docs to see if it makes sense for you. Matt _ From: pioplacz [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 9:45 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: dynamic xml in flex I've tryed to this is my php... http://serenadserver.mine.nu:8080/katalog.php http://serenadserver.mine.nu:8080/katalog.php it won't work... don't know really why... my app works the same way like the flex store... --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: pioplacz wrote: would be nice is something like webservice used in the flex store.. cuase my application works the same way.. but how can i make it happen i have mysql database and i run iis so i have both php and asp... Write some PHP to output your data in XML format, and then Flex can access it from the URL using HTTPService. See the blog reader example. Manish _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service.