package connection problem
hi
i'm getting ole 5001 error on flash pro - package connection error - can please tell me incorrect?
my source path settings in pro are:
.
../libs
../libs/myproject
my fla in...
d:\flash\src
i created class file make moveiclip's class file here...
d:\flash\libs\myproject\mvc\adsmanager.as
'export actionscript' set movieclip in library so...
mvc.adsmanager.adsmanagerview
what can't figure out have in class file after 'package' - none of paths enter correct...
package {
package mvc {
package mvc.adsmanager {
package myproject.mvc.adsmanager {
package libs.myproject.mvc.adsmanager {
all other class files import fine. however, first time have tried connecting external class have made moveiclip in library (so class becomes moveiclip's class).
the problem goes away if reference moveiclip public var adsmanager opposed public var adsmanager:adsmanagerview; (with package set package mvc.adsmanager {... )
cheers guys
these correct:
package mvc {
or
package myproject.mvc {
but, if have adsmanager.as file in src or libs or myproject, class file used , not 1 in mvc.
so, make sure you're testing class file in mvc.
More discussions in ActionScript 3
adobe
Comments
Post a Comment