These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Activation Options for Rich Media

Cookie2
Registered: May 20 2009
Posts: 10

Hi there,

I've been developing a report which uses some flash charts throughout.

Every time i leave a page, the Rich Media annotations on that page are deactivated.

Only 'activated' charts will print properly.

I note the activation/deactivation settings are set to:
1. Enable when content is clicked
2. Disable when 'Disable Content' is selected from the context menu.

so... my questions...

1. Is there some way to prevent the Rich Media annotations from deactivating when the user navigates to a different page?

2. If not, is this a deliberate restriction? Why is it done?

Cookie2

My Product Information:
Acrobat Pro 9.1.1, Windows
joshcorey
Registered: Jul 14 2008
Posts: 79
I am not an expert (I could be wrong, it's happened before)...

But as far as I know there is not a way to prevent RichMedia annotations from deactivating when the user navigates away from the page (contrary to what the settings options indicate I know). This is done (probably for more than one reason) to save resources. If a number of annotations were set to remain active the computers resources could quickly all be used up.

There may still be a way to work around this and accomplish the printing you need, I will look into it and respond if I find something.
Freelancer
Registered: May 26 2009
Posts: 71
Hi Cookie2,
probably you might try 'Page will print' and
put there rma activation... not sure if it works.
Something like this, not sure, not able to test:
this.getAnnotsRichMedia(this.pageNum)[0].activated=true;

Freelancer

According to most IT HelpDesk people, the most common reason for user error (regardless of Operating System) is ID 10T.

Cookie2
Registered: May 20 2009
Posts: 10
A little more detail:

If i (the acrobat user) am viewing a different page to the one my flash chart is on, and the following javascript runs:


var myChart = getAnnotsRichMedia(pageNumMyChartIsOn)[0].activated=true;
console.println("Is my chart activated " + myChart.activated);
then i get the following output:

Is my chart activated? true

However if i then try to run


var returnstring = chart.callAS...
It returns "undefined". If i am on the same page as the flash chart, it returns "Success!" (what i've programmed it to).

It seems strange that you can activate a rich media annot from a different page or from document level javascript, but you can't run the callAS method on the rich media object.