HTML/CSS Service

Showcase

0 comments0 views
1 Star2 Stars

Learn Flex® in India

Category: Flex Components, Learn Flex    |    242 views    |    Add a Comment

Flex 3.0 : Level 1 and Level 2
Duration: 40 Hrs.

Flex 3.0: Developing Rich Client Applications - Level 1
Description:
Flex 3: Developing Rich Internet Client Application provides experienced application developers with hands-on, practical experience using Flex. This three day course introduces developers to all the primary features of Flex they’ll need to know in orbuild a fully functional, well architected front end for a Rich Internet Application (RIA). Read more…

Share/Save/Bookmark

 

Invoking Java methods from Adobe Flex

Category: Flex Examples, Learn Flex    |    4,050 views    |    1 Comment

 

How to invoke Java methods from Flex application?

  1. Add an mapping to the Java class to services-config.xml
  2. Map your RemoteObject (provided with Flex SDK) on the client side to the destination configured in services-config.xml
  3. Invoke the method in your Java class using the RemoteObject instance

What do you need to invoke a Java method from the client side application?

  1. Flex Builder
  2. Blaze DS

Isn’t that simple? Let’s get into details of implementing this.

Set up Blaze DS

Download and setup Blaze DS on your system fromhttp://labs.adobe.com/technologies/blazeds/

You will be downloading Blaze DS with integrated Tomcat server. You just have to start the server by executing startup.bat under tomcat/bin. Please note the port number in which the Tomcat server is running. The port number mentioned below might have to be replaced with yours, if required. Read more…

Share/Save/Bookmark

 

How to skin a combobox from Flash

Category: Learn Flex, Resources, flex tutorials    |    3,382 views    |    2 Comments

 

PROBLEM SUMMARY

You want to use a SWF file with a set of own symbols in order to customize Combobox states.

SOLUTION SUMMARY

Use the upSkin, overSkin, downSkin, and disabledSkin style properties of the ComboBox class to apply custom symbols to any combobox. These attributes can be set directly on a ComboBox instance or as part of a CSS style definition.

EXPLANATION

The first thing to do is create a file in Flash and ComboBoxSkins.swf within it to create 4 symbols of type MovieClip with different states of the ComboBox. These symbols should be named: ComboBox_upSkin, ComboBox_downSkin, ComboBox_overSkin, ComboBox_disabledSkin

 If we want to put the CSS inline style do the following:

<?xml version=”1.0″ encoding=”utf-8″?>
<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml” layout=”absolute”>
<mx:ComboBox x=”196″ y=”135″ 
upSkin=”@Embed(source=’ComboBoxSkins.swf’, symbol=’ComboBox_upSkin’)”
overSkin=”@Embed(source=’ComboBoxSkins.swf’, symbol=’ComboBox_overSkin’)”
downSkin=”@Embed(source=’ComboBoxSkins.swf’, symbol=’ComboBox_downSkin’)”
disabledSkin=”@Embed(source=’ComboBoxSkins.swf’, symbol=’ComboBox_disabledSkin’)”>
<!– PUT HERE THE OPTIONS OF COMBOBOX –>
</mx:ComboBox>
</mx:Application>

Read more…

Share/Save/Bookmark