How to: |
Without coding, you can use Information Builders custom components, Flash files, images, and other file types to create a rich and engaging application.
In this topic, you will insert a Flash animated logo in the application. The procedure uses standard Flex Builder features, and there are no custom Information Builders components or properties.
You can position animation files anywhere in a WebFOCUS Enable application.
The width and height are automatically calculated, but you can change them either by dragging the sides of the bounding box or by setting them on the Properties pane or directly in the MXML source code. You can also use the SWFLoader control to load other Flex applications at run time.
The SWFLoader control allows you to load .GIF, .JPEG, .PNG, and .SVG files. You can also use the Image control to load those types of files.
?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ibi="http://www.informationbuilders.com"
backgroundGradientColors="[#808080, #c0c0c0]">
<ibi:ibiCanvas left="0" top="0" bottom="0" right="0">
<mx:SWFLoader scaleContent="true" autoLoad="true" id="logo"
source="IBILogo.swf" right="10" width="212" height="73" y="0"/>
</ibi:ibiCanvas>
</mx:Application>
WebFOCUS |