Thanks Karl, but i think that I don't explain me very good. Flex generate an MXML app, and, only in the bin folder, autogenerate the swf file. The Javascript code is included in a HTML page. Flex generate an HTML page only in the bin folder containing the javascript methods for history and other thinks like the "get plugin". The think that I want to know is if I need touch these HTML generated by flex, or generate one myself, but in this last case, I need the swf file... I must use the bin/swf file? This comment is because in the fabridge example, the html embedd the swf file from a src, and in the html generated by flex, the swf is embbeded "on the fly" or something like this. If you have a very simple example (the most simple as possible) of one flex project using fabridge I appreciate it very much.
Thanks again. -- Matías Nicolás Sommi 2007/2/23, Karl Johnson <[EMAIL PROTECTED]>:
What part are you asking if it needs to be embedded? The javascript side that lives in the HTML definitely does not get embedded. You can launch your app that is using the FABrdige from your next HTML file or you can modify the HTML template file in FB to use the JS code from the FABridge html examples. Does that make sense? You still need the ActionScript side of things embedded in the swf to act as your component or proxy that links your AS methods throughout your app to your JS methods in the parent html file that is hosting the swf. Karl Cynergy ------------------------------ *From:* [email protected] on behalf of Matias Nicolas Sommi *Sent:* Fri 2/23/2007 8:35 AM *To:* [email protected] *Subject:* [flexcoders] FABridge aclarations... Hello, I'm working in one app and I want to call a method of javascript from actionscript and viceversa. When I download the fabridge from adobe labs, I read the doc, and I don't understand one thing, what are the first steps (in configuration), I say, I need to create a new HTML, and embed into it the swf compiled? Or I can use the html generated by the flex builder? I try to copy as the example but I don't get it works. Thanks a lot. Regards. -- Matías Nicolás Sommi

