GrpahicLib getContainer question

View: New views
3 Messages — Rating Filter:   Alert me  

GrpahicLib getContainer question

by res-u :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello list,

i'm trying to access the container in a gaphicLib

the getContainer method actually sets the container and I have not found a way to access the container once my Lib is created.

I'm feeling I am missing something, but what ?

say I create a GL like this :

myGL : GrpahicLib = new GraphicLib(myContainer_mc);

do I have a way of accessing myContainer_mc from myGL ?

thank you

thomas

_______________________________________________
Pixlib mailing list
Pixlib@...
http://osflash.org/mailman/listinfo/pixlib_osflash.org

Re: GrpahicLib getContainer question

by Xavier MARTIN-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

look for getContent or get View
GraphicLibLocator.getGraphicLib('name').getContent() or .getView()
++

On Jan 22, 2008 1:01 AM, thomas mery <thomas.mery@...> wrote:
Hello list,

i'm trying to access the container in a gaphicLib

the getContainer method actually sets the container and I have not found a way to access the container once my Lib is created.

I'm feeling I am missing something, but what ?

say I create a GL like this :

myGL : GrpahicLib = new GraphicLib(myContainer_mc);

do I have a way of accessing myContainer_mc from myGL ?

thank you

thomas

_______________________________________________
Pixlib mailing list
Pixlib@...
http://osflash.org/mailman/listinfo/pixlib_osflash.org




--
----------------------------------------------------------------------
Xavier MARTIN aka zeflasher or xxlm
Visit my website if you love flash:
http://www.webbymx.net
http://dev.webbymx.net
----------------------------------------------------------------------
_______________________________________________
Pixlib mailing list
Pixlib@...
http://osflash.org/mailman/listinfo/pixlib_osflash.org

Re: GrpahicLib getContainer question

by res-u :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

thank you Xavier

but doesn't getContent return the mc used to load the Lib ?

what I'm trying to reach is the main container

myGL : GraphicLib = new GraphicLib(myContainer_mc);

do I have a way of accessing myContainer_mc from myGL ?

and not the actual content

I am asking because I am loading content in a target that has others mcs set in the flash IDE

thanks

thomas

On Jan 21, 2008 2:33 PM, Xavier MARTIN < zeflasher@...> wrote:
look for getContent or get View
GraphicLibLocator.getGraphicLib('name').getContent() or .getView()
++

On Jan 22, 2008 1:01 AM, thomas mery <thomas.mery@...> wrote:
Hello list,

i'm trying to access the container in a gaphicLib

the getContainer method actually sets the container and I have not found a way to access the container once my Lib is created.

I'm feeling I am missing something, but what ?

say I create a GL like this :

myGL : GrpahicLib = new GraphicLib(myContainer_mc);

do I have a way of accessing myContainer_mc from myGL ?

thank you

thomas

_______________________________________________
Pixlib mailing list
Pixlib@...
http://osflash.org/mailman/listinfo/pixlib_osflash.org




--
----------------------------------------------------------------------
Xavier MARTIN aka zeflasher or xxlm
Visit my website if you love flash:
http://www.webbymx.net
http://dev.webbymx.net
----------------------------------------------------------------------
_______________________________________________
Pixlib mailing list
Pixlib@...
http://osflash.org/mailman/listinfo/pixlib_osflash.org




--
----------------------------------------------------------
http://www.myspace.com/thomasmery
http://www.thomas-mery.net
----------------------------------------------------------
_______________________________________________
Pixlib mailing list
Pixlib@...
http://osflash.org/mailman/listinfo/pixlib_osflash.org