Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 2:10 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: pre-show trigger problem together with script problem
PostPosted: August 2nd, 2009, 12:16 pm 
Offline

Joined: March 29th, 2008, 10:13 pm
Posts: 5
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 29 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group