i'm having a problem with the ClickToGoToWebPage snippet because it works while i am in a preview mode, but once i publish my file, nothing happens when i click on the button. I tried created a simple file to test out the problem. i choose actionscript 3.0 with flash player 11.4. i wrote some text and then converted it to a symbol with the instance name as: test. i embedded the go to webpage snippet with the proper instance name and it works perfectly when previewing, but not when published as an HTML file.
I am working on a recently bought flash cs6 and doubt that an update would help (which i am not sure how to do). the version is 220.127.116.119. i am using windows 8.
here's what's in my actions layer:
navigateToURL(new URLRequest("http://www.adobe.com"), "_blank");
on an unrelated note, why can't i just write text and then put the web address in the "Link" text box under the text options? i've tried this, but it does not work as well. what is the "Link" function?
if anybody has any insight, it would be appreciated.
you probably have a security sandbox issue with both your link and navigateToURL.
either upload your files to a web server and test or, add you flash files to your trusted list, http://www.macromedia.com/support/documentation/en/flashplayer/help/se ttings_manager04.html
i tried to follow the instuctions to add adobe to my trusted sites. i went to start, control panel, system & security, flash player (32-bi). under the Storage tab, i selected Allow sites to save information on this computer. i then opened the Local Storage Settings by Site and added www.adobe.com and chose the Allow setting. however, this did not help. did i do something wrong?
also, how would i upload my files to a web server?
click on the link i suggested>click the 3rd tab (global security settings)>edit locations>add locations>browse for folder>navigate to the folder that contains your html and swf files and click ok, as needed.
i tried doing that, but my published interactive movies still won't link to
the internet. here is a screenshot of the files i uploaded. 1) being the
actual flash file 2) being the publish HTML file. I also tried debugging
the video and this code error appeared and said the sandbox thing you were
here is the error:
Security Sandbox Violation ***
Connection to http://www.adobe.com halted - not permitted from
-- Untrusted local SWFs may not contact the Internet.
SecurityError: Error #2028: Local-with-filesystem SWF file
file://///tester.swf cannot access Internet URL http://www.adobe.com.
Cannot display source code at this location.
am i missing something else?
you didn't follow the directions in message 3.
it may be easier for you to just upload your source files to your web server and test them there. that will obivate the security sandbox issue (unless some other part of your code is triggering the error).