[SWFObject] Passing URLs thru SWFObject

Geoff Stearns geoff at deconcept.com
Tue Oct 10 11:28:23 PDT 2006


this part is correct:

 > so.addVariable("myURL", "http://www.myDomain.com/myPage.html");

after that, you'll have a variable on your _root timeline called  
'myURL' - what you do with it at that point is up to you...

one quick fix would be:

> on (release) {
> 	getURL(_root.myURL);
> }




On Oct 10, 2006, at 2:14 PM, Tim Vaught wrote:

> Hello,
>
> I want to use SWF Object to pass URLs to a button in the flash movie.
>
> I assume my button's actionscript should be
>
> on (release) {
> 	getURL(myURL);
> }
>
>
> and the SWF Object code should be
>
> so.addVariable("myURL", "http://www.myDomain.com/myPage.html");
>
>
> This code is not producing the desired results.  Has anyone  
> successfully done this before?  If so, where am I going wrong?
>
> Thanks,
> Tim
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list