header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
sakthi
Points:0
Posts:0

12/10/2010 12:38:04 AM

Title: swf loader control


how to access the variable or object at the external application through the swf loader???
for ur information :-

http://livedocs.adobe.com/flex/3/html/help.html?content=controls_15.html

http://www.java2s.com/Code/Flex/Container/UseSWFLoadercontroltoloaditintoanotherFlexapplication.htm

in my application this below line is not working :( :( :( so help me pls.
Alert.show(loadedSM.application["varOne"].text);

varOne is the instance for String (ie) varOne:String = "I was just updated."; in external application

thxs in advance :)



1
Flash_Guy
Points: 850
Posts:0
12/10/2010 2:25:29 AM



if varOne is a string then why are you accessing the text property , directly access its value like this

Alert.show(loadedSM.application["varOne"]);

2
sakthi
Points: 0
Posts:0
12/10/2010 2:34:55 AM



thxs for ur reply :):)


hm..ya i tried tat. but i couldnt able to get the string value :( :( :(



Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 2+4 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions