Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
allowScriptAccess="always"
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
ccrider  
View profile  
 More options Jul 4 2008, 12:14 pm
From: ccrider <currentcreat...@gmail.com>
Date: Fri, 4 Jul 2008 09:14:28 -0700 (PDT)
Local: Fri, Jul 4 2008 12:14 pm
Subject: allowScriptAccess="always"
I had to get rid of SWFObject implementation on the one page where it
was working fine because in Safari on Mac (obviously), I ran into the
weird problem that the getURL actionscript in my Flash wasn't
executing. None of the buttons worked on onframe functions which used
getURL did not work either.

After some tooling around, I discovered that the problem can be solved
by adding parameters to your old-school object tag:

 <param name="allowScriptAccess" value="always">

allowScriptAccess="always">

I thought for a moment about where to implement such parameters in the
SWFObject tag.
Can you add these to SWFObject?
I couldn't get it to work so I just went back to the old-school way
like you see here:

http://www.actionscript.org/forums/showpost.php3?p=753185&postcount=12


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aran Rhee  
View profile  
 More options Jul 4 2008, 11:29 pm
From: "Aran Rhee" <aran.r...@gmail.com>
Date: Sat, 5 Jul 2008 13:29:55 +1000
Local: Fri, Jul 4 2008 11:29 pm
Subject: RE: allowScriptAccess="always"
Of course you can add it to swfobject :) The whole point is that you can
mark up and embed you flash files as if you were using the oldschool
object/embed.

You add it you your param object like any other required or optional param:

<script type="text/javascript">
var flashvars = {};
var params = {};
var attributes = {};

params.allowscriptaccess = "always";

swfobject.embedSWF("myContent.swf", "myContent", "300", "120",
"9.0.0","expressInstall.swf", flashvars, params, attributes);
</script>

Reading the documentation should help also... It describes all of this

Aran


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nate Snyder  
View profile  
 More options Jul 5 2008, 9:26 am
From: "Nate Snyder" <currentcreat...@gmail.com>
Date: Sat, 5 Jul 2008 09:26:58 -0400
Local: Sat, Jul 5 2008 9:26 am
Subject: Re: allowScriptAccess="always"

Ah, so  SWFObject means I have to learn javascript now, too. Sweeeet. I read
the documentation before and it didn't help me do much except struggle with
4 days. Any help I got was from people on this group or on other message
boards. The documentation assumes the user who is trying to figure out how
to work this thing already knows several things and does not bother to
mention them. So, sorry I did not check the documentation on this particular
problem, but I did not want to waste another 4 days when I can just drop
SWFObject and use old-school embed instead. Thank you for your answer and
saving me a lot of time. It's going in my file. :)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aran Rhee  
View profile  
 More options Jul 5 2008, 11:36 pm
From: "Aran Rhee" <aran.r...@gmail.com>
Date: Sun, 6 Jul 2008 13:36:42 +1000
Local: Sat, Jul 5 2008 11:36 pm
Subject: RE: allowScriptAccess="always"

Nate.

Yeah, there is a learning curve and some assumed knowledge by the authors.
The library is intended for use by web developers who feel comfortable (a
least a bit anyhow) with javascript and what a DOM is.

I recommend beginners check out the code generator, as it will write 90% of
the code you require for you:
http://www.swffix.org/swfobject/generator/

Aran

From: swfobject@googlegroups.com [mailto:swfobject@googlegroups.com] On
Behalf Of Nate Snyder
Sent: Saturday, 5 July 2008 11:27 PM
To: swfobject@googlegroups.com
Subject: Re: allowScriptAccess="always"

Ah, so  SWFObject means I have to learn javascript now, too. Sweeeet. I read
the documentation before and it didn't help me do much except struggle with
4 days. Any help I got was from people on this group or on other message
boards. The documentation assumes the user who is trying to figure out how
to work this thing already knows several things and does not bother to
mention them. So, sorry I did not check the documentation on this particular
problem, but I did not want to waste another 4 days when I can just drop
SWFObject and use old-school embed instead. Thank you for your answer and
saving me a lot of time. It's going in my file. :)

On Fri, Jul 4, 2008 at 11:29 PM, Aran Rhee <aran.r...@gmail.com> wrote:

Of course you can add it to swfobject :) The whole point is that you can
mark up and embed you flash files as if you were using the oldschool
object/embed.

You add it you your param object like any other required or optional param:

<script type="text/javascript">
var flashvars = {};
var params = {};
var attributes = {};

params.allowscriptaccess = "always";

swfobject.embedSWF("myContent.swf", "myContent", "300", "120",
"9.0.0","expressInstall.swf", flashvars, params, attributes);
</script>

Reading the documentation should help also... It describes all of this

Aran


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mat  
View profile  
 More options Aug 13 2008, 1:05 am
From: mat <mtiz...@gmail.com>
Date: Tue, 12 Aug 2008 22:05:05 -0700 (PDT)
Local: Wed, Aug 13 2008 1:05 am
Subject: Re: allowScriptAccess="always"
First off - thanks very much for swfobject 2.0, it's great and saves a
lot of blood, sweat and tears. We've used it on the new Yahoo!7 front
page in Australia. http://au.yahoo.com/

I've had a problem with getting clickthroughs to work-

I have params.allowscriptaccess = "always";

but cannot make getURL calls work

this is when omitting the optional expressinstall parameter

the problem does not occur when expressinstall is being used.

any advice gratefully recieved.

mat

On Jul 6, 1:36 pm, "Aran Rhee" <aran.r...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aran Rhee  
View profile  
(1 user)  More options Aug 13 2008, 6:37 am
From: Aran Rhee <aran.r...@gmail.com>
Date: Wed, 13 Aug 2008 20:37:06 +1000
Local: Wed, Aug 13 2008 6:37 am
Subject: Re: allowScriptAccess="always"
Mat

Can you supply a code snippet? I just want to confirm that all the  
params are being passed correctly.

1 with the working code, and 1 with the broken code.

Cheers,
Aran

Sent from my iPhone

On 13/08/2008, at 3:05 PM, mat <mtiz...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google