I traced/alerted the embed-code... It contains a name and id.. soo what I'm I doing wrong
--- In [email protected], "moyosaned" <[EMAIL PROTECTED]> 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"); > ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/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/

