FAQ
 
Products Showcase Download Store Support
Home :: Support :: Community :: CourseLab Issues

Object References

Object References 
Author:  david mullock    
Date: 12.02.2010 18:03:43
Hi There,

I'm writing drag and drop checkpoint question functionality. I have it working, but if I want to copy the slide to use somewhere else all the objects are renamed.

This is mostly OK, although there are references to the target objects in move commands ( I use this for a sort of snap function), these retain the old names.

Does courselab support a concept such as this, or self? This would overcome the need to go into the actions when re-using the slides

Many thanks,

Dave  
...
Re: (1) Object References 
Author:  barend    
Date: 12.02.2010 20:35:47
I had the same problemand didn't find a workaround.
Later I saw that referencing an object from another page was possible: on a slide I could show an object that wasn't on the same but on another slide. That might be the reason objects are renamed.  
...
Re: (2) (1) Object References 
Author:  Nick James    
Date: 13.02.2010 01:13:03
The objects have unique names so they will change to a new version if you clone a page. I've not really looked at this but there will be a fixed logic to the renaming which you should be able to determine which would make rebuiling a little easier.
Ignoring this unique name convention can result in some odd behaviours.
As Barend says you can reference most objects from another page, there has to be a real world use for that??  
...

Reply

You can also post this message as registered user. [Log in]
Author:
E-mail:
Subject:
Options:  Notify me if there is a new reply
Message emoticon:
Message body:
Insert smilie into text:
 
Jump to thread: