Flash :: Javascript - Comparison Of Web Widgets
Nov 11, 2010
I want to create a photo browser web widget that can be embedded in a web page (e.g alice's blog) but I am not sure whether I should go the flash or javascript route. Flickr went with a flash based widget. Why would they do it in flash over javascript? why would you chose js based widget over flash.
View 1 Replies
Similar Posts:
Sep 25, 2010
I googled it and found some old results like bubblemark.com, link text and link text. But is there any recent benchmarks as all the platforms have been updated. I like to measure the speed of silverlight 4 against the modern and faster javascript engines.
View 1 Replies
Jul 25, 2009
I bought a static flash site from flashden. But the developer does not reply my questions. I want to add widgets such as flash google earth or photo galery, video galery as an external swf but I could not. How can make this?
View 1 Replies
Feb 25, 2012
I have a client where some of their employees have flash installed and some don't. So always using the swfuploader module widget isn't going to work and it doesn't gracefully fall back to HTML. In fact it just leaves a non-functioning button in its wake.
So what I would like to do is detect when they don't have Flash available and switch to the standard Drupal File Upload widget. Now in my head it seems like this would only work if done on the server-side. But can that even be done reliably on the server side?
Also, can this on-the-fly widget switching even work in Drupal or will it pitch a fit?
View 1 Replies
Oct 6, 2010
I've contacted Adobe sales and tech support, and realized that I need to talk to someone who actually develops with these tools.I want to develop some simple graphical widgets with the ability to reload themselves via an xml-socket a couple of times a second. Which Adobe tool should I buy-- Flash Builder, or Flash Pro?
View 1 Replies
Jun 22, 2010
Are there a good overview/comparison of Flash-authoring tools somewhere online?
By "Flash-authoring tools" I mean "Flash Builder vs. OpenLaszlo vs whatever", not Silverlight or JavaFX.
View 1 Replies
Oct 28, 2010
I am currently digging into the whole Flash 3D stuff and I am quite unsure which engine I should use. I really prefer haXe for development but ActionScript 3 is also fine.My current candidates are:
Papervision3D
Alternativa3D
Sandy 3D (only engine with native haXe version)
Away3D
View 1 Replies
Nov 5, 2008
I'm loading data from XML file, and in XML file Date will format like YYYY-MM-DD, e.g. 2008-05-05. So in flash when I'm using getDate() it will display date like 2008-5-5 so that in comparison of date it will not compare.... I'm not able to check 2008-05-05 to 2008-5-5.
I'm getting date from following code
var tdate= new Date();
var date_str:String = (tdate.getDate()+"-"+(tdate.getMonth()+1)+"-"+tdate.getFullYear());
View 1 Replies
Mar 26, 2009
For some reason, I'm having a hard time finding a recent, side-by-side comparison of the various pros and cons of the different open-source flash 3D engines, such as Papervision3D, Away3D, and Sandy3D. Specifically, I'm looking for comparisons in the areas of
ease of use (and documentation) performance (framerate with lots of polygons) stability (bugs, glitches, graphical artifacts) currency (for lack of a better word - is the project gaining or losing team and community members?)
language(s) used (is it in as2, as3, flash-player-10 as3?) features (lighting and shadows, import models and animations of various formats, click detection, collision detection)
This is reasonable, right? I don't want to essentially pick one at random, only to find myself in trouble later on. Working with papervision3D, I'm already frustrated by the documentation, or the in-name-only nature thereof - most functions only have headers listed and no descriptions of what they do. Personally, I like to be able to pour through the documentation and figure out how to do whatever I want, and I feel like I'm fumbling around in the dark, having to read the source and try to understand all the implementation details. Who's used multiple open-source flash 3D platforms?
View 8 Replies
Mar 21, 2011
i've been using different loaders in the past, here are the most popular:.
[Code]...
which one is the best one and for which challenges?
View 1 Replies
Apr 8, 2011
does Android allow to develop widgets using flex or air?
View 2 Replies
Jul 13, 2009
i've built the following site. [URL] the client wanted a video player - so i built a one, but bravo now says we have to use their video widgets if we want to post any of the topchef videos on our site... i was unhappy about this, stylistically, but fine - we do what we have to do. the problem is now i am thinking it might not be possible the embed code, to put the widget in an html file, is below. i tried using the loader class with the url given in data=. it gave me a sandbox security violation. the problem i am having - i think - is the id=. is there away to pass this with Loader or URLLoader or something. if we wanted to blow off bravo�s request to use their widgets - is there any good way of figuring out where they keep actual video files?
[Code]...
View 4 Replies
Mar 14, 2011
[URL]I'm using CS5, AS3 and this is my code so far (I didn't complete the tutorial, as when it said to test it and I kept getting errors, I realised something was wrong)
Code:
var myXMLLoader:URLLoader = new URLLoader();
myXMLLoader.load(new URLRequest("http//twitter.com/statuses/user_timeline.xml?screen_name=_Salter_"));
myXMLLoader.addEventListener(Event.COMPLETE, processXML);
[code]....
I've looked online and changed some publish settings, changing the local playback security to 'Access network only' and default linkage to 'merged into code'?
View 1 Replies
May 31, 2011
I'm very new to Flash, but I have an app that uses mult widgets. What I need to know is if one of my widgets data changes can I force another widget on the screen to force it to refresh its data.
View 1 Replies
Jul 21, 2009
Is there code to track your widgets/SWFs across the internet?I would like to know how many times a SWF is downloaded & in what country, ect...........
View 2 Replies
Aug 16, 2010
I have a problem that bugging me and hindering me from advancing to next part of the game. I'm very much behind schedule because of these weird behavior. (Well I blame my ignorance for not properly coding them)
I'm trying to do a simple click-and-match game where there are 18 items to flip but only 10 items (5 pairs) are the valid answer. The problem lies with this part:
[Code]...
View 3 Replies
Jan 26, 2011
Unable to get ll = -15 even when the Flex builder console show correct result. Which part could I go wrong?
//b-a = (3) && c-a = (6)
if((naArray[i+1]-naArray[i])<=3 && (naArray[i+2]-naArray[i])==6) {
ll=-15;
}
View 1 Replies
Jan 24, 2012
I try to compare two array
if (comparisonArray == restriction)
{
trace ("Its a match");
[code].....
View 4 Replies
Jan 21, 2008
Pattern_Array (created by a random function that pulls from Words_Array and stores the index)Now I want to create another array called Choices_Array that will compare Pattern_ Array to Words_Array and not repeat any of the Pattern_Array index's in the new array.
View 1 Replies
Aug 18, 2010
I have a puzzle game, in which the user can define how many pieces will the puzzle have. There are some problems in the entry validation. I pass the data in a custom event, and then check if they are numbers, if they're not, then go with the default values.
I'm getting this warning: Warning: 1098: Illogical comparison with NaN. This statement always evaluates to false.
It turns out the warning is right, even despite the traces, which (when I input letters instead of numbers), show both variables as NaN.
Code:
private function initGame(e:MenuEvent):void
{
game = new Game();
game.addEventListener(GameEvent.OVER, onGameOver, false, 0, true);
[code]....
View 5 Replies
Sep 22, 2010
I've been trying to compare two strings. One from an input text field, input_txt, and the other a variable. For some reason, even though both trace out exactly the same, it's not seeing a match.
[Code]...
View 1 Replies
Oct 12, 2009
First time working with numeric comparison,[code]But, the code is not functioning. I don't want to use if .. else construct.
View 11 Replies
Apr 8, 2010
I'm on the brink of finishing the first iteration of my first game ever o/ and of course the last item I need to complete is the hardest. I am making a simple word game, and all details aside, the task at hand is a conditional block to determine whether the word the user has entered is real, and in order to do this I need to somehow compare it to a dictionary list.
1 hour of research has quickly opened up an entire universe of data structures, open source xml documents, people willing to take my money for spell checkers, and of course RegExp which I have no experience using (but am willing, and wanting, to learn!). One of the main problems Google is giving me is the addition of the Dictionary class in AS3, which "lets you create a dynamic collection of properties, which uses strict equality (===) for key comparison on non-primitive object keys..." So finding previous literal dictionary uses is tough.
I soon found taking a dictionary txt file (118619 lines) and converting it line by line into an array takes 3 minutes on my beast of a laptop gaming rig (Asus W90), and while I knew this was a bad idea, it was a nice learning experience (to give me a gauge of processing abilities).
I am wondering whether using XML is an appropriate alternative, or if there is a way to externally access a dictionary somewhere online. Looking at the XMLList Class available I see text() and toString() methods; yet I still see heavy iterations in accessing the dictionary.
Which brings up the next point: easiest way to find a String match. I understand that comparing each word one by one would be tedious for the program, so maybe splitting up the list by letter (or maybe string length, looking at the file), or first and last letter.
View 2 Replies
May 13, 2011
I'm having difficulties with my switch script. Below is the code:
Code:
public function resultValue():void {
switch (_calcSwitch) {
case 0:
break;
[Code]...
View 5 Replies
Jul 5, 2011
My company is willing to reffactor its biggest and heaviest project introducing some kind of framework. Are there good online source/issue/blogpost with comparison of these 3 frameworks - Robotlegs, Swiz and Mate?
View 4 Replies
Jul 31, 2009
I'm looking for a good method to compare a single bitmap data instance against an array of stored bitmap data objects. I need to figure out how I can compare and arrive at the conclusion that the result either means that the images are of the same object/aka similar or if they are two totally different images. I tried checking threshold of the result of the compare() function but my efforts have failed so far.
View 5 Replies
Feb 16, 2011
Is it possible to make desktop Air application by using HTML/JavaScript and Flash?Actually I want to make an Air app (which is for desktop) by using flash and want to use HTML , javascript and CSS as well.Is it possible ?
View 1 Replies
Jan 29, 2012
I need to execute some javascript string code from flash swf file using actionscript 3.
I read that it could be done by passing the javascript code to the parent html document , using externalinterface.call function. Then I assume it will be faster if I can declare functions in the javascript code in the HTML document in the first use of externalinterface.call funtion ; if flash code calls the javascript code repeatedly. So let me ask you how to do that. For details , any javascript to be loaded is unknown in design time and I can not prepare a javascript file to be loaded.
View 2 Replies
Sep 29, 2010
Is it possible to pass file names from a running Flash application, which only purpose is to enable multiple-file-selection, to a JavaScript application which handles upload of all files to the server?I have examined various Flash upload solutions (like SWFUpload, Uploadify, etc.) and none of them meets my needs. I want an easy to implement solution (like Uploadify) which also lets me specify various parts of the HTTP request.
The reason I need this is because my upload form uses session cookies (for user authentication) and an CSRF token both passed to the server when uploading files.Is it technically possible to pass filenames (+ paths) to a JavaScript application which then handles the upload?
View 1 Replies
May 20, 2011
Here's the challenge: I have a Flash movie which will be embedded in a page using an unknown DOM ID that I want to be able to identify/store for callback in a JS function. My ideal user flow would be: User clicks button in Flash. Flash pauses any animations / video / sounds / etc. Flash calls an injected JS function to display a page-covering overlay experience. When user closes overlay experience, a callback method on the Flash object is called. Flash resumes playback.
The problem is, when AS3 uses the ExternalInterface.call("functionName", args...) method, there doesn't seem to be a DOM event triggered, and thus it is impossible to tell which object called a JS function, so having a "registerMe()" function doesn't seem to work. Basically, the injected JS function has no way to determine which DOM object to call, because the ID of the Flash object is unknown.
[Code]...
View 3 Replies