Results 1 to 3 of 3
-
May 8th, 2012, 05:46 PM #119Registered User
posts1017: The definition of base class MovieClip was not found
As the title says, that is the error I am getting. It pinpoints this error at line 2 of the following code for my very basic class:
If you need more info, lemme know.Code:package { import flash.display.MovieClip; public class Block extends MovieClip{ public function Block() { // constructor code } } }
-
May 9th, 2012, 05:44 PM #2137Registered User
postsHi,
The code looks good to me, it almost looks like CS default generated code.
//
My guess is you have some Package or Path issue here.
Is the As3 file being saved to the same DIRectory as the FLA file?
As the ' package { ' statement would indicate it should be.
//
Also do you have the config Constants Dir correct such as $(AppConfig)/ActionScript 3.0/Classes
//
Also as your function and class are called 'Block' , Is your As3 File being saves as Block.As ?
-
May 17th, 2012, 05:54 PM #319Registered User
postsSorry, I didn't see this reply before.
To answer you questions, yes, I don'y know, yes. However I did eventually find a solution.
Funny thing is, I can't remember what it was >.< I just know it works.

Reply With Quote

Bookmarks