<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" version="2.0">

<channel>
	<title>Arcadio Carballares Martín - en</title>
	
	<link>http://arcadiocarballares.com</link>
	<description>Personal repository to ideas, experiments and notes</description>
	<pubDate>Sat, 23 Mar 2013 18:39:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/arcadio-en" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="arcadio-en" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license><item>
		<title>Warning on referencing application module</title>
		<link>http://arcadiocarballares.com/?p=740</link>
		<comments>http://arcadiocarballares.com/?p=740#comments</comments>
		<pubDate>Sat, 23 Mar 2013 18:39:11 +0000</pubDate>
		<dc:creator>Arcadio</dc:creator>
		
		<category><![CDATA[Errors]]></category>

		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://arcadiocarballares.com/?p=740</guid>
		<description><![CDATA[Warning: Tareas is a module or application that is directly referenced. This will cause Tareas and all of its dependencies to be linked in with es.acm.tareas.module:Calendar. Using an interface is the recommended practice to avoid this.
This warning appears when referencing from main application as Tareas(FlexGlobals.topLevelApplication).calendarModule. To avoid it you must implement an interface on main [...]]]></description>
		<wfw:commentRss>http://arcadiocarballares.com/?feed=rss2&amp;p=740</wfw:commentRss>
		</item>
		<item>
		<title>Problem with Flexorm Criteria.addSort</title>
		<link>http://arcadiocarballares.com/?p=738</link>
		<comments>http://arcadiocarballares.com/?p=738#comments</comments>
		<pubDate>Mon, 18 Mar 2013 08:31:46 +0000</pubDate>
		<dc:creator>Arcadio</dc:creator>
		
		<category><![CDATA[Errors]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Flexorm]]></category>

		<guid isPermaLink="false">http://arcadiocarballares.com/?p=738</guid>
		<description><![CDATA[Adding more than one Criteria.addSort it display following error:
SQLError: 'Error #3115: SQL Error.', details:'near 'and': syntax error', operation:'execute', detailID:'2003'
	at flash.data::SQLStatement/internalExecute()
	at flash.data::SQLStatement/execute()
	at nz.co.codec.flexorm.command::SQLCommand/execute()[C:\Users\acarballares\Dropbox\Descargas\Flex\Lib\flexorm\trunk\flexorm\src\nz\co\codec\flexorm\command\SQLCommand.as:179]
	at nz.co.codec.flexorm.command::SelectCommand/execute()[C:\Users\acarballares\Dropbox\Descargas\Flex\Lib\flexorm\trunk\flexorm\src\nz\co\codec\flexorm\command\SelectCommand.as:248]
	at nz.co.codec.flexorm::EntityManager/fetchCriteria()[C:\Users\acarballares\Dropbox\Descargas\Flex\Lib\flexorm\trunk\flexorm\src\nz\co\codec\flexorm\EntityManager.as:1488]
	at es.acm.tareas.dao::MinitaskDAO/findItemsByTask()[C:\Users\acarballares\Documents\Desarrollos\2012\Tareas\src\es\acm\tareas\dao\MinitaskDAO.as:48]
	at es.acm.tareas.model::TaskModel/getMinitaskByTask()[C:\Users\acarballares\Documents\Desarrollos\2012\Tareas\src\es\acm\tareas\model\TaskModel.as:235]
	at Tareas/showView()[C:\Users\acarballares\Documents\Desarrollos\2012\Tareas\src\Tareas.mxml:251]
	at Tareas/onLogin()[C:\Users\acarballares\Documents\Desarrollos\2012\Tareas\src\Tareas.mxml:240]
	at flash.data::SQLConnection/internalOpen()
	at flash.data::SQLConnection/open()
	at Tareas/openConnection()[C:\Users\acarballares\Documents\Desarrollos\2012\Tareas\src\Tareas.mxml:214]
	at Tareas/__btEnter_click()[C:\Users\acarballares\Documents\Desarrollos\2012\Tareas\src\Tareas.mxml:405]
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.core::UIComponent/dispatchEvent()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:13128]
	at mx.managers::FocusManager/http://www.adobe.com/2006/flex/mx/internal::sendDefaultButtonEvent()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\FocusManager.as:1155]
	at mx.managers::FocusManager/defaultButtonKeyHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\FocusManager.as:2084]
Solutions

At RiaForge: Error in multiple addSort() [order by clauses using AND instead of ,]
Changing class nz.co.codec.flexorm.command.SelectCommand.as (line 238 y [...]]]></description>
		<wfw:commentRss>http://arcadiocarballares.com/?feed=rss2&amp;p=738</wfw:commentRss>
		</item>
		<item>
		<title>Create States programmatically</title>
		<link>http://arcadiocarballares.com/?p=733</link>
		<comments>http://arcadiocarballares.com/?p=733#comments</comments>
		<pubDate>Sat, 02 Mar 2013 19:19:39 +0000</pubDate>
		<dc:creator>Arcadio</dc:creator>
		
		<category><![CDATA[Actionscript]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Tricks]]></category>

		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://arcadiocarballares.com/?p=733</guid>
		<description><![CDATA[Some times we need to add or provide new states to AS3 components by code. To do this as MXML tag &#60;s:states&#62; we could use that simple script:
var stateNames:Array = new Array('up','over','down','disabled');
for each (var name:String in stateNames) {
	var item:State = new State();
	item.name = name;
	states.push(item);
}
states = new Array();
for each (var name:String in ['working', 'active', 'disabled']) {
	var [...]]]></description>
		<wfw:commentRss>http://arcadiocarballares.com/?feed=rss2&amp;p=733</wfw:commentRss>
		</item>
		<item>
		<title>Flex Button for mobile apps</title>
		<link>http://arcadiocarballares.com/?p=727</link>
		<comments>http://arcadiocarballares.com/?p=727#comments</comments>
		<pubDate>Wed, 10 Oct 2012 18:17:24 +0000</pubDate>
		<dc:creator>Arcadio</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://arcadiocarballares.com/?p=727</guid>
		<description><![CDATA[Source for a button like ComboBox to mobile apps:

Button:
package component
{
	import skin.ComboBoxButtonSkin;
	import spark.components.Button;

	public class MyButton extends Button
	{
		[Bindable]
		[Embed(source="/skin/button_arrow.png")]
		private var Icon:Class;

		public function MisButton()
		{
			super();

			setStyle('skinClass', ComboBoxButtonSkin);
			setStyle('icon',Icon);
			setStyle('iconPlacement', 'right');
		}
	}
}
Skin:
package skin
{
	import flash.display.DisplayObject;
	import spark.skins.mobile.ButtonSkin;

	public class ComboBoxButtonSkin extends ButtonSkin
	{
		[Bindable]
		[Embed(source="/es/prosegur/uriana/skin/mobile_button_up.png")]
		private var up:Class;

		[Bindable]
		[Embed(source="/es/prosegur/uriana/skin/mobile_button_down.png")]
		private var down:Class;

		public function ComboBoxButtonSkin()
		{
			super();

			upBorderSkin = up;
			downBorderSkin = down;
		}

		override protected function layoutContents(unscaledWidth:Number, unscaledHeight:Number):void
		{
			super.layoutContents(unscaledWidth, unscaledHeight);

			// Align to left
			var labelX:Number = labelDisplay.x-labelDisplay.x+10;
			var labelY:Number = labelDisplay.y + 5;
			setElementPosition(labelDisplay, [...]]]></description>
		<wfw:commentRss>http://arcadiocarballares.com/?feed=rss2&amp;p=727</wfw:commentRss>
		</item>
		<item>
		<title>Lazy Loading with Spring BlazeDS Integration (dpHibernate 2.0-RC6)</title>
		<link>http://arcadiocarballares.com/?p=723</link>
		<comments>http://arcadiocarballares.com/?p=723#comments</comments>
		<pubDate>Sun, 10 Jun 2012 08:34:41 +0000</pubDate>
		<dc:creator>Arcadio</dc:creator>
		
		<category><![CDATA[BlazeDS]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://arcadiocarballares.com/?p=723</guid>
		<description><![CDATA[Example with dpHibernate implementation of BlazeDS with Lazy Loading.
Updated to Spring BlazeDS Integration 1.5 with Hibernate and JPA annotations:
Download 

]]></description>
		<wfw:commentRss>http://arcadiocarballares.com/?feed=rss2&amp;p=723</wfw:commentRss>
		</item>
		<item>
		<title>Task 1.3</title>
		<link>http://arcadiocarballares.com/?p=719</link>
		<comments>http://arcadiocarballares.com/?p=719#comments</comments>
		<pubDate>Fri, 25 May 2012 18:00:53 +0000</pubDate>
		<dc:creator>Arcadio</dc:creator>
		
		<category><![CDATA[AIR]]></category>

		<category><![CDATA[Applications]]></category>

		<guid isPermaLink="false">http://arcadiocarballares.com/?p=719</guid>
		<description><![CDATA[Update of AIR system to Task management.
Version 1.3 include:

Event Calendar.
Mini-task duration management.
Improvements in functionality and interface.

]]></description>
		<wfw:commentRss>http://arcadiocarballares.com/?feed=rss2&amp;p=719</wfw:commentRss>
		</item>
		<item>
		<title>Calendario 1.1: date and events with Flex</title>
		<link>http://arcadiocarballares.com/?p=713</link>
		<comments>http://arcadiocarballares.com/?p=713#comments</comments>
		<pubDate>Sun, 01 Apr 2012 09:08:19 +0000</pubDate>
		<dc:creator>Arcadio</dc:creator>
		
		<category><![CDATA[Components]]></category>

		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://arcadiocarballares.com/?p=713</guid>
		<description><![CDATA[Calendario is a component to push events in a flex calendar. Update version 1.1 of the component include following improvements:

SDK 4.6 update.
Properties rowCount to months combobox.
More and easy styles.
Refactoring and bugs solutions.

 Click with the right button to obtain source code.
]]></description>
		<wfw:commentRss>http://arcadiocarballares.com/?feed=rss2&amp;p=713</wfw:commentRss>
		</item>
		<item>
		<title>Configuration files with Flex Resources system</title>
		<link>http://arcadiocarballares.com/?p=709</link>
		<comments>http://arcadiocarballares.com/?p=709#comments</comments>
		<pubDate>Thu, 15 Mar 2012 15:33:39 +0000</pubDate>
		<dc:creator>Arcadio</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Tricks]]></category>

		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://arcadiocarballares.com/?p=709</guid>
		<description><![CDATA[Configure flex application with parameters give you similiar advantages as localization system. We can change some variables directly within a external file without recompiling the application.
Normally we can recreate this system loading an XML file at startup, but that requires a preload, a parser proccess and an final assignment with some complexity.

Other option is to [...]]]></description>
		<wfw:commentRss>http://arcadiocarballares.com/?feed=rss2&amp;p=709</wfw:commentRss>
		</item>
		<item>
		<title>Display articles of a category in Joomla version 1.1</title>
		<link>http://arcadiocarballares.com/?p=706</link>
		<comments>http://arcadiocarballares.com/?p=706#comments</comments>
		<pubDate>Mon, 27 Feb 2012 19:27:20 +0000</pubDate>
		<dc:creator>Arcadio</dc:creator>
		
		<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://arcadiocarballares.com/?p=706</guid>
		<description><![CDATA[Articles View 1.0 is a Joomla module to  display articles of a section or category. The extension is simple but allow to position an article list, as it be done, on any location in the template.
Improvements

Title as links.
Interval list.

Download Articles View 1.1 
]]></description>
		<wfw:commentRss>http://arcadiocarballares.com/?feed=rss2&amp;p=706</wfw:commentRss>
		</item>
		<item>
		<title>Spark Rich Text Editor basado en TLF</title>
		<link>http://arcadiocarballares.com/?p=702</link>
		<comments>http://arcadiocarballares.com/?p=702#comments</comments>
		<pubDate>Tue, 31 Jan 2012 07:15:00 +0000</pubDate>
		<dc:creator>Arcadio</dc:creator>
		
		<category><![CDATA[Components]]></category>

		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://arcadiocarballares.com/?p=702</guid>
		<description><![CDATA[SparkRichTextEditor is a flex component based on Text Layout Framework with basic functionality implementation of a simple text editor with styles and key shortcuts with advances and improvements of new text system of Adobe.
 Click with the right button to obtain source code.
More great examples of Adobe TLF and from tlftexteditor (in Google Code).
]]></description>
		<wfw:commentRss>http://arcadiocarballares.com/?feed=rss2&amp;p=702</wfw:commentRss>
		</item>
	</channel>
</rss>
