Hi this is Sarma

0 views
Skip to first unread message

Sarma

unread,
Dec 26, 2009, 9:39:14 AM12/26/09
to Flex India Community
Hi to all,
Can any one help to me.How to use java script in Flex
is any procedure is there. Can any one say step by step or send any
type of document
Thanks to all..............

krishna chaitanya kambhampati

unread,
Dec 26, 2009, 9:48:46 AM12/26/09
to flex_...@googlegroups.com
To call JavaScript in flex u can use ExternalInterface

--

You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To post to this group, send email to flex_...@googlegroups.com.
To unsubscribe from this group, send email to flex_india+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.





--
Thanks & Regards,
K. Krishna Chaitanya
ARIJASOFT - HYD
www.arijasoft.com

karthik S

unread,
Dec 26, 2009, 10:57:03 AM12/26/09
to flex_...@googlegroups.com
hi,

see this blog for adding javascript in flex.

http://technofreaky.wordpress.com/2009/12/19/calling-a-javascript-in-flex/

my blog
http://technofreaky.wordpress.com

with regards
Karthik

Abhinav Mehta

unread,
Dec 27, 2009, 12:48:48 AM12/27/09
to flex_...@googlegroups.com
Hey Karthik
 
So cool....you have done good and intutive work in your blog abt JavaScript mashup.
But I have one doubt, is that index.template is the only page in our project...? I mean, are using multiple web pages in our Flex-project than where and how to configure the index.html, coz in that case there will be many html files.....?
Can you suggest, how to come-up for solution ?
 
Regards
Abhinav Mehta
MSRIT- Bangalore

trilok thakore

unread,
Dec 27, 2009, 9:15:20 AM12/27/09
to flex_...@googlegroups.com
hi
 
for using java script in flex we use external interface like flash u can find a java script file in your bin debug file add your
java script component there and use ExternalInterface.call and addcalback for using functions

 
--

You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To post to this group, send email to flex_...@googlegroups.com.
To unsubscribe from this group, send email to flex_india+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.





--
Thanks and Regards

Trilok Thakore(09718394026)

karthik S

unread,
Dec 27, 2009, 11:36:51 AM12/27/09
to flex_...@googlegroups.com
hi sarma,

i am not sure in multiple flex project case. but i can try thout and mail you soon with the solution.Till now i have tried in single flex project alone.

with regards
Karthik
With regards ,
Karthik S

karthik S

unread,
Dec 27, 2009, 11:10:01 PM12/27/09
to flex_...@googlegroups.com
Hello everyone,

i hope everyone is fine and good. I have tried javascript in multiple web pages in flex.I am sure that index.template.html is the file that we can add a javascript code.if there is any other solution apart from this also, i am looking forward to it.And how many web pages are available in the flex project also but the index.template.html will be only one. so you have to add a Javascript code in that file.

with regards
Karthik
Reply all
Reply to author
Forward
0 new messages