|
|||||||
| General OpenLaszlo Programming Questions and discussions about coding in OpenLaszlo. Please include the release of OpenLaszlo you are developing in. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Centering a custom splash screen.
Greetings.
I'm attempting to center the content in a custom splash screen and have run into issues. My base code is as follows: Code:
<splash persistent="true">
<view resource="../resources/images/dc-loading2.swf" />
</splash>
If I add constraints for the x and y attributes I get an error, it seems in a SplashView those fields only accept constants. If I use center="true" it centers the view based on its top left corner, not the middle of the view. This offsets my image from center. The SplashView does not have xoffset/yoffset attributes that would allow me to center to the middle of the image. Is there anyway to place the center of my swf at the center of the page so that it appears centered? Thanks! - Matt |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|