Has your application's name any special characters like ", ', \ and so on?
--- In [email protected], "moyosaned" <[EMAIL PROTECTED]> wrote: > > --- In [email protected], "moyosaned" <maikelsibbald@> wrote: > > > > It's working perfectly in IE! but Firefox is giving a javascript- error. > > > > in my html-template: > > > > > > function setDirectory(dir) { > > var flash = getMovie("${application}"); > > flash.setDirectory(dir); > > } > > > > function getMovie(movieName) { > > if ( navigator.appName.indexOf ("Microsoft") != -1 ) { > > return window[movieName]; > > } > > else { > > return document[movieName]; > > } > > } > > > > > > > > /////////////////////// AND MY SWF //////////////// > > AC_FL_RunContent( > > "src", "${swf}", > > "width", "${width}", > > "height", "${height}", > > "align", "middle", > > "id", "${application}", > > "quality", "high", > > "bgcolor", "${bgcolor}", > > "name", "${application}", > > "flashvars",'historyUrl=history.htm?&lconid=' + lc_id +', > > "allowScriptAccess","always", > > "type", "application/x-shockwave-flash", > > "pluginspage", "http://www.macromedia.com/go/getflashplayer"); > > > > > If I use the "static"+embed code it is working. When I remove the > name, it's giving the same result. Some how the name is not written in > the "dynamic" embed..... > this one... > > "name", "${application}", > ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/

