Hello everybody,
I am trying to use the pre-show trigger in order to alter the state of a page in my publication before it is displayed. According to the docs, this is the way to do it properly, since the on-show trigger would display the original state in a flash and then change. However, this "flash" does appear even when I use pre-show. I don't know if it has to do with the way I am using it but that's what I am doing:
I use publication vars that contain a "state" for my pages (which buttons were pressed, which frames are shown etc.). I need to do this since I have some hyperlinks in my pages that send the user to another page, and when I get back I need the page to be in the state I left it. In the actions organiser, I use a pre-show trigger. Under it, I have a "select" programming statement, looking at a specific variable. Under the "select" I have various "case" statements, in order to do different actions depending on the value of the variable I am checking. In each case there is a script action. In the script the following functions are called:
MultiFrameTexts.ToFrame(0)
katoikies16_17Button.SetState(true)
MultiFrameFilm.Hide()
For the pre-show, which doesn't work as I expect it to do, I am guessing that the transitions of objects in the page may be to blame. But then, it's a pre-show trigger. Shouldn't the transitions be ignored since it's a pre-show trigger I am using and not an on-show?
Secondly, in the script that I am calling, the first two instructions are performed properly. The proper frame is displayed and the proper button gets pressed. However, the third instruction (Hide) is totally ignored! Even stranger is the fact that in other pages the same script works fine (on other objects but in the same way). Even if I use an action outside the script to do exaxtly the same thing (hide), it doesn't work. What am I missing here?
I am using Opus v6.4
Regards
George
_________________ Win XP Pro SP2, Athlon64 X2 4400+, Nvidia 7600GS, 2GB RAM
|