Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Script Help Needed

 
Madhu Mk
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am facing an issue as below,

SEQUENCE OF STEPS:
-------------------------------------
1. JSP calls JavaScript function to load an swf
2. The SWF in turn makes a mx:httpService call to the JSP by passing an array.
3. There is an JavaScript array in the JSP which needs to be loaded with the array retrieved from the SWF.

ISSUES BEING FACED:
-----------------------------------
--> The array value in JavaScript is not reflecting with the array retrieved from the SWF.

Alternatively could any one suggest any idea to call this java script method only after loading the swf content.

Thanks in advance for your time and help.

Thanks & Regards,
Madhu K

 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34672
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> JSP calls JavaScript function to load an swf
JSPs don't call JavaScript functions. JSPs output webpages that potentially include JavaScript functions. The earlies a JavaScript function can be called is when the page loads.

> The SWF in turn makes a mx:httpService call to the JSP by passing an array.
Is this an AJAX call?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic