<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">try:<DIV><BR class="khtml-block-placeholder"></DIV><BLOCKQUOTE type="cite"><P class="MsoNormal"><SPAN style=""><FONT class="Apple-style-span" color="#000080" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3333px;">mybut.onPress = function() {</SPAN></FONT><FONT class="Apple-style-span" color="#000080" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3333px;"><O:P style="color: rgb(0, 0, 128); font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></SPAN></P><P class="MsoNormal"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy; color: rgb(0, 0, 128); font-size: 13.3333px; "><FONT class="Apple-style-span" color="#000080" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3333px;">getURL(_root.link);</SPAN></FONT><FONT class="Apple-style-span" color="#000080" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3333px;"><O:P style="color: rgb(0, 0, 128); font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></SPAN></P><P class="MsoNormal"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy; color: rgb(0, 0, 128); font-size: 13.3333px; "><FONT class="Apple-style-span" color="#000080" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3333px;">}</SPAN></FONT></SPAN></P></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>when you pass in flashvars, they always end up on the _root.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On May 30, 2006, at 10:08 AM, Martin Eiler | Cumuli wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <DIV class="Section1"> <DIV><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">Hi Everybody<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">Thank you Geoff, for the amazing SWFobject. It has saved me many hours. But I do have a problem when loading some variables.<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">The problem occors then I try to pass an url into flash, say:<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">fo.addVariable("link", "<A href="http://wwww.google.com">http://wwww.google.com</A>");<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">In flash I do a simple botton, like:<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">mybut.onPress = function() {<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">getURL(link);<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">}<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">For some reason that specific variable does not work. Can anybody help me, please…<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">Regards Martin<O:P></O:P></SPAN></FONT></P> </DIV> </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">SWFObject mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:SWFObject@lists.deconcept.com">SWFObject@lists.deconcept.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com">http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>