Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 24th, 2025, 11:56 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: (External) Stylesheets ?
PostPosted: July 7th, 2005, 10:47 am 
Offline

Joined: July 7th, 2005, 10:44 am
Posts: 16
Hi,

Is it possible in Opus Pro to attach some kind of stylesheet to my file, as is possible in HTML, and Flash ?

It would be extremely helpfull if I could add a style to all my headers for example, and when I want to change the color I only would have to edit that one style !

So is that possible? Or should I add it to the feature-requests?

Thnx,
Paul


Top
 Profile  
 
 Post subject:
PostPosted: July 7th, 2005, 11:24 am 
Offline

Joined: November 19th, 2004, 1:36 pm
Posts: 178
Location: Birmingham
I'm no coder but I'm sure that you could do it with an external text file that gave instructions to the movie dynamically.

You could set an object's properties using a variable and that variable could reference an external text file for its data.

There must be something on the forums here in regards to this - maybe in the help file too...

_________________
Opus Pro 05
http://www.waspinagermanhelmet.co.uk


Top
 Profile  
 
 Post subject: FROM OPUS SCRIPT HELP FILE
PostPosted: July 7th, 2005, 11:34 am 
Offline

Joined: November 19th, 2004, 1:36 pm
Posts: 178
Location: Birmingham
FROM OPUS SCRIPT HELP FILE

By default, a new Script Object inserted on a page is saved as an Internal Script, which means they are not linked to an External File; an Internal Script is a totally independent and self-contained script.
External Scripts are imported into Opus Pro from some external source (e.g. a floppy-disk, hard disk or network drive) and continue to be linked to the External File. Any changes made to the External File will also update the script within Opus Pro; equally, any changes made in Opus Pro to the script will update the External File.

If you use the same script on multiple pages within your publication, you should link your Script Object to an External File – any changes you make on one page will automatically be updated on all pages. Use Internal Script, if other pages within your publication do not require the same script.

To import an External File to a Script Object:

1. Click the Set External File icon from the Script Object Toolbar – this will open the Windows Open dialog.

2. From the Open dialog, locate the External File from the current directory or navigate to the required directory to find the file.

Note:
Internal Scripts that have previously been saved as External Files are given the file extension .ILS. You can import these files or files with other extensions, such as .TXT.

3. Highlight the External File name and click on the Open button – this will open the Warning dialog.

4. Use the Import button in the Warning dialog to import the External File – this will delete the current contents of the Script Object and replace it with the contents of an External File.

5. Use the Overwrite button in the Warning dialog to delete the current contents of the External File and replace it with the contents of the Script Object.

Saving an Internal Script as an External File:

1. Any code written in a Script Object can be saved to an External File and imported into Script Objects on other pages of the same publication or in new or existing publications.

2. To save an Internal Script as an External File, first open the appropriate Script Object in your publication.

3. Select the Set External File icon from the Script Object Toolbar – this will open the Windows Open dialog.

4. From the Open dialog, locate the directory in which you want to save the External File. By default, the current directory displayed is the publication’s directory – we recommend you save your External File in this directory.

5. Type the name you want to give to the External File in the Filename box in the Open dialog and press the Open button to save the file.

6. If the filename you enter already exists, you will be given the opportunity to Import or Overwrite the file (see previous section above).

_________________
Opus Pro 05
http://www.waspinagermanhelmet.co.uk


Top
 Profile  
 
 Post subject:
PostPosted: July 7th, 2005, 11:41 am 
Offline

Joined: July 7th, 2005, 10:44 am
Posts: 16
hmm that seems quite difficult :)
Thanks for your fast reply, I'll try that later.


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

All times are UTC [ DST ]


Who is online

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