swftools-common
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Swftools-common] swfc + getURL
From
:
pascal fautrero
Subject
:
[Swftools-common] swfc + getURL
Date
:
Tue, 6 Jul 2010 19:28:30 +0200
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 = "" href="http://www.google.com">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
[Prev in Thread]
Current Thread
[
Next in Thread
]
[Swftools-common] swfc + getURL
,
pascal fautrero
<=
Re: [Swftools-common] swfc + getURL
,
Mark Lee
,
2010/07/06
Re: [Swftools-common] swfc + getURL
,
pascal fautrero
,
2010/07/07
Re: [Swftools-common] swfc + getURL
,
Chris Pugh
,
2010/07/07
Re: [Swftools-common] swfc + getURL
,
pascal fautrero
,
2010/07/08
Re: [Swftools-common] swfc + getURL
,
Chris Pugh
,
2010/07/08
Prev by Date:
[Swftools-common] Pdf to SWF Conversion Issue
Next by Date:
[Swftools-common] as3compile - include swc library
Previous by thread:
[Swftools-common] Pdf to SWF Conversion Issue
Next by thread:
Re: [Swftools-common] swfc + getURL
Index(es):
Date
Thread