itemCheckedChange="dataGridCheckedItemChange(event)"
new Event Tag : "itemCheckedChange"
new Event name : DeviceGroupAndListGridEvent
=========== org =====================
[device:DeviceGroupAndListGrid
id="dataGridT" width="100%" height="100%"
variableRowHeight="true"
sortExpertMode="true"
itemCheckedChange="dataGridCheckedItemChange(event)"/]
- script part
private function dataGridCheckedItemChange(event:DeviceGroupAndListGridEvent):void
{
Alert.show("sr");
}
============= component ================
[mx:Metadata]
[Event(name="itemCheckedChange",type="com.DeviceGroupAndListGridEvent")]
[/mx:Metadata]
============ actionscript file ==================
public class DeviceGroupAndListGridEvent extends Event
{
public static const ITEM_CHECKED_CHANGE:String = "itemCheckedChange";
public function DeviceGroupAndListGridEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
{
super(type, bubbles, cancelable);
}
}
Wednesday, 9 December 2009
Tuesday, 8 December 2009
[Flex] Loading process bar
Sample Page
http://www.pathf.com/sites/pfd/flash/blog/08142008/PreloaderComponent.html
Source site
http://www.pathf.com/blogs/2008/08/custom-flex-3-lightweight-preloader-with-source-code/
http://www.pathf.com/sites/pfd/flash/blog/08142008/PreloaderComponent.html
Source site
http://www.pathf.com/blogs/2008/08/custom-flex-3-lightweight-preloader-with-source-code/
Thursday, 3 December 2009
Wednesday, 2 December 2009
[Flex] DataProvider show
if(_dataProvider != null)
{
Alert.show(ObjectUtil.toString(_dataProvider),"data");
}
{
Alert.show(ObjectUtil.toString(_dataProvider),"data");
}
[Flex] Debug message output
[target class="flex.messaging.log.ConsoleTarget" level="Debug"]
[properties]
[prefix][BlazeDS] [/prefix]
[includeDate]true[/includeDate]
[includeTime]true[/includeTime]
[includeLevel]false[/includeLevel]
[includeCategory]true[/includeCategory]
[/properties]
[filters]
[pattern]Endpoint.*[/pattern]
[pattern]Service.*[/pattern]
[pattern]Configuration[/pattern]
[/filters]
[/target]
[properties]
[prefix][BlazeDS] [/prefix]
[includeDate]true[/includeDate]
[includeTime]true[/includeTime]
[includeLevel]false[/includeLevel]
[includeCategory]true[/includeCategory]
[/properties]
[filters]
[pattern]Endpoint.*[/pattern]
[pattern]Service.*[/pattern]
[pattern]Configuration[/pattern]
[/filters]
[/target]
Subscribe to:
Posts (Atom)