Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently October 6th, 2024, 11:35 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Show page name
PostPosted: October 5th, 2010, 10:43 am 
Offline

Joined: October 25th, 2004, 1:21 pm
Posts: 424
Location: West Lancs, UK
Opus: 7
OS: Xp, Win7
I'm producing a large multimedia, with many screens.

The client will need to view various versions of it to approve the images and text.

For us both, it would be easiest if the page name I'd given to any page was displayed on the screen, so we both refer to the same page.

So can I create a variable of the page name?

Or is there another way?

Thanks, Linda

_________________
Linda Rossiter, Rossiter & Co

Pro 8, Pro 7, Pro 6, Pro 05.5XE, Pro 04XE, XE2.8, ILM 4.5 on Win7 Professional


For this message Linda has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Show page name
PostPosted: October 5th, 2010, 10:52 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Create a text box on the page and add a constant expression with the following:

this.GetParent().GetName()

Doesn't work in Flex.

EDIT: Apologies, does work in flex just not that way.

To use this in Flex, create the text box as above, but add a new variable called myName. Make the variable dynamic.

then add a script object and add the line myName = this.GetName()


Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Show page name
PostPosted: October 5th, 2010, 11:14 am 
Offline

Joined: October 25th, 2004, 1:21 pm
Posts: 424
Location: West Lancs, UK
Opus: 7
OS: Xp, Win7
Thank you for remembering I'm working in Flex!

Do I need to add the script object onto every page?

Thanks, Linda

_________________
Linda Rossiter, Rossiter & Co

Pro 8, Pro 7, Pro 6, Pro 05.5XE, Pro 04XE, XE2.8, ILM 4.5 on Win7 Professional


For this message Linda has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Show page name
PostPosted: October 5th, 2010, 11:26 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
The template that is used by every page will be easier.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Show page name
PostPosted: October 5th, 2010, 11:31 am 
Offline

Joined: October 25th, 2004, 1:21 pm
Posts: 424
Location: West Lancs, UK
Opus: 7
OS: Xp, Win7
Of course - apologies for my stupidity :oops:

Linda

_________________
Linda Rossiter, Rossiter & Co

Pro 8, Pro 7, Pro 6, Pro 05.5XE, Pro 04XE, XE2.8, ILM 4.5 on Win7 Professional


For this message Linda has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Show page name
PostPosted: October 5th, 2010, 12:30 pm 
Offline

Joined: October 25th, 2004, 1:21 pm
Posts: 424
Location: West Lancs, UK
Opus: 7
OS: Xp, Win7
OK - in the template I've got the script, and the dynamic text.

The text is not hidden.

When I preview it, it works perfectly.

When I publish it to flex, the text does not appear until something on the page changes (I rollover a button, or text animates on, for instance).

So it's like the page needs to be refreshed before the text is seen.

How can I get round this?

Thanks, Linda

_________________
Linda Rossiter, Rossiter & Co

Pro 8, Pro 7, Pro 6, Pro 05.5XE, Pro 04XE, XE2.8, ILM 4.5 on Win7 Professional


For this message Linda has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Show page name
PostPosted: October 5th, 2010, 1:39 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Linda wrote:
When I preview it, it works perfectly.

Don't think that way. Opus preview IS NOT for flex.

I've attached a working example.

Mack


You do not have the required permissions to view the files attached to this post.

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Show page name
PostPosted: October 5th, 2010, 3:21 pm 
Offline

Joined: October 25th, 2004, 1:21 pm
Posts: 424
Location: West Lancs, UK
Opus: 7
OS: Xp, Win7
OK - I'm sure I've got it right - and I can see your example works - but if I put your example into my pub,it stops working.

The only difference is that mine is a scorm flex.

So I'm just sending you my file by yousendit.

Please take a look when you've got time and tell me what it is I'm doing wrong.

Summary of problem:

On published version, the pagename doesn't appear until something else changes on the page (a rollover, or text move for instance)

Thanks, Linda

_________________
Linda Rossiter, Rossiter & Co

Pro 8, Pro 7, Pro 6, Pro 05.5XE, Pro 04XE, XE2.8, ILM 4.5 on Win7 Professional


For this message Linda has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Master Page Publication Variable
PostPosted: October 5th, 2010, 6:57 pm 
Offline

Joined: October 25th, 2004, 2:20 pm
Posts: 686
Location: Naperville, Illinois (USA)
Opus: 7.05
OS: Win XP SP3
System: P4 3.2GHz 1GB RAM 2-TB HDs + 4 more
Linda --

On a Master Page, I put a Text Object with the OPUS System Variable <PageName>. Then every Page shows the name I have created in the Organizer.

_________________
Fred Harms, Extraordinary Demos
Naperville, Illinois (USA) 630/904-3636
demofred@aol.com


For this message demofred has been thanked by : mackavi


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 6 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