Javascript :: Best HTML/JavaScript Framework For A Flex Application?

Oct 23, 2009

We're currently building a Flex application using the PureMVC framework with a shell.swf which loads/unloads modules dynamically. We're experiencing issues with memory and we're looking to replace the shell.swf with a JavaScript-based loader.Two questions:What would be a good framework to dynamically load the Flex components and allow the modules to communicate between each other?Would dynamically loading/unloading the modules via JavaScript take care of the typical memory problems associated with Flex/Flash applications?

View 1 Replies


Similar Posts:


Javascript :: Embedded A HTML-enabled Editor On Top Of Flex Web Application?

May 11, 2010

How do I embedded a HTML-enabled javascript editor on top of Flex web application? FCKEditor is not free but any free editor with basic toolbar will do?

View 1 Replies

Javascript :: Use HTML/JavaScript And Flash To Build An Desktop AIR Application And Publish It From Flash?

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

Javascript :: Insert Javascript Functions To An HTML Document From The Child Flash Swf File?

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

Javascript :: Is It The Index.template.html File Per Project Or The HTML File Created Per MXML Application

Sep 26, 2011

I was reading about Flex- JavaScript communication via ExternalInterface.But I had a doubt, it said that the javascript code should be written in the HTML file of the application ? Now which is this HTML file ? Is it the index.template.html file per project or the HTML file created per MXML application ?

View 3 Replies

Javascript :: Embed Module Within Flex Application?

Mar 15, 2010

I have a large module written in JS which uses Canvas to draw and animate trees. This module was written for a product which is now being migrated to flex.

Is there a way in flex to embed this JS module as is? Or would I have to rewrite the whole module in AS3 (shudder)? Further, if embedding is possible, would user interactions (mouse clicks) etc. work seamlessly?

An example of the tree structure I am talking about can be found here - [URL]..

View 1 Replies

Calling JavaScript Function From Flex 4 Web Application?

Oct 19, 2010

I need to call javascript function from Flash 4 based web application. When I run it in Debug mode it runs perfectly but when I make release build or run same application on other machine it does not call JavaScript function.

[Code]...

View 2 Replies

Javascript :: Unable To Communicate With Javascript From Flex After Dymanically Loading A Swf?

Aug 1, 2009

for some reason, whenever I dynamically load a swf on a $(document).ready() by writing to a div, I am unable to make javascript calls to the browser. Specifically, all calls to the browser return "null". This does not occur when embedding the swf normally on the page load, but I would like to prevent loading of the swf until a specified point in time.

What the heck is going on here? Is there something special about dynamically embedding a swf that prevents the swf from talking to the browser? The methods ARE called (I've proven such by showing alerts), but all return values to any function, regardless of type returned, shows as null when it gets to flash.

View 3 Replies

Javascript :: Browser Based Webcam Streaming And Capture Lib / Framework

Jul 18, 2011

What I want to do is have control over the streams so I can send them wherever I want, have it interface w/a mic and cam, and the ability to capture and record them. At this point I don't have any specific specs or limitations. It will be used in a commercial project so the license must allow for that. Free and OSS is preferably, but commercial and proprietary is not out of the question if it's worth it.

I don't see html5 as a viable solution at this point so I'm assuming it's going to rely on flash which is fine, but I do not know actionscript. I'm not opposed to learning it, and assume I could pick it up fine within a week, but keep that in mind. If I have to build something myself from the actionscript libraries (I assume they provide enough functionality) I can do so, but I'm hoping for a quicker solution than that.

View 2 Replies

Javascript :: Use HTML Dom In Adobe Flex?

Sep 12, 2010

Can you use Html DOM in adobe flex to...

1) write/Auto fill in a form?

2) Read values in label? Textboxes? And use them in your program?

View 2 Replies

Javascript :: Html - Communicate Between Flex?

Feb 20, 2012

I have a windowed Flex application (AIR) that uses an HTML file for the UI, but I have some Flex code that needs to be executed when the page is loaded.I have imported the HTML interface into the app using the < mx:HTML /> tag. The communicate between javascript and flex, but only if you are using an external HTML file in a browser, and not in a windowed app.

View 2 Replies

JavaScript :: How To Replace HTML Tag In URLRequest Flex 4 / Air

Mar 2, 2011

I am embedding a website into my application, and Adobe Air does not recognize the breakline HTML tag in the source code (Firefox and Chrome auto-correct the error). I have attached the source code below. Is there a way to replace the breakline with the correct syntax (no forward slash). I do not control the website, I am merely loading it into my application, so I can't just change it at the source. I am using an mx: html object and htmlLoader to load the url.

Website Source:
<ul>
<li><a href="Rpt_Selection_2.asp?Report=StatusReport/StatusReport.asp">Status Report</a></li>
<li><a href="Rpt_Selection_2.asp?Report=StatusReport/AlarmsAlerts.asp">Alarm History</a></li>
</ul><br/>
<table class="Header" cellspacing="0" cellpadding="0" border="0">
[Code] .....

MXML Component:
<mx:HTML id="htmlControl" width="100%" height="100%"/>

Script to load URL:
htmlControl.htmlLoader.load(new URLRequest("[URL]"));

View 1 Replies

Javascript :: Disable The Browser's Minimize Button When Launching Flex Application?

Mar 14, 2011

How can I disable the browser's minimize button when launching my flex application?

View 1 Replies

Javascript :: What Is A Good Platform For Building A Game Framework Targeting Both Web And Native Languages

Jan 6, 2011

I would like to develop (or find, if one is already in development) a framework with support for accelerated graphics and sound built on a system flexible enough to compile to the following:

[Code]....

View 3 Replies

Html :: Embed A Google Maps API Javascript In Flex?

Apr 11, 2012

How could I embed a Google Maps API Javascrip on my Flex Application?I found some examples, but none of them worked for me.

http://javey.net/bike/map/player5/map.html?gpx=http://javey.net/bike/gpx/24-nov-2007.gpx&title=Sheldon.Road.Trail http://note19.com/2007/11/22/how-to-embed-google-map-in-flex/

View 3 Replies

Javascript :: Duplicate Flex Object In HTML Without Re-Initializing?

Oct 16, 2009

I am creating a flash object that does some heavy image lifting. What I am looking to do is load many flash objects onto the same page to take an image, modify it, and display it within the flash object.The problem I am running into is that when I try to add 100 flex objects to the page, the browser freezes as it tries to re-load/initialize each instance.Once they are all loaded, the processing of the images goes by quick.Does anyone know how to duplicate the flash piece without having to reload everything?

View 2 Replies

Javascript :: Run Inside HTML Component In Adobe AIR Flex 4?

Mar 26, 2011

I have the following component in an AIR application from Flex 4:

<mx:HTML id="viewObject"
x="10" y="42" width="634" height="313"
location="http;//localhost:8080/mypage.php" />

Now I want to run a javascript when the page loads but the javascript isn't inside the target page. I want to run the following javascript:

javascript:alert('Hello world.');

I tried approaching it by setting the location property again to the javascript after the page has loaded like below.

<s:Button x="10" y="10" label="Button">
<s:click>
<![CDATA[

[Code]....

Unfortunately for me, that doesn't seem to work.

View 1 Replies

JavaScript :: Obtaining Functionality Of Flex Tile Container In HTML

Sep 15, 2009

The Flex tile containers will create and remove tiles as the data changes and seems good to use in areas where the content is dynamic. How to implement this functionality in HTML? I guess that we need to use some JS and/or CSS.

View 1 Replies

JavaScript :: Integrating Adobe Flex Applications With HTML Pages

Feb 16, 2011

How can I get my Adobe Flex applications to seamlessly integrate with HTML pages? That is, I want Flex to: Not take up the entire page (make it any size page element I want). Talk back to the JavaScript on the page (further linking the Flash application with the HTML page).

View 1 Replies

Javascript :: Force Explorer To Reload Flex Page( Swf Embedded In HTML)?

Aug 23, 2010

I developed a flex website, the web explorer always caches swf file which embedded in HTML. Sometimes I make changes to the flex file, clients computer still view the previous version which stored in cache. How can I force client's web explorer to reload/refresh the swf file?

View 3 Replies

Javascript :: Srollbars For A Flex4.5 Application In Application And Browser?

Nov 8, 2011

I'm developing a Application in Flash Builder 4.5 to control an server application, also not a classical Website. All is Spark and I set the minHeight and minWidth-Properties for the , because i have an Image and Navigators, and there becomes a strange effect, when the browserwindow is sliding smaller that the min-Properties.The content and there scrollbars are already controlled over the parent containers, thats not the probelm.

Summary: What i expect from a upToDate-Application is:When the Browserwindow is larger than the min-Properties, but too small for the content, the Application respectively the container should control the scroll bars.If is the Browser-Window smaller than the min-Properties, i expecting scollbars from the browser. I think, in this case, the html-wrapper needs knowledge about the min-properties.

View 2 Replies

Flash :: Use Parsley Framework In Flex Application

Dec 13, 2011

I am trying to use parsley framework in my flex application. Messaging System is one of the best feature that I see while using parsley, But I had a doubt, Does using Parsley framework in your application means that

[Code]....

View 2 Replies

Javascript :: Swf Into A Html File. 5secs Later Will Dissapear So That The Html Will Appear?

Feb 10, 2011

I want to make div into my intex.htm file (already built site) to place in a .swf file that will cover the whole screen, and a few seconds later the animated page will disapear and the htm page will appear. I don't want to make different htm file, neither put a button on flash(ie on click...). I just want after a few seconds and after the flash has ended, the flash will go away and the page will appear.

View 1 Replies

Flex :: Connecting Flex Application To Tomcat + Spring 3.0 Framework With BlazeDS?

Apr 9, 2011

I'm developing a web application (client in Flash Builder 4, server in Eclipse 3.6 + Tomcat 7 + Spring 3 Framework). How do I make the Flex client automatically deploy in the Tomcat server and use BlazeDS messaging and remoting more seamlessly?

View 14 Replies

Javascript :: Redevelop The Application So That The SWF?

May 31, 2011

Previously I'd worked on a flash application that would be embedded into a webpage at 100x20 that loaded a graphic for a button based on XML. When the button was clicked, the application would go full-screen via AS3. stage.displayState = StageDisplayState.FULL_SCREEN;

This worked great - the application went full-screen as expected. Today I need to redevelop the application so that the SWF will launch full-screen via JavaScript (so that they can add the launch functionality to a link and whatnot).

I moved the above code from the _click(e:MouseEvent) function and placed it straight into the constructor of the application document class. However this doesn't work when it's embedded on a web page? When I open the SWF on my PC it works fine (launches into full-screen straight away). Just doesn't wanna happen when it's on a web-page.

[Code]...

Which obviously just appends the object to the page. Is there another way I can go about this? Or am I just missing something simple? I'm guessing the reason is that full-screen is blocked unless it's user-initiated.

View 1 Replies

Javascript :: Javascript - Target Multiple Objects With A Single Operation Using ECMAScript's `with` Statement?

May 2, 2011

The following doesn't work (although it gives no explicit error), but why not?nd... Is there really no way around it, strictly using the with statement? Forget using for / foreach.

with (object1, object2) {
attribute = value;
method();
}

Why the code above gives no syntax error, doesn't work but is accepted by with?If it's possible, how could we change multiple objects with same attribute using with?

var object1 = { attribute: 3 };
var object2 = { attribute: 2, method: function() { alert('blah'); } };
var object3 = { method: function() {alert('bleh'); } };

[code]....

View 2 Replies

Flex :: Architecture - Application Framework - PureMVC Portability Vs Swiz?

Dec 9, 2009

My company is building a Flex application that we may need to port to other platforms:

[Code]...

Currently, I'm looking into application frameworks to build upon and I'm torn between pureMVC and Swiz. I LOVE swiz for its simplicity and how it just gives you a way to hook things up and then apply your own patterns. From a flex-only perspective, this is my 1st choice. But, PureMVC is platform-independent and has already been ported over to most of the platforms that are mentioned above. How valuable is this portability? Will it really make our lives significantly easier when it comes to porting and developing/maintaining multiple applications? If so, then it seems like PureMVC is the way to go.

Alternatively, since Silverlight has the most definite business case for porting of our application, maybe we could port Swiz to Silverlight? I'm not too familiar with which AS3 language and Flex framework features Swiz depends on and whether they are available in C#/Silvelright.

View 2 Replies

Javascript :: Passing File Paths From Flash To JavaScript For Upload?

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

Javascript 3 :: Can A JavaScript Function Detect Which Flash DOM Object Called It

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

Javascript :: Call An External Javascript On Frame Action/change?

Aug 26, 2011

i have a flash movie with 2 frames. and i would like to call an external javasscript function on frame action.

[Code]...

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved