Page is a not externally linkable
- Code, Content, and Presentation
-- Flash and Shockwave
---- Frustrating error message when importing classes


mr_nabo - 6:56 pm on Jul 16, 2008 (gmt 0)


Sorry to be back in here asking questions again so soon, but I can't for the life of me figure out why I can't get this code to work (I'm using Flash CS3):


import mx.transitions.Tween;
import mx.transitions.easing.*;
new Tween(hntitle_mc,"_y",Elastic.easeOut,hntitle_mc._y,181,15,false);

I keep getting syntax errors for the lines of code importing my classes but don't know how to change it to reference these classes correctly.

Apologies if this is a stupid question, I have tried looking at the directory struct. in the Adobe app folder and using that as my directory path...


Thread source:: http://www.webmasterworld.com/flash/3700110.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com