将位图数据从Flex发送到Php(Send bitmap data from Flex to Php)
我想在Web服务器(LAMP)上保存我的Flex应用程序的屏幕截图。 这是Flex代码:
private function getBitmapData( target : UIComponent ) : BitmapData { var bd : BitmapData = new BitmapData( target.width, target.height ); var m : Matrix = new Matrix(); bd.draw( target, m ); return bd; }
现在,如何将此数据发送/接收到服务器?
I want to save a screenshot from my Flex app on the Webserver (LAMP). Here is the Flex code:
private function getBitmapData( target : UIComponent ) : BitmapData { var bd : BitmapData = new BitmapData( target.width, target.height ); var m : Matrix = new Matrix(); bd.draw( target, m ); return bd; }
Now, how do I send / receive this data to the server?
原文:https://stackoverflow.com/questions/3413051
更新时间:2022-03-14 19:03
相关问答
更多-
TCP/IP模型是一个________。[2023-05-19]
a -
下列中不属于面向对象的编程语言的是?[2022-05-30]
a -
我如何组织这些数据?(How do I organize this data?)[2023-08-16]
其实我没有看到像你的结构有任何问题。 也许只是略有改善 struct Question { let question: String let correctAnswer: String let wrongAnswers: (String, String, String) let imageName: String } 用法 let question = Question( question: "First captain of the Enterprise?", ... -
在实际的MSDN文档中找不到这个,但论坛的主持人说 我恐怕OLEDB不像Excel那样保留表单顺序 Excel表格名单以表格顺序 这似乎是一个常见的要求,会有一个体面的解决方法。 Can't find this in actual MSDN documentation, but a moderator in the forums said I am afraid that OLEDB does not preserve the sheet order as they were in Excel Excel ...
-
这是一个相当简单的方法 - 不知道如果你有很多床单但是给它一个去的速度有多快: Sub SortSheets() Dim rngAll As Range, rngTemp As Range Dim shtTemp As Worksheet, shtFound As Worksheet Set rngAll = Sheet1.Range("A1:A3") Set shtFound = Sheets(1) 'Sort _count sheets For Each rngTemp In rngAl ...
-
使用该工作表中的数据在每个工作表上创建图表(Create A Chart On Each Worksheet Using The Data From That Worksheet)[2021-08-23]
尝试下面的代码 只是不确定图表的源代码来自哪里,它们是否都来自Range("Sheet1!$A$1:$I$2") ,来自“Sheet1”? 或从他们的工作表? Sub CreateChart() Dim ws As Worksheet Dim Chart As Shape For Each ws In ThisWorkbook.Worksheets Set Chart = ws.Shapes.AddChart2(201, xlColumnClustered) With Chart ... -
MongoDB:如何组织数据(MongoDB: How to organize data)[2023-01-20]
也许以下内容可能会有所帮助: http : //docs.mongodb.org/manual/applications/data-models/ ? 另外, http://docs.mongodb.org/manual/data-modeling/ Maybe the following may be helpful: http://docs.mongodb.org/manual/applications/data-models/? Also, http://docs.mongodb.org/manual ... -
在回答您的第一个问题时,如果这是表单上的唯一数据,那么您的clearcontents方法就可以了。 要自动运行,请查看Sheet1上的Worksheet_Change事件。 您可以根据更改的单元格来定位更改.... Private Sub Worksheet_Change(ByVal Target As Range) If Target.Row < 4 And Target.Column < 5 Then Call oneToMany End If 结束子 In answer to your f ...
-
在有数据的工作表(在Excel对象下)中尝试这个,例如Sheet1 Option Explicit Dim PrevVal As Variant Private Sub Worksheet_Change(ByVal Target As Range) If Target.Column = 2 Then Application.ScreenUpdating = False Dim rng As Range Dim copyVal As String Set rng = ...
-
你是否这样做是因为你担心目录中的文件条目/ inode可能用完了? 在ext3中,实际的限制是大约100.000个文件(和32.000个dirs)。 动态创建目录结构最好使用modulu,如$dir = $id % 1000 ,然后将新模板放在该目录中( $dir/$id.tpl )。 该策略将创建最多1000个目录,因此您可以处理大约100.000.000个文件。 我没有看到任何弄乱十六进制值或子字符串的理由。 Are you doing this because you are worried that ...