swf flash button open in new window blocked

I am trying to get a button to open a new window but my actionscript on a button is being blocked by FF & IE.

getURL("http://www.google.com", "_blank");
Who is Participating?
SamuelRostolConnect With a Mentor Commented:
Hi there,

As ddlam is writing, the issue is a problem several places. The issue is normally local - meaning that when you test your project from your local harddrive in an browser, such link doesn't work. However, they still work when you build the file in Flash. This causes comfusion.

The good thing is that when you upload the file so that it runs online, rather than locally, it normally works perfectly.

Try it out, and give us some feedback :)

ddlamConnect With a Mentor Commented:
That browser issue cannot be solved. When you upload your file to the network, you may see another issue.
AtDevAuthor Commented:
Thanks Samuel,

I've tried uploading it and that's where I'm having problems with the block. What source code for the <object> and actionscript are you using to avoid this?
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Hmm, I normally just test movies using the same <Object> code as supplied by Adobe, by publishing the movie. (Publish-settings will give you the opportunity to add what types of files you wish to be created when you publish, make sure to check .html here).
AtDevAuthor Commented:
This is what I'm using:

      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
      <param name="movie"
      <param name="FlashVars"
value="myVar=http://www.mysite.com/" />      
      <param name="quality" value="high">
      <param name="bgcolor" value="white">
      quality="high" bgcolor="white"
AtDevAuthor Commented:
No luck with this one either :-(

getURL( myVar, "_blank" );

This action script is still getting blocked. Any other suggestions?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.