I was too lazy to read docs and then create a cellrenderer class to show checkbox in list component.
Was searching for some ready made code to get this working.
But no luck finally tired out something and could get to this point
example: List with CheckBox
Source
You can find the CheckCellRenderer.as in mx/controls/cells folder of flash
I edited it according to my need and named as CheckBoxCell.as
Friday, May 18, 2007
Wednesday, March 21, 2007
My first Apollo application
Checked out the Apollo followed the tutorial on labs by Andrew Muller : Building your First flex-based Apollo application.
and could make an first step towards it. Its something very similar to mdm and Mprojector. There we get the mdm component to access the api of mdm (in flash).
Here we need to have a apolloApplication tag instead of Applicaion tag in(flex) and Basically it creates a exe to which we can give attributes from xml(myApp-app.xml ) file kept on application root. we can have all the attributes like transparency's systemChrome and applications icon. We need to create a deployable air (installer )file.
We can ditribute this air file for the installation. and thats all..
Apollo app is created. we just need to study the Apollo api's :
http://labs.adobe.com/wiki/index.php/Apollo:Documentation:API_Reference
We can ditribute this air file for the installation. and thats all..
Apollo app is created. we just need to study the Apollo api's :
http://labs.adobe.com/wiki/index.php/Apollo:Documentation:API_Reference
Monday, March 19, 2007
Apollo is on Adobe labs
Was waiting long for Apollo ..and now the wait has ended. Was desperate to try something in it. But it was not available for development for the common developers.
Thursday, March 15, 2007
my feedz api
The myFeedz API from adobe gives us facility to search content of
our interest across the web in more systematic way.
We need to create a account on myfeedz which gives a api key in our profile section.
We can add the tags of our own interest, the feeds that we like to our profile.
Using this key we can access the myFeedz API. Get the info of our interest.
The api section of myfeedz nicelly explain the use of all the api's listed there.
I was having some problem while accessing list of tags from my profile on my feedz.
Thanks to renaun , who helped me a lot in sorting out the problem.
The sample code is here :
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml" >
<mx:Script>
<![CDATA[
import com.adobe.serialization.json.JSON;
import mx.controls.Alert;
[Bindable]
private var myFeedzKey:String = "82f3eacc8d5ba8f651d940d197d23041";//"";
[Bindable]
private var feedURI:String = "http://www.myfeedz.com/api/v1/tags/?key=";
]]>
</mx:Script>
<mx:HTTPService
id="feedZservice"
url="{ feedURI + myFeedzKey + '&from=1' }"
useProxy="false" result="showAlert(event)"
showBusyCursor="true"
/>
<mx:HBox>
<mx:Button label="list tags from my account" click="feedZservice.send()"/>
</mx:HBox/>
<mx:DataGrid
id="dgPosts"
height="90%" width="90%"
dataProvider="{ JSON.decode( feedZservice.lastResult.toString()).tags }">
</mx:DataGrid>
</mx:Application>
We need to create a account on myfeedz which gives a api key in our profile section.
We can add the tags of our own interest, the feeds that we like to our profile.
Using this key we can access the myFeedz API. Get the info of our interest.
The api section of myfeedz nicelly explain the use of all the api's listed there.
I was having some problem while accessing list of tags from my profile on my feedz.
Thanks to renaun , who helped me a lot in sorting out the problem.
The sample code is here :
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml" >
<mx:Script>
<![CDATA[
import com.adobe.serialization.json.JSON;
import mx.controls.Alert;
[Bindable]
private var myFeedzKey:String = "82f3eacc8d5ba8f651d940d197d23041";//"
New video widget for gtalk
The google talk Gadgets from google. One more flash wonder..
just amazed to see the tabs and the opening closing of windows :)
check out the details on : http://blog.outer-court.com/archive/2007-03-14-n58.html
just amazed to see the tabs and the opening closing of windows :)
check out the details on : http://blog.outer-court.com/archive/2007-03-14-n58.html
Subscribe to:
Posts (Atom)