ActionScript 3.0 :: Load Graphics From External Server?
Dec 19, 2009
I've got a problem with loading graphics from externall server. The aplication works fine with the firefox web browser, but when running under internet explorer it givas an error[code]...
I would like to load a xml-file from an external server (maps.google.com). My aim is to tell the user his coordinates, so I use googles Geocoding API. The problem however seems to be somewhere in accessing anything outside my own website. I tried the swf in Flash CS3 and it worked, I tried it on my website with a local xml-file with the same content as google would respond and it worked. So there must be something that suppresses the connection to another server. If I listen to the HTTPStatusEvent it's just "httpStatus: [HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false eventPhase=2 status=0]", so I can't tell from the status where the mistake is (and according to the Flash Doc it always returns 0 except in IE, but it also does there).
I had a question about loading external variables. Is it possible to load external variables from a different server other than the one that the flash site is hosted on?
And if so, what would that command look like?
For instance, if you load a variable from the site's own server it might look like this;
loadText.load("TEXT1.txt");
Would loading it from a different server look something like this;
so basically the title says it all. When I export my project with ctrl+enter it shows up exactly as I desire. But when put on the server the xml still loads, but some graphics and functionality are missing. I was wondering what could be causing this? Anyone else have missing movieClips in their piece when they put their swf on a server, but had the movieClip function fine before?
I have a delicate question for you which i cant find an answer to.Problem:I want to add an object (lets say it's a logo) to a camera stream before i save it to the FMIS. So the logo is integrated with the camera as it would have been placed in a layer above.Is that possible and if it is, how do i do it? It is quite urgent so any quick tips or solutions are more than welcome
I want to incorporate a graphics frame in my chat application so that anyone can scribble in that box using the mouse (click and drag), just like a pencil in the MS paint. This would be something like a graphic analogue of the text chat area. Is there is any such Component like TextArea which may be used for this kind of application?
I have downloaded the latest flash pro cs5.5 package and installed it on 3 different windows XP machines and I get the same bad result. This is Flash Pro 11.5.0.325 on XP SP3.
I made a small slideshow swf consisting of two jpeg images and nothing else. No music or other bells or whistles.Just 2 images converted to symbols, some keyframe/tween definitions with altered alpha channels.The slideshow runs perfectly and as I expect.
I save the slideshow as a .fla file.I need to add some more functionality from this plateau to show that the product can do what we need to the boss.
When I later load this .fla file, I don't see my graphics on the stage anymore. I right-click on the images and click on the option in the dialog to update the images. I see that the white stage now has the image I expected. When I close the dialog that lets me update the image flash pro abends and I get the crash dialog from microsoft.
Why can I make this slideshow and have it run perfectly, save it successfully (so I think) and then it won't load properly or let me work on it after one save?I have downloaded the latest flash pro cs5.5 package and installed it on 3 different windows XP machines and I get the same bad result. This is Flash Pro 11.5.0.325 on XP SP3.
I made a small slideshow swf consisting of two jpeg images and nothing else. No music or other bells or whistles.Just 2 images converted to symbols, some keyframe/tween definitions with altered alpha channels.The slideshow runs perfectly and as I expect.
I save the slideshow as a .fla file.I need to add some more functionality from this plateau to show that the product can do what we need to the boss.
I would like to do something like this:The flash project loads any vector graphic object from hard disc (that graphic has only two color), change one color (for ex #ff0000) to an other (for ex #00ff00) and display.
I was wondering about MC and hey can help to lag a game out. I set up an advanced class system so i don't have to use MC to simulate walls, all i use isthe x,y,width and height. Well anyway since i don't need MC anymore I was wondering if there is a way to attach Graphics instead of MC cause a Graphics file size is relatively small than that of a graphic, I think. If anyone could tell me thats true and show me a way to attach graphics that would be nice. I haven't tried it yet but maybe if I exported the graphic from the library imihgt be able to call its name, but it doesn't have an instance name so im stuck.
I know flex is a client side technology, but our customers are asking us to e-mail them reports (i.e. graphic images) that look just like the flex graphics we show them on the desktop on a nightly basis.
I installed the FMS 4.5 on a debian system already running an apache web server. I configured the httpd.conf as mentioned in d6093a7e2f8312a374a1bde-8000.html but when i call a streaming url e.g. http://<IP>/hls-live/livepkgr/_definst_/liveevent/livestream.m3u8 the request is still handled by the old apache, not by the FMS
Medium-load chat server using Shared Objects segfaults every few hours. Runtime size has been increased to 30MB (this saves it from crashing every 10 minutes). I have the core dump but don't understand what it means.
I will go to URL... but when the pages load the content will be read from ABC's server not XYZ's server.The users will use the data on XYZ's website not realizing that the content is actually coming from another site.
Randomly on Sunday night the FMS Admin Console which you can access via [URL] stopped working, as in it would not load. It times out and Firefox says 'Server Not Found' It was working fine on Sunday morning and has been doing for a year now, I rebooted the server and that did nothing. I have no idea why it will not load as the server runs fine and I can still stream and everything.
All I can find is this discussion but there is no answer to my case.Our company is developing an application, which connects to https server when a client is joining/leaving the server. Here is a part of main.asc file:
I'm going to setup a web server for streaming h.264 video for flash player and ios device.I know that I need the vod with HDS and HLS, and I don't need real live stream recording.At this stage, I have configured my apache server and use modules in FMS.I have referred to this document,[URL]It seems works fine now.Because I don't need to use FMS any more in my environment, what's the limitation I need to concern in terms of license, performance, etc. ?
[FMX] I am having trouble loading an XML file on an external server into my flash movie when it is uploaded. The data loads in fine when the flash file is on my local computer with the xml file on a server. As soon as the flash file is uploaded the XML data will not load in.
Structure: There is 1 main file that loads external SWF files depending on what is clicked on.One of the external SWF files loads its text from external text files. This works fine when viewing the SWF applet on its own. But when viewing as a whole site, the text doesnt appear. Very annoying.I made that particular SWF on my mums computer running Flash MX 2004The flash file itself uses the Scrollbar component from MX.Could someone tell me why the text doesnt load in this scenario? It runs fine on its own, just not as an external SWF.
I am trying to get a nav button in one movie (main_nav.swf) to target a my main movie (index.swf) and load a sub nav movie (metals_subnav_infinite.swf) into it. The sub nav movie will do a similar task - loading a portfolio swf into main movie (index.swf). Here is the file breakdown of my working files:index.swf - main final movie which loads "main_nav_infinite3.swf" on startmain_nav_infinite3.swf - loads main nav "main_nav.swf" and scrolls it infinitely (infinite menu)main_nav.swf - main nav with buttons that trigger sub nav "metals_subnav_infinite.swf" to load into index.swfmetals_subnav_infinite.swf - loads sub nav "metals_subnav.swf" and scrolls it infinitelymetals_subnav.swf - sub nav with buttons that trigger "folio.swf" (have not created this file yet!) to load into "index.swf"The script I was focusing on is in main_nav.fla and it is:
How do you load external library objects from an external swf? I want to have an external swf that only contains library objects that are exported for Actionscript, and load these from the master .swf file dynamically during the master swf execution. (I may have multiple external swf resource files)I want to be able to load the external swf, and then access it's library objects via actionscript in my main swf file.
as3 is new for me, but i would like to write a script using loader to load an external swf, and control the external swf. But I find I can't control the swf, because there are no fixed instance name. here is my script.
When i try to load an external swf file using Loader.Load(); The swf starts playing even before the init event is fired. Is there any way to stop the swf from playing atleast until the init event or complete event is fired?
I'm loading (and unloading) external swfs into a holder in my main document. However, they seem to load perfectly the first time, but after that, they load at a different x and y. I've seen this happen before in someone else's file, but I'm not sure what the solution is.