PDA

View Full Version : Dynamic Ajax and Flash Button



edandrea
09-05-2007, 12:55 AM
1) Script Title: Dynamic Ajax Content

2) Script URL (on DD):http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

3) Describe problem: would like to run this script from a flash button any ideas on how the script would read? I currently have on my button:

on (release) {
getURL("('javascript:ajaxpage('edit_pages/body_strc.html', 'contentarea', loadObjs('js/services.js');");
}

edandrea
09-05-2007, 03:30 PM
No Worries,
I figured it out.

on (release) {
getURL("javascript:ajaxpage('edit_pages/body_fin.html', 'contentarea')");
}

I had been using this code that I had copied and pasted but it was wrong. It had some extra bracket etc. Anyway I discovered how to work it out through another thread. I guess it wasnt hard but for a first time of incorporating flash button to import an .html was time consuming.

Though I have not tried this live yet, I had to change flash settings through Adobe before it worked. I got some message about flash encountering a problem and an unsafe somethingorather. Weird hey.....Any way, works now thanks anyway.