Problems with text and mouse cursor in OgreSWF

Problems building or running the engine, queries about how to use features etc.
zaitochi
Halfling
Posts: 50
Joined: Wed Oct 19, 2005 1:53 pm

Problems with text and mouse cursor in OgreSWF

Post by zaitochi »

I made a swf file that has a background and buttons and over then there are texts, and a custom mouse cursor.

When I load this file in ogreSwf demo, the mouse cursor and the text disapear, that is my problem.

I noticed that they are bring to back, because when I move the mouse the buttons works correctly, and when I made the same file but without background and buttons, the text appears and the custom mouse cursor moving correctly.

How can I fix this problem?

I noticed that in swf files that comes with ogreSwf demo the custom mouse cursor is always "on top", how this is done?
User avatar
stoneCold
OGRE Expert User
OGRE Expert User
Posts: 867
Joined: Fri Oct 01, 2004 9:13 pm
Location: Carinthia, Austria
x 1

Post by stoneCold »

If you would provide the .fla I could tell you more easily what's wrong.
here's the .fla file the demo is using, maybe it helps you out
LINK
zaitochi
Halfling
Posts: 50
Joined: Wed Oct 19, 2005 1:53 pm

Post by zaitochi »

Thanks for your reply stoneCold. I get yor fla file e made some modifications, I added a small red square and red sample text. In swf itself, they appear, but they are hidden when I run in ogreSWF, they are sent to back.

Here is the link for your panel that I modified:

http://www.savefile.com/files/404759


Thanks very much for your help.
zaitochi
Halfling
Posts: 50
Joined: Wed Oct 19, 2005 1:53 pm

Post by zaitochi »

So stoneCold, did you find what is wrong that I am doing?

I noticed that when I run a swf file that contains pictures, png for examaple, and vector drawings, inside ogreSWF, these pictures tends to be in upper layers, and the vector graphics drawing are bring to bottom layers.


There is anyway to fix it?

Thanks very much for your help.