ActionScript 3.0 :: Uploading BitmapData To ColdFusion (cfm Page)?

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


Similar Posts:


Flash :: Uploading BitmapData Using Facebook Graph Api?

Feb 1, 2011

I've been looking around the internet on how to use the PostRequest class given by the Facebook in their Graph Api, but I couldn't find anything on it. I'm wondering how to use it to upload a bitmapdata. It just doesn't seem to be moving at all

[Code]...

Both doesn't work, which puzzles me. The first one worked without encoding it in any way, so I don't get why it doesn't work when I try to just call it like that.

View 1 Replies

Professional :: Uploading Site With Loader Page

Aug 19, 2010

I recently added a loader page ("loader.swf") to my flash website. Basically, I created a new file and added a loader which shows the percent loaded, and then it loads in the "index.swf" file. My question is: when I upload my site to the web server, do I use the loader page as the "index" page? My dilemma about that is that I don't want the URL to read "[URL]"...

View 11 Replies

Actionscript 2 :: Flash - IO Error While Uploading Photo With Low Uploading Internet Speed?

Mar 1, 2010

Actionscript:
System.security.allowDomain("http://" + _root.tdomain + "/");
import flash.net.FileReferenceList;

[code].....

View 2 Replies

AS3 :: Send BitmapData Object Data To A "asp" Page?

Sep 13, 2011

How can i send a Actionscript 3.0 BitmapData object data to a "asp" page.

I need to send an image data (bitmapdata) to a aspx page. Image is taken from a webcam in actionscript 3.0. How can be this done in AS 3.0?

View 1 Replies

ActionScript 2.0 :: Flash 8 BitmapData - Getting Error : The Class Or Interface 'BitmapData.loadBitmap' Could Not Be Loaded?

Jan 31, 2007

I'm using Flash 8, with this code in the first frame:

import flash.display.BitmapData;
rissa._x=Stage.width/2;
rissa._y=Stage.height/2;[code].....

When I publish the file, I'm getting the following error message in the Output panel:

**Error** Scene=Scene 1, layer=Layer 2, frame=1:Line 7: The class or interface 'BitmapData.loadBitmap' could not be loaded.
var plaid:BitmapData.loadBitmap("plaid");

Total ActionScript Errors: 1 Reported Errors: 1

View 8 Replies

ActionScript 3.0 :: Error #2015: Invalid BitmapData At Flash.display::BitmapData()

Oct 14, 2009

I am trying to use the reflect class from "http://pixelfumes.blogspot.com/2007/03/reflection-class-v3-with-source .html" but I keep getting this error:
 
ArgumentError: Error #2015: Invalid BitmapData.
at flash.display::BitmapData()
at Reflect()
at Site_fla::GalleryPage_29/loadThumbs()
at Site_fla::GalleryPage_29/sortXML()

[Code]...

btw, first I used assigned thumbContainer as the mc argument (outside the loadThumbs() function) and it worked but not exactly what I wanted... because I thought it is supposed to update when the movieclip is animated but it actually didn't... when I use a scroller, only the thumbs that are first loaded to the stage get the reflection..

View 10 Replies

Actionscript 3 :: Quickly Rotate The Pixels That Make Up BitmapData Without Using BitmapData.draw()?

Dec 29, 2011

I've been using BitmapData.copyPixels() to draw graphics onto a canvas (Bitmap).I need to rotate the resulting graphics without the use of draw() because it's vastly slower.How can I rotate the target graphic? I'm assuming that there might be a formula or library that I can use which will first reorganize the pixels that make up a graphic based on an origin (point) and radians.I'm pretty certain that I'm not capable of creating such logic, so if there are any known libraries that do this, that would be awesome.I'd like to achieve something similar to XNA's SpriteBatch.Draw() method, which accepts rotation as its 5th argument.

View 3 Replies

ActionScript 3.0 :: BitmapData.hitTest - What Angle Or Coordinate Of The BitmapData The Collision Happens?

Sep 1, 2011

how to use the bitmapData collision method. Now I'm trying to figure out if there is a way to see at what angle or coordinate of the bitmapData the collision happens? I need it in order to figure the accurate bounce angle after the collision occurs.

View 2 Replies

ActionScript 1/2 :: Getting Value From Coldfusion

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

Flex :: AddChild A BitmapData Or Draw A BitmapData To Screen?

Jul 15, 2009

I'm currently working on a flash game and I need to know how to addChild a BitmapData or draw a BitmapData to screen. If I can't than how can I give a DisplayObject my BitmapData?

View 2 Replies

ActionScript 2.0 :: Flash - ColdFusion - PDF?

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

ActionScript 3.0 :: BitmapData = New BitmapData(); Eating Up Memory?

Dec 22, 2011

I've made a mobile version of my software, with low-res images and such, and I can now fully buffer all my content (including a 360 frame animation which is buffered to memory). Problem is, that everytime I update the view, more memory is used.When I write image = new BitmapData();, does it store the previously created BitmapData's in memory? Do I have to flush the memory somehow before I draw my second picture in BitmapData?Example:

ActionScript Code:
// In this example I draw using the same bitmapData several times, also
//overwriting the first image. Do I have to somehow delete the data first, to

[code].....

View 1 Replies

Flex :: Setting Up Project With Coldfusion?

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

ActionScript 3.0 :: Cannot Connect To Coldfusion In Flash

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

ActionScript 3.0 :: Gallery Page With A Bunch Of Page Numbers - Click On A Page Number, The Over Script Should Stop Until Go To Another Page?

Jan 26, 2009

i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,

function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....

View 0 Replies

ActionScript 3.0 :: Passing JPEG From Flash To Coldfusion?

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

Javascript :: Use Adobe's Blaze DS Via ColdFusion Through Ajax?

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

Flex :: Access Log Information For ColdFusion Server ?

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

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

Actionscript :: Coldfusion - Rounding Bug When Dividing Then Multiplying

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

ActionScript 2.0 :: Populate A ComboBox From A ColdFusion Component?

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

Data Integration :: Send Email Form To ColdFusion?

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

ActionScript 1/2 :: Populate Textfield From A Mssql Database Using Coldfusion

Sep 28, 2010

Need to populate textfield from a mssql database using coldfusion

View 7 Replies

Coldfusion :: Does Flash Remoting Keep NetConnection Object Open

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

Flex :: Coldfusion - Retrieving A Single Cell Value From A Datagrid?

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

Flex :: Coldfusion Returning Typed Objects / AMF Remoting

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

Flex :: Coldfusion - RemoteObject - Passing Named Parameters

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

Flex :: Coldfusion - Adds Incorrect Port To CFC Call?

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

ActionScript 1/2 :: Populate Textfield From A Mssql Database Using Coldfusion?

Jun 19, 2008

populate textfield from a mssql database using coldfusion?

View 13 Replies







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