ok, so i figured that if i pass the stage as an object into the class
then it's fine, using createMenu(stageObject);

is this bad practice? kinda seems a bit longhanded.

On 5/18/05, grant <[EMAIL PROTECTED]> wrote:
> hi
> 
> i'm trying to instantiate a menu component from with an actionscript
> class. i keep getting the error, "Failed to create a new menu,
> probably because there is no Menu in the Library".
> 
> i know that when you instantiate from the stage that you have to drag
> a menu onto the stage and then delete it. I've done this, yet
> obviously the class doesn't know about it.
> 
> what's the solution here? do i have to programatically create a menu
> into the library (and is that even possible)? Is there a nugget of
> information i've missed?
> 
> thx
> G
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to