-
Send variable from HTML to AS2
Hello,
I have flash movie, with SharedObject, so it remembers last frame where it was, but I have to make HTML button which resets SharedObject variable to 0 and redirects me to different page.
Is it possible to make such HTML button? And if so, how?
Best regards,
Kaspars.
-
Dignitary
It is possible but only through flash. Use the ExternalInterface class. The call method will trigger javascript functions and the addCallback method will allow javascript to trigger actionscript functions.
Adobe Link
OOPS nvm........ >.<
Last edited by rynoe; 03-29-2013 at 12:56 PM.
Reason: AS3 not AS2
[SIGPIC][/SIGPIC]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|