Re: [flexcoders] sharing RSL (loaded by module) between sibling modules

2012-11-19 Thread venkateswarlu naidu
Thanks Alex!
Checked the presentation, so I have to load my custom RSL from my main top 
level application!

I thought,  I can tweek something to get it done :)

The problem is we have to compile/release the main application for any change 
in the RSL, which is difficult for us , as different groups/teams owns 
different sub applications/modules!!

Thanks
Venkat
Sent from Yahoo! Mail on Android



Re: [flexcoders] sharing RSL (loaded by module) between sibling modules

2012-11-18 Thread venkateswarlu naidu

Forgot to mention that i am using SDK 4.1 and my RSL has some non UI 
actionscript classes only!!

Thanks,
Venkat.
 


 From: venkateswarlu naidu contactve...@yahoo.co.in
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Cc: Alex Harui aha...@adobe.com 
Sent: Saturday, 17 November 2012 11:47 PM
Subject: [flexcoders] sharing RSL (loaded by module) between sibling modules
  
 
   
 
Hi Guys,
 
I am stuck with  this RSL issue and need your help here!
I have one main mx:Application and two modules!
 
Main Application (abc.com/MainApp/main.swf) loads module1 
(abc.com/ModuleApp1/module1.swf) which inturn loads one custom RSL and 
module1 is using getDefinitionByName to instantiate the classes (present in 
RSL) at runtime and it works.
Main Application loads module2 (abc.com/ModuleApp2/module2.swf), from this 
module i want to use getDefinitionByName  to instantiate the class (present in 
above RSL) at runtime but its not working..
 Application ---loads module1 -loads custom RSL (contains 
test.TestImpl)  getDefinitonByName(test.TestImpl) works
Application  loads module2- 
getDefinitonByName(test.TestImpl)  doesnt work :(
 
It works if custom RSL is loaded by Main application but not by module1! Tried 
different ways but couldnt make it work.
 
Appreciate your help !!
 
 

Thanks,
Venkat.   
 

Re: [flexcoders] sharing RSL (loaded by module) between sibling modules

2012-11-18 Thread Alex Harui
See the modules presentation on my blog.

If you want to share classes, the RSL must be loaded into a shared 
ApplicationDomain.

--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


On 11/18/12 7:43 AM, venkateswarlu naidu contactve...@yahoo.co.in wrote:

Forgot to mention that i am using SDK 4.1 and my RSL has some non UI 
actionscript classes only!!

Thanks,
Venkat.




 From: venkateswarlu naidu contactve...@yahoo.co.in
 To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Cc: Alex Harui aha...@adobe.com
 Sent: Saturday, 17 November 2012 11:47 PM
 Subject: [flexcoders] sharing RSL (loaded by module) between sibling modules






Hi Guys,

I am stuck with  this RSL issue and need your help here!
I have one main mx:Application and two modules!

Main Application (abc.com/MainApp/main.swf) loads module1 
(abc.com/ModuleApp1/module1.swf) which inturn loads one custom RSL and module1 
is using getDefinitionByName to instantiate the classes (present in RSL) at 
runtime and it works.
Main Application loads module2 (abc.com/ModuleApp2/module2.swf), from this 
module i want to use getDefinitionByName  to instantiate the class (present in 
above RSL) at runtime but its not working..

Application ---loads module1 -loads custom RSL (contains 
test.TestImpl)  getDefinitonByName(test.TestImpl) works
Application  loads module2- 
getDefinitonByName(test.TestImpl)  doesnt work :(

It works if custom RSL is loaded by Main application but not by module1! Tried 
different ways but couldnt make it work.

Appreciate your help !!



Thanks,
Venkat.