In order to deploy the DSC the most easy way is to have a Workbench installed. But there are also ways to deploy a DSC without having WorkBench by our side. In Java, we do so by the help of LC SDK jars, namely adobe-livecycle.jar and adobe-usermanagement-client.jar. Now, what if we want to deploy a DSC from a FLEX UI on a Livecycle Server, running somewhere remote, let say by the click of a button on an AIR App. But in Flex we can't use SDK jars, hence the creation of ServiceClientFacory is impossible.
Solution
Flex exposes remoting endpoint which can be used to communicate with LiveCycle via LCDS. The adobe-remoting-provider.swc whihc is used to facilitate the communication, can be found at the LiveCycle installed location, \\Adobe LiveCycle ES2\LiveCycle_ES_SDK\misc\DataServices\Client-Libraries.
The Tree control has 'toolTip' property. But it is applied for Tree control itself, not for each nodes shown in the control.
In addition, the control does not have any methods to show toolTip hint as you want.
Thus, the property is difficult to show toolTip message for each nodes dynamically.
Solution
Here is the workaround for the above problem:
When the 'Tree.itemRollOver' event is fired, you can refer the node which is rolled over by user.Thus, you can get text of the node to show it as toolTip.
Hi people.
I'm trying to create an object at runtime, just passing the classname as a parameter
I already tried that with a standard Flex Component and it worked very well.
BUT, when I try to do this with one of my components, an error occurs: ReferenceError: Error #1065: Variable [myComponentClassName] is not defined.
Thanks.
Solution
Did you make sure your class is getting compiled ? Because if it's not referenced anywhere else in the application it is not compiled, and thus it is not possible to create any instance of it.
An SWC library complied with Flex 3 SDK, being added to Flex 4 project and conflicts with Flex 4 namespaces. Similarly, legacy Flex 3 SWF file has to be used within Flex 4 application. Latter can be found in large/legacy applications.
Solution
Implement legacy code within separate Flex application, compile with Flex 3 SDK and embed into Flex 4 application.
What if you are creating an application that compile size matters and you want to use JSON strings to get data into your application. JSON stands for JavaScript object notation, it is a more condense data format then XML and is able to define different types of data not just Strings. You can use the Adobe Core Lib classes to parse this information but these classes add a little extra weight to your application and in some apps this isn't ok but there is another way.
Solution
Because JSON is just a subset of JavaScript objects ExternalInterface can just send these objects as Strings to JavaScript within your browser and the JavaScript interpreter will send an ActionScript Object back to you with the correct types. I have also noticed that this information is parsed faster and more reliably then the standard version but remember that this is only helps you with decoding. If you would like to create a JSON string from an Object you will have to use something else.
Embedding a font in Flex has been improved in Flex 4 and it can be a powerful tool for customizing your application, however using fonts can quickly increase the size of your swf.
Solution
A great and easy way to reduce this impact is to limit the character set embedded. There are a few places you could do this, but I find it easiest to do in CSS.