Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom Components and movie Navigation

Status
Not open for further replies.

boab

Programmer
May 30, 2001
75
0
0
GB
Hi guys,

I have a little problem. I have created a custome component whihc is a self contained SCORM compliant question. The component in itself is working fine the problem comes when I try to incorporate it into a larger quiz file. The Component contains two buttons for navigation - back and forward. on the first Question in a quiz the back button is hidden and on the last question the next button is altered to a submit button. The problem I am having is actualy using these buttons to navigate between frames in the main movie.

I assume that the main/quiz movie should be classed as the parent of the component and thus I have tried
Code:
on(release)
{
      this.parent.gotoNextFrame();
}

and similar code for the back button

any help gratefully recieved


THe Start of wisdom is to realise you know nothing. I'll be a genius then!
 
Should be _parent. :)

Code:
on(release){
   this._parent.gotoNextFrame();
}

Hope it helps.


Wow JT that almost looked like you knew what you were doing!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top