[SWFObject] Link as variable

Geoff Stearns geoff at deconcept.com
Tue May 30 06:18:21 PDT 2006


try:

> mybut.onPress = function() {
>
> getURL(_root.link);
>
> }

when you pass in flashvars, they always end up on the _root.



On May 30, 2006, at 10:08 AM, Martin Eiler | Cumuli wrote:

> Hi Everybody
>
> Thank you Geoff, for the amazing SWFobject. It has saved me many  
> hours. But I do have a problem when loading some variables.
>
> The problem occors then I try to pass an url into flash, say:
>
>
>
> fo.addVariable("link", "http://wwww.google.com");
>
>
>
> In flash I do a simple botton, like:
>
>
>
> mybut.onPress = function() {
>
> getURL(link);
>
> }
>
>
>
> For some reason that specific variable does not work. Can anybody  
> help me, please…
>
>
>
> Regards Martin
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060530/d64bb6df/attachment-0005.htm>


More information about the Swfobject mailing list