I have a flash movie that reads an xml file in the same directory as the .swf. This works perfectly when I just try running the .swf file, but when I add it to my website it cant seem to load the xml file. The swf and xml are in the same directory on the site and I have also tried loading the xml from a url like this: test.load('http:url....'); But this wouldnt work either :
var test:XML = new XML();
test.ignoreWhite = true;
test.load('doors.xml');[code]..........
Ive been having trouble with Flash Player for quite some time now. I can watch some videos, but it takes some struggling to get them to work.
For example, on NFL.com, I can't watch any videos by clicking "Play", the video will just grey out and remain that way forever. However if I can find the video on the list underneath the player, sometimes when I click on the thumbnail the video starts automatically and I can watch it.
On Patriots.com things are a little worse. The player controls underneath the video don't load at all and I cant watch
I am working on a project where I need to load a remote swf file into another using flash and as2. This should be simple, but the remote swf file is modular by design (i.e it needs to make calls to load other swf files into it) When I enter in the location to the remote swf file from a web browser it has no problem loading up. When I try and load the swf file using flash I get errors relating to the file system. It seems the flash being loaded into my flash is trying to load its other pieces and is looking for them on my computer.
There are two external swfs loaded in one main flash file - the rolling ball, which is a default external swf, and the circles swf, which loads after the gray button is clicked. I would like the circles swf to load into the blank movie clip I have set up. I would like the external swf contained within the blank movie clip to be full browser flash and scaleable with any change in browser size. To do this, I set up some actionscript to make the blankmc full browser and scaleable (i've done this on a regular movie clip slide show from within a flash file, rather than being an externally loaded swf, and it worked.) with the hope that the blank movie clip and its contents, which would be the external circles swf file, would resize and rescale appropariately if the browser window were changed.
Currently, when the gray bar is clicked, the circles swf comes in not as full browser. Once the window is resized, the animation relocates itself to the lower right corner, with the top corner of the external swf situating itself on the center of the blank mc. I know this is a registration issue, but before resize the animation is where i want it. Also, while the scale of the circles animation does change with the browser window size, it does so i a wacky way.
Take a look at this swf file at [URL].. Click on the gray bar, then once the circles animation begins, try resizing the browser window. There are two external swfs loaded in one main flash file - the rolling ball, which is a default external swf, and the circles swf, which loads after the gray button is clicked.I would like the circles swf to load into the blank movie clip I have set up. I would like the external swf contained within the blank movie clip to be full browser flash and scaleable with any change in browser size. To do this, I set up some actionscript to make the blankmc full browser and scaleable (i've done this on a regular movie clip slide show from within a flash file, rather than being an externally loaded swf, and it worked.) with the hope that the blank movie clip and its contents, which would be the external circles swf file, would resize and rescale appropariately if the browser window were changed.
Currently, when the gray bar is clicked, the circles swf comes in not as full browser. Once the window is resized, the animation relocates itself to the lower right corner, with the top corner of the external swf situating itself on the center of the blank mc. I know this is a registration issue, but before resize the animation is where i want it. Also, while the scale of the circles animation does change with the browser window size, it does so i a wacky way.
I have typical situation where big loop is loading lots of images and its done asynchronous which make browser to frees during loading and I want to make it synchronous but having big trouble doing it. I found this class synchronous loader and it work great but you cant add mouse event listener to loader. Here is sample code:
When I run the flash player (from flashdevelop) the images are loaded and everything is fine.But when I run the swf from a browser the requests are sent (using chrome's tools for programers - network tab) but nothing is loaded. The size/content column shows 0/actual size of the file
[URL] once it loads, if you click any of the links (keyholders crab button, travel button, or opportunity button), and proceed to the page, and then click "back" on the browser, the flash does not reload, or "replay". The only way to get it to replay is to right click the flash player, and click "play".
I am making a swf of surgons.. which going to load in a base moviclip and they scroll ther right left. The problem is its taking to much time so I want a script which will load one by one these files. Or A script to load other swf(of surgeons) in browser cache. So when user click on these surgeon they start their work. The voice swf of surgeons. I want meanwhile they load in browser cahce..so its not take time.
in other words, suppose I want to send data, like text, programmatically from a Windows app (such as a browser plugin) to a Flash app running in the browser. Well, conceptually, an example of this might be a Flash instant messenger with a textbox and button "Send"; so let's say I want to be able to programmatically paste the text and press Send or otherwise activate it. That's NOT what I am trying to do here in reality (i.e., no,I am not trying to spam other people's chat rooms or anything)but just an illustration of a similar situation.I can include in it whatever widget or hack that may be necessary.The reason why this problem is arising for me is that AFAIK the SDK that is providing me the data I want cannot be directly accessed from Flash, so I need a way to pipe the data from a regular app into Flash. can I have the Flash app interact with other apps through localhost IP? Or are there draconian restrictions on which server Flash in browser can and cannot interact?
I have a PHP mailer form on my site which needs to be published in action script2 to work, but I also have a script set up to open browser windows of a certain size & location which needs actionscript 1 to work? The PHP mailer form has a "Name" field, "Email" field & "Message" field, theses can all be reset with a button. The button clears off any text in the 3 boxes to wipe them clean. The script on the reset button is:
This works fine with section script 2 but not with as1. Does anyone know of a script that resets the .text field on as1 Alternatively is there any way of opening browser windows from a flash movie with browser win controls, eg. centre win, no scrollbars.
I need to load an SWF(child) which is embedded in a PHP page without loading the PHP page in the browser. I call this PHP page from another SWF(parent) using URLRequest. I do not want to load the SWF(child) directly in the SWF(parent), instead call the PHP page from SWF(parent). Is it possible?
I'm encountering an anoying problem when playing this simple and small animation on the browser.
[Code] var intervalo:Timer = new Timer (5000,0); var imgNum:Number = 1;var imgLoader:Loader = new Loader();var imgRequest:URLRequest = new URLRequest("IMG/" +imgNum + ".jpg");
[Code]....
The idea being that flash should load an image in IMG folder and place it more or less centered with a specified size. 5 seconds later, the animation should go to the next frame. My Problem is that, when played in an internet browser, none of these happens (it does when I play the swf standalone).
i have a preloader swf called 'load.swf' which loads another swf called 'banner.swf' into it. Evthng is ok when i runs load.swf individually. But when i embed the load.swf init to an HTML page, things go wrong. The swf doesnt plays, all that comes is a blwnk white scren.
I have a main movie which loads a movie into a target clip via Code:loadMovie("adminMenu.swf", "_root.target", "POST");It works offfline, but when I publish the main movie as a html and view it through the browser the loadMovie function doesnt seem to work anymore!!?? i.e. it doenst load the swf's into the target clip.
I'm seeing a problem whereby a video playing in the FLVPlayback component is "hanging" periodically, where the download stops for several seconds, ultimately causing FLVPlayback component to think it's at the end of the video and auto-rewinding. I've managed to reproduce this by killing my network connection when the video hasn't finished downloading, so when the playhead plays up to what's been downloaded, it then auto-rewinds and stops.
This problem is exacerbated when a different swf is being loaded in the background. what might cause a browser to "hang" when loading the other swf. For example, if the server on which that swf resides is backed up, will the HTTP GET block other files from loading? I'd always assumed that the actual socket implementation was multi-threaded and the loading of one file shouldn't ever cause another to hang. However, I'm not sure if the bowels of flash just leverage the browser's socket implementation, or whether it has its own.? I can't find any documentation on the flash socket design.
This has been seen in numerous browsers, so I'm suspicious it's a Flash issue. The loading is done using the MovieClipLoader class, AS2.
I'm working on a program that calls a php script and then loads an xml. The program works exactly how I want in the IDE but unfortunately when it is on the server it doesn't work correctly (of course ). Anyways so i've been trouble shooting for quite some time and my guess is that the problem arises somewhere before the php call (when i make it, the variable is shown as undefined by the script). I use navigateToURL in order to test this and the script received the variable when in IDE but not from browser.
AS3 code:[
//this method is called everytime user scrolls. function scroll(e:MouseEvent):void {[code]......
[URL].. Anyone know the AS to make it automatically check the size of the browser for the listeners_notice when you resize the browser it works perfectly...but not when it first loads up.
I've created a couple of flash animations, fairly simple, but the whole relies on loading external swf files and then unloaing them.
The base file works fine, loads the externals and unloads them (although I need to preven the user from hitting the unload button when there is nothing to unload) and will then load another just fine, IF I run it directly from my file system.
I want it to be on a web page, but when you click the button to load the external files, nothing happens. Safari tells me it cannot find the file, and I'm using the exact same directory to test.
So, works fine when testing with flash (CS4) and running directly from the directory in finder, but from a web page, it cannot find the file.
We developed an Eclipse plugin and tested & delivered on Win 32bit os. One of our view uses Broswer widget to load a Flash content. It works well on windows 32 bit.
Now planning to support Windows 64 bit. Unfortunately flash support for 64 bit is still in preview mode. SWT browser widget loads 64 bit IE though both version of IE (32 and 64 bit) available.
How can we try to enforce 32 bit IE in SWT browser widget?
I have a full browser image slideshow. It works fine. I have a top menu with some buttons and with each one of them I would like to load a new slideshow swf on top of the existing one while still using the full browser layout. Is it possible to load the new external swf so that it will match the size of the first one? I have been trying numerous times...and the new swf I load always appears offset.
Each page is on a separate frame, link/button actionscript consists of gotoAndPlay(x), etc.
I have one product page that has enough content to where you have to scroll down in the browser window to reach the list of products. Each product image is a link to a more detailed description page/frame. My problem is this: when I scroll down in the browser window and click on one of the product links, the product details page loads, but I am still halfway down the page in the browser. I then have to scroll up to view the content. If you need to see what I'm talking about, go to villajerada dot com, click on Olive Oil, scroll down and try out one of the product links.
I've tried several approaches to resolving this, listed below:
1. External Interface Call:
(In Flash) //ExternalInterface.call("scrollTop()"); //var request:URLRequest = new URLRequest("javascript:window.scroll(0,0)"); (In the html document)
[Code].....
Results: No matter what I do with this option, my browser always opens a new tab. I'm trying to build a site that will work with everyone's browser, regardless of their settings, so changing my own personal settings to resolve this isn't a solution. All I know is that I've tried several versions of it after reading other forum posts. Ideally, I wish that there was a way to navigate to a URL that ends up being a null object at the top of the page.
I followed less second tutorial on AMFPHP+MYSQL+Flash; I got the data from MYSQL database and AMFPHP loaded in flash; and I was able to trace these as separate variables and then display them in dynamic text boxes in flash, however when I upload my .swf and html page etc to my website it doesn't load the variables in the text fields they just stay blank and I am left with a blank background. I just want to show my friends what I've accomplished today; as I've only been using Flash/AS3 for about three weeks now; I can only do this by uploading it to my website but it wont work once I've uploaded it there.
I have a simple button in a swf file that I am trying to get to load a php page into the browser. Simple right?? Well my button wants to open a new window and go to the actual website. I know I am suppose to load variables somewhere but I don't know where.
The as for my button is....................... on (release) { loadVariables("&email=$s_email","_parent","POST"); getURL("jobseekeroptions.php",0,"POST"); }
Here is the php code that I am trying to communicate with........... <?php include ("../config/config.inc"); // start session and bring in session variables session_start(); [Code] .....
I want to load an external swf to the background and then have it resized proportionally according to the browser window so it can fill up the whole screen.
I have a multi SWF movie that uses AS2 and is behaving differently in different browsers.The basic scenario is this . There is a root movie that acts as a control panel for user input. 1. It loads then parses some xml to determine how the interface should look (what images, radio buttons, etc. to display) 2. Then it loads and positions items on the stage ( rbs, thumbnails) 3. It loads child swfs
When the issue occurs step 2 is only partially completed and step 3 doesn't occur. No message about script error appears.