ActionScript 3.0 :: Files Not Working Local Vs Internet?
Jul 26, 2010
I had to change my global settings to be able to view my project on my local machine (clicking on index.html and have it open with explorer). Everything runs fine, locally.Videos play, music sings, everything is great.I put it online, no videos will play.All files are where they should be. I've checked 50 times and will do #51 soon.My swf does do some activex calls (this will eventually only be run locally on machines in a wrapper so its like a kiosk)
I'm currently developing a flash game and I need to be able to test it on my local machine and also on the web. When running locally I use some dummy test data and when online it is joined to an API. While in development I would like to be able to detect where I'm running so I can switch between these automatically. Is there a way to detect this in Flash?
I need to find a way to develop a program which can run local and server side. I don't know silverlight/flash or something else can do it.Is there any framework/language/platform which can work over internet when internet connection exists and can work when internet went off?
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]...
My users upload a certain kind of text file that sometimeshas references to images stored locally on their hard drive. I needto check this file either on the server or within a flash app tosee if it has these references and then grab those images in aflash app to upload to my server.So I can use FileReference easily enough to have users uploadlocal images. But FileReference requires users to select their files with a dialog box. I can't have that. Myusers wouldn't know where to look and there are typically way toomany files, sometimes with the same name but in differentdirectories.
I can also just use URLLoader with a local URL, I guess I canprobably just use Loader too? That works great. The problem here isI can't communicate with both the server and the local filesystemin the same flash application due to Flash's security sandboxrestrictions. So I can get out of those security restrictions byplacing or editing a trust file in designated locations on variousOSes. I then need to install this trust file which is more invasiveand confusing to users then I want to be...Java's method of accessing local files from a web applet bysimply signing the applet with a certificate and having a dialogbox popup where the users grants access is ideal. Is there anything
I am trying to prevent users from viewing my site and then simply going into their "temporary internet files" and stealing my swfs and XML files. I have been using a great .PHP code to stop this but now I am working on a server server that only uses .aspx files. Does anybody know of a way that I can stop files from being stored in the "temporary internet files" folder. I have encrypted the files but this is not good enough.
I have a flash project, its working fine in local system, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading... [URL]
I have a flash project, its working fine in local system and checked this file with uploading in someother websites, its working fine there too, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading.URL...and here the same file which i have uploaded it in other server its working fine.URL...
I am trying to prevent users from viewing my site and then simply going into their "temporary internet files" and stealing my swfs and XML files. I have been using a great .PHP code to stop this but now I am working on a server server that only uses .aspx files. Does anybody know of a way that I can stop files from being stored in the "temporary internet files" folder.
I've been trying to create a screensaver that dynamically loads images and text from a server, but it seems like I am not able to load anything outside of my own computer at all.It seems like the problem is coming from the Security Sandbox, the sandbox type for the screensaver stays "Local_with_file" meaning it can access local files but cannot access files from the network. What can I do to make the Sandbox "Local_with_network" as I do not need to load anything locally, but images and text from a server.
I'm getting close to finishing the application I'm working on, and the person I'm working for is going to be distributing it via DVD. to package my flash file in some format so that when the user opens the file, it will open the swf in an internet browser?
The reason I need to do this is because I have some xml data in it that is keeping it from being fully functional unless opened in an internet browser. I'm not entirely sure why this occurs, because the file works fine in Flash Player on my computer, but not when moved to anyone elses. So, the workaround is to open it in an internet browser.
Anyway, I figure that in order to have the file open in an internet browser, it'd have to be packaged as an exe or some other similar file type, but we want it to be cross-platform.
Maybe there's an easier way, but I need to find out how to package my swf file so that it automatically opens in a browser.
Is there anyway to make flash look at the temp internet files.I have a program that is photo heavy, actually a slide show and it pulls jpegs at 50k per photo.However it also pulls a lot of bandwith, no matter how many times you flip thru the photos, it gets a fresh copy from the server. It would be great to tell flash to look at temp inet before going to the web as the explorer does.
I've been trying to create a screensaver that dynamically loads images and text from a server, but it seems like I am not able to load anything outside of my own computer at all.t seems like the problem is coming from the Security Sandbox, the sandbox type for the screensaver stays "Local_with_file" meaning it can access local files but cannot access files from the network. What can I do to make the Sandbox "Local_with_network" as I do not need to load anything locally, but images and text from a server.
I am learning to code in flash by making simple virtual paper doll games. My most recent works fine in Safari and Chrome, but in IE gets the dreaded "a script in this movie is causing Adobe Flash to run slowly" and either refuses to load or plays everything immobile and blinking.
The game can be seen (or not seen, depending on browser) here: [URL]
It seems to load until around the 20% mark and then freeze. The game also works fine when directly in my computer instead of on the web.
I know someone has had this problem. I used Lee Brimelow's preloader:
http:[url]..........
ActionScript Code: //Import the required assets import flash.display.*;[code].........
In Safari, and firefox, this works fine. However, in IE, the preloader never moves past the first screen. See here: http:[url]........... I then noticed, If I right click on my flash player settings, and turn the "Loop" option off, and then hit play, it works fine. Is there a way to fix this or turn off the loop mode that is auto checking itself? It appears that my movie does go to frame 3, and then directly back to frame 1, in which it stops, leaving the grey preloader bar at its final resting place, but not moving forward to frame 3 like it should. I added a stop action to frame 3 as well, so not sure why it is moving past that frame, and back to the beginning.
have a big Flash (AS2) book, with a small button that, on zoom, disappears (_alpha = 0)This is working either when i run the swf directly, in Firefox 4 and Chrome.
We have one player in this player we are playing flv files. If we are opening that player in the mozilla we can view the flv file after 2 second but in the internet explorer we can see the same flv after 20 to 25 second.
Ok so we have a website at www. wsca .ie. This website has a flash banner along the bottom of the page but our problem is we have installed flash on our clients pc and updated his internet explorer but still the flash banner doesnt display. Also we have checked to make sure flash is enabled and it is so is there anything else we can do to get this to work?
I've embed a magazine through a WP plugin (a flash viewer basically) and it doesn't work properly on Chrome and IE9 (drop-down menu elements are covered by the viewer). The page is: pastoraluc.cl/dialogos.Here and here I found some tips to improve flash behaviour through CSS (z-index and position) and flash wmode option, but CSS didn't work to me and I can't modify flash options in the WP plugin provided by Issuu.
I though in changing the platform to a common HTML object tag inside a div, but in that way the magazine is too different of what I need.
I've programmed a Java application using BlazeDS and Flex, but i think the problem also occurs in any ajax style application. It's a monitoring application, so requests are made regularly to the server. The browser has stored a large amount of temporary internet files on the client pc even getting it saturated. How I can avoid this? I have seen some articles that say to include variables in the html header as:
I have a flash banner and css menu to use.I tried flash with wmode as transparent for flash banner which makes the css menu to come over the flash banner.but the button which is there in flash is not working in IE 7 and it's lower version.
Actually I dont know in which section I can put my doubt? My problem is I have a full flash site .The swf file is working properly .But some links are not working while it is testing in internet explorer.It works when testing in Mozilla.The swf is in flash palyer 6. find out what is the problem with internet explorer.