Difference between revisions of "Talk:User interface concepts"

From Organic Design wiki
(Probably a scripting error)
 
(Some issues found)
Line 1: Line 1:
 
When it comes up blank, right click on it to see if the movie has loaded - if not, you've got an error in the action script. Unfortunately you only get error messages when publishing, not embedding though...
 
When it comes up blank, right click on it to see if the movie has loaded - if not, you've got an error in the action script. Unfortunately you only get error messages when publishing, not embedding though...
 +
 +
I don't have time to look into it at the moment sorry, but I can see some very bad syntax - to add functions to an object use this syntax:
 +
:<tt>myObject.methodName = function(parameters....) {</tt>
 +
::<tt>script...</tt>
 +
::<tt>};</tt>
 +
 +
 +
'''NOTE: the semicolon that's needed after the function declaration - this is because its also an assignment.'''

Revision as of 03:08, 2 April 2006

When it comes up blank, right click on it to see if the movie has loaded - if not, you've got an error in the action script. Unfortunately you only get error messages when publishing, not embedding though...

I don't have time to look into it at the moment sorry, but I can see some very bad syntax - to add functions to an object use this syntax:

myObject.methodName = function(parameters....) {
script...
};


NOTE: the semicolon that's needed after the function declaration - this is because its also an assignment.