Solved

Questions about System.security.allowDomain

Posted on 2007-03-20
1
189 Views
Last Modified: 2008-02-01
we have a flash 6 swf that uses System.security.allowDomain

currently we are getting the value dynamically

var mydomain = "www.mydomain.com";

so System.security.allowDomain (_root.mydomain);

we are expecting an upgrade to flash 7 very soon and do not want to
have to change the javascript

now version 7 does not accept www.mydomain.com as the same as pics.mydomain.com

and so we must explicitly pass the correct and full domain from
javascript once we upgrade

the question is this

does flash 7 read www.mydomain.com the same as mydomain.com?

we know that www.mydomain.com is not the same as pics.mydomain.com
but we need to know if www.mydomain.com is the same as mydomain.com?
0
Comment
Question by:ray-solomon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 23

Accepted Solution

by:
Zeffer earned 500 total points
ID: 18761372
No..the strings defining the domain must be identical..but you could define both together..

var mydomain = "www.mydomain.com";
var mydomain1 = "mydomain.com";
System.security.allowDomain (_root.mydomain, _root.mydomain1);

Z
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
flash cs6 4 354
free flash maker 5 222
Begin mp4 video on first frame 6 194
Got "Shockwave has crashed : reload?" when viewing in multiple tabs of Chrome 4 111
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question