what web server are you using? can you check the web server logs to see what url is being passed to the server? is it giving a 404 error?

On 27/10/2008, at 11:50 AM, Aaron Miller wrote:

Didn't seem to work either. I guess for now I will just have to house all my html files in the same directory.


On Wed, Oct 22, 2008 at 10:41 AM, Tracy Spratt <[EMAIL PROTECTED]> wrote:

Looking through the javascript that this function calls, it appears that it appends the 'swf" extension itself.


Try what you have, but omit the ".swf"


Tracy


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Miller
Sent: Tuesday, October 21, 2008 8:13 PM
To: [email protected]
Subject: [flexcoders] Question about html embed (AC_FL_RunContent)


Ok, sorry this is a lame question, but I'm not an HTML guy and I'm pounding my head on the desk trying to figure this out. How do I point to the absolute path of the SWF in the Adobe style embed script? All of our pages need to embed the same swf located in the root directory. For organization, some of the html pages are in sub directories. Any pages in a sub directory do not load the SWF. I tried the following with no luck:


AC_FL_RunContent(

                        "src", "/WebNavMenu.swf",

                        "width", "100%",

                        "height", "100%",

                        "align", "middle",

                        "id", "WebNavMenu",

                        "quality", "high",

                        "wmode", "transparent",

                        "name", "WebNavMenu",

                        "allowScriptAccess","sameDomain",

                        "type", "application/x-shockwave-flash",

"pluginspage", "http://www.adobe.com/go/getflashplayer "

);



This seems like it should be a pretty common thing, but I'm all out of ideas. Any help please?



Thanks for your time!

~Aaron









Reply via email to