I am trying to run a local version of a website on my computer for development. I have mamp installed along with the mysql database. I am able to go to http://localhost:8888/.... to get to the local copy of the website and everything works greatThe problem comes up when I try to watch a flash video. The flash video player was custom made by the development team before me and I have no experience in flash. figuring out how to get flash to run of my computer locally.I have tried changing the global settings(but maybe I did this incorrectly).
I found many helpful guides to work with Flash and XML. But everytime I look for ways of sending back to XML changes produced in Flash, the tutorial always assume that we are using a server. Is there a way for having a Flash projector that everytime it starts 1-checks for data to load to the projector 2- lets us do changes to data (add, change and remove xml data) 3- and in the end we can save the changes made to the XML file that was initially loaded?
I am creating a local app that is going to be a swf file. Is there anyway to check if the user has internet while they are using my app. I tried this, it works great if testing the movie from flash, however, It does not work when running the swf file independently. I'm guessing this is because it is strictly intended for air app.[code]...
UrL...in the example each button attempts to contact a php script and the result is displayed in flash.if the php file is not available on the server (ie: server could be down or the file doesn't exist) shouldnt an ioerror be thrown.The frustrating thing is the ioerror gets thrown if you are using DATAFORMAT.TEXT but not when you are using DATAFORMAT.VARIABLES (i didnt try BINARY)Shouldn't an ioerror be thrown regardless of which DATAFORMAT type you are using?That's what happens when you run the file locally. Why doesn't this happen when it's deployed on a server?The error that gets thrown on the server (and you will see if you are running the debugger version of flash player) is the 2101 error:Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs.This makes (some) sense cause is seems the loader in flash is getting a response (from a file that is not on the server) but the response is not in a valid format.
Checking the httpStatus is of no help either as it is 0 in all cases whether the file exists or not.Does this sound like a bug or is there something I am missing? Perhaps some way to catch the 2101 error i have tried but without success.the source (cs3 just to be safe) is available at the link below if you want to see/test for yourself. DOWNLOAD SOURCE
We are using flex for same. (Although I know flex is meant for web application and air application is best suited for desktop clients, but due to some build issues we can't go for air applications). Now according to our use case we required to read file from local file system which is not allowed in flex application due to sandbox policy. To override it we had planned to use it in local mode (i.e. running from local file system instead of deploying in web container). So after running application in local mode it bypasses sandbox policy and allows to read local file. Eventually we requires remote services call (either using web services or blaze ds) also in our application. To avoid sandbox restriction for network access in local mode we are planning to explicitly grant network access permission to our flex application.
I'm developing a game add-on/plugin which replaces a built in feature of an online game. The game loads an .swf therefore, my solution also has to be an swf for it to work 'in-game'.
I would like to be able to have the user press a button in the custom .swf I am making - and this would open an external application (amongst other things). I.e. if there was a button that said Notepad, it would open Notepad.exe on the machine.
My initial thinking was that i could have a XML Socket server 'daemon' runnning (c#) , which i could connect to with flash - however, as both the swf and the daemon are local, flash complained and gave this error: "Error #2010: Local-with-filesystem SWF files are not permitted to use sockets."
The only way i know to fix this - is to change the security settings of flash - not very user friendly!
So! Any thoughts on how I could otherwise go about this? I was thinking a custom http server could do the trick (connected with URLRequest) although i'm not too sure.
I have a SWF file located at the local network in the public shared folder that I do not control over trying to read the external file on the local network.
I am currently hitting instead an security violation
Error #2148: SWF file file://....mySWF.swf cannot access local resource file://...config.xml"
I've added the network path where SWF an XML file resides to "trusted locations" via Flash Player Global Settings.
The added network path is successfully displayed at the list of "trusted locations" within Global Settings Manager, but it does not look like Flash Player is able to really parse the local network path as a "trusted location"
I have a strange problem. When I run an exe projector that I exported from flash cs5.5, and on few of my client's computers it running very slow in full screen.When I running an swf file (not exe projector), also in full screen, it running well!I checked my clients computer hardware, and it match the system requirements of flash player.
I have a problem in Flash Site uploading.That is, i have created a flash site & in the dreamweaver i inserted the flash site as insert -> media -> Shockwave.The site is running inside the dreamweaver but when i publish it, flashsite is not running.
i am having a problem launching a local html file from my swf. i have a button called print that when clicked it is supposed to open the local html file and print out the content. this is the code i used on the button
on (release){ getURL("folder/folder/file.htm","_self"); }
I have a HTML box and load a local html file from the project. In this HTML file I use jquery and I want to load an image from my user directory. I see the image from my user directory but jquery doesn't works. I get this error:
[Code]...
But if I load an image from the app workspace, everything works fine (I see the image and Jquery works). Is this a policy problem? The error says that is a "null object reference" problem, but this can't be true...
I work on a lot of digital media projects; which often require dynamic graphics. I find flash to be a great tool for this purpose. It's very easily to dynamically change text inside a swf, compensate for text overflow and apply lots of nice filters and effects. Not to mention font embedding. This technique works great for web pages, however quite often we want to use flash generated artwork in a html email. How can we do this? Well, we can use as3corelib to generate a jpg from a swf, and then use the generated image in an email.This is fine, so long as we can pre-generate all of the images, before sending out the emails. But say we need to generate the dynamic jpeg on the fly from a webpage? If the user on the webpage has flash installed we could configure a swf to generate the image for us.But what if the user has flash disabled? Maybe they are using an ios device or simply don't like flash. What I would like to do is set up a server side fallback that could run a swf, replace text in the swf based on supplied variables, generate a jpg using as3corelib and save the jpeg somewhere. The trick here is running flash player on the server. It would also need to run in a multithreaded way in case the server needed to process multiple requests.
I'm wondering if there is a way for a SWF to check at runtime whether it is running as an online SWF or an AIR app? I need to use the same SWF to run both online and locally, however when running as an AIR app, external assets are located in a different directory. I'd like to check whether a SWF is local or online so I can change the source path for external assets accordingly.
is there a way to speed up flash movies playing when put up on the web. I created a web banner and uploaded it, when I open the website on the browser the flash movie pauses for a few minutes and does not play straight away. Is there any actionscript that will ensure the flash movie will play instantly when on the web? Is it the file size that is causeing the swf to run slower? Is it anything to do with the publish settings in the fla file?
I'm using Vista 64 on a more then adequate laptop, I initially used Flash CS4 and it was great for the past week but a few days ago it started geting really slow, whenever I copy, change frame, select something, basicaly any change action I have to wait about 5 seconds or more for a reaction. I'm using it for simple animation, no symbols, just 3 layers. I have a deadline coming up for my final production and if I can't fix this fast I'm screwed. I've tried every solution I can find, including trying Flash CS3 and Flash 8, nothing seems to fix the slow speed
I made a flash video for my science project today, i added some music to it too. but the music keeps on runnning even when the presentation is over. and when i even stop it, and play it again, the audio runs in the background from the last time i played it and another stream of that audio starts from the begining. as if i play the song onec from the beginning and once from somewhere in the middle and both at the same time.
So im trying to get my flash portfolio up and running. And im using the code I usually do for buttons which is for example:
function onbrandingClick(evt:MouseEvent):void { gotoAndStop("branding"); } branding.addEventListener(MouseEvent.CLICK, onbrandingClick);
All my menu buttons are working until I click on portfolio which has 6 different catergories and it just stops at branding and the other category buttons wont work. They are all set up fine with instances and such. However the buttons in the menu will still work.This might be confusing but I am up for sending the file to show someone if anyone is interested!
I'm new to webdevelopment and I am looking for some tutorials or resources about how to run C++ code in a browser. I soon going to do a degree project which implements a sound service in a browser (like flash I guess) using a provided DLL + my own program, so I'm looking for some starters on where to look. I don't have alot of webdevelopment experience but I do have a programming background C/C++. Cheers
I was asked to create a screensaver capable to run on both win and mac. I am ActionScript developer, so I prefer to solve this using Flash/SWF. I know this is possible using several tools:Projectors such as Zinc or SWF Studio (os independent, $$$)Converters creating screensavers that use the Flash Player (one converter per os necessary, requires Flash Player on user machine, freeware)Adobe Air created screensavers (os independent, requires Air on user machine, no costs)I do not have control over the machines the screensaver will run. So everything needs to be simple and safe. I would go for option 2, but I am not sure if the tools I discovered are reliable.What tool you recommend to create the screensaver descibed using existing SWF files?Is there another (single) tool to create the screensaver without using Flash/AS/SWF?
I have made a simple animation in Flash and the i exported into a swf. The problem is, that the movie is running slow, jerky or in other words is playing in slow motion. I have changed the frame rate but with luck, is there a problem with video player/codec?
*Edit1: the clip doesn't have any code, is hand drawing on 6 layers; also when i import this movie in Adobe Premier and the export in .avi the jerky effect disappears.[Url]
I just installed all the requirements, JDK, Eclipse JRE and Android SDK. I managed to create something like the touch cat screen miau, but instead of running/testing it in the Android phone, how can I test it in the Eclipse Emulator?
I have had an issue come up a couple times with publishing a stand-alone projector with Flash Player 10. When running in fullscreen mode, the visual of the program will freeze occasionally. The program actually continues to run in the background, and respond to clicks, but you can't see it happen. If you escape out of fullscreen mode, then you can see the program running, and the result of the touches (clicks) that you couldn't see in fullscreen mode.The strangest part is that the program continues to run, but the screen just doesn't update.
I've met a problem while trying to stream with my camera. Whatever i try, by switching the camera (3 different UVC-cameras) or which Linux-OS (CentOs, Fedora Core) or testing at different Flash-Sites (incl. one of my own) - i always get a resolution of 160 x 120. Other applications manage up to 800 x 600.
Is this a known Bug/Feature? I've searched the Internet and found many people with the exact problem, but with no solution. What should i do? The tool flashcam didn't work either.
Adobe Flash Pro to create my own Flash animation for an online class assignment.I downloaded the trial fine but I have no idea how to open it and get into the program.There's no icon for it and it's nothing in the Start Menu.I'm running Windows XP by the way.There's a folder that says adobe Flash Pro CS5, but I don't know how to open the program itself to get into the work area.I also extracted the zip files but nothing changed.Just s folder named "Flash Pro CS5" which contains "Adobe Flash Professonal" and "Goodies" folders with a Readme.pdf.