IDE :: Access The Php In My Browser?
Dec 21, 2009
There is a php script on a server that outputs a list of the JPGs in a folder, as a text file. My SWF reads this php file perfectly when the html/SWF is run from my browser locally (on my computer), but DOES NOT WORK when the html/SWF is loaded from a server. There is no error message, and the request never triggers the "OPEN" event.
This makes no sense to me since the URL request is made from my IP address, whether I download the html and SWF from a server or run it locally, right? Also, I can directly access the php in my browser. The PHP is running under the ModX CMS.
View 3 Replies
Similar Posts:
Jul 17, 2010
I created a photo album viewer which grabs an XML file from my web site, and then parses the XML to get the paths to all the photos to be displayed by the album viewer. The code makes use of the URLLoader class to fetch the XML. The problem, though, is that in google Chrome it works-- but in IE8, it doesn't work. For example, the XML code and the image fetching code work seemlessly on Chrome. But in IE8 and in IE6, it seems to not be able to fetch such information.
I've read somewhere that you need a crossdomain.xml file at the root directory of your server. But I'm not crossing any domains! It's all coming from my server where the swf is being hosted!
View 1 Replies
Sep 13, 2010
For an internal project we would like to play with building a video conferencing system.We are able to decide the browser that the user has to use and can install plugins. The only requirement is that the browser and plugins must be free and work over Linux and Mac.(Don't care about Windows)What is the best way to do access the webcam and mic stream from a user for sending to a server? Ideally I would like to do this plugin free but I can see no implementation of the devices tag in HTML5 in any browser yet, unless someone knows different.If its flash/silverlight, any quick examples of capture and sending to a server?lso any examples of streaming video from a server to a client would be useful, so we can stick it all together. This I know we can do in HTML5 so this would be a preference.
The client connection part is all I would need as we are building the server, this is the internal challenge.Basically I'm looking for good examples and best practices for sending and receiving this information.Edit: As I have discovered from some groups the device tag is no where near completion. So answers will have to be flash/silverlight (does that work on linux??).
View 1 Replies
Dec 7, 2011
I am interested in creating a website that needs to know as much specific hardware (ie computer model, cpu model, RAM size, etc) as possible.
Are you aware of any method to find out this information? I know about ActiveX controls, however I'd prefer to use a more flexible method. Javascript? Asp.NET? Flash? Java? Silverlight?
View 1 Replies
Jun 3, 2010
Is it possible to read numbers and names from a Flash page before they are rendered by the browser ? The webpage is changing dynamically and I would like to capture the data every about 60 minutes. I have no access to the Flash website but I might be able to modify an open source browser. OS is Win 7 and I can speak a little C++.
View 1 Replies
Jul 19, 2011
is it possible to access smartcard reader connected to a computer from a web browser running on the same machine, i.e. from an ActionScript, JavaScript or whatsoever script running therein? For example, I read something about the flash.external.ExternalInterface class in ActionScript. Can it be used for accessing a smartcard reader or is the Sandbox impenetrabl
View 4 Replies
May 17, 2010
There is a web game that I play and I used fiddler to see what temporary files it downloaded. While I was playing I deleted all those temporary files including the sounds and flash files. But it didn't affect the game at all. Why is that? I checked in fiddler and it doesn't look like the files were redownloaded.
View 1 Replies
Oct 2, 2009
I recently came across interesting banner that said something "You've been wasting time online for 4:30h do something useful finally, click here"What grabbed my attention, was that this flash banner actually got the time right, I logged in 4:30h ago. How did the flash know that? Is there a function that communicates with browser and checks how long it's been on? Javascript maybe? Same way it accesses getTime, getDate etc.
View 0 Replies
Jan 2, 2011
I'd like to gain read only access to the following parameters of embedded Flash videos located on sites that I do not own through my own custom browser extension/add-on:
Time location of playback head (so I can display the current time in the browser extension via HTML5/JavaScript) Frames (so I can make capture them to an image file, save it and display image in browser extension) Original Dimensions in pixels (so I can display the original video dimensions via JS/HTML5 in browser extension)
Is this possible by using Javascript and HTML5 from a browser extension?
Would I have to use something like the SWFObject Javascript API [URL]
View 1 Replies
Dec 18, 2009
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?
View 1 Replies
Apr 14, 2005
I have a standalone Flash projector running off CD. Currently, I use
getURL("http:url....);
to open the page on default browser. Only problem is the browser window is opening at the size it was last used. I like to see it opens full screen.
View 2 Replies
Oct 27, 2010
The title essentially is the question, how do I open the .swf without the browser's control bar junk? and maximize the window?
View 2 Replies
Jan 17, 2006
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:
on(release) {
_root.myForm.formNameField.txt = ""
_root.myForm.formEmailField.txt = ""[code].....
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.
View 2 Replies
May 24, 2010
Trying to detect a browser close event and send some data to the database when the user closes the browser window...but can't seem to get it to work.[code]
View 6 Replies
Nov 9, 2009
I have looked around for this and haven't found a way that clearly explains how to do this. More often than not the button will close the browser window in one but not another browser.
Is the a simple way of closing a browser window in all types of browser ( Or mainly Firefox, IE and safari on both Mac and PC ) with actionscript?
View 0 Replies
May 8, 2007
[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.
[Code]...
View 11 Replies
Nov 9, 2009
often than not the button will close the browser window in one but not another browser.Is the a simple way of closing a browser window in all types of browser( Or mainly Firefox, IE and safari on both Mac and PC ) with actionscript?
View 5 Replies
Nov 7, 2010
To clarify when I ask about browser to browser communication I mean without a server in between forwarding message. I would like to implement something like this for a game. If p2p in websockets isn't possible are there similar alternatives?
View 1 Replies
Sep 1, 2010
I am not trying to track clicks or anything like other people - I just want to put a browser within a browser that can go back, forward, refresh, accept user-entered URLs, and store bookmarks. Can flash/silverlight/ajax/whatever do this? If so, how?
View 4 Replies
Oct 20, 2010
It's too complicate to explain but I'll give you an example
I have an AS3 ResultEvent Object and this object has several propeties which can be accessed by this like:event.result.name or event.result.age and, I have this String variable: eventProperty:String that contains "name" or "age" How do I access to event.result. with the variable?
View 2 Replies
Oct 22, 2010
So, you have a sprite, you draw some graphics, you set cacheasbitmap=true... I can't seem to access the newly created bitmap data, to access the dispose() method.
[Code]...
View 6 Replies
Feb 17, 2009
i have a little issue, this is the script:
import flash.net.navigateToURL;
import flash.net.URLRequest;
button.addEventListener(MouseEvent.CLICK, action);
function action(e:MouseEvent):void
{ var request:URLRequest = new URLRequest("novosti.php");
navigateToURL( request, "_self");
}
button is instance name of symbol - button, and like that script doesnot work there is error 1009:cannot access.....but when i put symbol with instance name button in form of movie clip, script works.
View 2 Replies
Nov 13, 2009
Is it possible for Flash or possibly Adobe AIR to have access to a local Access database?
I will have either a Flash EXE or AIR application running on a local PC (WinXP). The PC will also have a local Access database. I need my Flash application to get the data from this Access database. How would I do this?
I doubt it can be done with Flash or AIR alone (someone prove me wrong or right), but is there an option for some middle-man application to access the data base and send it on to Flash? How would this work?
Or could I read the MDB file into Flash and parse it myself? is there a library for this?
View 2 Replies
Jul 2, 2010
My flash movie loads config.xml from the file system. Inside config.xml are urls and the base url to other xml files that I wish to load in to the flash movie.
These urls in config.xml are requested by the flash movie providing my flash movie with data. Again these are .xml files how ever they are being accessed using the network. EG " http domain dot com slash data dot xml"(i cant post links yet)
I know that I cant access both network and local files in the same movie so my question is this. What is the best way to pass in the base url dynamically to the flash movie so i can cut out config.xml?
View 0 Replies
Jan 7, 2004
i refer to this tutorial [URL] what i found strange is that i can't use . to refer to movie clip instance in this tutorial, it only works if i use [] access for example: "_root.instancename" versus "_root[instancename]" only the second one works.... examine the short code i attached just cut and paste the code...play the movie..and see the difference,
View 6 Replies
May 11, 2009
I've figured out how to tell my flash website not to scale itself (which degrades the quality of the buttons i've created as .gifs). And then how to keep it centered within the browser. But this leads to unwanted white, negative space on all sides, since i'm keeping my site small enough for everyone to view (at 800 x 600). So what code can I add that will scale the browser to the set dimensions of the site? Rather than vice versa.
View 1 Replies
Nov 14, 2009
I have several .swf pages that are as2 that load in the upper left corner at actual size (800x600) the first time they are loaded. however, when they are linked back to (reloaded after first view) they are now centered and resize to fit the current window size.
I tried updating in the publish settings, but that only seems to be an option in the html tab, and I'm not using html for most of them (only my index page, which is still behaving the same as the rest of them!)
I am updating my website and using the navigation swf pages over, and the resizing centered option was great, but now some of my pages are html and do not scale and are aligned to the top left. for consistancy, I want them all the same. For pages that I did not re-use and just started with the default settings in flash (but using as3, don't know if that makes a difference) I am not having trouble with. they are actual size aligned top left.
View 2 Replies
Aug 8, 2010
I have a game where you can move a character around on a screen, very simple. My problem is, I have to click on the swf object in my browser before it starts to recognize my input keys. If there a way to set set to my swf object either in html or the swf itself /w as3?
This is the browser code I keep finding on googing:
Actionscript Code:
<body onLoad="window.document.mymovie.focus();"> <object width="760" height="820"> <param name="mymovie" value="test.swf"> <embed src="test.swf" width="760" height="820"> </embed> </object> </body>
View 1 Replies
Aug 23, 2010
I just updated from CS4 to CS5 and when I export my former CS4 projects through CS5 and browse them the internet browser don't have any scroll so I'm not able to see the whole site.
View 1 Replies
Sep 21, 2009
My site works perfectly when played locally, but now that it is on a test server my swf has disappeared. The swf is an empty shell in which an xml file is played. I have encountered this before and have fixed it, but I cannot find where my code is wrong this time.
[URL]
View 2 Replies