JavaScript html file within Flash

Discussion in 'JavaScript' started by Mr404, Apr 19, 2008.

  1. #1
    Hi,

    Can anyone help me how best to get the HTML text in a JavaScript file to be read by search engines within the Flash movie. I hope that this makes sense - I really wan the Flash movie to allow JavaScript to extract the HTML JavaScript file, can anyone help please? :confused:

    If I still need to clarify it further please let me know as its driving me nuts...

    Thanks,


    Martin
     
    Mr404, Apr 19, 2008 IP
  2. ToddMicheau

    ToddMicheau Active Member

    Messages:
    183
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Well, I'm thoroughly confused by what your asking. Could you please clarify and give an example? The only thing I can get out of your post is that you want JS and Flash to communicate? For that you could use the old standby:

    
    //Function called to execute the JS//
    var callJavascript:Function = function(arg1, arg2):Void{
    	getURL("javascript:theFunction(\"" + escape(arg1) + "\",\"" + escape(arg2) + "\");", "", "GET");
    };
    
    Code (markup):
    Otherwise there is the External Interface you can use. http://livedocs.adobe.com/flash/8/main/00002200.html
     
    ToddMicheau, Apr 21, 2008 IP