Link to home
Start Free TrialLog in
Avatar of roscoeh23
roscoeh23

asked on

why can't i see my child?

I have done the linkage and exported for actionscript. There is no error but I cannot see my child. Any ideas?
import fl.transitions.Tween;
import fl.transitions.TweenEvent;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.events.*;
import flash.utils.*;
 
 
var middleRect_mc:middleRect  = new middleRect;
addChild(middleRect_mc);
trace(middleRect_mc.parent);

Open in new window

Avatar of julianopolito
julianopolito
Flag of Brazil image

what exactly is middleRect? have you checked position? layer type (check if it is not a guide)? check registration point? can you send your fla?
Avatar of Antonio Estrada
Isn't it just a syntax error?

var middleRect_mc:middleRect = new middleRect();

You have to import the package that includes the middleRect class though.

import somePackage.*;

-V

vulturous, I think there is no package, I understood he just created a graphic in library and exported. exported symbols like this are exported in the default package by default. roscoeh, please correct me if I'm wrong.
Ah... the basic Export for ActionScript?

If so maybe he's just using the wrong class name...

-V
please send fla
ASKER CERTIFIED SOLUTION
Avatar of roscoeh23
roscoeh23

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial