ActionScript 3.0 :: URLRequest Only Working On My Machine?
Nov 10, 2010
I have a few links in a game to take the user to to a page where they can buy a product. If I publish and test the game on my own machine all the links work fine but I have tested it on several other machines (macs and pcs) and the links are completely dead and nothing happens.[code]
View 2 Replies
Similar Posts:
Mar 7, 2012
I wen through the flare 3d tut and got everything working in Flash Player 11.1 embedded in a HTML document, however it does not work when I try to view it once it's been placed on a web server. I can open the html page from my local machine and it runs just fine.
View 6 Replies
Nov 2, 2009
I cannot ascertain why the code for one set of navigation buttons I've created works, but similar code does not. The code is rather lengthy, but I've pulled out the salient components to see if the Interwebs could help.
Here's the script that IS working:
Listener code:
Code:
cswordbutton.addEventListener(MouseEvent.CLICK,fetchcswordassets);
And the function code that goes with it:
Code:
function fetchcswordassets(e:MouseEvent):void{
var url:String = "knowntomeURL";
[Code].....
1) All of the actions are in a separate layer in the first frame;
2) There is only one scene;
3) I've given the same button a different instance name in many cases, to coincide with different expectations (URLs).
View 4 Replies
Aug 7, 2006
I've an interactive map to locate some places. Eveything is working fine in pc. but it's not working in safari (Macintosh Machine). While clicking the buttons at the bottom of map, the map is not scrolling to locate the position. As far as I know the browser acts as like a tool to display the flash content. Everything is rendered by flash player. But why it is happening like this. The flash player (Ver 8.0) I've tested is same in PC and Mac machine. This is the url [URL]
View 1 Replies
May 17, 2011
When I place one link in AS3 with a stop everything works great!
stop(); import flash.events.MouseEvent;
//---link1 var getLink1:URLRequest = new URLRequest("http://www.google.com");
[Code]....
View 3 Replies
Aug 24, 2010
So my problem may be a little bigger than that, but I'm not certain. I'm creating a custom flash photo viewer for a client that dynamically loads the images with Loader objects. It takes a folder name in a specified directory on the server and calls a php page (using URLRequest) to get the workable contents of the folder. And then it loads it up from that array.
Here's the problem: it works FINE on my machine and every machine I've tested it on, but it DOESN'T work on my client's machine or some of his customer's machines. The loader bar that's at the bottom of the screen doesn't start to fill, which means that the images aren't starting to even load, and the status bar indicates that it continues to wait for a the server, yet never finishes waiting. This is consistent on a single machine, but varies across machines.
I've added diagnostics (a custom class I made to track certain vars and collect errors) to the thing to catch any errors, but it reports nothing on my client's machine. I've added flash version checking code, so the possibility of a lower version messing it up is gone... I guess my question is, is there anything (security, environment, etc) that I could have overlooked that doesn't allow request objects or something to work on certain machines?? I've been ripping my hair out trying to figure this out!
[Code]....
View 2 Replies
Feb 13, 2012
I used upload functionality by html . using given code it's working fine .
[Code]...
BUT GETTING Bad request error . so anybody know , what did i wrong in code.
View 1 Replies
Aug 11, 2011
We have a quiet big flex application compiled with flex 3.4 SDK.We also have several modules to load after some requirements (some at startup, some later).Everything is compiled with the same version.At some point i got this exception on my machine and don't know how to fix it.
VerifyError: Error #1014: Class mx.modules::ModuleBase could not be found.
at flash.display::MovieClip/nextFrame()
at mx.core::FlexModuleFactory/deferredNextFrame()[code]....
I removed and installed already several flashplayer versions, but always the same error.When we copy the artifacts that are compiled on my machine somewhere and somebody else opens it on his machine it works.
View 2 Replies
Aug 12, 2009
In my movie i have a link button with following, simple, function creating a link:
[Code]...
lately i've associated a class file (.as) to my movie and immediately after, when publishing the movie i got the following error message: 1046: Type was not found or was not a compile-time constant: URLRequest. as well as a couple of other related error messages: 1180: Call to a possibly undefined method URLRequest. 1180: Call to a possibly undefined method navigateToURL. when i remove the link to the class file, the problem goes away. also, i have checked the class file for mentioning of "URLRequest" and nothing is there.
View 9 Replies
Jul 30, 2009
I have Flash CS3 already installed if I want to install Flash CS4. Can I run them both on the same machine?
View 2 Replies
Aug 30, 2010
I just saved a file I was working on and Flash CS5 crashed on me as it was saving and now the file is corrupt and won't open (because of our obsolete file system).
So I recommend OS X users to use Time Machine so you always have a backup of the file being made as you work.
View 1 Replies
Feb 9, 2011
Is there a way to get a reliable machine time that cannot be altered by changing the time/date on a mobile device or computer?I'm looking to find a way to see time elapsed in an air app where you can...
run the app
change the system time (back an hour, or change the date forward by two weeks, etc.)
run the app again with the correct time passed
how to implement this without relying on server connection?
View 2 Replies
Dec 17, 2009
I need to play a swf on a machine that does not have Flash installed. I know I can open it in a browser, but is there anywhere I can download the external (from the browser) swf player?
View 2 Replies
Nov 20, 2008
I got an error message, when trying to compile. At one point it was working, but maybe I screwed up one of the environment variables.
View 1 Replies
Jan 26, 2010
I have been running a test server using Apache as the web server. The problem is I need to be able to run FMS on an IIS machine, and there is a conflict over each trying to binding to port 80. I have read that a solution to this problem is to have 2 IP addresses, having FMS bind to one and IIS bind to the other. This is not a requirement for Apache and FMS. Why is it a requirement for IIS and FMS? This question my show my lack of knowledge of the difference between the 2. But, is it possible to configure IIS or FMS so that they share port 80 like FMS and Apache do? how Apache and FMS work together, and why IIS cant?
View 2 Replies
Jul 21, 2010
I built an AIR app a while ago. One of the users today got a new machine (XP) and keeps getting a 2032 error when the app tries to send/receive data via HTTPService I verified that this page works when accessed within a web browser. It also works on AIR apps on other machines. The page and the AIR app haven't been changed for months, the only thing that has changed is this particular users computer. I recompiled to get a more specific error and this is what I got:
[Code]...
As I am writing this I had the user restart and relaunch the application, it is now working so I am not too worried about it,
Today (next day) It is happening again and restart isn't even fixing it today. It has to be something on her machine interfering causing the problem because I can run the program on any other machine just fine with no problem. Not sure what it could be or how to troubleshoot that?
View 2 Replies
Aug 25, 2010
Finally got this project all wrapped up and working perfect, and was feeling pretty proud of myself, and then I went and posted the exact same .swf on the web and it doesn't work anymore. Specifically, there are a bunch of icons which I hand placed into the FloorMC - which then attachMovie a copy of themselves into a LegendMC and UtilityRefMC, but they dont seem to be attaching anything when I run it through a browser.
[Code]...
View 9 Replies
Apr 16, 2006
I am doing the Flash Forms and Databases tutorial, using freewebs (this could be the problem to start with), and whenever i run my program i get a risk error telling me the file was restricted because it didnt match its securit information. All the HTML tags are displayed on the page, and if i show risked content i just get my asp page. What am i doing wrong? Answers on a postcard. (or alternatively post them here)Is it possible to run this tutorial on my machine without connection to the net? what variables would i change?[code]I just want mine to refence a scene and frame. if i use gotoAndStop then define a variable for example deifintions, how would i reference this in my flash file?
View 5 Replies
Nov 12, 2010
i have an old-school background (C, assembler...).
First, if you're writing a simple game and have a state machine that is called every frame to handle attract mode, gameplay, game over states etc., does the AS/pseudocode code below basically make sense in the AS world? I've read a little of Jeff Fulton and others that talk about FSMs and function-reference state machines, but it would be good to get some comment from people here.
Second, if the initgame() function is part of the state machine, it has to complete within one frame, else will get called again before it's finished. But initgame functions can be lengthy - setting up graphics, initiating landscapes, maybe doing procedural generation, etc. By their nature they're called once as needed, not every frame, and are framerate-independent. But if they're part of the state machine, they're tied to the framerate. How to handle that basic dichotomy? How is it possible to perform the initgame() function outside the framerate-bound state machine, or else to guarantee that the enterFrame event won't trigger re-entrance?
Code:
public function Main():void {
public var state:int=1;
initprogram();[code].....
View 6 Replies
Jun 16, 2009
How to reset machine,like when this never ending while loop, is running,and flash is stuck?I mean I should gain back control.
View 2 Replies
Oct 18, 2009
I have an xml driven swf enbeded in xhtml page that plays fine when tested on local machine through dreamweaver CS4 but once uploaded to site, swf won't load. The music plays however so I know it's not about the linking.
Here's the xhtml code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="[URL]" width="500" height="400" id="mymovie" align="middle">
<param name="FlashVars" value="xmlFile=VVsite/robshow/virtual_tour.xml&preloaderBackColor=0x0099ff&prelo aderBorderColor=0xCCCCCC" />
<param name="movie" value="VVsite/robshow/virtual_tour.swf" />
[Code] .....
View 3 Replies
Feb 5, 2010
I created this flash object, which preloads the file on the first frame before continuing to play, yet on slower machines it moves much slower then the 30 fps it is supposed to play at. The file is 1.2 MB in size. Using actionscript 3.
View 3 Replies
Mar 23, 2010
flash works on local machine but not server?
View 1 Replies
Mar 21, 2012
I have an issue whereby a new font (FFF Forward variant) installed on some machines works perfectly in flash (cs5.5) but on one machine causes an instant crash when the Type Tool is used.I know the font is the core of the problem but am unsure why it works on some flash installations (same versions) and not others?
I have tried every conceivable way of uninstalling/installing the font (even cmd prompt and safe mode!)I have flushed preferences files (obv inc typesupport folder)I have re-installed flash!I have even tried copying the prefs files from one of the working installations to the troublesome machine.I have run font verification and repair tools (nexus font, font creator, font val, font doctor, font lab...)No joy, still crashing
View 1 Replies
Oct 7, 2008
On a Mac we have username/Library/Application Support/Adobe/Flash CS3/en/Configuration/Classes/(where the aso files are located). What is the path on a Windows machine?
View 7 Replies
Jul 2, 2009
Is it possible to save images in to local machine while loading images in a flash component from a server. I think it's possible to save images in to local machine using actionscript3. I want to know whether its possible by actionscript2. While searching i got some tutorials regarding this but its using actionscript3.
View 2 Replies
Jul 14, 2009
how to save my drawing (image or movieclips) to my local sytem without any server side script . i m using player 10.
View 1 Replies
Jun 8, 2010
Has anybody experience to install FMS 3.+ Apache on the same machine with IIS7. Our business department decided to save some money on hardware and we have to install FMS on production, where we have already hostted ASP.NET WebSite. We have to do steaming video on our ASP.NET pages. I think to configure FMS on ports 1925,6000 instead of 1925,80. Will it be ok for Apache? Actually, I tested the installation with this configuration on our testing enviroment and it works, but the funny thing is that I can put rtmp://111.111.111.111/vod/sample.flv works (without port 6000). Is it correct behavior?
View 3 Replies
Jul 14, 2010
1.How do I connect to the Admin Console through a static ip remotely as I will not have access to the machine locally?
2.I want to stream live audio and do audio on demand, how do I do this?3.How to I embed a music player in a webpage that can stream live audio or the audio on demand?
View 1 Replies
Sep 9, 2010
Is it possible to install Flash Media Server 3.5 on the same Windows machine where Adobe Connect Pro is installed?If so, how to do it?When I try to do it, it says there is already an istance of FMS running and it asks for uninstalling it.Of course there is not any FMS installed. I want both on the machine.I suspect Adobe Connect uses an engine of FMS to work properly.
View 2 Replies