aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Java Script Help Needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Java Script Help Needed" Watch "Java Script Help Needed" New topic
Author

Java Script Help Needed

Madhu Mk
Greenhorn

Joined: Mar 07, 2007
Posts: 24
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 29219
    
134

> 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?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Script Help Needed
 
Similar Threads
how to call a java method from javascript
check this out!!
Need Javascript code to populate a field with one value from a list of values
help!!
split a swf from one giant swf