<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1030985" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1030985</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/problem-javascript-interacting-flash#comment-1181147</link>
    <description> &lt;p&gt;wow, I have no idea....&lt;/p&gt;
 </description>
     <pubDate>Fri, 30 Sep 2005 13:02:26 +0000</pubDate>
 <dc:creator>bja888</dc:creator>
 <guid isPermaLink="false">comment 1181147 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/problem-javascript-interacting-flash#comment-1181133</link>
    <description> &lt;p&gt;Okay, I&#039;m getting ready to show this to a client tomorrow, so I&#039;m going disable everything that&#039;s working in Firefox but not IE. Feel free to continue to comment if you know of any solutions.&lt;/p&gt;
 </description>
     <pubDate>Fri, 30 Sep 2005 06:30:21 +0000</pubDate>
 <dc:creator>timjpriebe</dc:creator>
 <guid isPermaLink="false">comment 1181133 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/problem-javascript-interacting-flash#comment-1181132</link>
    <description> &lt;p&gt;Neither was I before tonight.&lt;/p&gt;
&lt;p&gt;For anyone wanting to check out my code, it&#039;s at &lt;a href=&quot;http://tinyurl.com/cqd6l&quot; class=&quot;bb-url&quot;&gt;http://tinyurl.com/cqd6l&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And here&#039;s the javascript the Flash banner is executing once at the beginning of it&#039;s timeline.&lt;/p&gt;
&lt;p&gt;var framenum = getCookie();&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: var bannerad = document.bannerad;&lt;/p&gt;
&lt;p&gt;if (framenum)&lt;br /&gt;
{&lt;br /&gt;
    if (bannerad.PercentLoaded() == 100)&lt;br /&gt;
    {&lt;br /&gt;
        bannerad.GotoFrame(framenum);&lt;br /&gt;
        bannerad.Play();&lt;br /&gt;
    }&lt;br /&gt;
    else&lt;br /&gt;
    {&lt;br /&gt;
        bannerad.GotoFrame(1);&lt;br /&gt;
        bannerad.Play();&lt;br /&gt;
    }&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;function getCookie()&lt;br /&gt;
{&lt;br /&gt;
    var dc = document.cookie;&lt;br /&gt;
    var prefix = &quot;bannerframe=&quot;;&lt;br /&gt;
    var begin = dc.indexOf(&quot;; &quot; + prefix);&lt;br /&gt;
    if (begin == -1)&lt;br /&gt;
    {&lt;br /&gt;
        begin = dc.indexOf(prefix);&lt;br /&gt;
        if (begin != 0) return null;&lt;br /&gt;
    }&lt;br /&gt;
    else&lt;br /&gt;
    {&lt;br /&gt;
        begin += 2;&lt;br /&gt;
    }&lt;br /&gt;
    var end = document.cookie.indexOf(&quot;;&quot;, begin);&lt;br /&gt;
    if (end == -1)&lt;br /&gt;
    {&lt;br /&gt;
        end = dc.length;&lt;br /&gt;
    }&lt;br /&gt;
    return unescape(dc.substring(begin + prefix.length, end));&lt;br /&gt;
}&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;What&#039;s really wierd is that it seems to work fine here:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.permadi.com/tutorial/flashGetObject/&quot; class=&quot;bb-url&quot;&gt;http://www.permadi.com/tutorial/flashGetObject/&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 30 Sep 2005 06:21:43 +0000</pubDate>
 <dc:creator>timjpriebe</dc:creator>
 <guid isPermaLink="false">comment 1181132 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/problem-javascript-interacting-flash#comment-1181130</link>
    <description> &lt;p&gt;Well, I was not aware you can pull javascript veriables out of a flash object... All I can tell you is to make sure your id attribute is &quot;bannerad&quot;. Also that you are putting the html in right.&lt;/p&gt;
 </description>
     <pubDate>Fri, 30 Sep 2005 06:00:03 +0000</pubDate>
 <dc:creator>bja888</dc:creator>
 <guid isPermaLink="false">comment 1181130 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/problem-javascript-interacting-flash#comment-1181117</link>
    <description> &lt;p&gt;Now I can get it working in Firefox using this line:&lt;/p&gt;
&lt;p&gt;var bannerad = window.document.bannerad;&lt;/p&gt;
&lt;p&gt;However, that won&#039;t work in IE. Everything I&#039;ve read so far online says the following should work in IE:&lt;/p&gt;
&lt;p&gt;var bannerad = document.getElementById(&quot;bannerad&quot;);&lt;/p&gt;
&lt;p&gt;But that isn&#039;t working either.&lt;/p&gt;
&lt;p&gt;If I have to chose, I&#039;d rather get it working in IE than Firefox. Any ideas?&lt;/p&gt;
 </description>
     <pubDate>Fri, 30 Sep 2005 04:17:58 +0000</pubDate>
 <dc:creator>timjpriebe</dc:creator>
 <guid isPermaLink="false">comment 1181117 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/problem-javascript-interacting-flash#comment-1181103</link>
    <description> &lt;p&gt;Okay, turns out I need to just use bannerad.PercentLoaded to keep it from going to the frame framenum until it&#039;s completely loaded.&lt;/p&gt;
&lt;p&gt;I&#039;m currently scouring the web for solutions, but if anyone knows, that would be some good info for me to have. It will help me avoid staying up too late tonight to meet this deadline.&lt;/p&gt;
 </description>
     <pubDate>Fri, 30 Sep 2005 03:14:35 +0000</pubDate>
 <dc:creator>timjpriebe</dc:creator>
 <guid isPermaLink="false">comment 1181103 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
