This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Flex and the fly likes Loading SWF in to Resource bundle at runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Loading SWF in to Resource bundle at runtime" Watch "Loading SWF in to Resource bundle at runtime" New topic
Author

Loading SWF in to Resource bundle at runtime

Vijay Anand Rajagopalan
Greenhorn

Joined: Nov 21, 2012
Posts: 1
Hi, can any one please tel me how to load swf in to resource bundle at run time in Flex? If possible give me a sample code snippet and I have tried with the below code snipppet and its not working .

var resourceModuleURL:String = "./locale/" + newLocale + "/" + "resources.swf";
resourceManager.loadResourceModule(resourceModuleURL);
resourceManager.localeChain = ["en_US"];

Kindly reply For my doubt with good solutions.
Thanks in Advance.
 
Don't get me started about those stupid light bulbs.
 
subject: Loading SWF in to Resource bundle at runtime