p singh
p singh

Reputation: 21

url functions in as2

This is from ActionScript 2.0 not a big one, but enough to keep me wondering what is wrong. This code works perfectly when I hit button in original swf file but when I publish it as html or embed it in html document there is no response. What to do?

on (release) { URL("aboutus.html"); } 

Upvotes: 0

Views: 116

Answers (1)

Amarghosh
Amarghosh

Reputation: 59451

Shouldn't it be

on(release) { getURL("aboutus.html"); }

Upvotes: 1

Related Questions