I've got Flash content that needs to run within a web page off a CD. It works fine if I change the security settings in the Flash Global Security settings screen but that can only be accessed online. So...an the security violation be overcome with a cross-domain XML on the local drive somehow?
I use a laptop which is never connected to the web for customer demos away from base. It does not have the Flash authoring environment installed either. Furthermore, a customer's own system used to run development versions of web sites using HTML with Flash content is not guaranteed to have web access either. Because some of the associated FLV files are quite large, uploading to a web host for such testing is not really viable even where clients have web access at meetings.
I have an AS3-based project which triggers Flash 10 local security protection on systems other those that used for authoring, for which the workaround is to set the source folder as trusted using the Flash Player Settings Manager. but [URL] doesn't seem to offer a useful way to avoid this problem without going on line to the Flash Player Settings Manager via an Adobe web site.
Could anyone please tell me how I can change the number of milliseconds at which a setInterval function repeats, whilst the movie is running? I am using setInterval to call a function which duplicates a movieclip and I need the duplication to happen over decreasing amounts of time. The problem seems to be that the setInterval function only needs to be set once, so declaring it again with a new interval value isn't an option.
i have a big flash file that loads in but takes a noticeable amount of time to download. Its a header and i was just wondering if i could have an image instantly appear and then when the flash is downloaded seamlessly overlap it? Just wondering if there was an HTML to do this?
My SWF resides on domain A, is loaded by a web site on domain B and is trying to ping URL (URLLoader.load) on domain C. But I am getting "#2048: Security sandbox violation" .. why? Of course I have read the manual, I saw the security white paper but I do not understand it. Don't you know any blog or such where it is explained for dummies? With lots of examples and maybe a table showing what is allowed and what is not?
I get following error: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: [URL] cannot load data from 192.168.3.5:4854. at TicTacToe_fla::MainTimeline/TicTacToe_fla::frame1() ". I tryed to solve this problem about 3 hours, but I failed I have the file crossdomain.xml in the same folder like my .swf file on the server with this content:
In order to work offline I'm using XAMPP to develop a website which is working great except that I can't see any Flash content. External Flash players have no problem working offline but obviously won't load anything but SWFs and FLVs. Is there a way to get Flash to work in a browser while offline?
I'm building a site that needs to work both online (served in a browser using http://), and offline (served in a browser using file:///). The site is using basic HTML, but needs to be able to play FLV or MP4 videos. There are many video players that work online, but getting a player to work on the users machine is more problematic. Every one I have tried either doesn't work or shows a message about adding the flash movie to my trusted files in flash player.[code]Has anybody experienced a similar problem? Does anybody have a suggestion for alternatives that may work.
The user is downloading the .swf file (an e-brochure) from a link in an email. I'm trying to track the users interaction on the offline .swf. Is this possible?
I am trying to create a 'Password' database with flash to push both to and from an external database, the only problem is that I do not want to have to run IIS or Apache or any other web server. Is there any way to read a non localhost/web based type database within flash? If so can someone point me to a tutorial or at least in the right direction?
it does of course save the flash/game cookies to the macromedia folder but, what if i want to reformat? how would i, on reinstall of windows reload my game progress? theres gotta be a way?
I am currently using Flex (Flash Builder 4) and making web service connections to a Apache PHP Zend AMF server to retrieve data. This works great, but I am wondering what options are available for fault tolerance. I know I can probably set up a second server that the application would switch to in the event it is unable to reach the first server. I am also thinking about trying to give each individual machine some tolerance.
For example, if they at least had the ability to input data to the application, that would be a start. So if they click 'save' and it can not reach the server, it caches it or stores it to a local file until the server is back up. Though lack of being able to do data look-ups might be a big problem. Maybe there are already some libraries or something I can look at to do this?
I've recently sucessfully ported a PHP/MySQL driven search to an offline Flash and XML format. It works perfectly loading its results from a large selection of XML files.The problem I have lies with Msie under SP2. Since there is a html frame structure for the offline site the browser silently fails to show the Flash movie that loads the XML files from the hard drive and displays search results. Another movie is responsible for collecting the search query and sends it to the results movie through a localConnection. Msie under SP2 obviously needs to be configured to allow this Flash file to be loaded and to let it retreive its xml files. My question is, are there nicer ways to work around this problem other than asking the viewer to manually configure his/her Internet Explorer..
I've recently sucessfully ported a PHP/MySQL driven search to an offline Flash and XML format. It works perfectly loading its results from a large selection of XML files.
The problem I have lies with Msie under SP2. Since there is a html frame structure for the offline site the browser silently fails to show the Flash movie that loads the XML files from the hard drive and displays search results. Another movie is responsible for collecting the search query and sends it to the results movie through a localConnection.
Msie under SP2 obviously needs to be configured to allow this Flash file to be loaded and to let it retreive its xml files. My question is, are there nicer ways to work around this problem other than asking the viewer to manually configure his/her Internet Explorer...
I am getting a strange problem while I am making my release build swf.The swf is supposed to make some internal server calls and then display the data and also play it.When I make a release build swf and excute it, while making server calls it throws exceptions likeSecurityErrorHandler: [SecurityErrorEvent type="securityError" bubbles=falsecancelable=false eventPhase=2 text="Error #2170: Security sandbox violation:file:///Path to the swf/WebPlayer.swf cannot send HTTP headers to **Method Name to bring data from the server***]And after this nothing can be done as everything depends on the data from the server..I have updated my cross-domain.xml on the server to support the master-only policy file but that also didnt ..My cross-domain.xml is
I haven't fully grasped how the flash security model works, and now I've ran into a problem. I have a base SWF that loads a game loader swf, which in turn loads the actual game.What I'm trying to do is taking a current bitmap snapshot of the running game. This works fine before the loader swf has loaded the game. When the game is loaded, I get a security violation because the game has images pulled from facebook. Is this something that can be solved on my end, or restricted by security in the game swf?
I have created a button, and once you hit the button (within the HTML page), I want it to open another HTML page in the same frame, both HTML pages are stored in my hard drive offline. It required coding in the code snippet panel which I do not know.
I'm working with FLash+XML, and I had a thought: I don't want to give my clients Flash+XML solutions, if they will have to edit the XML themselves. It's too complicated for them.So I thought of a Flash Application for offline use, that would be some sort of a XML Content Management System, built in flash, suitable for offline use (user should upload updated .XML files which is OK). In this app, creating / editing / removing nodes should be like managing folders and their content in Windows Explorer.I don't believe my mind is bright enough to be the first having this idea, perhaps such program already exists. Does it?
I'm working with FLash+XML, and I had a thought: I don't want to give my clients Flash+XML solutions, if they will have to edit the XML themselves. It's too complicated for them.So I thought of a Flash Application for offline use, that would be some sort of a XML Content Management System, built in flash, suitable for offline use (user should upload updated .XML files which is OK). In this app, creating / editing / removing nodes should be like managing folders and their content in Windows Explorer!
I don't believe my mind is bright enough to be the first having this idea, perhaps such program already exists. Does it? If not, please enlighten me: which kind of function allows me to "write to XML file, offline"?
I'm having timing problems with a music video I am working on. The framerate it 24fps which for a 22 second animation should give me 528 frames. However, In the preview of the slides the 22 second mark on the sound is reached by about 310 frames. What's more, the 22 second point in the sound is reached at a later time in an exported swf movie, but still not 528 or 310. Why is the timing different in all viewing modes, which one should I use to time my video or how can I set them to all display the video at the correct timing?
create a xml news board, i finally completed the news board and i had no problem displaying my offline xml file.I uploaded it to my testing server and nothing came up. i parse the rss feed in a different way ?when i tested it on my testing server. but when i tried it locally from my flash app it worked.
I would like to know if there is a way of maintain the stroke size whilst resizing my object with actionscript.I have an object that imported from Illustrator with a 7pt stroke and would like that stroke to maintain its aspect even when resized to 10%
I'm having trouble with an AS3 AMF RemoteObject request that is hosted on App Engine. I have a crossdomain.xml file in the root of the domain, and also one at the remoting endpoint.Here are the contents of the root crossdomain.xml:
Loading the swf file and testing it on my machine works just fine... I think that may have something to do with me having the debugger version of Flash Player. When I push it up to App Engine to make it public, other clients access it and get a Client.Error.MessageSend Channel.Security.Error error Error #2048 url: http:[url].......I am using Flex 4 beta, and the App Engine Python runtime. I have tried full wildcard in the crossdomain, and even accessing the data endpoint at a relative URL so as to avoid this error.
The site I'm developing at the moment has an FLV at the beginning which is used as an intro animation. I'm streaming it in using netStream but I've run into a problem.Is it possible to have th flv pause on the first frame of the video and then play once enough has been buffered? At the moment it shows a black screen sometimes.
I thought that a way to combat this would be to have a screenshot of the first frame that I display until it starts playing and then just remove it once the video gets to frame 2. However, I don't know how to track whether the playhead has gone past the first frame in flvs.
I need to be able to continue rendering a SWF file whilst it is off screen or minimized. Taken from the adobe website: "This is an automatic feature in Flash Player since version 10.1. Flash Player minimizes processing when SWF content goes off-screen."
I have extensively searched around for a solution on this. One solution suggested was to use the HTML parameter "hasPriority" and set it to true which will ensure some things are not paused. SWF content will stop rendering regardless of this when off screen or hidden.Does anyone know if it is possible to disable this automatic feature so my SWF will continue to render off screen?