Coldfusion - Create A Treemap And Depict It Through Flex?
Jun 9, 2011
So basically what I'm trying to do is make something like this:[URL]... I've searched long and hard to find a site that would show me some pseudocode (at least) or an algorithm as to how to implement this type of application. But everything I find are only applications that take in data and do all the work for me to create the graph. I need to actually create it for myself, just a simple one for now. Does anyone know where I can find this? What I want it to do is take data from a database and use it to create the treemap, then express it in a GUI like in the link above. If any specifics are needed I can provide it. I'm trying to do this in Flash Builder using Flex and using ColdFusion as the backend.
View 1 Replies
Similar Posts:
Feb 4, 2010
Inside a flex app, I have a user login. The login calls a ColdFusion function as a remote object which authenticates the user and, if applicable, returns their id and access level. This works fine, but now I'm at the point where I want to also create a cookie for another ColdFusion template (called from fileReference.upload()) to be able to access later. I have tried several different methods for creating the cookie -- cfcookie, creating a cookie with JavaScript inside the ColdFusion function, and creating the cookie with JavaScript with an external interface once the coldfusion function returns to the flex result handler. All of these have been tried with a plethora of options regarding expiration, path, and domain tags.
[Code]...
View 1 Replies
Nov 14, 2011
I am currently pulling data from an s3 storage account. S3 has a flat file structure but gives the impression that the files are stored in directories. how do I convert this String[]
[
"/company_1/user_1/1.txt",
"/company_1/user_1/2.txt",
"/company_1/user_1/3.txt",
[code]....
I am using grails to render the data as JSON for a flex application using an Advanced Datagrid and need a tree like structure, as if you were browsing files on your desktop.
View 1 Replies
Apr 15, 2012
What material did you use to learn Flex/Air itself, and with ColdFusion + BlazeDS/LCDS?
View 7 Replies
Aug 26, 2009
We recently built a new dev server for flex builder and installed coldfusion 8. We currently have everything working on our old server using coldfusion 7. We copied the services-config.xml and our project over to the new server. It compiled fine, I updated all references to the new server. When I try to run the flex application I receive the following error:
Warning: Failed to load policy file from http://localhost/crossdomain.xml
* Security Sandbox Violation *
Connection to http://localhost/flex2gateway/ halted - not permitted from file://ourServer/folder/ourProject/bin-debug/ourProject.swf
We created a valid crossdomain.xml file on the localhost (which I wouldnt think would be necessary since everything is on the same server)
View 1 Replies
Mar 30, 2011
I have Flex front end talking with ColdFusion as the back end. I have to debug my application and need to: Add log support to ColdFusion where I can add my custom messages to log list.Access this log at Flex end.Is it possible? Has anyone tried it before?
View 1 Replies
Mar 11, 2010
I'm using CF to retrieve values from a database that are then being stored in a datagrid in Flex. I then want to selectively take the value from one cell of the datagrid and store it as a string variable. I've searched around, but I haven't been able to come about a solution. The users will not be interacting at all with the datagrid as it will be hidden to them.
View 1 Replies
May 26, 2010
Is the same possible in ColdFusion? Currently I am using .Net/Fluorine to return objects to the client. Whilst in testing I like to pass strings representing the select statement and the custom object I wish to have returned from my service. Fluorine has a class ASObject to which you can set the var 'typeName'; which works great.
I am hoping that this is possible in Coldfusion. Does anyone know whether you can set the type of the returned object in a similar way. This is especially helpful with large collections as the flash player will convert them to a local object of the same name thus saving interating over the collection to convert the objects to a particular custom object.
[Code]...
View 2 Replies
Dec 7, 2010
I'm calling ColdFusion cfc method using RemoteObject method of the Flex.
[Code].....
So you can see that I changed the sequence of the parameter, when I call the cfc method. But it does not worked. It means that <s:arguments> does not pass the named parameter. Is there any solution for that? As you can see that I may have some of the arguments not mandatory so, it must be passed by name.
View 1 Replies
Mar 7, 2012
I have a Flex/CF app that sits on 2 redundant servers behind a load balancer. Both the Flex and CF side make calls to the same CFC. The Flex, CF and CFC are all in the same folder. When the CF code calls the CFC, there's not a problem. However, when the Flex code calls the CFC, it adds an explicit port "84" to the URL.This causes a problem for the load balancer which only accepts traffic from port 80. As I understand it, the load balancer would internally route requests from port 80 to 1 of the 2 servers on port 84 (but that internal routing should be invisible to the client).
[Code]...
View 1 Replies
Jun 28, 2011
I have a scheduling application that allows users to save any changes. When the user clicks the save button, Flex sends all the information to a coldfusion script which picks the information apart and sends saves it to the database. That all works well and good, but I would like to be able to display some sort of text to the user saying something like "Your file was successfully saved" or "There has been an error.
[Code]...
View 1 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
Jan 22, 2011
Assuming calling the same ColdFusion web service and all other factors are identical, is there a difference in performance/speed between using the following two tags?
<s:RemoteObject id="MyService" destination="ColdFusion" source="MyWSFolder.MyService"/>
and
<s:WebService id="MyService" wsdl="http://www.myDomain.com/MyWSFolder/MyService.cfc?wsdl"/>
View 2 Replies
Mar 20, 2011
I hope this problem would not waste your time. I use Adobe Coldfusion 9 to create CFC to to interact with database. Generally, CFC can be generate WSDL by itself. for example:[URL]..
The WSDL was generated well. But the problem has been found when I tried to use Adobe Flash Builder 4's Data service to generate service class to connect ColdFusion's WSDL.
If you tried to invoked the remote function that return primitive data type as int or String, it works correctly.
[Code]...
View 1 Replies
Sep 30, 2009
In my flash application, I need to get a value from coldfusion. For this purpose, I have used flashvars. But I am not getting the value.
View 1 Replies
Jan 23, 2006
I have a form in Flash. Would it be possible for me to send the data from that form to ColdFusion and then have ColdFusion generate a PDF with that information? What do I have to do to make it work?
I know how to send the variables from Flash to CF, but I don't know how to make ColdFusion generate a PDF with that data.
View 2 Replies
Mar 22, 2011
trying to connect to Coldfusion through flash. i get message that server may be down. CF server is up and running. It doesn't validate the configuration also.
View 1 Replies
Apr 20, 2009
Doesn't seem to be much info out there on this. I'm consistently getting a coldFusion error on upload. (sorry, wasn't sure whether this was a coldFusion or Flash problem, but ended up posting here)I have tried several ways of uploading, the latest would be:
var request:URLRequest = new URLRequest("http://www.blabla.com/upload.cfm");
request.method = URLRequestMethod.POST;
request.contentType="application/octet-stream";
var loader:URLLoader=new URLLoader();
[code]....
View 3 Replies
Sep 9, 2008
I am trying to pass an encoded JPEG from Flash/AS3 toColdfusion. The JPEG is generated in Flash with a Drawing tool, andwe want to save the JPEG on the Coldfusion server. I have written asimple CFC that saves files passed from a Flex RemoteObject, but Ican't get anything like that working in Flash.The only documentation I found that seems close to this onAdobe's site was this, am I barking up the wrong tree with this
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
Oct 20, 2011
I am doing the following in actionscript in Coldfusion Flash Forms:
90 / 3.7
Gives me:
24.3243243243243
Whereas the calculator gives me:
24.32432432432432
Note the extra 2 at the end.
So my problem occurs when I am trying to get the original value of 90 by taking the 24.3243243243243 * 3.7 and then I get 89.9999999999 which is wrong.
Why is Actionscript truncating the value and how do I avoid this so I get the proper amount that the calculator gets?
View 2 Replies
Mar 6, 2006
I am trying to populate a ComboBox from a ColdFusion component. The cfc is simply querying a db to get a list of products.
However, the code I am placing in the Actions panel:
function PartsList_Result(result) {
DataGlue.bindFormatStrings(test_cb, result, "#name#", "#partsID#");
}
doesn't appear to be working correctly. The only result I see is a blank box that when I hit the arrow, the first item in the query is returned. From what I have read, I thought that the code above would be all I need. So I'm not sure why:
1. The first item is not automatically selected
2. The rest of the list is not there.
View 1 Replies
Apr 7, 2007
I am trying to send data filled out in a form in my flash movie to send mail using CFMAIL. In my form that is in Flash I have variables set. Then when the button is pressed loadVariables("sendMail.cfm", "POST");
Then on my CF page I have this:
<cfmail from="info@mysite.com" to="#FORM.email#"
SERVER="mail.mysite.com" >
#FORM.comments# #FORM.company# #FORM.name#
</cfmail>
I can't find a tutorial on this. Everything is PHP. And I don't want to use "Flash Forms in MX7"
This is all embedded in my Flash web site.
View 2 Replies
Sep 28, 2010
Need to populate textfield from a mssql database using coldfusion
View 7 Replies
Nov 10, 2009
I've built a application that communicates with Coldfusion cfc functions via Remoting. I've noticed that the NetConnection object disconnects after each call, is this expected behaviour? For some reason I was expecting the NetConnection object to stay connected until I closed it myself (I'm making about 1 request per second and had planned for it to stay open).
View 1 Replies
Jun 19, 2008
populate textfield from a mssql database using coldfusion?
View 13 Replies
Feb 26, 2011
I want to put one audio player in my website. For that I need to know if user's browser have flash player installed. Otherwise I will use different player to play audio file(.wav).
I will be glad to know its solution by either javascript or coldfusion.
View 2 Replies
Jan 25, 2010
I'm using a Coldfusion Dreamweaver template with cfinclude tags. The header contains a flash movie where I'd like to pass 2 variables via a query string to load the correct image and menu button based on the variables in the ActionScript.
Example: <param name="movie" value="flash/header_v8.swf?pic=1&button=1" />
pic variable can be 1 - 3 and button variable can be 1 - 7 depending on the each pages body element id. So the logic would be something like this for my flash movie:
if body id =home, then pic=1 and button=1
if body id =about, then pic=current variable and button=2
if body id =page3, then pic=1 variable and button=3
[Code].....
What's the best way to pass these variables depending on the current page body element id?
View 1 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
Oct 7, 2011
has their own web-to-lead form that can be used to send leads from a website contact form. But I want to submit leads from a contact form inside a flex application. I can't see anything in the documentation, or on Google about this. Is it possible?
View 1 Replies