XML :: Flex Code Generator Based On Database Structure
Jan 22, 2010
I don't know if it exists some code generation method for Flex based on XML or Database Structure. For example, we want to manipulate a table in the DB, the most common task is (View/Insert/Update/Delete). And when we have more than 100 fields on the interface, it's rather boring to type them manually in Flex. Is there some ways to generate the Flex Code and the ActionScript functions for managing that.
View 2 Replies
Similar Posts:
Dec 4, 2009
Is there a way to avoid the copy of the empty folders, based on the current source library structure, in bin-debug folder?I'm using Flex 3.2
View 1 Replies
May 7, 2009
is it possible to script in flash so that you can have smoething like the enigma machine?ike have an input text box where you input a letter or words then have another output box where the translated work or letters would come out? and if so, can anyone provide me with the actionscript?or would i have to venture into Dreamweaver?
View 6 Replies
Mar 15, 2012
I need to generate colored QR codes in AS3. Is their any library available for that? Can zxing do this?
View 1 Replies
Aug 13, 2010
I need to make my own QR code generator script in Flash, or get one in JS/PHP. Problem is that I can't find any info about the algorithm or any free scripts. Is the QR code algorithm copyrighted and not open to the public?
Maybe you know of some free sources on how to write it?
View 1 Replies
Nov 5, 2007
I want to make a code verification form. Those forms that generate an image which you have to read and type down the code in it. I want to have AS generate a random set of letters and numbers in an unselectable textField. That will be the generated bitmap (not a bitmap actually, but... ). I also want that randomly generated set of letters and numbers to be written down in a variable so that I can compare the variable with the input field of the user to test if it is ok. How to randomly generate that?
View 1 Replies
Dec 25, 2010
what's the size of the bootstrap code for cairngorm framework which is based on flex?
View 1 Replies
Dec 4, 2009
i instantiate a sprite-class "panel" from my main class. then i call a function "show chooser" inside "panel" which instatiates a sprite class "chooser" with some buttons. now when one of the buttons is pressed i need to call a function inside "panel" which removes the "chooser" sprite/class and which calls a function "onChosen" in the main class.
what is the correct/best way to reference these functions so that they can be called from within the panel and/or chooser classes. i am still too much in the old thinking that a function belongs to a movieclip and can functions with _parent. i need to learn the proper way now.
View 2 Replies
Dec 17, 2009
I want to create a Flex 3 application running in Adobe Air that accesses an SQLite database and I need to keep this database in sync with an SQL server 2005 database running a website.Is this something that Flex supports or is it going to be a custom script? Also, has anybody done anything like this?
Edit: The synchronisation can be done on a daily basis rather than real time. The data will be read only from a front end perspective with a CMS to do updates on the website.
View 2 Replies
Jun 7, 2010
I have researched this issue all over and most people say use the .refresh() method to update a datagrid after updating or adding a new record. This does not do anything. So, my issue is this. I have a mySQL database hosted I am connecting via PHP, I have 1 mxml file and 2 php files (I know I can use just 1 but I am learning and this was easier for me to use for troubleshooting). The issue is no matter what I change on the datagrid the update does not show on the datagrid unless I close out of IE and reopen it. I can refresh or open the page in another window and the update does not show. I have to exit entirely and restart in order for any updates or additions to show.Here is my licenseTracker.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[code]....
View 9 Replies
Aug 31, 2011
I have updated the mxml code to only show the needed code for the program to run the update.
I am new to Flex and have an issue I hope you all can help me out with.
I have researched this issue all over and most people say use the .refresh() method to update a datagrid after updating or adding a new record. This does not do anything.
So, my issue is this. I have a mySQL database hosted on 000webhost.com, I am connecting via PHP, I have 1 mxml file and 2 php files (I know I can use just 1 but I am learning and this was easier for me to use for troubleshooting). The issue is no matter what I change on the datagrid the update does not show on the datagrid unless I close out of IE and reopen it. I can refresh or open the page in another window and the update does not show. I have to exit entirely and restart in order for any updates or additions to show.
Here is my licenseTracker.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[Code].....
View 1 Replies
Jul 4, 2010
Is it possible for recent versions of flash to directly (or thru Php) access (& update) data from a mysql database and display results based on the data?
So if my database were like this (math scores):User 13Jerry | 20Kane | 7 the flash output would be a bar graph like this (those hyphens would be bars in flash)
Is this possible these days? Google analytics does something like similar to this.
I last used flash somewhere in 2003/4. Never after that :-) I've completely lost touch.
View 6 Replies
Jan 17, 2011
I am planning on using Flash Builder 4/Flex to write an AIR application which is primarily based around recording, storing and analyzing data.I'll be creating charts etc that need to update in almost real time.It's essential to me that the application be able to function without an internet connection so I need a local database of some variety,but I would also eventually like to build in online synchronization of the data where either database can be update each other based on newer information. Moreover, some type of encryption would definitely be welcome, and speed is a large concern
Synchronization: Primarily updates/additions/deletions will be done on the offline database, but ideally I want to have a web interface that will allow the same updates/additions/deletions and will be synced (beyond that I'm not sure exactly how to do it as I can model that based on what is most achievable).I'm wondering if there's any prebuilt engine that could handle the synchronization of 2 databases. I may end up having the web interface only be for additions, which would be significantly easier to sync.. and I may start that way, but i want to build with technologies that will best allow me to implement full online crud at some point.
View 1 Replies
Sep 26, 2011
Here is the issue: a client wants his entire equipment inventory accessible by persons navigating to his jquery mobile site. The inventory that exists on the desktop site was, as I understood, built with Flex. Is it possible to access this database for the jquery mobile site? I believe it is. I was then given this information from someone in the know:
Database:
mlxx.db.xxxxxxx.hostedresource.com
login: mxxx
[code]...
View 1 Replies
Jan 23, 2011
I seem to run into compile issues in Flash Builder when I import 3rd-party libraries at the wrong level in the directory structure. For example, sometimes I'll import a library one level too deep into its directory tree, and the package explorer ends up excluding the prefix root-level package, usually "com." or "net.". Even though the content of the source itself doesn't change, this will cause compile errors.
Thus: Is it a 1) convention or 2) language requirement that a class's package structure (e.g., "foo.bar.Class") must match its path location (e.g., foo/bar/Class.as)?
If it's a language requirement, why is it a requirement? Wouldn't that overdetermine the package structure, since it is already specified in the source code and quite happily consuming the first three to eight columns of each line? If it's not a language requirement, are my compile errors just a result of Flash Builder enforcing the convention?
View 1 Replies
Jan 11, 2010
I am planning to develop a standalone application, which infact will be used for personal purposes. So only single user access may be there. I want to develop it in Flex. Just want some opinions from the gurus over here : Whether i should use Flex or AIR (I know only Flex, AIR i need to start learning)Which database i should use? SQLLite or HSQLDB or some other.
View 3 Replies
Dec 21, 2008
I come across this free tools of making GIF banner at this site :[URL] As far as I could guess, the creator made it in Flash, I m trying to make an equivalent Flex application, and here some problems I encountered : -When press Generate Text button, I guess this application should make a new movieclip ( in Flash ) addEventListener to it,so it could be drag&drop, inside the movie clip was a Child of TextLabel with the fontFamily,fontSize,color depends on the combo boxes ==> So in my Flex application I tried to use the RichTextEditor Components, it worked great ( provide text/font/size/color selection ) but when I make a new button, say "Create Text" , I make a new label, but problem is that in programmatic API, Label wont have property such as fontFamily, fontColor, etc to be set with, so I only get the text by myLabel.text = richTextEditor.text, is there a work around ?
- When I use AS to change the rotation of the label, the label did rotate, but the label.text no longer display, =/, button reacts the same when I change the rotation, the frame would rotate without text inside the button frame, like always =)), is there a work around for it ?P.S : Is it possible to export from flex application a canvas to a GIF ? I mean, I made a canvas inside my Flex application, I loaded a picture in it, I drag&drop some text inside the canvas, and in the end, could I export the canvas's contents as a GIF/JPG/PNG file ? P.S: Talk about the RichTextEditor components, after choose font,size,color, I have the disire Text with font/color/bold/italic... just by typed in the text box, but how to get that Text ( full properties ) as another component and add drag & drop to it ?
View 2 Replies
Dec 14, 2011
I am writing a large flex app that has to connect to a database many times. I currently am using asp pages to connect, but I would like to use the most efficient option. What do you think is the best way to connect to a database from a flex app?
View 1 Replies
Feb 12, 2012
I'm using Flex 4 and I need to render the data that resembles HTML Table with row span in a Flex component.My inclination was to use a DataGrid but I believe that rowSpan is not supported for that component. I looked at the AdvancedDataGrid but the user does not want to have a tree-structure in any of the columns. Looking to see if there are any hints/tips for modifying the DataGrid or AdvancedDataGrid to produce an "HTML Table with rowspan" look.
View 1 Replies
Jun 10, 2011
I have some components declared in MXML tags, with some properties and event handlers.For some of them there is the need to re-instantiated, so I came up with the following architecture.Array of components that will be re-instanciated at some poin:
<flint:forms>
<fx:Component>
<login:LoginForm loginClick="outerDocument.form_loginClick()" />
[code].....
View 1 Replies
Jul 15, 2010
My code is:
[Code]....
Taking the package name out lets it compile, but when it is in it tells me it the package structure isn't right, but I'm not sure what I'm doing wrong. Is it an error I made? Or possibly my version of mxmlc is corrupt? I compile it with
View 2 Replies
Jun 10, 2011
I want to figure down the class structure of flex. Where can i get the assumption diagram of Flex framework?
View 1 Replies
Apr 11, 2010
I want to take any Text sting and form from it text formed by particles in actionscript 3 (In flash flex) I see I need some lib for this. but all libs Ive seen do not have such functionalyty by default...
So I want to get something like this
So Is there any sych lib? or way of doing it with some lib?
It should be Free and Opensource (any license like GPL, LGPL etc will be ok).
View 2 Replies
Apr 15, 2010
I've got a problem how to organise files and packages in AS3/Flex project. A short intro to the problem:
The files structure in the project is (and should stay) like this:
libs/Class1/src/<files>
libs/Class2/src/<files>
libs/Class3/src/<files>
The amxmlc compiler source-path variable points to:
libs/
I need it because I have to subclass Class1 in Class3. That pushes me to put all the classes into packages that look as weird as this:
package ClassX.src { /* ... */ }
So in practice it looks like that:
package Class3.src
{
import Class1.src.Class1; // I prefer direct imports
public class Class3 extends Class1 { /* ... */ }
}
Is there a way to keep the files/folders structure and get rid of src in the package name. Changing the files structure or direct pointing compiler into base-class directory in not an option.
View 2 Replies
Jun 30, 2010
If I wanted to code a desktop-based game, I could pull some XNA code and UDP sockets and make a decent multiplayer game. I would have an extremely clear of how to code the game I wanted.But if I wanted to code a browser-based online multiplayer game, how would I do it?ou can't use XNA....I've been looking at some questions and I'm seeing PHP and ASP.NET and Silverlight and Flash and Java as the alternative languages...I really don't understand how it works. I mean, for a desktop-based game, you're opening a UDP socket and accepting clients and transferring data, updating player states, drawing the results using XNA. But in a browser, how do you open a socket and stuff? How does that concept work, communicating to people in realtime through a web-browser.
View 6 Replies
Feb 19, 2008
Way to pull in a map (say mapquest or google maps), into a flash app based on a user postal code.
View 1 Replies
Jan 4, 2011
Is it possible to upload a complete folder with subdirectories and files (in the subdirectories) in Flex?
I am using a Flex / BlazeDS / Spring application. The question is not how to transfer the data to the server.The question is: if it is possible to get access to the files and subfolders (recursive) with Flex?
View 2 Replies
Mar 26, 2011
I received a Flex project but don't know how to open it in Flash builder. It doesn't contain a project.mxml or .actionScriptProperties, .flexProperties and .project files. the file structure looks like this:
(rootFolder)
-(com)
subfoldrestructure containing only folders and .as files
-(src)
-(_embed)
[Code]...
how do I make a compilable Flex project out of this?
View 1 Replies
Jul 21, 2011
I have some kind of UIComponent grouping which may look something like this with the classes "Group" and "Element". Groups can have children and children may be elements or groups again, basically similar to a file system or the str+g group function in several graphics programs. The simplest form of a group is a group with only children which are also the most low level groups in the tree.
The display hierarchy is already existant, i try to persist it to xml.
Group
- element
- Group
- element
- Group
-element
-element
- element
- element
I want to rebuild this structure in an xml-document for persistence. I know how to build an xml document in Flex but not how to (recursively) traverse this n-tree correctly. For getting only the child nodes one could make use of the following algorithm (pseudo code). But somehow I don't understand how to create the xml from this.
walkTree(group) {
children = node.getChildren
if(children != null) {
for(int i=0; i<children.length; i++) {
if(children[i].isGroup()) {
walkTree(group[i]);
} else {
trace(child);
}}}}
View 2 Replies
Jan 14, 2012
I am trying to understand why I am not able to launch a SWF from the URL after launching mvm jetty:run on my project.The project has built successfully and produced a Falcon-WAR-0.0.1-SNAPSHOT.war in the maven target directory. In this file are the following files - and includes the .swf file compiled from the Flex project.[code]The context root of my application is the same as the artifact ID of the WAR, so it is FALCON-WAR.When I launch mvn jetty:run, I get the following print to the console:However when I try to navigate to URL...on my browser, I get the following, when I expect to launch the .swf file from the web.xml definition.
View 3 Replies