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 [email protected], "Shunmuga" <msrohini@...> wrote: > > you can pass the arguments to swf file by using Flashvars: > FlashVars="arg1=val&arg2=val2" > > string htmlUrl = "<object width=\"550\" height=\"400\"> <param name=\"movie\" > value=\"file:///android_asset/sample.swf\"> <embed > src=\"file:///android_asset/sample.swf\" FlashVars="arg1=val&arg2=val2" > width=\"550\" height=\"400\"> </embed></object>"; > > In MXML file: > > var flashVarsObj:Object = Application.application.parameters as Object; > arg1 = flashVarsObj.arg1; > arg2 = flashVarsObj.arg2; > > > Thanks, Rohini. > > --- In [email protected], "rawat" <rawatsaurabh@> wrote: > > > > HI, > > I have been trying to pass the values to the mxml file(whose output is .swf > > file) via android (java code) , But i am unable to do this.Here is my > > problem, I think tht .SWF file is a binary file(like exe , .out or .dll or > > .iso) which runs on flash platforms(browser, mobile phone supporting > > flash).Now i want the output of the .swf to be dependent on some values > > which I want to pass thourgh the android code. > > > > Other way is that I put the mxml files itself inside the eclipse(android > > project IDE) and pass the values to it (don't know how) compile it using > > mxmlc.exe compiler and link(don't know how ) with the android project and > > generate the final output file(we call it apk) and run it.Please suggest me > > which way to go even though my study is still partial but I am at the cross > > roads of confusion.Please suggest me which way to go and how. > > Rgds, > > Saurabh > > >

