Hi,

Since a week, I try and test swfc to create small banners. It is really easy
to use ! Thanks a lot for this useful tool. I just encounter a trouble using
the instruction getURL. I explain.

I have just created a small button like this :

    .button MyButton

            .show bouton scale=100% as=area
            .show bouton scale=100% as=idle
            .show bouton scale=100% as=shape
            .show bouton scale=100% alpha=60% as=hover
            .on_release:
                getURL("hello.html", "_blank");
            .end

It works nice. My file hello.html is called properly. But, if a change the
url parameter like that :

                getURL("http://www.google.com";, "_blank");

It does not work anymore. If I decompile the swf file, I see that the
instruction has been modified like this :

                getURL("http://www.google.com";, "_blank";

The right bracket has disappeared.

So, I tried to modify this instruction like this :

                url = "http://www.google.com";;
                getURL(url, "_blank");

Now, the right bracket does not disappear anymore but...the command getURL
is not executed. Where I am wrong ?

For now, the only solution I found is to open my file hello.html where I do
a html redirection (meta-redirect) to www.google.com.

Thanks

Regards,

Pascal

Reply via email to