Rapid Intake Forum
Rapid Intake Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Using Adobe Flash to Create e-Learning
 ActionScript
 locking each individual page
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

scmorea

USA
5 Posts

Posted - 05/07/2007 :  09:45:42  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi, Any help on this would be much appreciated.
Here's my dilemna. California State law requires that students take a course that I'm creating for sexual harassment not be allowed to move beyond that PAGE they are viewing without it running to the end. Right now all this program offers is "completing" the section.

I need to lock it down based on the length of the swf that I'm importing which will vary. I thought if I don't "show" the Next button
until the "section" or swf has played in full that that might work.

First, I know the length is determined by the mx.controls.
Is there a way for me to capture the information that's already being generated and then tell it to only turn on the "next page" button if the control gets to the end?

steve

1546 Posts

Posted - 05/07/2007 :  15:01:31  Show Profile  Visit steve's Homepage  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
What control are you using to display the content. If it is one of the Flash components, just look it up in the Flash help and it will give you an event that fires when completed. I would say use that.

Steve Hancock, President
Rapid Intake, Inc.
www.rapidintake.com
Go to Top of Page

jivory

1 Posts

Posted - 05/12/2010 :  10:39:45  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Was this ever answered? I'm testing the software and this would be a deal breaker for us. We too are required to have our students complete a course in a linear fashion, page to page.
Thanks
Go to Top of Page

trotoninbc

USA
18 Posts

Posted - 05/12/2010 :  12:34:36  Show Profile  Visit trotoninbc's Homepage  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi JIvory,

Using the page complete functionality should accomplish what you're after. What worked for me in a business ethics course I built using FlashForm was to bury the page complete code into each individual .swf in my course so that until the .swf was successfully rendered and run to its completion the signal was not sent back to the course wrapper that the TOC item had been viewed. The code I used is shown below. Hope this helps.

stop ();
_parent.apiPageComplete();

Regards,
Jeff Trotter
DENSO Manufacturing Michigan, Inc.

"Excellence is an art won by training and habituation. We do
not act rightly because we have virtue or excellence, but we
rather have those because we have acted rightly. We are what
we repeatedly do. Excellence, then, is not an act but a habit. "
Aristotle (384 BC - 322 BC)
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Rapid Intake Forum © 2004-2008 Rapid Intake Inc. Go To Top Of Page
Generated in 0.12 sec. Snitz Forums 2000