Javascript :: AJAX Or Something Else For A Web-based Demo Interface?
Dec 3, 2009
My company has some software which we use to acquire data and interact with some hardware. If we wanted to put a mockup on a website which allows the user to get a feel for the UI (gather some data, change some settings etc.), what are some good methods to do so?I'm thinking either some clever javascript or flash. I've done some JS before but only to style elements of a page. I did some stuff with flash about 8 years ago and found it really fiddly.
So my questions; Are javascript/flash reasonable solutions for this or is there something better. What is likely to be the simpler/quicker route? Is there a better way to achieve the end result?] The demo doesn't need real data, just some fake/dummy example stuff is fine.
View 3 Replies
Similar Posts:
Jun 29, 2010
I wanna be able to call a Javascript funktion which triggers an ajax postback, but when I call the function from flash with an external interface the page reloads in IE, not in FF or Chrome. If I make a button outside flash which triggers the button and then the postback everything works fine.
View 0 Replies
Nov 4, 2011
I just discovered impure.com and was very impressed by what can be achieved in terms of visualizing data using their workspace. Although the platform is free to use, but not open source yet. This causes a few problems because the API section works with .com sites for eg. for ebay, so I cannot visualize ebay listings for regional sites such as ebay.in because the link to ebay.com is hardcoded.I searched around, but didn't find other projects that offer a similar way to work with site APIs and other data sources with the kind of user interface and detail that impure.com does in a realtime way within a browser window.This brings me to the questions:
-What technologies would be involved in creating a similar kind of project
-What are the open source tools that can help develop a fullscreen UI to render the workspace. Are there any alternatives to flash for this, and how do they compare
The goal would be to use standard python data structures, python scripts to do some processing on these data structures, scripts to gather data from csv, json and API sources such as google yahoo, wikipedia and flickr, and scripts to render graphs, tag clouds, network visualizations etc. Then bring them all together into a visual interface that supports drag drop and simple type checking.How would the python backend integrate with the UI.
View 1 Replies
Apr 21, 2011
I want to create a site with a multiple file uploading through a singe button. And as I'm very new to the world of Web-Based Scripts
View 1 Replies
Nov 25, 2011
We have a website which displays status updates throughout our various facilities (they all have LCDs with a fullscreen IE page I point it to). Right now I go to my management page with a WYSIWYG-editor, type in the messages/updates, which saves it to a .txt file (alert.txt) and it updates the page on the screens via AJAX. The page on the screens checks for updates at a set interval of 5 seconds. What I want to do now is play a sound to alert when an update is given (the screen only displays critical network errors and such)[code]I've tried adding the sound clip via an embed HTML code (created a Flash object that plays it once upon loading the Flash object) to the text file, but this causes it to play once every iteration. Even if there are no changes.
View 1 Replies
Dec 7, 2009
I want to use Adobe's Blaze DS via ColdFusion through Ajax. I know enough ColdFusion and JavaScript to do what I want to do, but I want to add long poling into the application and it looks like the only way to do that is through Blaze DS...but I don't know enough about Flash/Flex to finish the job.
View 2 Replies
Jan 12, 2010
For my current project I am working on a home page that has a series of tabs above a content box that each execute an ajax script to load new content into the content box. However, some of these pages contain a flash object called with SWFObject and when the ajax script calls the page, the SWFObject javascript is not executed and I am left with the no flash support error message.
I have tried defining a function for each video call (short of just designing a single function and passing variables to it) and having the function be called as part of the ajax function but I am left with the same results. I am not opposed to using something other than SWFObject though I have been lead to believe it is the best solution currently.
View 3 Replies
Jul 8, 2010
Is there a way in any browser to find out who (which piece of code) actually sent an Ajax request? What I mean: in firebug one can monitor network activity (in the Net tab) but there is no way of guessing where the request was initiated from.
Does anybody know firefox/firebug extensions or maybe other browser's extensions to show request source (whether it is javascript code in particular file at particular line or browser plugin Flash/Silverlight/etc)?
View 1 Replies
Jul 29, 2010
I am looking for a javascript based preloader that can handle .SWF (flash) files. I'm very much aware that it is possible to preload a flash file by using another flash file, but I was wondering if anyone knows about an AJAX preloader that can load swfs (also, a progressEvent would be a nice extra) and then add the flash file to the HTML document. I did quite some googling but it seems that there is no such thing out there. Is it überhaupt possible?
View 2 Replies
Mar 27, 2012
I have several variables which i use to call flash movie, but i dont want to include that on document.ready because first i need one variable from jquery ajax response.
var flashvars = {
"debug.enabled":"true",
"background": "#000",
"uploadUrl": "UploadImage.ashx?id=" + var_from_ajax}
I have defined var_from_ajax outside document.ready.
My Ajax success function is
success: function(data) { var_from_ajax = data.id; swfobject.embedSWF("movie.swf", "divID", "600", "400", "10.0.0", "expressInstall.swf", flashvars, params, attributes);}
But looks like i cannon embed my movie with variable from ajax request..
View 1 Replies
Mar 2, 2010
I have an AJAX web service call that returns a chunk of HTML that I then apply to a DIV element on my page.This works fine for any html element except a flash video which comes up with 'Movie not loaded'.I've double-checked the html that is being returned and it's all fine, and it works if I don't use AJAX, but when I use AJAX and then add it using JS it doesn't seem to attempt to load the playlist.
View 3 Replies
Jul 5, 2011
Is it easy to implement Flex Ajax Bridge with ColdFusion? Where can I learn how to use it? My frontend is pure HTML+JS and I just need the push capability. I thought of using Websocket Event Gateway and Server Sent Event (aka EventSource) but seems like they don't have much browser support quite yet. Any pure jQuery short/long polling option Any good Server Sent Event polyfill solution available for older browsers?
View 3 Replies
Oct 27, 2009
There is a number of Flash and AJAX based uploaders around. I need a file upload component for an existing form in an existinc application, so I have very specific requirements for it. Maybe somebody knows one off the top of their head and saves me a lot of research.
I need a file upload component that has a progress bar and "upload" button next to it (= standalone functionality, no connection to the submit event of a surrounding form).
It should be either Flash or Prototype based. No JQuery or Moo, as the app runs with prototype.
If server-side scripting is needed, it must be PHP. No Perl, no ASP.
On successful upload, I need a custom Javascript function triggered. (I need to update a file list that is displayed on the same page.)
The possibility of filtering file names before upload (no Umlauts, spaces..) would be a plus.
I will try to give this question a bounty in a minute if I'm allowed to.
Edit: I can't seem to open a bounty. Do I have to wait first?
View 2 Replies
Feb 24, 2012
I want want to intercept the response for an ajax request made inside a flash object via javascript.
View 3 Replies
Dec 22, 2010
Is it possible to make ribbon like interface similar to MS Office suite using Flex 4 for a Adobe AIR desktop application
View 2 Replies
Sep 27, 2011
I want to create an interface navigatable through keyboard. The interface is somewhat like nested DVD menus, and it is not known in advance how many buttons there will be or where they will be placed. So for example you would be on button 1, if you press right, the closest button to the right would be selected. how would I go about enabling this? The purpose is to enable keyboard navigation for complex management screens for a game I am doing;
I would like this to be as independant and reusable as possible, which means I would like it to work with any clickable object, not just buttons, and certainly not my own custom class of buttons. This also means the buttons might be placed through the flash IDE and so placing them on a grid is not an option (I'd like this to be easy to use for non-techies).
My thinking goes like this: add all buttons to a manager, then select the first one, then on keypress, triangulate and select the closest in an angle of (+45degrees,-45degrees) of direction pressed. But it seems overkill to me, and I guess in some edge cases, some buttons will be forever unselectable.
View 2 Replies
Jul 19, 2011
In terms of HTTP request performance should I pick AJAX or Flash? To be more specific, I'm more into Flash than AJAX and I'm currently working on a wide scale web project. I wanted to try AJAX out for once and now it's getting too messy for me. Before it gets more complicated I thought may be I can run Flash on the background for HTTP Requests and use it with javascript. I couldn't find any benchmark on the Internet, but I think AJAX is faster than Flash. So what's your personal experience? Is there too much difference between Flash and AJAX?
View 4 Replies
Feb 21, 2011
I have problems with facebook application based on flash which communicate with PHP using FBJS-bridge.When someone use the application for the first time, he/she is asked for various permissions. After that, flash contact PHP with ajax but request is never sent. When you refresh page, everything is working without any problems.If you remove the application on privacy settings, refresh the page and try again -same bug happens.If you allow application, refresh page, in other tab remove application and start application in previous tab - user is asked for permissions but everything is working after allowing application.This is FBJS code
function openPermissions(){
Facebook.showPermissionDialog(/*permissions string*/, permissionOnDone);[code]......
openPermissions is called to display permission dialog, and on allow flash function allow() is called. In flash, allow() calls JS function ajaxCall(), which should make ajax request. But, ajax.post never sends request. I know that for sure, because flash function parseAjax was never called and also debugging tools in browsers are not showing any ajax requests. URL and parameters are same as when it is working. No flash or JS errors are detected...
View 1 Replies
Oct 6, 2005
I am trying to create a XML file & a flash based interface which would:
A) Sort the data on the node specified (I tried, it doesnot sort correctly many times)
b) Search the XML nodes for the text the user inputs and display the data
Say he gets 5 results all five must be displayed.
View 5 Replies
Aug 9, 2010
I am trying to build a experimental interface (menu, text etc) which is based on a fine grid of points, on which i try to render custom fonts and shapes, by connecting the dots. I would store coordinates for characters (O consists of 4 lines for instance) and render them in an animation line by line, character by character.(this non interactive version is my first step)My question is, what would be the best way to store such a font collection, and execute the above. Any Thoughts? all ideas are welcome
View 1 Replies
Apr 22, 2010
I'm building a website where I hook people up so that they can anonymously vent to strangers. You either choose to be a listener, or a talker, and then you get catapulted into a one-on-one chat room. The reason for the app's construction is because you often can't vent to friends, because your deepest vulnerabilities can often be leveraged against you later on. (Like it or not, this is a part of human nature. Sad.)
I'm looking for some insight into how I should architect everything. I found this neat tutorial, [URL], which suggests using python & stackless + flash. Someone else suggested I should try using p2p sockets, but I don't even know where to begin to look for info on that.
View 4 Replies
Dec 15, 2011
Several months ago for a project at work i developed a video player using flash, external interface and swfobject.js. I used external interface to facilitate communication between javascript and actionscript. This works great. Currently I am working on an extension to this that requires me to extrapolate logic from what i already written. I am using the same swf file in both applications, but in the extension i can't get the flash object to recognize my calls. Since i am using the same swf object i know that my problem is in the javascript, i just don't know where. I am using the JQuery Library. Without further adieu here's my code.
[Code]...
View 4 Replies
Jul 14, 2011
I'm trying to get javascript to talk to flash, but I haven't been able to get it to work.I've gotten flash to talk to javascript, but not the other way around. It seems as thought flash isn't listening to the javascript, or I'm doing something wrongPart of the AS3 to initially call the js:
ExternalInterface.call("showGal", slastSelectedNumber);
The js i'm trying to use is:
function showGal(dPicture) {
document.getElementById('fullsizegallery').style.display = 'block';
document.getElementById("flashGalleryContent").someFunctionName(dPicture);
[code].....
View 1 Replies
Oct 5, 2010
I have a flash player with an external javascript interface: reloadData() I'm calling that function via Javascript when editing information on the page - basically to keep data on the page and in the player in synch. The reloadData() function works fine when the player is hosted locally. When we move it to the CDN (Amazon Cloudfront), the player loads successfully, but the external javascript interface no longer works - console.log(player) reveals the following:
<object type=,"application/x-shockwave-flash" data="[our_cloudfront_url].swf" width="920" height="404" id="player" style="visibility:visible;">
Uncaught TypeError: Object #<an HTMLObjectElement> has no method 'reloadData'
I know there are a lot of things that behave differently when working with items on a CDN, but we're using a CNAME to point to the cloudfront distribution
(buildid.ourdomain.net => distributionid.cloudfront.net)
View 1 Replies
Jan 31, 2011
We have a flash game embedded in a web page (using SWFObject v2.2) and there are some links on the page that call into the flash in the following manner:
window.document["flashObjectId"].flashMethod();
This has worked great on all browsers we have tried including IE7 and 8, however on IE9 it generates the following error: "SCRIPT438: Object doesn't support this property or method".
It does work in compatibility mode so I tried adding a meta tag to tell IE9 to use compatibility mode by default, however that didn't work because our game runs in an IFrame within Facebook.
I have tried referencing the flash object every way I could think of in the Javascript but I always get that same error message in IE9.
View 3 Replies
Jul 6, 2011
I need to register events in flex and listen to them in java script. Is there any way other than using external interface.
View 1 Replies
Jan 10, 2012
I will call flashObject.httpRequest to complete a http request via flash. The problem is there is no reference about httpRequest is an async method or sync. It is important for my application.
private function httpRequest (uri:String, param:String="", method:String="GET"):void
{
var
[Code]....
View 1 Replies
Jan 22, 2011
Is there a non-polling way for Javascript to command Flash right when its external interface is ready? In Actionscript, I've registered a function for Javascript to call:[code]SWFObject lets you run code when Flash has been successfully embedded through a callback. I attempt to run $ ('flash Player'). doStuff in this callback, but it claims it's undefined. It seems that Flash needs some time to boot up its external interface. So I've been using a polling hack to find out when the external interface is ready:[code]There's a visually perceptible delay in the execution of doStuff and it makes my overall code structure muddy.
View 1 Replies
Jun 6, 2010
I need to call a function in JS that's expecting a JSON object. Can I do this from External Interface? The company's example (after the include file url) in HTML looks like this:
//there's an js include URL earlier//
Shopwithme.Initialize({
"id":"prod1234",
[code]...
But, I need to dictate these vars through Flash. How do I call this function using External Interface?This is my EI code, but I'm obviously off base, since it's not working:
ExternalInterface.call("Shopwithme.Initialize",[{ "id":"prod1234",
"type":"2","URL":"http://www.somelink.com"}]);
What do I need to do to call this javascript?
View 2 Replies
Sep 6, 2010
I am looking for a simple and straightfoward example of how I can pass the value of a variable into flash using javascript.Specifically, I'd like to use javascript to pass the filename of an external video file that I would like to load into my flash movie.I'd also like to call a function in the SWF that plays the movie once the filename as been passed to the flash movie.External Inferface looks like the way to goI've found a few decent AS2.0 examples, but converting them to AS3.0 has proven difficult and many of the examples are much too complex for what I am trying to do.
View 4 Replies