Hey all,

Just getting into Flash again after a few years...got the free trial of 
Flash 8...trying to do some action scripting.  When I try to define a 
function, like so:

function doSomething() {
var z = 0;
}

Then I preview, I get the error:

Line 23: '{' expected
function doSomething() {

However, the curly bracket is clearly there, it even includes it in the 
error message.  There are no other functions or curly brackets in the AS 
file that would be mucking things up.

When I do "check script", I get "the script contains no errors."

What am I missing here?  Could I have gotten a bad download or something? 
Could it be that you can't define functions in the trial version?  Arg.

-- Josh



 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253746
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to