Asp.net :: From Flex / MXML And XAML To HTML - What Are The Best Options
Dec 13, 2011
I know Flex MXML / AS3 very well. I also have good knowledge in C#,XAML and ASP.NET. I will be forced in the next years to do more HTML (Webapps) work. I could take ASP.NET but i dont like it really as i have to care about all that browser specific things and coding Javascript ist just horrible when you come from C# and AS3. Also ASP.NET isnt just as smooth in writing and using Components as it is in MXML or XAML. MXML (with FDT not FlashBuilder) and XAML also have awesome tooling for their Markuplanguage and their business language which i need. I know some Java too and willing to learn a new language if gives me what i need. I took a look at Vaadin and GWT but both seem to lack a Markuplanguage.
View 2 Replies
Similar Posts:
Dec 7, 2011
I'm working with some mxml that I'd like to see how it looks like in actionscript. It's a popupAnchor that just has a custom view called HTMLWindow. The custom view is basically nothing but an mx HTML component <mx:HTML>
[Code]...
View 1 Replies
May 7, 2011
I am using progressive streaming with VideoDisplay, the HTTP URL provided gets buffered completely even if I have configured it to start playing the video when the buffering reaches 20%, the trace message shows that the playing started(using mozilla /Flashbug+Firebug), but it doesnot show the video till the buffercounter reaches 100% How can I get the video stream to play at the 20% of stream.Code Segment where the check takes place
var loadedPct:uint = Math.round(100 * (event.bytesLoaded / event.bytesTotal));
trace('waiting...');
mainVideoCanvas.addChild(LoadingImage);
VidLoadingLabel2.text = loadedPct.toString();
[code].....
View 1 Replies
Sep 24, 2009
Does MXML get compiled down to as3 and then converted to flash bytecode? Also, is there a significant performance penalty to compiling mxml vs compiling as3?
View 3 Replies
Jun 4, 2011
I am working on a custom Flex 4 component which is an aggregation of two existing flex components. I would like to be able to specify my own custom properties for the component as well as access the existing public subcomponent properties via MXML. For instance I might want to adjust the font color or style for the label and text input. toy component which aggregates both a label and a text input:
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[code]....
View 1 Replies
May 28, 2011
I am trying to override a Button class, i have a few properties which i wish directly initialise with the mxml description of the component, like :[code]which function is triggered ( in order to override it ) when all properties with mxml description is fully initialised with their values ?
View 1 Replies
Apr 28, 2011
I have a application developed in flex deployed on server. In the application data is filled by user and saved in cookies so as to be available even when the user closes the application. However if new version of application is released the user can still access the older version saved in the cahe. How can it be assured that whenever a new version of application is released the application is loaded from the server and not from the cache and at the same time data saved in the older version (in cookies) can also be accessed in the new version.
View 2 Replies
Feb 3, 2011
What I'd like to do: create an MXML component with some children, then extend it via MXML to create a new component with more children, without losing the original set.In other words
create a component bc.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:BorderContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
[code].....
View 1 Replies
Sep 27, 2011
i have defined some functions in a component mxml file let us say addbutton() now i want to call this function in main mxml file.
View 2 Replies
Feb 10, 2011
Here is the case: Everytime that I clean eclipse project and restart Apcahe Tomcat server and run the application main MXML I got the following error "The requested resource (/{Main mxml file name}.html) is not available." To solve this everytime I should create a new MXML application,restart the server and then everything is fine.
View 1 Replies
Apr 23, 2010
main.mxml
[Bindable]
private var _dp:ArrayCollection = new ArrayCollection([
[code].....
View 1 Replies
Dec 22, 2010
So I published my Flash Movie using the HTML settings of Match Movie Size, rather than Fit To Screen (fit to percent, I believe it is) under the publish settings options. This way it works great, but there is no scrollbar on the browser. So my stage size is pretty big, lets pretend its 1200x1200 lol. So, now I want every monitor in the world to be able to see the entire page. I do not want it to fit to their screen, but I want them to be able to scroll down using their browsers scrollbar rather than a scrollbar within the SWF itself.
So imagine you are on a 15 inch monitor, and you are browsing my 1200x1200 HTML page, calling the SWF. You need to be able to scroll down to see the bottom, and scroll right to see the right side. Why is the browser scrollbar not appearing? Is there anything I must do?
View 3 Replies
Aug 29, 2011
Im building a program that queries a database for options and displays the options in a number of comboBoxes. The comboBoxes are dynamically built and loaded via code and added to the stage. I would like to build the comboBoxes into a single movie clip (maybe not the correct wording) so I can use options like tweening and such to make it look better. The code is below.
package classFiles
{
import flash.display.MovieClip;
[code]....
View 3 Replies
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
Aug 12, 2009
A Flex components values are initlized by init methord. In an application flow, How to refresh a mxml component data value ; as init is callled at the start up it self only.
eg. of mxml componet may be as simple as button label or text as complex as repeater whose data provider is a web service ( means a fresh quesy should be made to pull the data and refresh the dataprovider of repeater )
View 3 Replies
Jul 7, 2010
suppose i have 3 buttons(for example say, productin, marketing, sales ) on my main.mxml..once i click on one button it should take me to abc.mxml page with production data, once again if i click on second button it should take me to the same abc.mxml but with marketing data. same as for 3rd button also, how can i achieve this ?
View 2 Replies
May 18, 2011
I've been trying to create a custom mxml component that extends another custom mxml component (i.e.MyMXMLComponent -> BaseMXMLComponent -> Group). I've been reading that trying to add visual children to MyMXMLComponent caused error with Flex 3 but that's no longer the case with Flex 4.
What I want to know is whether this is a supported/fixed/documented feature of Flex 4? or just some undefined behavior in Flex 4 that may get changed with future updates?
if this is supported and documented feature, does anyone have link pointing to adobe document stating it as such?
View 1 Replies
Mar 9, 2012
This is a project I'm working on for a simple demo tutorial application in Flex. I am using mxml pages. You can see to the left that I will have my main application and then other mxml files (In the Examples Package) as the examples that will be loaded into the main application mxml. How can I dynamically pull the value from the object in the list to load the child mxml file into the container that I have further down in the application?
View 1 Replies
Nov 10, 2011
The rumors are true - you can now code Flash directly in your HTML page - no SWF required.[URL]..There are many similarities with both Flash Text Markup Language (FTML) and HTML and just as many differences as well. Both languages are XML based and are rendered from an .html file.Both render directly in your browser window, but HTML is non interactive while FTML is fully interactive.
Any web developer knows the hassle of dealing with HTML code. Although HTML is light weight and renders in the brower, the [View Source] of every browser will break in its parcing of HTML, because it is not fully XML compliant. This is not the case with FTML as you can see that all browsers denote FTML as fully XML compliant, viewable in its markup and syntax highliting provided by the browser.
View 4 Replies
Jan 13, 2012
My group is working on a Flex/AS3 scientific web application that is data intensive. Luckily the only plots involved are line charts. However, each line chart may have multiple traces (up to 24), and each trace may contain up to 2000 points. The user will need to zoom in and out and interact with the data (e.g. data tips, etc.).
The response I'm getting from developers is that's a lot of data to render in a plot in Flash. For reasons beyond the scope of this post, we can't sample the data to reduce the size (this has already been done and nature of the data prevents further sampling).
Rendering speed is critical for this app. What kind of rendering speed should I expect the Flex 4 line chart component to provide for a given number of points (e.g. 1 second to render 1000 points?)
Are there products available that handle plotting large data sets better, which can be incorporated in Flex (I've seen FusionCharts and ZingCharts online but have no idea how they compare with Flex's components)? Of those, which are easy to develop with while still providing a lot of flexibility in look and feel?
View 1 Replies
Sep 8, 2009
I'm trying to setup a DataGrid that contains a column of combo boxes. The values of the combo boxes are defined by data specific to that row. I cannot get this to work though, I'm asking for a solution to this, either fixing what I have below or a recommendation on a different way.One of the columns of my DataGrid has an object derived from a ComboBox for an ItemEditor. The itemEditor is set like this:
<mx:DataGridColumn editorDataField="selectedItem" dataField="type" editable="true" >
<mx:itemEditor>
<mx:Component>
[code].....
View 1 Replies
Feb 8, 2012
From an HTML form, I wish to launch my existing working flex application passing in parameters E.G, login details.[code]...
View 1 Replies
May 16, 2011
I have a method in CustomPanel.mxml and I need to use id which is available in Main.mxml. Below is my sample code
Main.mxml
<local:CustomDivideBox id="div1">
Custompanel.mxml[code]....
View 2 Replies
Jul 25, 2011
I would like to include an MXML file in my MXML file in the same way you can include an external file in AS3 using the include directive. Using the include directive brings the code from the external file into the original file at compile time placing it in the same scope. For example,
Application.mxml:
<Application>
<source="external.mxml"/>
[code].......
View 4 Replies
Apr 5, 2011
I'm interested in finding out the best approach to this issue, it's not technically difficult but there must be an elegant solution. Basically i have a form that features mostly text inputs, i would like to change the style of the input boxes based on the current state. I can do this in the mxml on each input...
[Code]...
View 1 Replies
Aug 26, 2009
I have an AIR application running on a Mac and I want to have the behavior of hiding the window when someone "closes" the app (e.g. hits the red "x" button or cmd-w). However, if someone hits cmd-q or chooses "Quit" from the dock context menu or top level menu, I want the app to actually close.I can preventDefault on the "closing" event sent by the application, however, this causes all "close" methods to just hide the window. The only way for someone to close the application at that point is ForceQuit (or through a separate interface I provide, like a context menu option on the dock icon).
I have also tried capturing the cmd-q keyDown event manually, but it doesn't get sent. Also, this wouldn'tor the case when people try to quit the app using the menu options.Furthermore, if I preventDefault on the closing method, it causes my application to cancel a shut down process immediately (which is a terrible user experience).Is there a way to detect different methods of closing an AIR application? I want to be able to tell the difference between these closing methods and react to the appropriately.
View 2 Replies
Nov 15, 2009
I have to change the "Yes" and "No" buttons in an Alert.show(..), to another language (Dutch, for instance).
Is there a (easy) way to do that?
I forgot to mention - I have a -locale nl_NL in my compiler options, but it is still Yes/No
View 1 Replies
May 5, 2009
[Code]...
how to add addevents to the menus in the popupButton.
View 5 Replies
Oct 23, 2009
I had Flex Builder 3 installed and working properly.
I then downloaded Zend Studio 7 (Eclipse) and installed the flex 3 plugin for it. Since doing that I now have a problem with Flex Builder.
I right click on the Flex project and select "properties->build path" there are now missing options. I should be able to add project references and SWC's. These options are simply missing. I basically get a blank window instead of the options.
I have tried completely removing both Zend and Flex Builder. I re-install Flex Builder and it's still the same.
This is on a Vista Ultimate system. I have tried running the installer as Administrator.
I've been trying to find if there is a way to do a clean uninstall of Flex Builder, can't find how to anywhere.
View 1 Replies
May 4, 2010
Is there any way to open a folder in Windows Explorer from Adobe AIR?
It looks like these APIs won't be added until AIR 2.0, but until then are there any workarounds that can be used to enable this feature?
View 1 Replies