Abdul
 
My code is
 
import mx.containers.Panel
class XBApplication 
{
 public var parent:Object;
 
 function XBApplication(pParent:Object)
 {
  parent = pParent;
 }
 
 function SetMainPanelText()
 {
  main_panel.title="test";
 }
 
}
 
 
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"; xmlns="*"
backgroundColor="#7D8FA8">
 <mx:XML id="menu_items" source="menu.xml"/>
 
 <XBApplication id="xbApp"/>
 xbApp(this);
 
 <!-- Insert the main panel container !-->
 
 <mx:Panel id="main_panel" width="100%" height="100%" >
  xbApp.SetMainPanelText();
 </mx:Panel>
 
 
</mx:Application>
 
 
 
----------------------------
Marc Teichtahl
XB Networks BV
Manager, Engineering
Phone:  +31 (0)36 546 24 73 
Mobile: +31 (0)65 582 47 89
[EMAIL PROTECTED]
http://www.xb.nl

________________________________

From: flexcoders@yahoogroups.com on behalf of Abdul Qabiz
Sent: Mon 10/10/2005 6:16 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Accessing the main Application Class


mx.core.Application.application is reference to application.
 
How are you trying to access it?
 
-abdul

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Marc 
Teichtahl
Sent: Monday, October 10, 2005 9:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Accessing the main Application Class


 
Dear all,
 
I would like some advise as to the best method for accessing the main 
Application class from an external AS.
 
I am trying to achieve a base class that is used by the main application class 
to supply authentication etc and to at runtime update components and containers 
in the main Application class. To date, I have had no success.

----------------------------
Marc Teichtahl
XB Networks BV
Director, Engineering

Phone:  +31 (0)36 546 24 73
Mobile: +31 (0)65 582 47 89
[EMAIL PROTECTED]

http://www.xb.nl <http://www.xb.nl/>  

 
 

 

Op dit e-mailbericht is een disclaimer van toepassing, welke te vinden is op 
http://www.xb.nl/disclaimer.html



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 




SPONSORED LINKS 
Web site design development 
<http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>
         Computer software development 
<http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>
     Software design and development 
<http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>
         
Macromedia flex 
<http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw>
         Software development best practice 
<http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>
   

________________________________

YAHOO! GROUPS LINKS 


        
*        Visit your group "flexcoders 
<http://groups.yahoo.com/group/flexcoders> " on the web.
          
*        To unsubscribe from this group, send an email to:
         [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
          
*        Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
<http://docs.yahoo.com/info/terms/> . 


________________________________






Op dit e-mailbericht is een disclaimer van toepassing, welke te vinden is op 
http://www.xb.nl/disclaimer.html





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<<winmail.dat>>

Reply via email to