Can you have AJAX and Actionscript together ? I wondering if I could find a image gallery whereas you just upload a image to a directory and it would automatically add it, the only problem is a description.
I’m not familiar with how to do it myself, nor can I point you towards any tutorials I know of.
But you’re going to want to search uploading content (images) through Flash first, and then look at LoadVars.sendAndLoad
in AS2 or its AS3 equivalent - that’s how Flash can send data to and receive data from server side pages.
Hope that helps!
Thanx.
You could, though I’m not sure why you would need to want to wrap images in Flash in preference to using HTML and AJAX (through HTML) to do the same thing.
Flash can be a little more jazzy besides I also need a video gallery and unless someone can show me something that can be jazzy with HTML & AJAX I’m currently only sold on Flash.
You don’t need AJAX for that.
ActionScript can send and receive data from server side pages and update itself, so there’s no need for AJAX, you can do it all from the ActionScript.
Oh Really, I didn’t know. You can upload you media and the flash object would update automatic ? With the exception of other content to be displayed I assume that would have to be done manually. Where could I look to find something like this ? Most are XML where you have to update the XML file upon uploading.
You don’t need AJAX for that.
ActionScript can send and receive data from server side pages and update itself, so there’s no need for AJAX, you can do it all from the ActionScript.
You’d be better off just doing it on the server side. PHP makes this sort of thing extremely easy. You could store the descriptions (captions?) in a text file.
You could, though I’m not sure why you would need to want to wrap images in Flash in preference to using HTML and AJAX (through HTML) to do the same thing.
I think LoadVars.sendAndLoad should work for you
you can send the parameters and get back the required content as per the condition you have set.