SecurityError: Error #2152
at flash.display::Stage/set displayState()
Why I use stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE; will cause this error while 11.2 won't?
Should I use FULL_SCREEN_INTERACTIVE if I want to receive keyboard event in fullscreen?
Sorry, It's my fault.
This feature works fine! But end users will see a permission dialog. Does this dialog must show?
Similar Messages
-
SecurityError: Error #2048 when using special characters in request url
Hi all,
I'm facing a really strange problem with requesting address data from a in-house developed address webservice that can be accessed using a HTTPS connection.
The problem is that I get the following error when a request has been made with special characters in the url:
SecurityError: Error #2048: Security sandbox violation: http://www.foo.com/myapp.swf cannot load data from
https://www.bar.com/myservice.svc/Aleja Legionów ul., BYTOM.
The url is encoded using encodeURIComponent. Fiddler show's a correctly encoded url:
https://www.bar.com/myservice.svc/address/Aleja%20Legion%C3%B3w%20ul.%2C%20BYTOM
The server send a normal response back.
The weird thing is that this only happens on FireFox with special characters in the url. With normal characters, it works fine.
On IE everything works fine..
crossdomain.xml of the www.foo.com:
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-http-request-headers-from domain="*" headers="*" secure="false"/>
<allow-access-from domain="*" headers="*" secure="false"/>
</cross-domain-policy>
Any help is appreciated.
Best regards,
Sjoerd BrandsmaYou could try downloading the Oracle 8.1.7 client and the latest
Oracle8 ODBC driver, install them on your machine, and verify
that the failure goes away. That's obviously the acid test.
I can tell you that when I worked in the ODBC driver group we
did identify and fix some bugs where our parser wasn't skipping
string literals. If this particular bug wasn't fixed earlier,
it almost certainly was then (I'm guessing that work was done 12-
18 months ago).
Justin -
Really urgent! SecurityError: Error #3226,Plz help!
i need to import a swf file into my project,the swf file was created by a quick gallery application for mac ( bannerzest pro)
the swf works fine until i exchange the project into AIR project, I get a
SecurityError: Error #3226: Cannot import a SWF file when LoaderContext.allowCodeImport is false.
at flash.display::Loader/_loadBytes()
at flash.display::Loader/loadBytes()
at EmbedFlash()
at MyFactory/init()
at MyFactory/onEnterFrame()
no idea for this, anyone can help me or any idea to avoid the error?my codes,
<fx:Script>
<![CDATA[
import mx.core.UIComponent;
import mx.events.FlexEvent;
public function creationComplete(event:FlexEvent):void
//Security.loadPolicyFile("assets/images/crossdomain.xml");
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderComplete);
loader.load(new URLRequest("assets/images/YinkunB.swf"));
private function loaderComplete(event:Event):void
var loaderinfo:LoaderInfo = event.target as LoaderInfo;
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoadComplete);
var loaderContext:LoaderContext = new LoaderContext();
loaderContext.allowCodeImport = true;
loader.loadBytes(loaderinfo.bytes, loaderContext);
private function onLoadComplete(event:Event):void
var displayObject:DisplayObject = event.target as DisplayObject;
var ui:UIComponent = new UIComponent();
ui.addChild(displayObject);
this.addElement(ui); -
When we try to print the Google Map API for Flash component, it is throwing the Security Sandbox Violation
SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: http://ps6143:8080/aa/XYZ/Main.swf/[[DYNAMIC]]/1 cannot access http://mt1.google.com/vt/lyrs=m@171000000&hl=en&src=api&x=1&y=1&z=1&s=Gali&flc=x3t. No policy files granted access.
at flash.display::BitmapData/draw()
To avoid this error we tried to use the alternate API provided by library. But that also causing cross domain issue as it loading some 3d library internally which is not able to access our application.
SecurityError: Error #2121: Security sandbox violation: BitmapData.draw: http://maps.googleapis.com/mapfiles/lib/map_1_20_10_3d.swf cannot access http://ps6143.persistent.co.in:8080/dv/SiteOptimizer/SiteOptimizer.swf/%5b%5bDYNAMIC%5d%5d /1http://ps6143:8080/aa/XYZ/Main.swf/[[DYNAMIC]]/1. This may be worked around by calling Security.allowDomain.
at flash.display::BitmapData/draw()
Please help us in resolving this issue.
Thanks & Regrds,
Ravi DarjiThere is no redirect... Charles is a web proxy so it will look completely legitimate to the browser.
According to the help, it's getting the access request from the SWF itself and not the crossdomain.xml file:
In the case of a source object other than a loaded bitmap, the source object and (in the case of a Sprite or MovieClip object) all of its child objects must come from the same domain as the object calling the draw() method, or they must be in a SWF file that is accessible to the caller by having called the Security.allowDomain()method.
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204-7d1b.html#WS5b3ccc516d4fbf351e63e3d118a9b90204-7c4a
So the default state accessing a SWF on a different domain is protected, unless that SWF allows some or all domains to access it via the Security.allowDomain() method. -
SecurityError: Error #2148: issue
I am getting a SecurityError: Error #2148: when I try to run
an application where I created a component from Flash CS3 which
communicates with a Flash Media Server to play an FLV file. The
full message is as follows:
SecurityError: Error #2148: SWF file
http://localhost:8084/flex/nmDeploy/nmSite/nmSite.swf
cannot access local resource C:\Program Files\Macromedia\Flash
Media Server
2\applications\videoApp\streams\_definst_\dChild-JaRuleJloAkeys-WhatsGoingOn.flv.
Only local-with-filesystem and trusted local SWF files may access
local resources.
at flash.net::NetStream/play()
at fl.video::VideoPlayer/
http://www.adobe.com/2007/flash/flvplayback/internal::_play()
at fl.video::VideoPlayer/
http://www.adobe.com/2007/flash/flvplayback/internal::_setUpStream()
at fl.video::VideoPlayer/
http://www.adobe.com/2007/flash/flvplayback/internal::_load()
at fl.video::VideoPlayer/load()
at fl.video::FLVPlayback/::doContentPathConnect()
I went onLine and found a recommendation to add the following
information to the "Additional compiler arguments:"
-use-network=false
Even with this statment included I still receive the error
message. Any recommendation on how to resolve this issue would be
greatly appreciated.
Thanks in advance,
BobThanks to Jeremy. I found a post on solution at
http://groups.google.com/group/riadev/browse_thread/thread/85cc05c49c5ec50a/9a50ac7d94defe e8
This is probably because all flex swfs are using
local-with-network as the
default sandbox, hence it won't have access to the local
files (including
images), one suggested solution is to add extra compiler
argument:
1. Right click on project > properties > flex compiler
2. add this "-use-network=false" to "additional compiler
arguments" field
3. then recompile the swf
See if this solve the security problem.
Jeremy. -
SecurityError: Error #2148
Hi all. I have problem.
I have two application(Adobe Air and usual flex application
in browser).I use LocalConnction for communication.
Air application consist video files and return for flex
application array(label:file Name,data:Sourse).
Flex application in browser show this video files.
If i run both application in flex builder all works ok.When I
copy my flex application in other place on my pc and run it, i
reseved error :
SecurityError: Error #2148: SWF file
http://localhost/AirTest/PlayerInBrowser.swf
cannot access local resource
D:\Projects\flex\X_ClientForBrowser\bin-debug\Files\X.flv. Only
local-with-filesystem and trusted local SWF files may access local
resources.
Plase help me.Hi,
A couple of things to look at.
Take a look at the documentation about Flash security
1)
http://livedocs.adobe.com/flash/9.0/main/00000347.html
(particularly security sandboxes and local content)
2)
http://www.adobe.com/devnet/flash/articles/fplayer8_security.html
(more in depth about the rules around interacting with local
content)
Specifically, look at LocalConnection.allowDomain
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/LocalConnection.html#a llowDomain()
I hope these things help!
-Erica -
Hi,
The bug of 'SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: file:///xxx/xxx.swf cannot access rtmfp://fms4.acrobat.com/cocomo/na2-sdk-xxx/xxx. No policy files granted access.' was first reported in lccs forum over a year ago:
http://forums.adobe.com/message/2803074
But the bug is still around. The bug can be generated by calling BitmapData.draw() on a flash.media.Video object which is attached to a p2p stream. It looks like the solution is to have the publisher to call:
send("|RtmpSampleAccess", true, true)
on the NetStream object _before_ the subscriber calls NetStream.play(), in order to give the permission to subscribers for audio and video streams.
In lccs library, the above permission authorisation happens in WebcamPublisher:
protected function onNetStatus(p_evt:NetStatusEvent):void
if (p_evt.info.code=="NetStream.Connect.Success") {
setTimeout(sendSnapShotPermission, 500);
_stream.send("|RtmpSampleAccess", true, true);
protected function sendSnapShotPermission():void
_stream.send("|RtmpSampleAccess", true, true);
but it doesn't help the problem. In fact, it is not clear to me when this 'snap shot permission' is sent to the subscriber.
One more note: This is not a critisism for the lccs development quality, but rather a question on how ready lccs is for production use. After encountering this bug, I had to go through the lccs code (the open source parts), and found out that the library is not really written, well, carefully, and it is full of temporary quick-n-dirty fixes.
For instance in the above example, sendSnapShotPermission() is called after 500 milliseconds, probably to allow something to happen before calling the method, but how can you be sure that it will happen in 500 milliseconds? Probably,an event listener should have been used. Immediately in the next line, we see:
_stream.send("|RtmpSampleAccess", true, true);
which is a duplicate of sendSnapShotPermission(). many examples like this can be found throughout the library.
AurelianoHi Nigel,
Two questions:
1. When the publisher sends the access permission to the subcriber by:
netStream.send("|RtmpSampleAccess", true, true)
, on the subscriber side, what event or function can handle the guaranteed receipt of the access permission? Currently it is possible to draw the incoming stream video upon receiving NetStream.Play.Star and waiting for 5 seconds or so:
public class MyWebcamSubscriber extends WebcamSubscriber {
override protected function layoutCameraStreams():void
// trying the event listener seems to work here.
_streamManager.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
override protected function onNetStatus(e:NetStatusEvent):void
super.onNetStatus(e);
case "NetStream.Play.Start":
setTimeout(function():void {
// draw the video from the incoming stream here.
}, 5000);
The questions is, which event can let the subscriber know that it has the access permission to the video stream?
2. In WebcamPublisher, why is that the access permission is sent 3 times?
a. Once on receiving NetStream.Connect.Success with 0.5 second delay, as in below.
b. Once immediately upon receiving NetStream.Connect.Success, as in below.
protected function onNetStatus(p_evt:NetStatusEvent):void
if (p_evt.info.code=="NetStream.Connect.Success") {
setTimeout(sendSnapShotPermission, 500);
_stream.send("|RtmpSampleAccess", true, true);
protected function sendSnapShotPermission():void
_stream.send("|RtmpSampleAccess", true, true);
c. Once in onConnectionTypeChange() with 2 seconds delay:
protected function onConnectionTypeChange(p_evt:StreamEvent):void
if ( _streamManager.isP2P) {
_stream= new NetStream(_connectSession.sessionInternals.session_internal::connection as NetConnection,NetStream.DIRECT_CONNECTIONS);
setTimeout(sendSnapShotPermission, 2000); -
We have an application we run in a localWithNetwork security sandbox. This application loads many assets from an off-site web server. In spite of a very permissive crossdomain.xml, swfs downloaded from site give a 2121 error when we convert them to bitmaps at runtime.
<?xml version="1.0" ?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" />
<site-control permitted-cross-domain-policies="all"/>
</cross-domain-policy>
Now, I understand why this restriction with BitmapData.Draw exists in general, and from what I've read in other discussion threads the general solution is to allow less restrictive access via crossdomain.xml. This is the most permissive I know how to make it, although the documentation on the subject is not the most concise. Are there details I'm missing here?
For the moment we're just running this as LOCAL_TRUSTED, but this requires folks to be setup with the debug plugin which is a maintenance problem.
Thanks in advance for any guidance.
jvCrossdomain isn’t used in localWithNetwork because there is no “domain” for the request.
I didn’t think you needed a debug plugin for LOCAL_TRUSTED, I thought any trust file would work. Did you try creating an AIR app instead? It might have different security rules. -
SecurityError: error #2028
Hi,
Really new to flash. I made a small movie ad that is going to online pubs. It's got a link to an offsite URL. On my server it gets security message #2028, on my desktop, not. Will this be a problem or will the pub get the information from the HTML?
Thanksyou mean you get that error when testing locally and not when your swf is on a server, correct?
-
I get a security sandbox error #2122 when i try to use ImageSnapshot on video player
hey guys... so all my application does is... it has a video player... and when i initiate the component it loads the flv from a different server, and plays the video... now while its playing the video i have a button called capture, and whe you hit that button the user is able to take snapshots of the current frame.
this seems to work perfectly locally, but as soon as i uploaded it to the server i get problems...
the error states:
SecurityError: Error #2122: Security sandbox violation: BitmapData.draw: http://website1.com/Content/swf/oneStopImageVersion.swf cannot access http://website2.com/videos/originals/Grand_Opening.flv. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.
at flash.display::BitmapData/draw()
at mx.graphics::ImageSnapshot$/captureBitmapData()
at modules.videoHandler::videoHandler/captureVideo()
at modules.videoHandler::videoHandler/___videoHandler_LinkButton3_click()
i have the crossdomain file in the root directory of website2.com, and i have the folloing line of code in there
<?xml version="1.0"?>
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all" />
<allow-access-from domain="website1.com"/>
<allow-access-from domain="*.website1.com"/>
<allow-http-request-headers-from domain="*.website1.com" headers="SOAPAction"/>
</cross-domain-policy>
any ideas on how to fix this problem???
my actionscript code is as follows
public function captureVideo():void{
var snapshot:BitmapData = ImageSnapshot.captureBitmapData(videoPlayer.videoDisplay);
initialThumbnail.source = new Bitmap(snapshot); //this is the image tag in my mxml
any help is greatly appretiated!!!!
thanks in advance!any one with ideas???
i've been doing some more research... and found a possible solution... where i could send the video thru a server proxy... but the only thing is doing that might slow down my process... i was wondering if there was any other solution to this problem?? -
1st Issue. I am a new user and am fighting #2121, #2044 & #2048 Flash security errors in getting an MP3 player to work as I test the fla file in Flash CS4 on my local computer. The fla in Flash and swf in Dreamweaver calls mp3 files from our host server on the internet.
After reading various sparce posts and Adobe articles on this issue, I have added a crossdomain.xml file at our websites root (see file below) and added the code, flash.system.Security.allowDomain in line 1 of the action script of the flash fla to allow our site access (-see script below). These efforts have helped get the player to work better on our test site.
But, I am still getting the 2121 error within Flash CS4 as I debug the player or play the swf in live view within Dreamweaver. Playing the fla or swf will lock-up the Flash 10 player and crash the program. I am having the mp3 player access the mp3 files from our web site as I test the fla.
Here is the debug message I am getting:
Attemping to launch and connect to Player using URL C:\Web Site Files\Plank Productions afc\Plank Productions 2010\site\MP3_List_Player_AS3.swf [SWF] C:\Web Site Files\Plank Productions afc\Plank Productions 2010\site\MP3_List_Player_AS3.swf - 209827 bytes after decompression SecurityError: Error #2121: Security sandbox violation: Sound.id3: file:///C/Web%20Site%20Files/Plank%20Productions%20afc/Plank%20Productions%202010/site/MP3%5FList %5FPlayer%5FAS3.swf cannot access . This may be worked around by calling Security.allowDomain.
at flash.media::Sound/get id3()
at com.afcomponents.mp3player::MP3Player/get id3()
at com.afcomponents.mp3player::MP3Player/handleBuffe ring()
Here is the crossdomain xml code:
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0"?><!DOCTYPE cross-domain-policySYSTEM "http://www.macromedia.com/xml/dtds/cross-domain- policy.dtd">
<cross-domain-policy>
<allow-access-from domain="www.plankproductions.com" secure="false"/>
<allow-access-from domain="plankproductions.com" secure="false"/>
</cross-domain-policy>
Here is the AS3 in line 1 of the Fla file that I added:
flash.system.Security.allowDomain("www.plankproductions.com", "plankproductions.com");
2nd Issue. The online playback of the mp3 player will play about 4-7 mp3’s then lock-up in Internet Explorer 8 on a pc. I think that is related to flash security, not sure, I do not know how to debug the mp3 player on the web site.
http://plankproductions.com/pptemplate_afc_mp3.shtml
Questions.
-How can I resolve the error 2121?
-What as3 code do I need to target the local c drive to have security clearance and work properly, is this the problem?
-Why is the mp3 player locking up on the web page?
Thank you in advance for any help.
Operating System: Windows XP Professional, CS4 Web PremiumDo you have the standard or debug player installed? Such errors should not occur with the standard player.
See http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html#main_Find_Flash_Play er_version_type_and_capabilities__Flash_developers_only_ -
How to resolve security sandbox violation (Error#2148) in Flex 3 on XP?
Hi,
When I tried to access an image on c:\ (on XP), I get the following error:
*** Security Sandbox Violation ***
Connection to file:///C:\DBFiles\3.jpg halted - not permitted from http://localhost/test-debug/test.swf
-- Remote SWFs may not access local files.SecurityError: Error #2148: SWF file http://localhost/ullmanphp-debug/ullmanphp.swf cannot access local resource file:///C:\DBFiles\INDSprintOrgChart.pptx\3.jpg. Only local-with-filesystem and trusted local SWF files may access local resources.
at flash.display::Loader/_load()
at flash.display::Loader/load()
It looks like some sort of mismatch on security settings. I have done the following so far (based on what I got by googling....)
1. Flex comipler setting additional compiler arguments: -use-network=false
2. I have added a crossdomain.xml on the source directory with these lines...
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="*"/>
<allow-http-request-headers-from domain="*" headers="SOAPAction"/>
However, error is still appearing. How do I fix this for testing on my local machine. I cannot move to a webserver at this time.
Thanks!.How do I set Security.sandboxType related to flash player? When I try to see it in my application through debugger it says "remote". I think I need to set it to one of the following from the adobe manual pages...
Security.sandboxType has one of the following values:
remote (Security.REMOTE)—This file is from an Internet URL and operates under domain-based sandbox rules.
localWithFile (Security.LOCAL_WITH_FILE)—This file is a local file, has not been trusted by the user, and it is not a SWF file that was published with a networking designation. The file may read from local data sources but may not communicate with the Internet.
localWithNetwork (Security.LOCAL_WITH_NETWORK)—This SWF file is a local file, has not been trusted by the user, and was published with a networking designation. The SWF file can communicate with the Internet but cannot read from local data sources.
localTrusted (Security.LOCAL_TRUSTED)—This file is a local file and has been trusted by the user, using either the Flash Player Settings Manager or a FlashPlayerTrust configuration file. The file can read from local data sources and communicate with the Internet.
application (Security.APPLICATION)—This file is running in an AIR application, and it was installed with the package (AIR file) for that application. By default, files in the AIR application sandbox can cross-script any file from any domain (although files outside the AIR application sandbox may not be permitted to cross-script the AIR file). By default, files in the AIR application sandbox can load content and data from any domain.
Any input on how to set it would be greatly appreciated. Thanks! -
Secutiry error in windows vista gadgets
Hi everybody,
I'm trying to add a flash into a microsoft windows vista
sidebar gadget and I get the following security error :
SecurityError: Error #2060: Security sandbox violation :
caller ExternalInterface
http://test_server/player/widget.swf cannot access
x-gadget:///index.html.
at flash.external::ExternalInterface$/_initJS()
at flash.external::ExternalInterface$/addCallback()
at
com.acme.project.widgetClass.event::ExternalDispatcher/initExternalInterface()
at com.acme.project.widgetClass.event::ExternalDispatcher()
at
com.acme.project.widgetClass.controller::PlaylistController()
at com.acme.project.widgetClass::CarouselPlayer/initialize()
at com.acme.project.widgetClass::CarouselPlayer()
at
com.acme.project.widgetClass.application::BaseApplication/attachPlayer()
at
com.acme.project.widgetClass.application::WidgetApplication()
at widget()
My flash needs to download different files (pictures, music,
video) from the server where it's hosted and interracts with the
gadget (html pages) via javascript.
I tried to add a crossdomain.xml file and to set the
'allowScriptAccess' to 'always' but with no success so far...
Here's how the flash is added into the gadget :
var div_id = "playerDiv";
var fo = new FlashObject(
http://test_server/player/widget.swf,
"flash_movie", "262", "265", "9", "#FFFFFF");
fo.addParam("menu", true);
fo.addParam("allowScriptAccess", "always");
fo.addParam("allowNetworking", "all");
fo.addParam("allowFullScreen", "true");
fo.addParam("wmode", "transparent");
fo.write(div_id);
Thanks in advance to anyone who could help me,
Cheers,
VincentDoes anyone have any idea on this? I have upgraded to the latest version, still a problem...
-
SecurityError #2148 in nightly builds
Hello all,
I have little doubt that I've done something daft here, or completely missed a piece of documentation somewhere pertaining to using nightly builds, but I'm getting a security error when I try to build my Gumbo application with a nightly build (any of them). Compiling exactly the same application using the Flex SDK 4 beta 2 works no problem, but as soon as I switch to building with a nightly (4.0.0.13301 at the time of writing is the latest) I get:
SecurityError: Error #2148: SWF file file:///Users/allan/Desktop/Flex/GoSMonitor/app.swf cannot access local resource file:///Users/allan/Desktop/Flex/GoSMonitor/textLayout_1.0.0.584.swf. Only local-with-filesystem and trusted local SWF files may access local resources.
at flash.net::URLStream/load()
at flash.net::URLLoader/load()
at mx.core::CrossDomainRSLItem/load()
at mx.core::RSLListLoader/loadNext()
at mx.core::RSLListLoader/load()
at mx.preloaders::Preloader/initialize()
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::initialize()
at mx.managers::SystemManager/initHandler()
Clicking continue in the error dialogue results in a blank Flash player window.
I've seen mentioned in places while looking for an answer, that adding "-use-network=false" as a compiler option helps, and it does make a difference. I get a message saying my application is trying to communicate with fpdownload.adobe.com. Clicking okay results in the same blank Flash player window as before.
Thanks in advance for any help that can be offered,
AllanHi Darrell,
Thanks very much for pointing that out. I have done so now, and certainly seem to get further thought the process of actually running the application in Flash player, but am now hitting a different problem. In the Flash Player debug log I get:
Error #2032: Stream Error. URL: file:///Users/allan/Desktop/Flex/GoSMonitor/textLayout_1.0.0.584.swf
Failed to load RSL textLayout_1.0.0.584.swf
Failing over to RSL http://fpdownload.adobe.com/pub/swz/flex/4.0.0.13301/textLayout_1.0.0.584.swf
Error #2032: Stream Error. URL: http://fpdownload.adobe.com/pub/swz/flex/4.0.0.13301/textLayout_1.0.0.584.swf
I part of this message appearing in the Flash Player window as well, and it is not displaying any of the application (just a stalled loading bar).
What is the textLayout swf file? It doesn't appear to be in the Flex nightly download, although there is a 'textLayout' file (not sure it is even relevant...)
Thanks,
Allan -
Error when trying to play embedded movie
SecurityError: Error #2148: SWF file http://wings-of-lifedotcom/zodiac-code-video/zodiac-code-video.swf cannot access local resource D:\Users\Matthew\My Documents\MS Data Systems\wings-of-life.com\the-zodiac-code.flv. Only local-with-filesystem and trusted local SWF files may access local resources.
at flash.net::NetStream/play()
at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_play()
at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_setUpStream()
at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_load()
at fl.video::VideoPlayer/load()
at fl.video::FLVPlayback/doContentPathConnect()
Why is this happening?This is from a page that works correctly:
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','360','height','280','title','about us','src','about_us_2008','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','about_us_2008' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="360" height="280" title="about us">
<param name="movie" value="about_us_2008.swf" />
<param name="quality" value="high" />
<embed src="about_us_2008.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="360" height="280"></embed>
</object></noscript>
This is from the page that does not:
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','360','height','236','title','zodiac-code-video','src','zodiac-code-video','quality',' high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version= ShockwaveFlash','movie','zodiac-code-video' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="360" height="280" title="about us">
<param name="movie" value="zodiac-code-video.swf" />
<param name="quality" value="high" />
<embed src="zodiac-code-video.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="360" height="236"></embed>
</object></noscript>
The only difference is the movie name. I just cut and pasted the code from an existing page and put in the name of the new movie. Why does it not work?
Thank you.
Maybe you are looking for
-
The iphone not working after the apdate
My iPhone does not work after update ios 7
-
This copy of Windows is not genuine Build 7601
Some time ago, malware damaged my windows 7 professional by making it not genuine(I keep getting those annoying pop-ups). I've discussed this subject in length on the windows support forumn, but still haven't fixed the problem. My PC came ins
-
Converting JPanels as image objects
hi, i am having problem in converting a JPanel object which consits of some JLabels and images into a Image Object. Actually i want to save the JPanel as a jpg file which i will do with jped encoder. so please help me in converting this JPanel to ima
-
How to save it by Adobe Reader
After I edited by Acrobat Pro XI, then I open it by Adobe Reader. However, after I fill all the blank that I would like to save it as a file. But I could print it only, but no save it. How can I save it after I fill all the blank by Adobe Reader? Ple
-
Create AD group using powershell
foreach ($item in $list) { If ($item.GroupName -eq "") { Write-Host "[ERROR]`t Please provide valid group details in spreadsheet." -ForegroundColor Red } Else { $item.ID = $ou New-ADGroup -Name $item.GroupName –path "OU=$ou,