Re: [flexcoders] Re: Trying to pass a value to the mxml/swf file from java(android).How?

2011-09-27 Thread Alex Harui
If you produce a Flex/AIR app for Android, it is basically an AIR app and you’d have to launch it and pass it parameters like any other Android app. I’m pretty sure flashvars don’t work on AIR apps in Android. On 9/27/11 6:52 AM, "Shunmuga" wrote: No Saurabh, its not the part of andro

[flexcoders] Re: Trying to pass a value to the mxml/swf file from java(android).How?

2011-09-27 Thread Shunmuga
No Saurabh, its not the part of android The flex project contains the mxml application file. flex produces the build in "swf" format. The following method is used to get the run time arguments in flex side var flashVarsObj:Object = Application.application.parameters as Object; arg1 = flashVarsO

[flexcoders] Re: Trying to pass a value to the mxml/swf file from java(android).How?

2011-09-23 Thread rawat
Hi Rohini, Is the part of the code above mxml in android(in androidmanifest.xml file).PLz elaborate , i would like to know more about what you have posted. Best rgds and Thanks in advance Saurabh --- In flexcoders@yahoogroups.com, "Shunmuga" wrote: > > you can pass the arguments to swf file by u

[flexcoders] Re: Trying to pass a value to the mxml/swf file from java(android).How?

2011-09-22 Thread Shunmuga
you can pass the arguments to swf file by using Flashvars: FlashVars="arg1=val&arg2=val2" string htmlUrl = " "; In MXML file: var flashVarsObj:Object = Application.application.parameters as Object; arg1 = flashVarsObj.arg1; arg2 = flashVarsObj.arg2; Thanks, Rohini. --- In flexcoders@yahoogr