Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently October 2nd, 2024, 11:25 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Flash weirdness
PostPosted: August 27th, 2012, 1:14 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
Wanted to get a demo downsized and so published to Flash. Nothing special in it that should not work. However, Show/Hide works the first time and then does not. Extremely strange.

I've tested it several times with the same result.

Thoughts?

Image is code that works once, then no more. Works perfectly in professional and preview.

Dave


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

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


Top
 Profile  
 
 Post subject: Re: Flash weirdness
PostPosted: August 27th, 2012, 4:46 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
Okies, a little weirder than I reported. I realized that show/hide was working fine in the somewhat simpler first pages of this pub. The action are are as shown. So apparently it has something to do with the relative complexity of the actions...but why it would work on the first and then not again eludes me. I put a "back" button in and the first one that works does NOT work the second or more time after it's first been invoked.

EDIT: I can see WHAT, but not WHY. I added a text field to monitor the variables. As mentioned, works fine on the first one but after that it does not change but remains the same as the first page. Again, all works fine as Opus Pro. I do not recall issues with Flash and variables. I am wondering if it has something to do with changing the pub type "on the fly." I've done this in the past without problems.

I am no big flash fan, but I thought it appropriate here due to the simple actions involved and the fact that it's 315k in as a flash file, but around 4mb as an exe with the player.

Dave


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

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


Top
 Profile  
 
 Post subject: BU File
PostPosted: August 27th, 2012, 5:31 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
Okies, time for a guru to have a look. Just realized this whole thing is small so attached is the complete file, submitted for your approval.

If you publish to Opus Pro, I think you will find it works fine. Publish to Flash, and only the first multiple choice question will work, and that only once. Note there is an invisible "Back" button just above the page title variable in the lower left side. If you select performance/conditions/criterion as the answer on the first one, the variable will show "3" as it should. However, going forward or backing up and doing the page again it will always show "0." Well, at least it does here...

Dave


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

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


Top
 Profile  
 
 Post subject: Re: Flash weirdness
PostPosted: August 28th, 2012, 8:05 pm 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
I cannot open your 'objectives' sample Pub to take a look, as I do not have Opus 8 installed yet.
Quote:
the variable will show "3" as it should. However, going forward or backing up and doing the page again it will always show "0."
That sounds to me like you are using Page variables rather than Publication variables... unless you have built-in some On-Show initializations.

I do think there may be something to what you said earlier about starting the Pub as Full Opus Prof. and then changing the Type to Flex Pub. Could be something in the conversion process, or you could have implemented some feature that is not supported in Flex.

From the Help File, there are even some basic issues with text in Flex/Flash.
Quote:
Flash has several different "types" of text depending on the use of the text. The most important distinction is between static and dynamic text. The former will not be changed at runtime so if you want to display variables or the results of calculations you must ensure that dynamic text is used. Opus has an option on the text properties tab for you to change these settings if the Auto setting does not work.
Edit/Add: See the topic "Planning an Opus Flex Publication" since these adjustments are to be done once you make the Pub a Flex Type.

_________________
_good things come to those who wait(0)_


Last edited by Lar_123 on August 28th, 2012, 8:53 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Flash weirdness
PostPosted: August 28th, 2012, 8:40 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
Nope, these are not page variables. However, they could be in that they are set to clear on show of each page and reused. That 'backup" example is a bit of a red herring. If you go past the first time it works every other page displays "0" as well. I just did that to see if there was something causing that one page to work and the others not to work. Bear in mind that published in "pro" all works perfectly. If it were something isn't implemented in Flex it would not work the one time it does.

However, you may be on to something worth exploring in the "changing on the fly" thing. While I've done this in the past with other pubs and it worked fine, it still may be a problem this time and should be a suspect until proven innocent. I think I'll declare a Flex pub and copy three or so of these question types into it and see if it works.

Actually, your third point might support this as the Flash text options are not showing up in this pub, suggesting the change of put type might be dicey.

Thanks for the tips...I'll report back on the results.

Dave

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


Top
 Profile  
 
 Post subject: Re: Flash weirdness
PostPosted: August 28th, 2012, 8:55 pm 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Quote:
the Flash text options are not showing up in this pub,
So maybe you must create the Text Object when the TYPE of Pub is already Flex. (see my 'edit/add' above).

_________________
_good things come to those who wait(0)_


Top
 Profile  
 
 Post subject: Re: Flash weirdness
PostPosted: August 29th, 2012, 12:30 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
Lar_123 wrote:
So maybe you must create the Text Object when the TYPE of Pub is already Flex. (see my 'edit/add' above).


Issue is that I am not using any text objects for anything other than checking the variable status (programmers aid). I am guessing they are working OK as the observeable results are consistent with the programmers aid visual value.

Unless something gets in the way I'll have a go at duplicating a few of these today in a new, Flex, pub and see what happens.

Dave

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


Top
 Profile  
 
 Post subject: Re: Flash weirdness
PostPosted: August 29th, 2012, 5:39 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
Well, it was the pub type change. Don't know how many times I've done this. Intuitively, one would think that as long as you are not invoking any functions not possible in Flash you should be able to publish to Flex without a problem. In fact, I've done this many times without a problem. Why it cropped up in this very simple pub I have no idea...but it did. I declared a new Flex pub, copied over a few of the offending pages and their variables, ran a test first and found everything working. Then, I copied the rest batch at a time into the new Flex pub. That occasionally creates problems in itself, but not this time, thankfully. Everything worked just fine. Opus is an incredibly complex machine and when you "color outside the lines" you have to expect problems. Often, however, it may not be obvious to some when they are "outside the lines."

I think it would be good to through up a nag screen when changing pub types "on the fly" that suggests testing each and every function immediately in a published version. I'll undoubtedly do this again, and may or may not have a problem. Perhaps by this time I'll guess what it is instead of wasting time fighting it...perhaps not. A warning would help.

Dave

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


Top
 Profile  
 
 Post subject: Re: Flash weirdness
PostPosted: August 29th, 2012, 9:15 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
It does - and the help page as well:

Quote:
Warning!

You can switch between different publication types at any time that you are developing a publication but it is best to decide at the beginning of your development, which type of publication you want to create. Some features may not be available when you switch the publication type – this may cause your publication to stop working.


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: Flash weirdness
PostPosted: August 30th, 2012, 1:06 am 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Mallette wrote:
Well, it was the pub type change.
Dave,
Glad you pinned-down the cause and were able to take your existing Pages and work over to the new Pub.
Also, I hope others here will follow your example: I appreciate that you reported back on your success, put closure on your issue. That contributes to the knowledge base and helps us all.

_________________
_good things come to those who wait(0)_


Top
 Profile  
 
 Post subject: Re: Flash weirdness
PostPosted: August 30th, 2012, 12:34 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
mackavi wrote:
I appreciate that you reported back on your success, put closure on your issue.


Not sure why it's attributing the quote to you, Mack...

Anyway, I always try to get back when something is resolved for precisely the reasons you mentioned, Lar.

Mack, I've seen that...but it is inadequate, IMHO. Much as I hate nag screens they can be appropriate. It would not be hard for the program to simply look to see if there is an "autosave" which would indicate an existing pub and through up this warning as a nag screen requiring dismissal.

Not a big deal, but when we write apps here we generally try to figure out not only the right directions people might go but also the unexpected things they might try. One persons "intuitive" is another persons "clueless."

Dave

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 17 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group