Duccio Del Ministro wrote: > Is there a way tocommunicate between flex and javascript?
Not directly, because these (usually) live on different machines. (You can create MXML files on your development machine... Macromedia Flex changes these XML files to SWF on your server... "JavaScript" usually describes something which lives on the different machines of all your site's visitors.) For "How can a SWF communicate with the browser hosting it?" then there is the way browser-makers document, which is addressed inside the Macromedia Flash Player through its "FSCommand" work. This is tricky, though, because not all browsers offer such a communication mechanism, and those that do require different browser-scripting to make it work. It's a lot of testing. There's also a way the browsermakers tend *not* to document (or test, I suspect), and that's one-way messages from plugin to browser via "javascript:" pseudo-URLs. You can see the spotty browser support for this in this older survey: http://www.macromedia.com/go/14159 For "How can I offer a file-upload UI for a SWF inside a browser?" then the most reliable method I've seen is to just put an HTML FORM in the page to make such a button visible. It will be outside the SWF, but it will work. jd -- John Dowdell . Macromedia Developer Support . San Francisco CA USA Weblog: http://www.macromedia.com/go/blog_jd Aggregator: http://www.macromedia.com/go/weblogs Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/