Flex component to apply a preloading animation in a flex image. The component show a loading spinner until image load is completed or dispatch a broken link error.
You can configure spinner size in property spinnerSize.
Click with the right button to obtain source code.
Version 1.1 of PhotoInBlog, Wordpress plug-in (and now in Joomla too) which show user’s picture in your blog.
New features:
- Photo history
- Comment of the photo
- Public system (all users can see all public pictures) and private (only register user can see his pictures)
- Only register user can delete his pictures. Admin user can delete all.
Wordpress version
Install
- Copy PhotoInBlog folder in plug-ins folder of Wordpress.
- Activate the plug-in in administration window.
Use
- Copy file ‘photoinblog_view.php’ in actual theme folder and insert this code in the template:
<?php include("photoinblog_view.php"); ?>
Joomla version
Install
- Install component and module from instalation panel of Joomla.
Use
- Create a module from PhotoInBlog and insert display parameters.
By default number of pictures to show is 10. Change it (no limit has 0 value) from module management of Joomla or with variable maxPhotos of photoinblog_view.php file in Wordpress.
Collections which are object property doesn’t dispacth automatic binding with update process on its items. In this situation elements doesn’t update and changes doesn’t show.
Force collection binding to a flex target can be done with ArrayCollection component as a bridge between source and final destination.
Source:
[Bindable]
private var object:Object;
Destination:
<mx:Label id="destination" text="{items}"/>
Auxiliary collection:
<mx:ArrayCollection id="items" list="{object.collection}"
collectionChange="{onCollectionChange(event)}"/>
Update method:
private function onCollectionChange(event:CollectionEvent):void {
// Update code here
destination.executeBindings();
}
Fixed bug with checkbox checked at dropdown in component ComboCheck.
Thank you giorgio for the comment!
Alegria is a Flex component to show easily a gallery of images.
You can configure following properties:
- numItems to apply the number of images per page
Click with the right button to obtain source code.
MyEventCalendar is a component to manage events in Joomla.
This componente provide a simple way to display events created and managed by the user and events generated by the administrator of the system that are shared by all registered users.
Set up it with Joomla installation and you must install component and module to display events..
Version 0.9
- Create, edit and delete user events.
- Administration option to generate shared events.
Display

Edition

Administration

Using paged collections (in GraniteDS) as data source in a flex comboBoxcomo we get following error:
Error: Items pending from 0 to 20 for index 10
at org.granite.tide.collections::PagedCollection/getItemAt()[C:\workspace\graniteds\as3\framework\org\granite\tide\collections\PagedCollection.as:507]
at ListCollectionViewCursor/moveNext()
at mx.controls::ComboBox/calculatePreferredSizeFromData()
at mx.controls::ComboBase/measure()
at mx.controls::ComboBox/measure()
at mx.core::UIComponent/measureSizes()
at mx.core::UIComponent/validateSize()
at mx.managers::LayoutManager/validateSize()
at mx.managers::LayoutManager/doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()
at mx.core::UIComponent/callLaterDispatcher()
SOLUTION: To use big amount of data in the component we can bind the complete list (without pagination) as:
private function onCreationComplete():void {
myList.addEventListener(CollectionEvent.COLLECTION_CHANGE, myListBinding);
}
private function myListBinding(event:CollectionEvent):void {
myCombo.executeBindings();
}
[...]
<mx:ComboBox id="myCombo" dataProvider="{myList.list}"/>
More information in graniteds forum.
Flex project example with BlazeDS and Eclipse.
There are many tutorials on Internet very simple:
- Create a Flex project with J2EE nature
- Import BlazeDS war to recreate project structure
- Configure flex remoting config files
- Create java services and register them in the config files
- Create RemoteObject components in Flex client pointing to these services
Amf3Output class included in BlazeDS libraries allow us a simple way to serialize objects from server to client in AMF3 format.
Fixed bug with checkbox checked at dropdown in component ComboCheck.